Bug 79133 - Investigate Ant Editor UI tests slow down: code folding
diff --git a/ant/org.eclipse.ant.tests.ui/Ant Editor Tests/org/eclipse/ant/tests/ui/editor/performance/OpenAntEditorTest.java b/ant/org.eclipse.ant.tests.ui/Ant Editor Tests/org/eclipse/ant/tests/ui/editor/performance/OpenAntEditorTest.java
index 68a9962..79b1033 100644
--- a/ant/org.eclipse.ant.tests.ui/Ant Editor Tests/org/eclipse/ant/tests/ui/editor/performance/OpenAntEditorTest.java
+++ b/ant/org.eclipse.ant.tests.ui/Ant Editor Tests/org/eclipse/ant/tests/ui/editor/performance/OpenAntEditorTest.java
@@ -41,6 +41,12 @@
 		measureOpenInEditor(file);
 	}
 	
+	public void testOpenAntEditorNoFolding() throws PartInitException {
+	    //there was no folding in 3.0
+		IFile file= getIFile("build.xml");
+		measureOpenInEditor(file);
+	}
+	
 	protected IFile getIFile(String buildFileName) {
 		return getProject().getFolder("buildfiles").getFolder("performance").getFile(buildFileName);	
 	}
@@ -62,7 +68,7 @@
 	
 	protected void measureOpenInEditor(IFile file) throws PartInitException {
 		try {
-			for (int i= 0; i < 20; i++) {
+			for (int i= 0; i < 15; i++) {
 				startMeasuring();
 				EditorTestHelper.openInEditor(file, true);
 				stopMeasuring();