harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hinde...@apache.org
Subject svn commit: r951676 [3/20] - in /harmony/enhanced/java/branches/mrh: classlib/make/ classlib/modules/accessibility/make/ classlib/modules/annotation/make/ classlib/modules/applet/make/ classlib/modules/archive/make/ classlib/modules/auth/make/ classlib...
Date Sat, 05 Jun 2010 08:35:05 GMT
Modified: harmony/enhanced/java/branches/mrh/classlib/modules/awt/src/test/impl/boot/java/awt/geom/RoundRectangle2DTest.java
URL: http://svn.apache.org/viewvc/harmony/enhanced/java/branches/mrh/classlib/modules/awt/src/test/impl/boot/java/awt/geom/RoundRectangle2DTest.java?rev=951676&r1=951675&r2=951676&view=diff
==============================================================================
--- harmony/enhanced/java/branches/mrh/classlib/modules/awt/src/test/impl/boot/java/awt/geom/RoundRectangle2DTest.java (original)
+++ harmony/enhanced/java/branches/mrh/classlib/modules/awt/src/test/impl/boot/java/awt/geom/RoundRectangle2DTest.java Sat Jun  5 08:34:57 2010
@@ -17,7 +17,6 @@
 package java.awt.geom;
 
 import java.awt.geom.ShapeTestCase;
