
com.fathzer.chess.utils.test.Supports Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of chess-test-utils Show documentation
Show all versions of chess-test-utils Show documentation
Some JUnit abstract test classes to test chess related libraries.
The newest version!
package com.fathzer.chess.utils.test;
import static java.lang.annotation.ElementType.TYPE;
import static java.lang.annotation.RetentionPolicy.RUNTIME;
import java.lang.annotation.Retention;
import java.lang.annotation.Target;
import com.fathzer.chess.utils.model.TestAdapter;
import com.fathzer.chess.utils.model.Variant;
/** An annotation that lists supported chess variants.
*
This annotation should be used to declare a {@link TestAdapter} supports non standard variants.
*/
@Target( TYPE )
@Retention(RUNTIME)
public @interface Supports {
/** Gets the supported variants.
* @return methods names
*/
Variant[] value();
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy