blob: 425ad85ad0add14aa99fab798b836ee38ad3ce2e [file] [log] [blame]
/*******************************************************************************
* 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.equi.DefaultEquiEngine;
/**
* Annotation used to select the equivalence engines used for the test class. For each eq 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 EqEngines {
/**
* The list of equivalence engines to test. If the annotation is used empty, the default array will be
* returned. If the annotation is not used the eq 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 {DefaultEquiEngine.class };
}