jaroslav@518: /** jaroslav@518: * Back 2 Browser Bytecode Translator jaroslav@518: * Copyright (C) 2012 Jaroslav Tulach jaroslav@518: * jaroslav@518: * This program is free software: you can redistribute it and/or modify jaroslav@518: * it under the terms of the GNU General Public License as published by jaroslav@518: * the Free Software Foundation, version 2 of the License. jaroslav@518: * jaroslav@518: * This program is distributed in the hope that it will be useful, jaroslav@518: * but WITHOUT ANY WARRANTY; without even the implied warranty of jaroslav@518: * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the jaroslav@518: * GNU General Public License for more details. jaroslav@518: * jaroslav@518: * You should have received a copy of the GNU General Public License jaroslav@518: * along with this program. Look for COPYING file in the top folder. jaroslav@518: * If not, see http://opensource.org/licenses/GPL-2.0. jaroslav@518: */ jaroslav@518: package org.apidesign.bck2brwsr.vmtest; jaroslav@518: jaroslav@518: import java.lang.annotation.ElementType; jaroslav@518: import java.lang.annotation.Retention; jaroslav@518: import java.lang.annotation.RetentionPolicy; jaroslav@518: import java.lang.annotation.Target; jaroslav@518: jaroslav@518: /** Annotation to indicate that given method should be executed jaroslav@518: * in a browser environment. Has to be used in conjunction with {@link VMTest#create(java.lang.Class)} jaroslav@518: * factory method. jaroslav@518: *

jaroslav@518: * The browser to is by default executed via {@link java.awt.Desktop#browse(java.net.URI)}, jaroslav@518: * but one can change that by specifying -Dvmtest.brwsrs=firefox,google-chrome jaroslav@518: * property. jaroslav@518: * jaroslav@518: * @author Jaroslav Tulach jaroslav@518: */ jaroslav@518: @Retention(RetentionPolicy.RUNTIME) jaroslav@518: @Target(ElementType.METHOD) jaroslav@518: public @interface BrwsrTest { jaroslav@518: }