org.deephacks.tools4j.config.test.FeatureSetupTeardown Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of tools4j-config-tck Show documentation
Show all versions of tools4j-config-tck Show documentation
Functional Tests for Tools4j Config
package org.deephacks.tools4j.config.test;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
/**
* This annotation is to be set on classes that handle junit test setup
* (such as @Before, @BeforeClass, @After) for a specific implementation
* of an interface or feature.
*
* FeatureTestBuilder use this annotation to automatically invoke these
* test setup classes when this specific implementation is targeted for test.
*
* This relieves users from knowing/caring about how to do test setup/teardown
* of specific implementations.
*
*/
@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.TYPE)
public @interface FeatureSetupTeardown {
/**
* @return the service interface that the implementation implements.
*/
Class> value();
}