org.junit.gen5.junit4.runner.Packages Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of junit4-runner Show documentation
Show all versions of junit4-runner Show documentation
Module "junit4-runner" of JUnit 5.
The newest version!
/*
* 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 @Packages} specifies the names of packages to be run 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 Packages {
/**
* One or more package names.
*/
String[]value();
}