![JAR search and dependency download from the Maven repository](/logo.png)
org.junit.gen5.junit4.runner.RequireEngine Maven / Gradle / Ivy
/*
* Copyright 2015-2016 the original author or authors.
*
* All rights reserved. This program and the accompanying materials are
* made available under the terms of the Eclipse Public License v1.0 which
* accompanies this distribution and is available at
*
* http://www.eclipse.org/legal/epl-v10.html
*/
package org.junit.gen5.junit4.runner;
import static org.junit.gen5.commons.meta.API.Usage.Maintained;
import java.lang.annotation.Documented;
import java.lang.annotation.ElementType;
import java.lang.annotation.Inherited;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
import org.junit.gen5.commons.meta.API;
/**
* {@code @RequireEngine} specifies the engine ID (e.g., {@code "junit5"}) of
* the sole {@link org.junit.gen5.engine.TestEngine TestEngine} to be used
* when a class annotated with {@code @RunWith(JUnit5.class)} is run.
*
* @since 5.0
*/
@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.TYPE)
@Inherited
@Documented
@API(Maintained)
public @interface RequireEngine {
/**
* The Engine ID to be required
*/
String value();
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy