Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'tests/org.eclipse.team.tests.cvs.core/src/org/eclipse/team/tests/ccvs/ui/benchmark/SyncTests.java')
-rw-r--r--tests/org.eclipse.team.tests.cvs.core/src/org/eclipse/team/tests/ccvs/ui/benchmark/SyncTests.java20
1 files changed, 10 insertions, 10 deletions
diff --git a/tests/org.eclipse.team.tests.cvs.core/src/org/eclipse/team/tests/ccvs/ui/benchmark/SyncTests.java b/tests/org.eclipse.team.tests.cvs.core/src/org/eclipse/team/tests/ccvs/ui/benchmark/SyncTests.java
index 6b1393fdb..77e3d43bc 100644
--- a/tests/org.eclipse.team.tests.cvs.core/src/org/eclipse/team/tests/ccvs/ui/benchmark/SyncTests.java
+++ b/tests/org.eclipse.team.tests.cvs.core/src/org/eclipse/team/tests/ccvs/ui/benchmark/SyncTests.java
@@ -28,7 +28,7 @@ public class SyncTests extends BenchmarkTest {
private static final String ADDED_GROUP_SUFFIX = "AddedFiles";
private static final String REMOVED_GROUP_SUFFIX = "RemovedFiles";
private static final String MODIFIED_GROUP_SUFFIX = "ModifiedFiles";
- private static final String[] PERFORMANCE_GROUPS = new String[] {ADDED_GROUP_SUFFIX, MODIFIED_GROUP_SUFFIX, REMOVED_GROUP_SUFFIX};
+ private static final String[] PERFORMANCE_GROUPS = new String[] {ADDED_GROUP_SUFFIX, MODIFIED_GROUP_SUFFIX, REMOVED_GROUP_SUFFIX};
public SyncTests() {
super();
@@ -41,10 +41,10 @@ public class SyncTests extends BenchmarkTest {
public static Test suite() {
return suite(SyncTests.class);
}
-
- public void testSync100NoUI() throws Exception {
- runTestSync(100, "CVS Synchronize No UI", false, new SyncInfoSource());
- }
+
+ public void testSync100NoUI() throws Exception {
+ runTestSync(100, "CVS Synchronize No UI", false, new SyncInfoSource());
+ }
protected IProject setupOutProject() throws Exception {
IProject project = createUniqueProject(BenchmarkTestSetup.SMALL_ZIP_FILE);
@@ -57,9 +57,9 @@ public class SyncTests extends BenchmarkTest {
* A parallel project is used to generate incoming changes.
*/
protected void runTestSync(int size, String globalName, boolean global, SyncInfoSource source) throws Exception {
- openEmptyPerspective();
- setupGroups(PERFORMANCE_GROUPS, globalName, global);
- for (int i = 0; i < BenchmarkTestSetup.LOOP_COUNT; i++) {
+ openEmptyPerspective();
+ setupGroups(PERFORMANCE_GROUPS, globalName, global);
+ for (int i = 0; i < BenchmarkTestSetup.LOOP_COUNT; i++) {
final SequenceGenerator gen = new SequenceGenerator();
// setup out project then move it out of the way
@@ -90,7 +90,7 @@ public class SyncTests extends BenchmarkTest {
syncCommitResources(source, new IResource[] { outProject }, "");
syncUpdateResources(source, new IResource[] { inProject });
endGroup();
- }
- commitGroups(global);
+ }
+ commitGroups(global);
}
}

Back to the top