/******************************************************************************* * Copyright (c) 2016 Obeo. * 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 * * Contributors: * Obeo - initial API and implementation *******************************************************************************/ package org.eclipse.emf.compare.ide.ui.tests.framework.annotations; import java.lang.annotation.ElementType; import java.lang.annotation.Retention; import java.lang.annotation.RetentionPolicy; import java.lang.annotation.Target; import org.eclipse.emf.compare.req.DefaultReqEngine; /** * Annotation used to select the requirement engines used for the test class. For each req engines, the test * methods will be run once. * * @author <a href="mailto:mathieu.cartaud@obeo.fr">Mathieu Cartaud</a> */ @Retention(RetentionPolicy.RUNTIME) @Target(ElementType.TYPE) public @interface ReqEngines { /** * The list of requirement engines to test. If the annotation is used empty, the default array will be * returned. If the annotation is not used the req engines defined in a default array in the class * EMFCompareGitTestRunner will be used. * * @return the value or the default array if user specify nothing */ Class<?>[] value() default {DefaultReqEngine.class }; }