Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSasikanth Bharadwaj2014-10-13 08:05:51 +0000
committerSasikanth Bharadwaj2014-10-13 08:05:51 +0000
commitf0d52ca0b8c8d8867b90baef0e130915b52468cb (patch)
treeb70943ca17fa53b25b9aec24cb7e148c68d754b6 /org.eclipse.jdt.core.tests.performance
parent3f4be5d12f0fd687397d3aabdb32049d0569ea76 (diff)
downloadeclipse.jdt.core-f0d52ca0b8c8d8867b90baef0e130915b52468cb.tar.gz
eclipse.jdt.core-f0d52ca0b8c8d8867b90baef0e130915b52468cb.tar.xz
eclipse.jdt.core-f0d52ca0b8c8d8867b90baef0e130915b52468cb.zip
New unit test for Bug 434326 [compile][generics] Slow compilation of
test cases with a significant amount of generics
Diffstat (limited to 'org.eclipse.jdt.core.tests.performance')
-rw-r--r--org.eclipse.jdt.core.tests.performance/src/org/eclipse/jdt/core/tests/performance/FullSourceWorkspaceBuildTests.java10
1 files changed, 9 insertions, 1 deletions
diff --git a/org.eclipse.jdt.core.tests.performance/src/org/eclipse/jdt/core/tests/performance/FullSourceWorkspaceBuildTests.java b/org.eclipse.jdt.core.tests.performance/src/org/eclipse/jdt/core/tests/performance/FullSourceWorkspaceBuildTests.java
index a4eb40283c..af6dff594e 100644
--- a/org.eclipse.jdt.core.tests.performance/src/org/eclipse/jdt/core/tests/performance/FullSourceWorkspaceBuildTests.java
+++ b/org.eclipse.jdt.core.tests.performance/src/org/eclipse/jdt/core/tests/performance/FullSourceWorkspaceBuildTests.java
@@ -1,5 +1,5 @@
/*******************************************************************************
- * Copyright (c) 2000, 2011 IBM Corporation and others.
+ * Copyright (c) 2000, 2014 IBM Corporation and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
@@ -791,4 +791,12 @@ public class FullSourceWorkspaceBuildTests extends FullSourceWorkspaceTests {
tagAsSummary("Build Generic Type ", false); // do NOT put in fingerprint
compile(new String[] {"EclipseVisitorBug.java"}, "", "1.6", false /*no log*/ );
}
+
+ /**
+ * Test for https://bugs.eclipse.org/bugs/show_bug.cgi?id=434326 [compile][generics] Slow compilation of test cases with a significant amount of generics
+ */
+ public void testBug434326() throws IOException, CoreException {
+ tagAsSummary("Build with Generic Types ", false); // do NOT put in fingerprint
+ compile(new String[] {"GenericsTest.java"}, "", "1.8", false /*no log*/ );
+ }
}

Back to the top