blob: 5ae3344d156aad06514071cb0a6c8fb7117791cf [file] [log] [blame]
/*
* Copyright (c) 2015 Christian W. Damus and others.
*
* 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:
* Christian W. Damus - Initial API and implementation
*
*/
package org.eclipse.papyrus.junit.utils.rules;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
/**
* Annotation on a test indicating the diagram to activate.
*
* @see PapyrusEditorFixture
*/
@Target({ ElementType.METHOD, ElementType.TYPE })
@Retention(RetentionPolicy.RUNTIME)
public @interface ActiveDiagram {
/**
* The name of the diagram to activate.
*/
String value();
}