forked from eclipse-xpect/Xpect
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathXpectTestGlobalState.java
More file actions
38 lines (31 loc) · 1.03 KB
/
Copy pathXpectTestGlobalState.java
File metadata and controls
38 lines (31 loc) · 1.03 KB
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
/*******************************************************************************
* Copyright (c) 2024 Simeon Andreev and others.
* This program and the accompanying materials are made
* available under the terms of the Eclipse Public License 2.0
* which is available at https://www.eclipse.org/legal/epl-2.0/
*
* SPDX-License-Identifier: EPL-2.0
*
* Contributors:
* Simeon Andreev - Initial contribution and API
*******************************************************************************/
package org.eclipse.xpect.runner;
import org.eclipse.xpect.XpectJavaModel;
/**
* @author Simeon Andreev - Initial contribution and API
*/
public class XpectTestGlobalState {
public static final XpectTestGlobalState INSTANCE = new XpectTestGlobalState();
private XpectJavaModel model;
private Class<?> testClass;
public void set(XpectJavaModel model, Class<?> testClass) {
this.model = model;
this.testClass = testClass;
}
public XpectJavaModel model() {
return model;
}
public Class<?> testClass() {
return testClass;
}
}