mirror of
https://github.com/elicpeter/nyx.git
synced 2026-06-09 19:45:13 +02:00
Dynamic (#77)
This commit is contained in:
parent
55247b7fcd
commit
991c84a1eb
1464 changed files with 225448 additions and 1985 deletions
15
tests/dynamic_fixtures/java/junit_test/Test.java
Normal file
15
tests/dynamic_fixtures/java/junit_test/Test.java
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
// Phase 14 fixture stub — minimal `@Test` annotation in the default
|
||||
// package. Lives here so the fixture's `@Test`-annotated method
|
||||
// compiles under plain javac without a junit-jupiter Maven dep. The
|
||||
// fixture's comment carries a literal `org.junit` marker so the
|
||||
// Phase 14 [`JavaShape::detect`] still selects the JUnit shape.
|
||||
|
||||
import java.lang.annotation.ElementType;
|
||||
import java.lang.annotation.Retention;
|
||||
import java.lang.annotation.RetentionPolicy;
|
||||
import java.lang.annotation.Target;
|
||||
|
||||
@Retention(RetentionPolicy.RUNTIME)
|
||||
@Target(ElementType.METHOD)
|
||||
public @interface Test {
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue