Skip to main content
aboutsummaryrefslogtreecommitdiffstats
blob: 461345fc2257d77d10471eb0a47897eabb49ac4e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
/*****************************************************************************
 * Copyright (c) 2016 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 2.0
 * which accompanies this distribution, and is available at
 * https://www.eclipse.org/legal/epl-2.0/
 *
 * SPDX-License-Identifier: EPL-2.0
 *
 * Contributors:
 *   Christian W. Damus - Initial API and implementation
 *   
 *****************************************************************************/

package org.eclipse.papyrus.eclipse.project.editors.tests;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

import org.eclipse.papyrus.eclipse.project.editors.interfaces.IProjectEditor;

/**
 * Annotation for the {@link IProjectEditor#getMissingFiles()} test case to indicate
 * that the fixture should not create the files required by the project.
 * The missing-files annotation implies {@link CreatedProject @CreatedProject(false)};
 * the created-project annotation is ignored when the missing-files annotation
 * is present with a {@code true} value.
 * 
 * @see CreatedProject
 */
@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.METHOD)
public @interface MissingFiles {
	/**
	 * Whether the project's missing files should not be created (default is {@code true}).
	 */
	boolean value() default true;
}

Back to the top