-import tests.support.Support_Excludes;
 
 public class RoundRectangle2DTest extends ShapeTestCase {
 
@@ -28,10 +27,6 @@ public class RoundRectangle2DTest extend
     }
 
     public void testSetRoundRect() {
-        if (Support_Excludes.isExcluded()) {
-            return;
-        }
-
         RoundRectangle2D r = new RoundRectangle2D.Double(1, 2, 3, 4, 5, 6);
         r.setRoundRect(7, 8, 9, 10, 11, 12);
         assertEquals(7.0, r.getX(), 0.0);
@@ -43,10 +38,6 @@ public class RoundRectangle2DTest extend
     }
 
     public void testSetFrame() {
-        if (Support_Excludes.isExcluded()) {
-            return;
-        }
-
         RoundRectangle2D r = new RoundRectangle2D.Double(1, 2, 3, 4, 5, 6);
         r.setFrame(7, 8, 9, 10);
         assertEquals(7.0, r.getX(), 0.0);
@@ -58,10 +49,6 @@ public class RoundRectangle2DTest extend
     }
 
     public void testGetPathIteratorEmpty() {
-        if (Support_Excludes.isExcluded()) {
-            return;
-        }
-
         // Regression test HARMONY-1585
         RoundRectangle2D e = new RoundRectangle2D.Double();
         PathIterator p = e.getPathIterator(null);

Modified: harmony/enhanced/java/branches/mrh/classlib/modules/awt/src/test/impl/boot/java/awt/image/BufferedImageFilterTest.java
URL: http://svn.apache.org/viewvc/harmony/enhanced/java/branches/mrh/classlib/modules/awt/src/test/impl/boot/java/awt/image/BufferedImageFilterTest.java?rev=951676&r1=951675&r2=951676&view=diff
==============================================================================
--- harmony/enhanced/java/branches/mrh/classlib/modules/awt/src/test/impl/boot/java/awt/image/BufferedImageFilterTest.java (original)
+++ harmony/enhanced/java/branches/mrh/classlib/modules/awt/src/test/impl/boot/java/awt/image/BufferedImageFilterTest.java Sat Jun  5 08:34:57 2010
@@ -26,7 +26,6 @@ import junit.framework.TestCase;
 
 import java.awt.geom.AffineTransform;
 import java.awt.*;
-import tests.support.Support_Excludes;
 
 public class BufferedImageFilterTest extends TestCase {
     private BufferedImageFilter filter;
@@ -61,10 +60,6 @@ public class BufferedImageFilterTest ext
     }
 
     public void testBufferedImageFilter() throws Exception {
-        if (Support_Excludes.isExcluded()) {
-            return;
-        }
-
         BufferedImageOp op = new AffineTransformOp(
                 AffineTransform.getTranslateInstance(0, 0),
                 AffineTransformOp.TYPE_NEAREST_NEIGHBOR
@@ -81,18 +76,10 @@ public class BufferedImageFilterTest ext
     }
 
     public void testGetBufferedImageOp() throws Exception {
-        if (Support_Excludes.isExcluded()) {
-            return;
-        }
-
         assertEquals(op, filter.getBufferedImageOp());
     }
 
     public void testFilterRGB() throws Exception {
-        if (Support_Excludes.isExcluded()) {
-            return;
-        }
-
         // Create source
         BufferedImage im = new BufferedImage(10, 10, BufferedImage.TYPE_INT_RGB);
         for (int i=0; i<100; i++) {
@@ -113,10 +100,6 @@ public class BufferedImageFilterTest ext
     }
 
     public void testFilterByteIndexed() throws Exception {
-        if (Support_Excludes.isExcluded()) {
-            return;
-        }
-
         BufferedImage im = new BufferedImage(20, 20, BufferedImage.TYPE_BYTE_INDEXED);
         for (int i=0; i<400; i++) {
             im.getRaster().setPixel(i%20, i/20, new int[]{i});
@@ -136,10 +119,6 @@ public class BufferedImageFilterTest ext
     }
 
     public void testFilterByte()  throws Exception {
-        if (Support_Excludes.isExcluded()) {
-            return;
-        }
-
         BufferedImage im = new BufferedImage(20, 20, BufferedImage.TYPE_3BYTE_BGR);
         for (int i=0; i<400; i++) {
             im.getRaster().setPixel(i%20, i/20, new int[]{i,i+1,i+2});

Modified: harmony/enhanced/java/branches/mrh/classlib/modules/awt/src/test/impl/boot/java/awt/image/MultiPixelPackedSampleModelTest.java
URL: http://svn.apache.org/viewvc/harmony/enhanced/java/branches/mrh/classlib/modules/awt/src/test/impl/boot/java/awt/image/MultiPixelPackedSampleModelTest.java?rev=951676&r1=951675&r2=951676&view=diff
==============================================================================
--- harmony/enhanced/java/branches/mrh/classlib/modules/awt/src/test/impl/boot/java/awt/image/MultiPixelPackedSampleModelTest.java (original)
+++ harmony/enhanced/java/branches/mrh/classlib/modules/awt/src/test/impl/boot/java/awt/image/MultiPixelPackedSampleModelTest.java Sat Jun  5 08:34:57 2010
@@ -33,7 +33,6 @@ import java.util.Random;
 import javax.swing.JSplitPane;
 
 import junit.framework.TestCase;
-import tests.support.Support_Excludes;
 
 public class MultiPixelPackedSampleModelTest extends TestCase {
     final int w = 20;

Modified: harmony/enhanced/java/branches/mrh/classlib/modules/awt/src/test/impl/boot/java/awt/image/SinglePixelPackedSampleModelTest.java
URL: http://svn.apache.org/viewvc/harmony/enhanced/java/branches/mrh/classlib/modules/awt/src/test/impl/boot/java/awt/image/SinglePixelPackedSampleModelTest.java?rev=951676&r1=951675&r2=951676&view=diff
==============================================================================
--- harmony/enhanced/java/branches/mrh/classlib/modules/awt/src/test/impl/boot/java/awt/image/SinglePixelPackedSampleModelTest.java (original)
+++ harmony/enhanced/java/branches/mrh/classlib/modules/awt/src/test/impl/boot/java/awt/image/SinglePixelPackedSampleModelTest.java Sat Jun  5 08:34:57 2010
@@ -30,7 +30,6 @@ import java.util.Arrays;
 import java.util.Random;
 
 import junit.framework.TestCase;
-import tests.support.Support_Excludes;
 
 public class SinglePixelPackedSampleModelTest extends TestCase {
     int w = 10;

Modified: harmony/enhanced/java/branches/mrh/classlib/modules/awt/src/test/impl/boot/org/apache/harmony/awt/ListenerListTest.java
URL: http://svn.apache.org/viewvc/harmony/enhanced/java/branches/mrh/classlib/modules/awt/src/test/impl/boot/org/apache/harmony/awt/ListenerListTest.java?rev=951676&r1=951675&r2=951676&view=diff
==============================================================================
--- harmony/enhanced/java/branches/mrh/classlib/modules/awt/src/test/impl/boot/org/apache/harmony/awt/ListenerListTest.java (original)
+++ harmony/enhanced/java/branches/mrh/classlib/modules/awt/src/test/impl/boot/org/apache/harmony/awt/ListenerListTest.java Sat Jun  5 08:34:57 2010
@@ -26,7 +26,6 @@ import java.io.Serializable;
 import java.util.EventListener;
 
 import junit.framework.TestCase;
-import tests.support.Support_Excludes;
 
 public class ListenerListTest extends TestCase {
 
@@ -35,10 +34,6 @@ public class ListenerListTest extends Te
     }
 
     public void testSerialize() {
-        if (Support_Excludes.isExcluded()) {
-            return;
-        }
-
         ListenerList<EventListener> list = new ListenerList<EventListener>();
 
         list.addUserListener(new EventListener() {

Modified: harmony/enhanced/java/branches/mrh/classlib/modules/awt/src/test/impl/boot/org/apache/harmony/awt/gl/MultiRectAreaLineCashTest.java
URL: http://svn.apache.org/viewvc/harmony/enhanced/java/branches/mrh/classlib/modules/awt/src/test/impl/boot/org/apache/harmony/awt/gl/MultiRectAreaLineCashTest.java?rev=951676&r1=951675&r2=951676&view=diff
==============================================================================
--- harmony/enhanced/java/branches/mrh/classlib/modules/awt/src/test/impl/boot/org/apache/harmony/awt/gl/MultiRectAreaLineCashTest.java (original)
+++ harmony/enhanced/java/branches/mrh/classlib/modules/awt/src/test/impl/boot/org/apache/harmony/awt/gl/MultiRectAreaLineCashTest.java Sat Jun  5 08:34:57 2010
@@ -20,7 +20,6 @@
 package org.apache.harmony.awt.gl;
 
 import org.apache.harmony.awt.gl.MultiRectArea;
-import tests.support.Support_Excludes;
 
 public class MultiRectAreaLineCashTest extends MultiRectAreaTestCase {
 
@@ -57,10 +56,6 @@ public class MultiRectAreaLineCashTest e
     // 15      ####
     // 16   ## ##
     public void testCash() {
-        if (Support_Excludes.isExcluded()) {
-            return;
-        }
-
         checkArea("LineCash1", area, new int[]{});
 
         area.setLine(10);

Modified: harmony/enhanced/java/branches/mrh/classlib/modules/awt/src/test/impl/boot/org/apache/harmony/awt/gl/render/JavaBlitterTest.java
URL: http://svn.apache.org/viewvc/harmony/enhanced/java/branches/mrh/classlib/modules/awt/src/test/impl/boot/org/apache/harmony/awt/gl/render/JavaBlitterTest.java?rev=951676&r1=951675&r2=951676&view=diff
==============================================================================
--- harmony/enhanced/java/branches/mrh/classlib/modules/awt/src/test/impl/boot/org/apache/harmony/awt/gl/render/JavaBlitterTest.java (original)
+++ harmony/enhanced/java/branches/mrh/classlib/modules/awt/src/test/impl/boot/org/apache/harmony/awt/gl/render/JavaBlitterTest.java Sat Jun  5 08:34:57 2010
@@ -40,7 +40,6 @@ import org.apache.harmony.awt.gl.image.O
 
 
 import junit.framework.TestCase;
-import tests.support.Support_Excludes;
 
 public class JavaBlitterTest extends TestCase{
     int w, h;

Modified: harmony/enhanced/java/branches/mrh/classlib/modules/awt/src/test/impl/boot/org/apache/harmony/awt/tests/nativebridge/PointerPointerTest.java
URL: http://svn.apache.org/viewvc/harmony/enhanced/java/branches/mrh/classlib/modules/awt/src/test/impl/boot/org/apache/harmony/awt/tests/nativebridge/PointerPointerTest.java?rev=951676&r1=951675&r2=951676&view=diff
==============================================================================
--- harmony/enhanced/java/branches/mrh/classlib/modules/awt/src/test/impl/boot/org/apache/harmony/awt/tests/nativebridge/PointerPointerTest.java (original)
+++ harmony/enhanced/java/branches/mrh/classlib/modules/awt/src/test/impl/boot/org/apache/harmony/awt/tests/nativebridge/PointerPointerTest.java Sat Jun  5 08:34:57 2010
@@ -22,7 +22,6 @@ import junit.framework.TestCase;
 import org.apache.harmony.awt.nativebridge.NativeBridge;
 import org.apache.harmony.awt.nativebridge.PointerPointer;
 import org.apache.harmony.awt.nativebridge.ByteBase;
-import tests.support.Support_Excludes;
 
 public class PointerPointerTest extends TestCase {
     private PointerPointer p;
@@ -40,28 +39,16 @@ public class PointerPointerTest extends 
     }
 
     public void test_get() {
-        if (Support_Excludes.isExcluded()) {
-            return;
-        }
-
         assertNull("*p != 0", p.get(0));
         assertNull("*(p+1) != 0", p1.get(1));
     }
 
     public void test_getAddress() {
-        if (Support_Excludes.isExcluded()) {
-            return;
-        }
-
         assertEquals("*p != 0", 0, p.getAddress(0));
         assertEquals("*(p+1) != 0", 0, p1.getAddress(1));
     }
 
     public void test_set() {
-        if (Support_Excludes.isExcluded()) {
-            return;
-        }
-
         byte dst[] = new byte[8];
 
         p.set(1, NativeBridge.getInstance().createInt32Pointer(0x04030201L));
@@ -73,10 +60,6 @@ public class PointerPointerTest extends 
     }
 
     public void test_setAddress() {
-        if (Support_Excludes.isExcluded()) {
-            return;
-        }
-
         byte dst[] = new byte[8];
 
         p.setAddress(1, 0x04030201L);

Modified: harmony/enhanced/java/branches/mrh/classlib/modules/awt/src/test/impl/boot/org/apache/harmony/awt/wtk/ShutdownWatchdogTest.java
URL: http://svn.apache.org/viewvc/harmony/enhanced/java/branches/mrh/classlib/modules/awt/src/test/impl/boot/org/apache/harmony/awt/wtk/ShutdownWatchdogTest.java?rev=951676&r1=951675&r2=951676&view=diff
==============================================================================
--- harmony/enhanced/java/branches/mrh/classlib/modules/awt/src/test/impl/boot/org/apache/harmony/awt/wtk/ShutdownWatchdogTest.java (original)
+++ harmony/enhanced/java/branches/mrh/classlib/modules/awt/src/test/impl/boot/org/apache/harmony/awt/wtk/ShutdownWatchdogTest.java Sat Jun  5 08:34:57 2010
@@ -20,7 +20,6 @@
 package org.apache.harmony.awt.wtk;
 
 import junit.framework.TestCase;
-import tests.support.Support_Excludes;
 
 public class ShutdownWatchdogTest extends TestCase {
     
@@ -37,10 +36,6 @@ public class ShutdownWatchdogTest extend
     }
     
     public void testSetWindowListEmptyTrue() {
-        if (Support_Excludes.isExcluded()) {
-            return;
-        }
-
         intro();
         wd.setWindowListEmpty(true);
         sleep();
@@ -49,10 +44,6 @@ public class ShutdownWatchdogTest extend
     }
     
     public void testSetWindowListEmptyFalse() {
-        if (Support_Excludes.isExcluded()) {
-            return;
-        }
-
         intro();
         wd.setWindowListEmpty(false);
         assertTrue(isShutdownThreadRunning());
@@ -60,10 +51,6 @@ public class ShutdownWatchdogTest extend
     }
 
     public void testSetAwtQueueEmptyTrue() {
-        if (Support_Excludes.isExcluded()) {
-            return;
-        }
-
         intro();
         wd.setAwtQueueEmpty(true);
         sleep();
@@ -72,10 +59,6 @@ public class ShutdownWatchdogTest extend
     }
     
     public void testSetAwtQueueEmptyFalse() {
-        if (Support_Excludes.isExcluded()) {
-            return;
-        }
-
         intro();
         wd.setAwtQueueEmpty(false);
         assertTrue(isShutdownThreadRunning());
@@ -83,10 +66,6 @@ public class ShutdownWatchdogTest extend
     }
 
     public void testSetNativeQueueEmptyTrue() {
-        if (Support_Excludes.isExcluded()) {
-            return;
-        }
-
         intro();
         wd.setNativeQueueEmpty(true);
         sleep();
@@ -95,10 +74,6 @@ public class ShutdownWatchdogTest extend
     }
     
     public void testSetNativeQueueEmptyFalse() {
-        if (Support_Excludes.isExcluded()) {
-            return;
-        }
-
         intro();
         wd.setNativeQueueEmpty(false);
         assertTrue(isShutdownThreadRunning());
@@ -106,10 +81,6 @@ public class ShutdownWatchdogTest extend
     }
 
     public void testStartThenForceShutdown() {
-        if (Support_Excludes.isExcluded()) {
-            return;
-        }
-
         intro();
         outro();
     }

Modified: harmony/enhanced/java/branches/mrh/classlib/modules/awt/src/test/impl/unix/org/apache/harmony/awt/gl/linux/XGraphics2DRTest.java
URL: http://svn.apache.org/viewvc/harmony/enhanced/java/branches/mrh/classlib/modules/awt/src/test/impl/unix/org/apache/harmony/awt/gl/linux/XGraphics2DRTest.java?rev=951676&r1=951675&r2=951676&view=diff
==============================================================================
--- harmony/enhanced/java/branches/mrh/classlib/modules/awt/src/test/impl/unix/org/apache/harmony/awt/gl/linux/XGraphics2DRTest.java (original)
+++ harmony/enhanced/java/branches/mrh/classlib/modules/awt/src/test/impl/unix/org/apache/harmony/awt/gl/linux/XGraphics2DRTest.java Sat Jun  5 08:34:57 2010
@@ -25,14 +25,9 @@ import junit.framework.TestCase;
 import java.awt.*;
 import java.awt.geom.AffineTransform;
 import java.awt.image.VolatileImage;
-import tests.support.Support_Excludes;
 
 public class XGraphics2DRTest extends TestCase {
     public void testNullClip() {
-        if (Support_Excludes.isExcluded()) {
-            return;
-        }
-
         try {
             GraphicsConfiguration gconf =
                     GraphicsEnvironment.getLocalGraphicsEnvironment().getDefaultScreenDevice().getDefaultConfiguration();
@@ -46,10 +41,6 @@ public class XGraphics2DRTest extends Te
     }
 
     public void testCopyArea() {
-        if (Support_Excludes.isExcluded()) {
-            return;
-        }
-
         GraphicsConfiguration gconf =
                 GraphicsEnvironment.getLocalGraphicsEnvironment().getDefaultScreenDevice().getDefaultConfiguration();
         VolatileImage vim = gconf.createCompatibleVolatileImage(20, 20);

Modified: harmony/enhanced/java/branches/mrh/classlib/modules/awt/src/test/impl/windows/java/awt/WinWindowRTest.java
URL: http://svn.apache.org/viewvc/harmony/enhanced/java/branches/mrh/classlib/modules/awt/src/test/impl/windows/java/awt/WinWindowRTest.java?rev=951676&r1=951675&r2=951676&view=diff
==============================================================================
--- harmony/enhanced/java/branches/mrh/classlib/modules/awt/src/test/impl/windows/java/awt/WinWindowRTest.java (original)
+++ harmony/enhanced/java/branches/mrh/classlib/modules/awt/src/test/impl/windows/java/awt/WinWindowRTest.java Sat Jun  5 08:34:57 2010
@@ -23,7 +23,6 @@ import java.awt.event.WindowAdapter;
 import java.awt.event.WindowEvent;
 
 import junit.framework.TestCase;
-import tests.support.Support_Excludes;
 
 /**
  * 

Modified: harmony/enhanced/java/branches/mrh/classlib/modules/beans/make/run-test.xml
URL: http://svn.apache.org/viewvc/harmony/enhanced/java/branches/mrh/classlib/modules/beans/make/run-test.xml?rev=951676&r1=951675&r2=951676&view=diff
==============================================================================
--- harmony/enhanced/java/branches/mrh/classlib/modules/beans/make/run-test.xml (original)
+++ harmony/enhanced/java/branches/mrh/classlib/modules/beans/make/run-test.xml Sat Jun  5 08:34:57 2010
@@ -31,7 +31,7 @@
 
     <target name="test" depends="test-module" />
 
-    <target name="test-module">
+    <target name="test-module" depends="test-jre-vm-info">
         <convert-test-as-class from="test.case" to="converted.tc.class" />
         <run-hdk-tests module="beans" jar="beans_impl_tests.jar">
             <junit-elements>

Modified: harmony/enhanced/java/branches/mrh/classlib/modules/beans/src/test/java/org/apache/harmony/beans/tests/java/beans/EventHandlerTest.java
URL: http://svn.apache.org/viewvc/harmony/enhanced/java/branches/mrh/classlib/modules/beans/src/test/java/org/apache/harmony/beans/tests/java/beans/EventHandlerTest.java?rev=951676&r1=951675&r2=951676&view=diff
==============================================================================
--- harmony/enhanced/java/branches/mrh/classlib/modules/beans/src/test/java/org/apache/harmony/beans/tests/java/beans/EventHandlerTest.java (original)
+++ harmony/enhanced/java/branches/mrh/classlib/modules/beans/src/test/java/org/apache/harmony/beans/tests/java/beans/EventHandlerTest.java Sat Jun  5 08:34:57 2010
@@ -34,7 +34,6 @@ import junit.textui.TestRunner;
 import org.apache.harmony.beans.tests.support.SampleEvent;
 import org.apache.harmony.beans.tests.support.SampleListener;
 import org.apache.harmony.beans.tests.support.mock.MockButton;
-import tests.support.Support_Excludes;
 
 /**
  * Unit test for EventHandler.
@@ -61,10 +60,6 @@ public class EventHandlerTest extends Te
      * The test checks event handler accessors
      */
     public void testAccessors() {
-        if (Support_Excludes.isExcluded()) {
-            return;
-        }
-
         InvocationObject invocationObject = new InvocationObject();
         EventHandler handler = new EventHandler(invocationObject, "someText",
                 "source.text", "actionPerformed");
@@ -78,10 +73,6 @@ public class EventHandlerTest extends Te
      * The test checks the method invoke() with null listener value
      */
     public void testNullListenerMethodName() throws Exception {
-        if (Support_Excludes.isExcluded()) {
-            return;
-        }
-
         InvocationObject invocationObject = new InvocationObject();
 
         EventHandler handler = new EventHandler(invocationObject, "someText",
@@ -101,10 +92,6 @@ public class EventHandlerTest extends Te
      * The test checks the method invoke()
      */
     public void testInvoke() throws Exception {
-        if (Support_Excludes.isExcluded()) {
-            return;
-        }
-
         InvocationObject invocationObject = new InvocationObject();
 
         EventHandler handler = new EventHandler(invocationObject, "someText",
@@ -125,10 +112,6 @@ public class EventHandlerTest extends Te
      * The test checks the method invoke() with null property name
      */
     public void testInvokeWithNullPropertyName() throws Exception {
-        if (Support_Excludes.isExcluded()) {
-            return;
-        }
-
         InvocationObject invocationObject = new InvocationObject();
 
         EventHandler handler = new EventHandler(invocationObject,
@@ -156,10 +139,6 @@ public class EventHandlerTest extends Te
      * The test checks the object created with the create() method call
      */
     public void testCreateWithMethodCall() {
-        if (Support_Excludes.isExcluded()) {
-            return;
-        }
-
         Object invocationObject = new InvocationObject();
         ActionListener listener = EventHandler.create(ActionListener.class,
                 invocationObject, "doSomething");
@@ -178,10 +157,6 @@ public class EventHandlerTest extends Te
      * The test checks the setter is initialized properly
      */
     public void testCreateWithSetterCall() {
-        if (Support_Excludes.isExcluded()) {
-            return;
-        }
-
         Object invocationObject = new InvocationObject();
         ActionEvent ae = new ActionEvent(this, 0, "");
         ActionListener listener = EventHandler.create(ActionListener.class,
@@ -201,10 +176,6 @@ public class EventHandlerTest extends Te
      * dot-separated property
      */
     public void testCreateWithDottedParameterCall() {
-        if (Support_Excludes.isExcluded()) {
-            return;
-        }
-
         Object invocationObject = new InvocationObject();
         ActionEvent ae = new ActionEvent(this, 0, "");
         ActionListener listener = EventHandler.create(ActionListener.class,
@@ -223,10 +194,6 @@ public class EventHandlerTest extends Te
      * The test checks the event is fired for object created with the create()
      */
     public void testCreateWithMethodCallWhichIsSetter() {
-        if (Support_Excludes.isExcluded()) {
-            return;
-        }
-
         InvocationObject invocationObject = new InvocationObject();
         SampleEvent event = new SampleEvent("bean");
 
@@ -243,10 +210,6 @@ public class EventHandlerTest extends Te
      * fireSampleEvent scenario
      */
     public void testCreateForStaticMethodAsPropertyGetter() {
-        if (Support_Excludes.isExcluded()) {
-            return;
-        }
-
         InvocationObject invocationObject = new InvocationObject();
         SampleEvent event = new SampleEvent("bean");
 
@@ -262,10 +225,6 @@ public class EventHandlerTest extends Te
      * fileSampleEvent scenario by throwing RuntimeException
      */
     public void test_Create_WithThrowRuntimeException() {
-        if (Support_Excludes.isExcluded()) {
-            return;
-        }
-
         // Regression for Harmony-2434
         InvocationObject invocationObject = new InvocationObject();
         SampleListener listener = EventHandler.create(SampleListener.class,invocationObject, "throwRuntimeException");
@@ -322,10 +281,6 @@ public class EventHandlerTest extends Te
      * Class under test for Object create(Class, Object, String)
      */
     public void testCreateClassObjectString() {
-        if (Support_Excludes.isExcluded()) {
-            return;
-        }
-
         MockTarget target = new MockTarget();
         MockButton button = new MockButton();
         PropertyChangeListener proxy = EventHandler.create(
@@ -340,10 +295,6 @@ public class EventHandlerTest extends Te
      * listenerInterface class is null
      */
     public void testCreateClassObjectString_ClassNull() {
-        if (Support_Excludes.isExcluded()) {
-            return;
-        }
-
         MockTarget target = new MockTarget();
         try {
             EventHandler.create(null, target, "setCalled");
@@ -356,10 +307,6 @@ public class EventHandlerTest extends Te
      * listenerInterface is not a interface
      */
     public void testCreateClassObjectString_ClassInvalid() {
-        if (Support_Excludes.isExcluded()) {
-            return;
-        }
-
         MockTarget target = new MockTarget();
         try {
             EventHandler.create(MockButton.class, target, "setCalled");
@@ -372,10 +319,6 @@ public class EventHandlerTest extends Te
      * the target object is null
      */
     public void testCreateClassObjectString_ObjectNull() {
-        if (Support_Excludes.isExcluded()) {
-            return;
-        }
-
         try {
             EventHandler
                     .create(PropertyChangeListener.class, null, "setCalled");
@@ -388,10 +331,6 @@ public class EventHandlerTest extends Te
      * the target's method is null
      */
     public void testCreateClassObjectString_MethodNull() {
-        if (Support_Excludes.isExcluded()) {
-            return;
-        }
-
         MockTarget target = new MockTarget();
         MockButton button = new MockButton();
         try {
@@ -415,10 +354,6 @@ public class EventHandlerTest extends Te
      * the target's method is invalid
      */
     public void testCreateClassObjectString_MethodEmpty() {
-        if (Support_Excludes.isExcluded()) {
-            return;
-        }
-
         MockTarget target = new MockTarget();
         MockButton button = new MockButton();
         PropertyChangeListener proxy = EventHandler.create(
@@ -436,10 +371,6 @@ public class EventHandlerTest extends Te
      * Class under test for Object create(Class, Object, String, String)
      */
     public void testCreateClassObjectStringString() {
-        if (Support_Excludes.isExcluded()) {
-            return;
-        }
-
         MockTarget target = new MockTarget();
         MockButton button = new MockButton();
         PropertyChangeListener proxy = EventHandler.create(
@@ -458,10 +389,6 @@ public class EventHandlerTest extends Te
      * listenerInterface is null
      */
     public void testCreateClassObjectStringString_ClassNull() {
-        if (Support_Excludes.isExcluded()) {
-            return;
-        }
-
         MockTarget target = new MockTarget();
         try {
             EventHandler.create(null, target, "text", "source.label");
@@ -474,10 +401,6 @@ public class EventHandlerTest extends Te
      * the target object is null
      */
     public void testCreateClassObjectStringString_TargetNull() {
-        if (Support_Excludes.isExcluded()) {
-            return;
-        }
-
         try {
             EventHandler.create(PropertyChangeListener.class, null, "text",
                     "source.label");
@@ -490,10 +413,6 @@ public class EventHandlerTest extends Te
      * the action is null
      */
     public void testCreateClassObjectStringString_ActionNull() {
-        if (Support_Excludes.isExcluded()) {
-            return;
-        }
-
         MockTarget target = new MockTarget();
         MockButton button = new MockButton();
         try {
@@ -509,10 +428,6 @@ public class EventHandlerTest extends Te
      * action is invalid
      */
     public void testCreateClassObjectStringString_ActionInvalid() {
-        if (Support_Excludes.isExcluded()) {
-            return;
-        }
-
         MockTarget target = new MockTarget();
         MockButton button = new MockButton();
         PropertyChangeListener proxy = EventHandler.create(
@@ -533,10 +448,6 @@ public class EventHandlerTest extends Te
      * propertyname is null
      */
     public void testCreateClassObjectStringString_PropertyNameNull() {
-        if (Support_Excludes.isExcluded()) {
-            return;
-        }
-
         MockTarget target = new MockTarget();
         MockButton button = new MockButton();
         PropertyChangeListener proxy = EventHandler.create(
@@ -556,10 +467,6 @@ public class EventHandlerTest extends Te
      * property name is invalid
      */
     public void testCreateClassObjectStringString_PropertyNameInvalid() {
-        if (Support_Excludes.isExcluded()) {
-            return;
-        }
-
         MockTarget target = new MockTarget();
         MockButton button = new MockButton();
         PropertyChangeListener proxy = EventHandler.create(
@@ -582,10 +489,6 @@ public class EventHandlerTest extends Te
      * Class under test for Object create(Class, Object, String, String, String)
      */
     public void testCreateClassObjectStringStringString() {
-        if (Support_Excludes.isExcluded()) {
-            return;
-        }
-
         MockTarget target = new MockTarget();
         MockButton button = new MockButton();
         PropertyChangeListener proxy = EventHandler.create(
@@ -605,10 +508,6 @@ public class EventHandlerTest extends Te
      * listenerInterface is null
      */
     public void testCreateClassObjectStringStringString_ClassNull() {
-        if (Support_Excludes.isExcluded()) {
-            return;
-        }
-
         MockTarget target = new MockTarget();
         try {
             EventHandler.create(null, target, "text", "source.label",
@@ -623,10 +522,6 @@ public class EventHandlerTest extends Te
      * listenerInterface is invalid
      */
     public void testCreateClassObjectStringStringString_ClassInvalid() {
-        if (Support_Excludes.isExcluded()) {
-            return;
-        }
-
         MockTarget target = new MockTarget();
         try {
             EventHandler.create(String.class, target, "text", "source.label",
@@ -640,10 +535,6 @@ public class EventHandlerTest extends Te
      * the target object is null
      */
     public void testCreateClassObjectStringStringString_TargetNull() {
-        if (Support_Excludes.isExcluded()) {
-            return;
-        }
-
         try {
             EventHandler.create(PropertyChangeListener.class, null, "text",
                     "source.label", "propertyChange");
@@ -656,10 +547,6 @@ public class EventHandlerTest extends Te
      * action is null
      */
     public void testCreateClassObjectStringStringString_ActionNull() {
-        if (Support_Excludes.isExcluded()) {
-            return;
-        }
-
         MockTarget target = new MockTarget();
         MockButton button = new MockButton();
         try {
@@ -676,10 +563,6 @@ public class EventHandlerTest extends Te
      * action is invalid
      */
     public void testCreateClassObjectStringStringString_ActionInvalid() {
-        if (Support_Excludes.isExcluded()) {
-            return;
-        }
-
         MockTarget target = new MockTarget();
         MockButton button = new MockButton();
         PropertyChangeListener proxy = EventHandler.create(
@@ -700,10 +583,6 @@ public class EventHandlerTest extends Te
      * property name is null
      */
     public void testCreateClassObjectStringStringString_PropertyNull() {
-        if (Support_Excludes.isExcluded()) {
-            return;
-        }
-
         MockTarget target = new MockTarget();
         MockButton button = new MockButton();
         String newLabel = "New Value: set text.";
@@ -725,10 +604,6 @@ public class EventHandlerTest extends Te
      * property name is invalid
      */
     public void testCreateClassObjectStringStringString_PropertyInvalid() {
-        if (Support_Excludes.isExcluded()) {
-            return;
-        }
-
         MockTarget target = new MockTarget();
         MockButton button = new MockButton();
         PropertyChangeListener proxy = EventHandler.create(
@@ -749,10 +624,6 @@ public class EventHandlerTest extends Te
      * listenerMethodName is null
      */
     public void testCreateClassObjectStringStringString_MethodNull() {
-        if (Support_Excludes.isExcluded()) {
-            return;
-        }
-
         MockTarget target = new MockTarget();
         MockButton button = new MockButton();
         PropertyChangeListener proxy = EventHandler.create(
@@ -772,10 +643,6 @@ public class EventHandlerTest extends Te
      * listenerMethodName is invalid
      */
     public void testCreateClassObjectStringStringString_MethodInvalid() {
-        if (Support_Excludes.isExcluded()) {
-            return;
-        }
-
         MockTarget target = new MockTarget();
         MockButton button = new MockButton();
         PropertyChangeListener proxy = EventHandler.create(
@@ -794,10 +661,6 @@ public class EventHandlerTest extends Te
      * eventPropertyName, String listenerMethodName)
      */
     public void testEventHandler() {
-        if (Support_Excludes.isExcluded()) {
-            return;
-        }
-
         MockTarget target = new MockTarget();
         String action = "text";
         String eventPropertyName = "source.label";
@@ -814,10 +677,6 @@ public class EventHandlerTest extends Te
      * target is null
      */
     public void testEventHandler_TargetNull() {
-        if (Support_Excludes.isExcluded()) {
-            return;
-        }
-
         String action = "text";
         String eventPropertyName = "source.label";
         String listenerMethodName = "propertyChange";
@@ -834,10 +693,6 @@ public class EventHandlerTest extends Te
      * action is null
      */
     public void testEventHandler_ActionNull() {
-        if (Support_Excludes.isExcluded()) {
-            return;
-        }
-
         MockTarget target = new MockTarget();
         String eventPropertyName = "source.label";
         String listenerMethodName = "propertyChange";
@@ -860,10 +715,6 @@ public class EventHandlerTest extends Te
      * EventProperty is null
      */
     public void testEventHandler_EventPropertyNull() {
-        if (Support_Excludes.isExcluded()) {
-            return;
-        }
-
         MockTarget target = new MockTarget();
         String action = "text";
         String listenerMethodName = "propertyChange";
@@ -879,10 +730,6 @@ public class EventHandlerTest extends Te
      * Method is null
      */
     public void testEventHandler_MethodNull() {
-        if (Support_Excludes.isExcluded()) {
-            return;
-        }
-
         MockTarget target = new MockTarget();
         String action = "text";
         String eventPropertyName = "source.label";
@@ -895,10 +742,6 @@ public class EventHandlerTest extends Te
     }
 
     public void testInvoke_1() throws SecurityException, NoSuchMethodException {
-        if (Support_Excludes.isExcluded()) {
-            return;
-        }
-
         MockTarget target = new MockTarget();
         MockButton button = new MockButton();
         PropertyChangeListener proxy = EventHandler.create(
@@ -929,10 +772,6 @@ public class EventHandlerTest extends Te
     }
 
     public void testIncompatibleMethod() {
-        if (Support_Excludes.isExcluded()) {
-            return;
-        }
-
         MockTarget target = new MockTarget();
         MockButton button = new MockButton();
         PropertyChangeListener proxy = EventHandler.create(
@@ -950,10 +789,6 @@ public class EventHandlerTest extends Te
     }
 
     public void testCoverage_1() {
-        if (Support_Excludes.isExcluded()) {
-            return;
-        }
-
         MockTarget target = new MockTarget();
         MockButton button = new MockButton();
         PropertyChangeListener proxy = EventHandler.create(
@@ -971,10 +806,6 @@ public class EventHandlerTest extends Te
     }
 
     public void testInvoke_extend1() {
-        if (Support_Excludes.isExcluded()) {
-            return;
-        }
-
         MockFish fish = new MockFish();
         MockFishTarget target = new MockFishTarget();
         PropertyChangeSupport support = new PropertyChangeSupport(fish);
@@ -988,10 +819,6 @@ public class EventHandlerTest extends Te
     }
 
     public void testInvoke_extend1_1() {
-        if (Support_Excludes.isExcluded()) {
-            return;
-        }
-
         MockFish fish = new MockFish();
         MockFishTarget target = new MockFishTarget();
         PropertyChangeSupport support = new PropertyChangeSupport(fish);
@@ -1009,10 +836,6 @@ public class EventHandlerTest extends Te
     }
 
     public void testInvoke_extend2() {
-        if (Support_Excludes.isExcluded()) {
-            return;
-        }
-
         MockFish fish = new MockFish();
         MockFishTarget target = new MockFishTarget();
         PropertyChangeSupport support = new PropertyChangeSupport(fish);
@@ -1031,10 +854,6 @@ public class EventHandlerTest extends Te
     }
 
     public void testInvoke_extend3() {
-        if (Support_Excludes.isExcluded()) {
-            return;
-        }
-
         MockFish fish = new MockFish();
         MockFishTarget target = new MockFishTarget();
         PropertyChangeSupport support = new PropertyChangeSupport(fish);
@@ -1048,10 +867,6 @@ public class EventHandlerTest extends Te
     }
 
     public void testInvoke_extend4() {
-        if (Support_Excludes.isExcluded()) {
-            return;
-        }
-
         MockFish fish = new MockFish();
         MockFishTarget target = new MockFishTarget();
         PropertyChangeSupport support = new PropertyChangeSupport(fish);
@@ -1065,10 +880,6 @@ public class EventHandlerTest extends Te
     }
 
     public void testInvoke_extend4_BooleanObject() {
-        if (Support_Excludes.isExcluded()) {
-            return;
-        }
-
         MockFish fish = new MockFish();
         MockFishTarget target = new MockFishTarget();
         PropertyChangeSupport support = new PropertyChangeSupport(fish);
@@ -1083,10 +894,6 @@ public class EventHandlerTest extends Te
     }
 
     public void testInvoke_extend5() {
-        if (Support_Excludes.isExcluded()) {
-            return;
-        }
-
         MockFish fish = new MockFish();
         MockFishTarget target = new MockFishTarget();
         PropertyChangeSupport support = new PropertyChangeSupport(fish);
@@ -1100,10 +907,6 @@ public class EventHandlerTest extends Te
     }
 
     public void testInvoke_extend6() {
-        if (Support_Excludes.isExcluded()) {
-            return;
-        }
-
         MockFish fish = new MockFish();
         MockFishTarget target = new MockFishTarget();
         PropertyChangeSupport support = new PropertyChangeSupport(fish);
@@ -1117,10 +920,6 @@ public class EventHandlerTest extends Te
     }
 
     public void testInvoke_extend7() {
-        if (Support_Excludes.isExcluded()) {
-            return;
-        }
-
         MockFish fish = new MockFish();
         MockFishTarget target = new MockFishTarget();
         PropertyChangeSupport support = new PropertyChangeSupport(fish);
@@ -1134,10 +933,6 @@ public class EventHandlerTest extends Te
     }
 
     public void testInvoke_extend8() {
-        if (Support_Excludes.isExcluded()) {
-            return;
-        }
-
         MockFish fish = new MockFish();
         MockFishTarget target = new MockFishTarget();
         PropertyChangeSupport support = new PropertyChangeSupport(fish);
@@ -1151,10 +946,6 @@ public class EventHandlerTest extends Te
     }
 
     public void testInvoke_extend9() {
-        if (Support_Excludes.isExcluded()) {
-            return;
-        }
-
         MockFish fish = new MockFish();
         MockFishTarget target = new MockFishTarget();
         PropertyChangeSupport support = new PropertyChangeSupport(fish);
@@ -1168,10 +959,6 @@ public class EventHandlerTest extends Te
     }
 
     public void testInvoke_extend10() {
-        if (Support_Excludes.isExcluded()) {
-            return;
-        }
-
         MockFish fish = new MockFish();
         MockFishTarget target = new MockFishTarget();
         PropertyChangeSupport support = new PropertyChangeSupport(fish);
@@ -1185,10 +972,6 @@ public class EventHandlerTest extends Te
     }
 
     public void testInvoke_extend11() {
-        if (Support_Excludes.isExcluded()) {
-            return;
-        }
-
         MockFish fish = new MockFish();
         MockFishTarget target = new MockFishTarget();
         PropertyChangeSupport support = new PropertyChangeSupport(fish);
@@ -1206,10 +989,6 @@ public class EventHandlerTest extends Te
      *        java.lang.Object, java.lang.String))
      */
     public void testEventHandlerCreate() {
-        if (Support_Excludes.isExcluded()) {
-            return;
-        }
-
         // Regression for HARMONY-429
         EventHandler.create(FredListener.class, new Untitled1(), "i", "i")
                 .fireFredEvent(new FredEvent("bean2"));
@@ -1222,10 +1001,6 @@ public class EventHandlerTest extends Te
      * please refer HARMONY-1884 for details
      */
     public void testInvalidProperties_HY1884() {
-        if (Support_Excludes.isExcluded()) {
-            return;
-        }
-
         BeanWithInvalidProps bean = new BeanWithInvalidProps();
         Object proxy;
 

Modified: harmony/enhanced/java/branches/mrh/classlib/modules/beans/src/test/java/org/apache/harmony/beans/tests/java/beans/PersistenceDelegateTest.java
URL: http://svn.apache.org/viewvc/harmony/enhanced/java/branches/mrh/classlib/modules/beans/src/test/java/org/apache/harmony/beans/tests/java/beans/PersistenceDelegateTest.java?rev=951676&r1=951675&r2=951676&view=diff
==============================================================================
--- harmony/enhanced/java/branches/mrh/classlib/modules/beans/src/test/java/org/apache/harmony/beans/tests/java/beans/PersistenceDelegateTest.java (original)
+++ harmony/enhanced/java/branches/mrh/classlib/modules/beans/src/test/java/org/apache/harmony/beans/tests/java/beans/PersistenceDelegateTest.java Sat Jun  5 08:34:57 2010
@@ -36,7 +36,6 @@ import junit.framework.TestCase;
 
 import org.apache.harmony.beans.tests.support.mock.MockFoo;
 import org.apache.harmony.beans.tests.support.mock.MockFooStop;
-import tests.support.Support_Excludes;
 
 /**
  * Test java.beans.PersistenceDelegate
@@ -47,10 +46,6 @@ public class PersistenceDelegateTest ext
      * Test the constructor.
      */
     public void testConstructor() {
-        if (Support_Excludes.isExcluded()) {
-            return;
-        }
-
         new DummyPersistenceDelegate();
     }
 
@@ -58,10 +53,6 @@ public class PersistenceDelegateTest ext
      * Tests writeObject() under normal condition when mutatesTo() returns True.
      */
     public void testWriteObject_NormalMutatesToTrue() {
-        if (Support_Excludes.isExcluded()) {
-            return;
-        }
-
         MockPersistenceDelegate2 pd = new MockPersistenceDelegate2(true);
         MockEncoder2 enc = new MockEncoder2();
         MockFoo foo = new MockFoo();
@@ -77,10 +68,6 @@ public class PersistenceDelegateTest ext
      * false.
      */
     public void testWriteObject_NormalMutatesToFalse() {
-        if (Support_Excludes.isExcluded()) {
-            return;
-        }
-
         MockPersistenceDelegate2 pd = new MockPersistenceDelegate2(false);
         MockEncoder2 enc = new MockEncoder2();
         MockFoo foo = new MockFoo();
@@ -96,10 +83,6 @@ public class PersistenceDelegateTest ext
      * Tests writeObject() when object is null.
      */
     public void testWriteObject_NullObject() {
-        if (Support_Excludes.isExcluded()) {
-            return;
-        }
-
         MockPersistenceDelegate2 pd = new MockPersistenceDelegate2();
         Encoder enc = new Encoder();
 
@@ -115,10 +98,6 @@ public class PersistenceDelegateTest ext
      * Tests writeObject() when encoder is null.
      */
     public void testWriteObject_NullEncoder() {
-        if (Support_Excludes.isExcluded()) {
-            return;
-        }
-
         MockPersistenceDelegate2 pd = new MockPersistenceDelegate2();
 
         try {
@@ -133,10 +112,6 @@ public class PersistenceDelegateTest ext
      * Tests initialize() under normal conditions.
      */
     public void testInitialize_Normal() {
-        if (Support_Excludes.isExcluded()) {
-            return;
-        }
-
         DummyPersistenceDelegate pd = new DummyPersistenceDelegate();
         MockPersistenceDelegate3 pd3 = new MockPersistenceDelegate3();
         Encoder enc = new Encoder();
@@ -159,10 +134,6 @@ public class PersistenceDelegateTest ext
      * Tests initialize() with null class.
      */
     public void testInitialize_NullClass() {
-        if (Support_Excludes.isExcluded()) {
-            return;
-        }
-
         DummyPersistenceDelegate pd = new DummyPersistenceDelegate();
         Encoder enc = new Encoder();
 
@@ -181,10 +152,6 @@ public class PersistenceDelegateTest ext
      * Tests initialize() with null old and new instances.
      */
     public void testInitialize_NullInstances() {
-        if (Support_Excludes.isExcluded()) {
-            return;
-        }
-
         DummyPersistenceDelegate pd = new DummyPersistenceDelegate();
         MockPersistenceDelegate3 pd3 = new MockPersistenceDelegate3();
         Encoder enc = new Encoder();
@@ -198,10 +165,6 @@ public class PersistenceDelegateTest ext
      * Tests initialize() with null encoder.
      */
     public void testInitialize_NullEncoder() {
-        if (Support_Excludes.isExcluded()) {
-            return;
-        }
-
         DummyPersistenceDelegate pd = new DummyPersistenceDelegate();
 
         try {
@@ -217,10 +180,6 @@ public class PersistenceDelegateTest ext
      * HARMONY-2073
      */
     public void testInitialize_circularRedundancy() {
-        if (Support_Excludes.isExcluded()) {
-            return;
-        }
-
         Encoder enc = new Encoder();
         DummyPersistenceDelegate pd = new DummyPersistenceDelegate();
 
@@ -232,10 +191,6 @@ public class PersistenceDelegateTest ext
      * Tests mutatesTo() under normal conditions.
      */
     public void testMutatesTo_Normal() {
-        if (Support_Excludes.isExcluded()) {
-            return;
-        }
-
         DummyPersistenceDelegate pd = new DummyPersistenceDelegate();
         assertTrue(pd.mutatesTo("test1", "test2"));
         assertFalse(pd.mutatesTo(new Object(), new Object() {
@@ -251,10 +206,6 @@ public class PersistenceDelegateTest ext
      * Tests mutatesTo() with null parameters.
      */
     public void testMutatesTo_Null() {
-        if (Support_Excludes.isExcluded()) {
-            return;
-        }
-
         DummyPersistenceDelegate pd = new DummyPersistenceDelegate();
 
         assertFalse(pd.mutatesTo("test", null));
@@ -263,10 +214,6 @@ public class PersistenceDelegateTest ext
     }
 
     public void test_writeObject_LInteger_LXMLEncoder() {
-        if (Support_Excludes.isExcluded()) {
-            return;
-        }
-
         ByteArrayOutputStream byteArrayOutputStream = new ByteArrayOutputStream();
         XMLEncoder encoder = new XMLEncoder(new BufferedOutputStream(
                 byteArrayOutputStream));
@@ -304,10 +251,6 @@ public class PersistenceDelegateTest ext
     }
     
     public void test_writeObject_Null_LXMLEncoder() throws Exception {
-        if (Support_Excludes.isExcluded()) {
-            return;
-        }
-
         ByteArrayOutputStream byteArrayOutputStream = new ByteArrayOutputStream();
         XMLEncoder encoder = new XMLEncoder(new BufferedOutputStream(
                 byteArrayOutputStream));
@@ -325,10 +268,6 @@ public class PersistenceDelegateTest ext
     }
 
     public void test_writeObject_LArray_LXMLEncoder() {
-        if (Support_Excludes.isExcluded()) {
-            return;
-        }
-
         ByteArrayOutputStream byteArrayOutputStream = new ByteArrayOutputStream();
         XMLEncoder encoder = new XMLEncoder(new BufferedOutputStream(
                 byteArrayOutputStream));
@@ -361,10 +300,6 @@ public class PersistenceDelegateTest ext
     };
 
     public void test_writeObject_Ljava_Lang_reflect_Proxy() {
-        if (Support_Excludes.isExcluded()) {
-            return;
-        }
-
         InvocationHandler handler = new InvocationHandler() {
 
             public Object invoke(Object proxy, Method method, Object[] params)
@@ -410,10 +345,6 @@ public class PersistenceDelegateTest ext
     }
     
     public void test_writeObject_java_lang_string(){
-        if (Support_Excludes.isExcluded()) {
-            return;
-        }
-
         ByteArrayOutputStream byteArrayOutputStream = new ByteArrayOutputStream();
         XMLEncoder encoder = new XMLEncoder(new BufferedOutputStream(
             byteArrayOutputStream));
@@ -428,10 +359,6 @@ public class PersistenceDelegateTest ext
     }
 
     public void test_writeObject_java_lang_class(){
-        if (Support_Excludes.isExcluded()) {
-            return;
-        }
-
         ByteArrayOutputStream byteArrayOutputStream = new ByteArrayOutputStream();
         XMLEncoder encoder = new XMLEncoder(new BufferedOutputStream(
             byteArrayOutputStream));
@@ -458,10 +385,6 @@ public class PersistenceDelegateTest ext
 
     public void test_writeObject_java_lang_reflect_Field()
             throws SecurityException, NoSuchFieldException {
-        if (Support_Excludes.isExcluded()) {
-            return;
-        }
-
         ByteArrayOutputStream byteArrayOutputStream = new ByteArrayOutputStream();
         XMLEncoder encoder = new XMLEncoder(new BufferedOutputStream(
                 byteArrayOutputStream));
@@ -481,10 +404,6 @@ public class PersistenceDelegateTest ext
 
     public void test_writeObject_java_lang_reflect_Method()
             throws SecurityException, NoSuchMethodException {
-        if (Support_Excludes.isExcluded()) {
-            return;
-        }
-
         ByteArrayOutputStream byteArrayOutputStream = new ByteArrayOutputStream();
         XMLEncoder encoder = new XMLEncoder(new BufferedOutputStream(
                 byteArrayOutputStream));
@@ -503,10 +422,6 @@ public class PersistenceDelegateTest ext
 
     @SuppressWarnings("unchecked")
     public void test_writeObject_java_util_Collection() {
-        if (Support_Excludes.isExcluded()) {
-            return;
-        }
-
         ByteArrayOutputStream byteArrayOutputStream = new ByteArrayOutputStream();
         XMLEncoder encoder = new XMLEncoder(new BufferedOutputStream(
                 byteArrayOutputStream));
@@ -527,10 +442,6 @@ public class PersistenceDelegateTest ext
     }
 
     public void test_writeObject_java_awt_Choice() {
-        if (Support_Excludes.isExcluded()) {
-            return;
-        }
-
         ByteArrayOutputStream byteArrayOutputStream = new ByteArrayOutputStream();
         XMLEncoder encoder = new XMLEncoder(new BufferedOutputStream(
                 byteArrayOutputStream));
@@ -664,10 +575,6 @@ public class PersistenceDelegateTest ext
     
     
     public void test_writeObject_java_util_HashTable(){
-        if (Support_Excludes.isExcluded()) {
-            return;
-        }
-
         ByteArrayOutputStream byteArrayOutputStream = new ByteArrayOutputStream();
         XMLEncoder encoder = new XMLEncoder(new BufferedOutputStream(
             byteArrayOutputStream));
@@ -686,10 +593,6 @@ public class PersistenceDelegateTest ext
     }
 
     public void test_writeObject_java_beans_beancontext_BeanContextSupport() throws PropertyVetoException{
-        if (Support_Excludes.isExcluded()) {
-            return;
-        }
-
         ByteArrayOutputStream byteArrayOutputStream = new ByteArrayOutputStream();
         XMLEncoder encoder = new XMLEncoder(new BufferedOutputStream(
             byteArrayOutputStream));
@@ -705,10 +608,6 @@ public class PersistenceDelegateTest ext
     }
     
     public void test_writeObject_java_awt_SystemColor() {
-        if (Support_Excludes.isExcluded()) {
-            return;
-        }
-
         ByteArrayOutputStream byteArrayOutputStream = new ByteArrayOutputStream();
         XMLEncoder encoder = new XMLEncoder(new BufferedOutputStream(
             byteArrayOutputStream));
@@ -723,10 +622,6 @@ public class PersistenceDelegateTest ext
     }
 
     public void test_writeObject_java_awt_font_TextAttribute() {
-        if (Support_Excludes.isExcluded()) {
-            return;
-        }
-
         ByteArrayOutputStream byteArrayOutputStream = new ByteArrayOutputStream();
         XMLEncoder encoder = new XMLEncoder(new BufferedOutputStream(
             byteArrayOutputStream));
@@ -741,10 +636,6 @@ public class PersistenceDelegateTest ext
     }
 
     public void test_writeObject_java_awt_MenuShortcut() {
-        if (Support_Excludes.isExcluded()) {
-            return;
-        }
-
         ByteArrayOutputStream byteArrayOutputStream = new ByteArrayOutputStream();
         XMLEncoder encoder = new XMLEncoder(new BufferedOutputStream(
             byteArrayOutputStream));
@@ -768,10 +659,6 @@ public class PersistenceDelegateTest ext
         private static final long serialVersionUID = 1L;
     }
     public void test_writeObject_java_awt_Component() {
-        if (Support_Excludes.isExcluded()) {
-            return;
-        }
-
         ByteArrayOutputStream byteArrayOutputStream = new ByteArrayOutputStream();
         XMLEncoder encoder = new XMLEncoder(new BufferedOutputStream(
             byteArrayOutputStream));
@@ -808,10 +695,6 @@ public class PersistenceDelegateTest ext
     }
 
     public void test_writeObject_java_awt_Container() {
-        if (Support_Excludes.isExcluded()) {
-            return;
-        }
-
         ByteArrayOutputStream byteArrayOutputStream = new ByteArrayOutputStream();
         XMLEncoder encoder = new XMLEncoder(new BufferedOutputStream(
             byteArrayOutputStream));
@@ -885,10 +768,6 @@ public class PersistenceDelegateTest ext
     }
     
     public void test_writeObject_java_awt_Menu() {
-        if (Support_Excludes.isExcluded()) {
-            return;
-        }
-
         ByteArrayOutputStream byteArrayOutputStream = new ByteArrayOutputStream();
         XMLEncoder encoder = new XMLEncoder(new BufferedOutputStream(
             byteArrayOutputStream));
@@ -924,10 +803,6 @@ public class PersistenceDelegateTest ext
     }
 
     public void test_writeObject_java_awt_MenuBar() {
-        if (Support_Excludes.isExcluded()) {
-            return;
-        }
-
         ByteArrayOutputStream byteArrayOutputStream = new ByteArrayOutputStream();
         XMLEncoder encoder = new XMLEncoder(new BufferedOutputStream(
             byteArrayOutputStream));
@@ -946,10 +821,6 @@ public class PersistenceDelegateTest ext
     }
 
     public void test_writeObject_java_awt_List() {
-        if (Support_Excludes.isExcluded()) {
-            return;
-        }
-
         ByteArrayOutputStream byteArrayOutputStream = new ByteArrayOutputStream();
         XMLEncoder encoder = new XMLEncoder(new BufferedOutputStream(
             byteArrayOutputStream));
@@ -972,10 +843,6 @@ public class PersistenceDelegateTest ext
     }
 
     public void test_writeObject_java_awt_BorderLayout(){
-        if (Support_Excludes.isExcluded()) {
-            return;
-        }
-
         ByteArrayOutputStream byteArrayOutputStream = new ByteArrayOutputStream();
         XMLEncoder encoder = new XMLEncoder(new BufferedOutputStream(
             byteArrayOutputStream));
@@ -994,10 +861,6 @@ public class PersistenceDelegateTest ext
     }
 
     public void test_writeObject_java_awt_CardLayout(){
-        if (Support_Excludes.isExcluded()) {
-            return;
-        }
-
         ByteArrayOutputStream byteArrayOutputStream = new ByteArrayOutputStream();
         XMLEncoder encoder = new XMLEncoder(new BufferedOutputStream(
             byteArrayOutputStream));
@@ -1017,10 +880,6 @@ public class PersistenceDelegateTest ext
     }
 
     public void test_writeObject_java_awt_GridBagLayout() {
-        if (Support_Excludes.isExcluded()) {
-            return;
-        }
-
         ByteArrayOutputStream byteArrayOutputStream = new ByteArrayOutputStream();
         XMLEncoder encoder = new XMLEncoder(new BufferedOutputStream(
             byteArrayOutputStream));
@@ -1042,10 +901,6 @@ public class PersistenceDelegateTest ext
     }
     
     public void test_writeObject_java_awt_Cursor() {
-        if (Support_Excludes.isExcluded()) {
-            return;
-        }
-
         ByteArrayOutputStream byteArrayOutputStream = new ByteArrayOutputStream();
         XMLEncoder encoder = new XMLEncoder(new BufferedOutputStream(
             byteArrayOutputStream));
@@ -1063,10 +918,6 @@ public class PersistenceDelegateTest ext
     }
     
     public void test_writeObject_java_awt_Insets() {
-        if (Support_Excludes.isExcluded()) {
-            return;
-        }
-
         ByteArrayOutputStream byteArrayOutputStream = new ByteArrayOutputStream();
         XMLEncoder encoder = new XMLEncoder(new BufferedOutputStream(
             byteArrayOutputStream));
@@ -1083,10 +934,6 @@ public class PersistenceDelegateTest ext
     }
     
     public void test_writeObject_java_awt_point() {
-        if (Support_Excludes.isExcluded()) {
-            return;
-        }
-
         ByteArrayOutputStream byteArrayOutputStream = new ByteArrayOutputStream();
         XMLEncoder encoder = new XMLEncoder(new BufferedOutputStream(
             byteArrayOutputStream));
@@ -1103,10 +950,6 @@ public class PersistenceDelegateTest ext
     }
 
     public void test_writeObject_java_awt_ScrollPane() {
-        if (Support_Excludes.isExcluded()) {
-            return;
-        }
-
         ByteArrayOutputStream byteArrayOutputStream = new ByteArrayOutputStream();
         XMLEncoder encoder = new XMLEncoder(new BufferedOutputStream(
             byteArrayOutputStream));
@@ -1126,10 +969,6 @@ public class PersistenceDelegateTest ext
     }
     
     public void test_writeObject_java_util_Map(){
-        if (Support_Excludes.isExcluded()) {
-            return;
-        }
-
         ByteArrayOutputStream byteArrayOutputStream = new ByteArrayOutputStream();
         XMLEncoder encoder = new XMLEncoder(new BufferedOutputStream(
             byteArrayOutputStream));
@@ -1147,10 +986,6 @@ public class PersistenceDelegateTest ext
     }
     
     public void test_writeObject_java_util_List() {
-        if (Support_Excludes.isExcluded()) {
-            return;
-        }
-
         ByteArrayOutputStream byteArrayOutputStream = new ByteArrayOutputStream();
         XMLEncoder encoder = new XMLEncoder(new BufferedOutputStream(
             byteArrayOutputStream));
@@ -1193,10 +1028,6 @@ public class PersistenceDelegateTest ext
     }
 
     public void test_writeObject_java_util_AbstractList(){
-        if (Support_Excludes.isExcluded()) {
-            return;
-        }
-
         ByteArrayOutputStream byteArrayOutputStream = new ByteArrayOutputStream();
         XMLEncoder encoder = new XMLEncoder(new BufferedOutputStream(
             byteArrayOutputStream));
@@ -1214,10 +1045,6 @@ public class PersistenceDelegateTest ext
     }
 
     public void test_writeObject_java_util_AbstractMap() {
-        if (Support_Excludes.isExcluded()) {
-            return;
-        }
-
         ByteArrayOutputStream byteArrayOutputStream = new ByteArrayOutputStream();
         XMLEncoder encoder = new XMLEncoder(new BufferedOutputStream(
             byteArrayOutputStream));
@@ -1238,10 +1065,6 @@ public class PersistenceDelegateTest ext
     }
     
     public void test_writeObject_javax_swing_JFrame() {
-        if (Support_Excludes.isExcluded()) {
-            return;
-        }
-
         ByteArrayOutputStream byteArrayOutputStream = new ByteArrayOutputStream();
         XMLEncoder encoder = new XMLEncoder(new BufferedOutputStream(
             byteArrayOutputStream));
@@ -1261,10 +1084,6 @@ public class PersistenceDelegateTest ext
     }
 
     public void test_writeObject_javax_swing_DefaultListModel() {
-        if (Support_Excludes.isExcluded()) {
-            return;
-        }
-
         ByteArrayOutputStream byteArrayOutputStream = new ByteArrayOutputStream();
         XMLEncoder encoder = new XMLEncoder(new BufferedOutputStream(
             byteArrayOutputStream));
@@ -1285,10 +1104,6 @@ public class PersistenceDelegateTest ext
     }
 
     public void test_writeObject_javax_swing_DefaultComboBoxModel() {
-        if (Support_Excludes.isExcluded()) {
-            return;
-        }
-
         ByteArrayOutputStream byteArrayOutputStream = new ByteArrayOutputStream();
         XMLEncoder encoder = new XMLEncoder(new BufferedOutputStream(
             byteArrayOutputStream));
@@ -1307,10 +1122,6 @@ public class PersistenceDelegateTest ext
     }
 
     public void test_writeObject_javax_swing_tree_DefaultMutableTreeNode() {
-        if (Support_Excludes.isExcluded()) {
-            return;
-        }
-
         ByteArrayOutputStream byteArrayOutputStream = new ByteArrayOutputStream();
         XMLEncoder encoder = new XMLEncoder(new BufferedOutputStream(
             byteArrayOutputStream));
@@ -1326,10 +1137,6 @@ public class PersistenceDelegateTest ext
     }
 
     public void test_writeObject_javax_swing_ToolTipManager() {
-        if (Support_Excludes.isExcluded()) {
-            return;
-        }
-
         ByteArrayOutputStream byteArrayOutputStream = new ByteArrayOutputStream();
         XMLEncoder encoder = new XMLEncoder(new BufferedOutputStream(
             byteArrayOutputStream));
@@ -1347,10 +1154,6 @@ public class PersistenceDelegateTest ext
     }
     
     public void test_writeObject_javax_swing_Box() {
-        if (Support_Excludes.isExcluded()) {
-            return;
-        }
-
         ByteArrayOutputStream byteArrayOutputStream = new ByteArrayOutputStream();
         XMLEncoder encoder = new XMLEncoder(new BufferedOutputStream(
             byteArrayOutputStream));
@@ -1367,10 +1170,6 @@ public class PersistenceDelegateTest ext
     }
 
     public void test_writeObject_javax_swing_JMenu(){
-        if (Support_Excludes.isExcluded()) {
-            return;
-        }
-
         ByteArrayOutputStream byteArrayOutputStream = new ByteArrayOutputStream();
         XMLEncoder encoder = new XMLEncoder(new BufferedOutputStream(
             byteArrayOutputStream));
@@ -1389,10 +1188,6 @@ public class PersistenceDelegateTest ext
     
     public void test_writeObject_Integer_Class() {
         
-        if (Support_Excludes.isExcluded()) {
-            return;
-        }
-
         ByteArrayOutputStream os = new ByteArrayOutputStream();
 
         System.err.println("Test 5");
@@ -1448,10 +1243,6 @@ public class PersistenceDelegateTest ext
         }
     }
     public void test_writeExpression_writeObject() throws Exception {
-        if (Support_Excludes.isExcluded()) {
-            return;
-        }
-
         ByteArrayOutputStream output = new ByteArrayOutputStream();
         XMLEncoder encoder = new XMLEncoder( output );
 



Mime
View raw message