Skip to content

Commit

Permalink
Reactivate tests in org.eclipse.debug.tests #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 #525
  • Loading branch information
Michael5601 committed Aug 9, 2023
1 parent 18d0171 commit a1da4ac
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 12 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 @@ -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 a1da4ac

Please sign in to comment.