qa.justtestlah.annotations.EntryExitLogging Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of justtestlah-core Show documentation
Show all versions of justtestlah-core Show documentation
JustTestLah! is a JAVA test framework targeting projects that support multiple platforms, in particular Web, Android and iOS. It follows a BDD approach and allows testing against all platforms using the same feature files. JustTestLah's main aim is to make the configuration and the actual test code as easy as possible.
package qa.justtestlah.annotations;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
import qa.justtestlah.log.LogLevel;
/**
* Annotation to mark methods for which entry/exit logging should be enabled.
*
* See {@link qa.justtestlah.aop.EntryExitLoggingAspect}.
*/
@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.METHOD)
public @interface EntryExitLogging {
/**
* The log level for the entry exit log message.
*
* @return log level
*/
int entryExitLogLevel() default LogLevel.INFO;
/**
* The log level for the entry exit log message.
*
* @return log level
*/
int summaryLogLevel() default LogLevel.OFF;
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy