Commit d3ec0fe
committed
Disable TimeoutInvocationFactoryTests in Eclipse IDE
The default Mockito MockMaker (inline mock maker) fails to create a spy
for NamespaceAwareStore when running within Eclipse IDE.
- org.mockito.exceptions.base.MockitoException: Unable to initialize @Spy annotated field 'store'.
- Mockito cannot mock this class: class org.junit.jupiter.engine.execution.NamespaceAwareStore.
- You are seeing this disclaimer because Mockito is configured to create inlined mocks.
- Byte Buddy could not instrument all classes within the mock's type hierarchy.
To address that, this commit disables TimeoutInvocationFactoryTests when
running in Eclipse IDE.1 parent 35d3dd7 commit d3ec0fe
File tree
1 file changed
+19
-0
lines changed- jupiter-tests/src/test/java/org/junit/jupiter/engine/extension
1 file changed
+19
-0
lines changedLines changed: 19 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
| 21 | + | |
21 | 22 | | |
22 | 23 | | |
23 | 24 | | |
| |||
30 | 31 | | |
31 | 32 | | |
32 | 33 | | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
33 | 39 | | |
34 | 40 | | |
35 | 41 | | |
36 | 42 | | |
37 | 43 | | |
38 | 44 | | |
39 | 45 | | |
| 46 | + | |
40 | 47 | | |
41 | 48 | | |
| 49 | + | |
42 | 50 | | |
43 | 51 | | |
| 52 | + | |
44 | 53 | | |
| 54 | + | |
45 | 55 | | |
46 | 56 | | |
47 | 57 | | |
| |||
86 | 96 | | |
87 | 97 | | |
88 | 98 | | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
89 | 108 | | |
0 commit comments