File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed
com.avaloq.tools.ddk.xtext.test.core/src/com/avaloq/tools/ddk/xtext/test Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -62,6 +62,8 @@ public abstract class AbstractTest {
6262
6363 private static final String HIGH_LATENCY_PROPERTY = "com.avaloq.tools.hl.supported" ;
6464
65+ private static final String LANGUAGE_VERSION_CACHING_PROPERTY = "com.avaloq.tools.LanguageConfigCaching" ;
66+
6567 private static Map <Class <? extends AbstractTest >, TestInformation > testInformationMap = new HashMap <Class <? extends AbstractTest >, TestInformation >();
6668
6769 @ Rule
@@ -175,6 +177,7 @@ public final void after() {
175177 protected void beforeAllTests () {
176178 // check method annotations to ensure test framework policies
177179 System .setProperty (HIGH_LATENCY_PROPERTY , Boolean .FALSE .toString ());
180+ System .setProperty (LANGUAGE_VERSION_CACHING_PROPERTY , Boolean .FALSE .toString ());
178181 enforceAnnotationPolicies ();
179182 getTestProjectManager ().setup (ImmutableList .<TestSource > of ());
180183 registerRequiredSources ();
@@ -188,6 +191,7 @@ protected void beforeAllTests() {
188191 */
189192 protected void afterAllTests () {
190193 getTestProjectManager ().teardown ();
194+ System .clearProperty (LANGUAGE_VERSION_CACHING_PROPERTY );
191195 System .setProperty (HIGH_LATENCY_PROPERTY , Boolean .TRUE .toString ());
192196 }
193197
You can’t perform that action at this time.
0 commit comments