blob: c3e98a53807d2f1ea3fc15498f4454fe84f3d2dd [file]
package org.mozilla.javascript.drivers;
import static java.lang.annotation.ElementType.TYPE;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
/**
* Intended to be used as an optional annotation for subclasses
* of {@link org.mozilla.javascript.drivers.ScriptTestsBase}.
* Sets the language version of test's script execution context.
*/
@Target(TYPE)
@Retention(RetentionPolicy.RUNTIME)
public @interface LanguageVersion {
int value();
}