Renderer/src/test/java/annotations/FastTest.java
austin 06a1f2dbbc
Some checks failed
studiorailgun/Renderer/pipeline/head There was a failure building this commit
unit testing for signal system & service manager
2024-08-29 21:00:54 -04:00

27 lines
689 B
Java

package annotations;
import java.lang.annotation.Retention;
import java.lang.annotation.Target;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.ElementType;
import java.util.concurrent.TimeUnit;
import org.junit.jupiter.api.Tag;
import org.junit.jupiter.api.Test;
import org.junit.jupiter.api.Timeout;
import org.junit.jupiter.api.Timeout.ThreadMode;
/**
* A fast test that does not depend on setup/shutdown -- A unit test
*/
@Target({ ElementType.TYPE, ElementType.METHOD })
@Retention(RetentionPolicy.RUNTIME)
@Tag("fast")
@Test
@Timeout( value = 10, unit = TimeUnit.MILLISECONDS, threadMode = ThreadMode.SAME_THREAD )
public @interface FastTest {
}