Skip to content

Commit 073323e

Browse files
committed
Annotate nullability in org.junit.platform.fakes
1 parent 5b6d599 commit 073323e

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

junit-platform-engine/src/testFixtures/java/org/junit/platform/fakes/TestEngineSpy.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010

1111
package org.junit.platform.fakes;
1212

13+
import org.jspecify.annotations.Nullable;
1314
import org.junit.platform.engine.EngineDiscoveryRequest;
1415
import org.junit.platform.engine.ExecutionRequest;
1516
import org.junit.platform.engine.TestDescriptor;
@@ -23,6 +24,7 @@ public class TestEngineSpy implements TestEngine {
2324

2425
private final String id;
2526

27+
@Nullable
2628
public ExecutionRequest requestForExecution;
2729

2830
public TestEngineSpy() {
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
2+
@NullMarked
3+
package org.junit.platform.fakes;
4+
5+
import org.jspecify.annotations.NullMarked;

0 commit comments

Comments
 (0)