-
Some unit tests fail with the following stack trace if assertions are disabled.
```
java.lang.NullPointerException
at org.apache.arrow.memory.BaseAllocator.verifyAllocator(BaseAllocator.java:589)
at…
-
Library versions
----
* JMockit: 1.33, 1.34 through 1.38
* JUnit: 4.12
* [SLF4J ](https://www.slf4j.org/): slf4j-api:1.7.25, slf4j-log4j12:1.7.25
Description of the problem
----
Consider th…
-
Library versions
----
* JMockit: 1.39
* JUnit: 4.12
* [Spring Boot Starter Logging](https://mvnrepository.com/artifact/org.springframework.boot/spring-boot-starter-logging/1.5.10.RELEASE): 1.5.10.…
-
jmockit version 1.40
I have project where are used `@Resource(name = "xxx/XXX")`. I am not able create `@Injectable` for this resource (Missing `@Injectable` for field). This is the same problem li…
-
This is a spin-off of the investigations I've been doing for #1879, and in particular for #1786. It's a bit of a radical proposal so before going too far down this path I thought to share it here with…
-
* Version of JMockit that was used: 1.38
* Description of the problem:
When the "FileInputStream" is mocked through "new MockUp" mechanism, it could be recorded but it will "hang" and not proceed …
-
Please provide the following information:
- Version of JMockit that was used: v1.24
- Description of the problem or enhancement request:Deencapsulation.setField() is broken for JDK8 after I upgrade to…
-
Using IntelliJ's infinitest plugin I get the following exception:
```
java.lang.IllegalStateException: Duplicate application of the same mock-up class
at mockit.MockUp.findPreviouslyMocke…
-
I am using this lib successfully for unit tests, but when I try to use it for an instrumented Android test, I get the following:
Use:
```
import com.nhaarman.mockito_kotlin.mock
val n: AppData = m…
-
I am a bit confused on how to write the JUnit tests for handleImage, handleVideo, or HandleAudio. This is because we can't treat it like handleText where the text is already included in TextMessageCon…