-
Notifications
You must be signed in to change notification settings - Fork 184
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Convert ProgressTestCase to pure JUnit 4
Unstable test on MacOS verification build which should hopefully get a bit more stable with "less" extra things being done by the tests.
- Loading branch information
Showing
3 changed files
with
37 additions
and
42 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
/******************************************************************************* | ||
* Copyright (c) 2009, 2017 IBM Corporation and others. | ||
* Copyright (c) 2009, 2024 IBM Corporation and others. | ||
* | ||
* This program and the accompanying materials | ||
* are made available under the terms of the Eclipse Public License 2.0 | ||
|
@@ -15,6 +15,14 @@ | |
|
||
package org.eclipse.ui.tests.progress; | ||
|
||
import static org.eclipse.ui.tests.harness.util.UITestCase.processEvents; | ||
import static org.eclipse.ui.tests.harness.util.UITestCase.processEventsUntil; | ||
import static org.eclipse.ui.tests.harness.util.UITestCase.waitForJobs; | ||
import static org.junit.Assert.assertEquals; | ||
import static org.junit.Assert.assertFalse; | ||
import static org.junit.Assert.assertNotNull; | ||
import static org.junit.Assert.assertTrue; | ||
|
||
import java.util.ArrayList; | ||
import java.util.List; | ||
import java.util.concurrent.TimeUnit; | ||
|
@@ -38,14 +46,7 @@ | |
import org.eclipse.ui.progress.IProgressConstants2; | ||
import org.eclipse.ui.tests.TestPlugin; | ||
import org.junit.Test; | ||
import org.junit.runner.RunWith; | ||
import org.junit.runners.JUnit4; | ||
|
||
/** | ||
* @since 3.6 | ||
* @author Prakash G.R. ([email protected]) | ||
*/ | ||
@RunWith(JUnit4.class) | ||
|
||
public class ProgressContantsTest extends ProgressTestCase { | ||
|
||
/** | ||
|
@@ -68,10 +69,6 @@ public boolean belongsTo(Object family) { | |
} | ||
} | ||
|
||
public ProgressContantsTest() { | ||
super(ProgressContantsTest.class.getSimpleName()); | ||
} | ||
|
||
@Test | ||
public void testCommandProperty() throws Exception { | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters