18 lines
450 B
Java
18 lines
450 B
Java
|
package org.schabi.newpipe;
|
||
|
|
||
|
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;
|
||
|
|
||
|
/**
|
||
|
* Marker annotation to skip test if it not run with mocks.
|
||
|
*
|
||
|
* {@link MockOnlyRule}
|
||
|
*/
|
||
|
@Retention(RetentionPolicy.RUNTIME)
|
||
|
@Target({ElementType.METHOD, ElementType.TYPE})
|
||
|
@Inherited
|
||
|
public @interface MockOnly {
|
||
|
}
|