### Eclipse Workspace Patch 1.0 #P org.eclipse.jdt.core.tests.performance Index: src/org/eclipse/jdt/core/tests/performance/FullSourceWorkspaceModelTests.java =================================================================== RCS file: /cvsroot/eclipse/org.eclipse.jdt.core.tests.performance/src/org/eclipse/jdt/core/tests/performance/FullSourceWorkspaceModelTests.java,v retrieving revision 1.48 diff -u -r1.48 FullSourceWorkspaceModelTests.java --- src/org/eclipse/jdt/core/tests/performance/FullSourceWorkspaceModelTests.java 27 Oct 2009 13:05:53 -0000 1.48 +++ src/org/eclipse/jdt/core/tests/performance/FullSourceWorkspaceModelTests.java 2 Dec 2010 12:11:14 -0000 @@ -1,5 +1,5 @@ /******************************************************************************* - * Copyright (c) 2000, 2009 IBM Corporation and others. + * Copyright (c) 2000, 2010 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 @@ -1283,6 +1283,94 @@ } } +// https://bugs.eclipse.org/bugs/show_bug.cgi?id=331632 +public void testReopenSingleProject() throws CoreException { + tagAsSummary("Reopen a single project in a workspace", false); // do NOT put in fingerprint + + // First close all Eclipse projects + long startTime = 0; + if (PRINT) { + System.out.print("Close all Eclipse projects..."); + startTime = System.currentTimeMillis(); + } + int length=ALL_PROJECTS.length; + for (int j=0; j