What steps will reproduce the problem?
1.Write a test class like this:
import static org.powermock.api.easymock.PowerMock.createMock;
import static org.powermock.api.easymock.PowerMock.replayAll;
import java.net.Inet6Address;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.powermock.modules.junit4.PowerMockRunner;
@RunWith(PowerMockRunner.class)
public class Inet6AddressQualifierTest {
@Test
public void test_ReplayAll() throws Exception {
createMock(Inet6Address.class);
replayAll();
}
}
2. Execute the test either in Eclipse or with mvn test
What is the expected output? What do you see instead?
Expected output should be a passed test with no other output.
What version of the product are you using? On what operating system?
Powermock 1.5.1
EasyMock 3.1
JUnit 4.11
Apache Maven 3.0.4 (r1232337; 2012-01-17 09:44:56+0100)
Java version: 1.6.0_33, vendor: Sun Microsystems Inc.
Default locale: no_NO, platform encoding: Cp1252
OS name: "windows 7", version: "6.1", arch: "x86", family: "windows"
Eclipse Indigo SR2
Please provide any additional information below.
Sample Maven project attached.
Original issue reported on code.google.com by ola-chri...@telenor.com on 25 Jun 2013 at 9:41
Original issue reported on code.google.com by
ola-chri...@telenor.com
on 25 Jun 2013 at 9:41Attachments: