All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.deephacks.tools4j.config.test.FeatureSetupTeardown Maven / Gradle / Ivy

There is a newer version: 0.15.0
Show newest version
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();
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy