Skip to main content
summaryrefslogtreecommitdiffstats
blob: 739beca62024a025ca57c7bc8370cc1437d1b05b (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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
/*******************************************************************************
 * 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;

/**
 * This class is a wrapper for EMFCompare configurations.
 * 
 * @author <a href="mailto:mathieu.cartaud@obeo.fr">Mathieu Cartaud</a>
 */
public class EMFCompareTestConfiguration {

	/** The match engines disabled used for this test. */
	private final Class<?>[] disabledMatchEngines;

	/** The diff engine used for this test. */
	private final Class<?> diffEngine;

	/** The eq engine used for this test. */
	private final Class<?> eqEngine;

	/** The req engine used for this test. */
	private final Class<?> reqEngine;

	/** The conflict detector used for this test. */
	private final Class<?> conflictDetector;

	/** The post-processors disabled for this test. */
	private final Class<?>[] disabledPostProcessors;

	/**
	 * The constructor.
	 * 
	 * @param disabledMatchEngineFactory
	 *            The match engines disabled for the test
	 * @param diffEngine
	 *            The diff engine used for the test
	 * @param eqEngine
	 *            The eq engine used for the test
	 * @param reqEngine
	 *            The req engine used for the test
	 * @param conflictDetector
	 *            The conflict detector used for the test
	 * @param disabledPostProcessors
	 *            The post processors disabled for the test
	 */
	public EMFCompareTestConfiguration(Class<?>[] disabledMatchEngineFactory, Class<?> diffEngine, Class<?> eqEngine,
			Class<?> reqEngine, Class<?> conflictDetector, Class<?>[] disabledPostProcessors) {
		this.disabledMatchEngines = disabledMatchEngineFactory;
		this.diffEngine = diffEngine;
		this.eqEngine = eqEngine;
		this.reqEngine = reqEngine;
		this.conflictDetector = conflictDetector;
		this.disabledPostProcessors = disabledPostProcessors;
	}

	public Class<?>[] getDisabledMatchEngines() {
		return disabledMatchEngines;
	}

	public Class<?> getDiffEngine() {
		return diffEngine;
	}

	public Class<?> getEqEngine() {
		return eqEngine;
	}

	public Class<?> getReqEngine() {
		return reqEngine;
	}

	public Class<?> getConflictDetector() {
		return conflictDetector;
	}

	public Class<?>[] getDisabledPostProcessors() {
		return disabledPostProcessors;
	}

}

Back to the top