groovy: not-so-fast performance test excluded from the suite

This commit is contained in:
Roman Shevchenko
2014-02-20 22:17:56 +01:00
parent 6c6ac37cf6
commit 9fd2a227ff
@@ -1,5 +1,5 @@
/*
* Copyright 2000-2012 JetBrains s.r.o.
* Copyright 2000-2014 JetBrains s.r.o.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -22,6 +22,7 @@ import junit.framework.TestSuite;
import org.jetbrains.plugins.groovy.compiler.GppCompilerTest;
import org.jetbrains.plugins.groovy.compiler.GroovyCompilerTest;
import org.jetbrains.plugins.groovy.compiler.GroovyDebuggerTest;
import org.jetbrains.plugins.groovy.lang.GroovyStressPerformanceTest;
/**
* @author Max Medvedev
@@ -44,6 +45,7 @@ public class FastGroovyTestSuite {
private static boolean isSlow(Class aClass) {
return aClass.equals(GroovyDebuggerTest.class) ||
aClass.equals(GroovyStressPerformanceTest.class) ||
aClass.getName().startsWith(GroovyCompilerTest.class.getName()) ||
aClass.getName().startsWith(GppCompilerTest.class.getName());
}