Skip to content

Commit

Permalink
Reactivate tests eclipse-platform#525
Browse files Browse the repository at this point in the history
This change reactivates all working disabled tests from project org.eclipse.debug.tests. The tests were forgotten after the corresponding bug was fixed.
Contributes to eclipse-platform#525
  • Loading branch information
Michael5601 committed Aug 3, 2023
1 parent 18d0171 commit 49fd34a
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 13 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@
import org.eclipse.core.runtime.jobs.Job;
import org.eclipse.debug.internal.ui.model.elements.SerialExecutor;
import org.eclipse.debug.tests.AbstractDebugTest;
import org.junit.Ignore;
import org.junit.Test;

@SuppressWarnings("restriction")
Expand Down Expand Up @@ -118,7 +117,6 @@ public void testSchedulingQueue() throws InterruptedException {
}

@Test
@Ignore("See https://bugs.eclipse.org/bugs/show_bug.cgi?id=574883")
public void testHeavyScheduling() throws InterruptedException {
// Executor has to execute every task. Even when they are scheduled fast
// and execute fast
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -939,7 +939,8 @@ public void testChangeDocument() {
/**
* Test if invalid arguments produces error log messages.
*/
public void _testInvalidInvocations() {
@Test
public void testInvalidInvocations() {
final AtomicInteger expectedErrors = new AtomicInteger(0);
final ILogListener logListener = new ILogListener() {
@Override
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -254,7 +254,8 @@ public void testLabelUpdatesCompletedOutOfSequence2() throws Exception {
* point, then this test should be re-enabled.<br>
* See bug 210027
*/
public void _x_testChildrenUpdatesCompletedOutOfSequence() throws Exception {
@Test
public void testChildrenUpdatesCompletedOutOfSequence() throws Exception {
TestModelWithCapturedUpdates model = new TestModelWithCapturedUpdates();
model.fCaptureChildrenUpdates = true;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@
import org.eclipse.swt.SWT;
import org.eclipse.swt.widgets.Display;
import org.eclipse.swt.widgets.Shell;
import org.junit.Test;

/**
* @since 3.6
Expand All @@ -31,12 +30,4 @@ public class JFaceViewerDeltaTests extends DeltaTests {
protected IInternalTreeModelViewer createViewer(Display display, Shell shell) {
return new TreeModelViewer(fShell, SWT.VIRTUAL, new PresentationContext("TestViewer")); //$NON-NLS-1$
}

/**
* TODO: remove this method when bug 292322 gets fixed in TreeViewer
*/
@Override
@Test
public void testBug292322() {
}
}

0 comments on commit 49fd34a

Please sign in to comment.