Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCurtis D'Entremont2006-12-14 00:29:34 +0000
committerCurtis D'Entremont2006-12-14 00:29:34 +0000
commit88f620fb56abcaf477d1e8ef2eb71cae5f4c604a (patch)
treeb579dc9f509c6bd6e40053a32455e96e9780966c /org.eclipse.ua.tests/intro/org/eclipse/ua/tests/intro/performance
parent19e5588a8f145b7fe15fe79ead1aff6f5df31d6d (diff)
downloadeclipse.platform.ua-88f620fb56abcaf477d1e8ef2eb71cae5f4c604a.tar.gz
eclipse.platform.ua-88f620fb56abcaf477d1e8ef2eb71cae5f4c604a.tar.xz
eclipse.platform.ua-88f620fb56abcaf477d1e8ef2eb71cae5f4c604a.zip
improve performance tests
Diffstat (limited to 'org.eclipse.ua.tests/intro/org/eclipse/ua/tests/intro/performance')
-rw-r--r--org.eclipse.ua.tests/intro/org/eclipse/ua/tests/intro/performance/OpenIntroTest.java4
1 files changed, 3 insertions, 1 deletions
diff --git a/org.eclipse.ua.tests/intro/org/eclipse/ua/tests/intro/performance/OpenIntroTest.java b/org.eclipse.ua.tests/intro/org/eclipse/ua/tests/intro/performance/OpenIntroTest.java
index ccee11596..7f5f113f0 100644
--- a/org.eclipse.ua.tests/intro/org/eclipse/ua/tests/intro/performance/OpenIntroTest.java
+++ b/org.eclipse.ua.tests/intro/org/eclipse/ua/tests/intro/performance/OpenIntroTest.java
@@ -18,6 +18,7 @@ import org.eclipse.test.performance.Dimension;
import org.eclipse.test.performance.PerformanceTestCase;
import org.eclipse.ui.IWorkbench;
import org.eclipse.ui.PlatformUI;
+import org.eclipse.ui.internal.intro.impl.model.loader.ExtensionPointManager;
import org.eclipse.ui.intro.IIntroManager;
import org.eclipse.ui.intro.IIntroPart;
@@ -48,7 +49,7 @@ public class OpenIntroTest extends PerformanceTestCase {
}
// run the tests
- for (int i=0;i<20;++i) {
+ for (int i=0;i<50;++i) {
startMeasuring();
openIntro();
stopMeasuring();
@@ -65,6 +66,7 @@ public class OpenIntroTest extends PerformanceTestCase {
if (part != null) {
manager.closeIntro(part);
}
+ ExtensionPointManager.getInst().clear();
flush();
}

Back to the top