-
```
What steps will reproduce the problem?
1. Use Ant version 1.8.2+
2. Use ant-junit target to run tests.
3. All testcases that uses @PrepareTest ( tests final or static classes) fail
with Initiali…
-
```
What steps will reproduce the problem?
1. Use Ant version 1.8.2+
2. Use ant-junit target to run tests.
3. All testcases that uses @PrepareTest ( tests final or static classes) fail
with Initiali…
-
If I mock a class with a final `equals()` method, the `equals()` method doesn't get overridden/mocked, potentially causing a stackoverflow error if something in the `equals()` method references a meth…
-
```
What steps will reproduce the problem?
This test will reproduce the problem:
import static org.powermock.api.mockito.PowerMockito.mock;
import javax.swing.*;
import org.junit.Test;
import org.…
-
```
What steps will reproduce the problem?
This test will reproduce the problem:
import static org.powermock.api.mockito.PowerMockito.mock;
import javax.swing.*;
import org.junit.Test;
import org.…
-
I am running powermock with mokito 2.0 , Junit 5 and for Junit 4 having maven-surefire-plugin .
Test class looks like
```
import org.junit.Before;
import org.junit.Test;
import org.junit.runn…
-
-
When running with PowerMockito 2, files with lambda expressions fail to parse and I get the following error
**java.lang.IllegalStateException: Failed to transform class with name com.example.domain…
-
```
What steps will reproduce the problem?
I am using the following code:
1) Class Debugger for which I would like to mock static void methods
package uk.ac.open.util;
public class Debugger {
pu…
-
```
This is occurring on an android unit test project running from the Android ADK.
What steps will reproduce the problem?
1. Integrated the following into my project's libs folder.
mockito-all-1.9.5…