summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBogdan Gheorghe <gheorghe>2008-02-07 19:09:42 +0000
committerBogdan Gheorghe <gheorghe>2008-02-07 19:09:42 +0000
commit3ba419e0c1ded4c75bf94b37412b839b171784a4 (patch)
tree2b2c91779acbd5a41321de47a7a5445428de0ba4
parentc16126cfef271456877c23811a23064f8cb17e12 (diff)
downloadeclipse.platform.swt-3ba419e0c1ded4c75bf94b37412b839b171784a4.tar.gz
eclipse.platform.swt-3ba419e0c1ded4c75bf94b37412b839b171784a4.tar.xz
eclipse.platform.swt-3ba419e0c1ded4c75bf94b37412b839b171784a4.zip
Revert for 217854v3428a
-rw-r--r--tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_graphics_GC.java4
1 files changed, 0 insertions, 4 deletions
diff --git a/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_graphics_GC.java b/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_graphics_GC.java
index 486e7346aa..30af784268 100644
--- a/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_graphics_GC.java
+++ b/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_graphics_GC.java
@@ -82,12 +82,10 @@ public void test_ConstructorLorg_eclipse_swt_graphics_Drawable() {
// Direct instantiation results in a NoClassDefFoundError during class
// loading/initialization. Casting seems to be ok.
Object printer = printerClass.newInstance();
- ((Printer) printer).startJob("Test_org_eclipse_swt_graphics_GC");
GC gc1 = new GC((Printer) printer);
GC gc2 = new GC((Printer) printer);
gc1.dispose();
gc2.dispose();
- ((Printer) printer).endJob();
((Printer) printer).dispose();
fail("No exception thrown for more than one GC on one printer");
} catch (IllegalArgumentException e) {
@@ -142,12 +140,10 @@ public void test_ConstructorLorg_eclipse_swt_graphics_DrawableI() {
// Direct instantiation results in a NoClassDefFoundError during class
// loading/initialization. Casting seems to be ok.
Object printer = printerClass.newInstance();
- ((Printer) printer).startJob("Test_org_eclipse_swt_graphics_GC");
GC gc1 = new GC((Printer)printer, SWT.RIGHT_TO_LEFT);
GC gc2 = new GC((Printer)printer, SWT.LEFT_TO_RIGHT);
gc1.dispose();
gc2.dispose();
- ((Printer) printer).endJob();
((Printer) printer).dispose();
fail("No exception thrown for more than one GC on one printer");
} catch (IllegalArgumentException e) {