harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hinde...@apache.org
Subject svn commit: r948377 [3/21] - 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/archive/src/test/ja...
Date Wed, 26 May 2010 09:31:15 GMT
Modified: harmony/enhanced/java/branches/mrh/classlib/modules/awt/src/test/impl/boot/java/awt/geom/Line2DTest.java
URL: http://svn.apache.org/viewvc/harmony/enhanced/java/branches/mrh/classlib/modules/awt/src/test/impl/boot/java/awt/geom/Line2DTest.java?rev=948377&r1=948376&r2=948377&view=diff
==============================================================================
--- harmony/enhanced/java/branches/mrh/classlib/modules/awt/src/test/impl/boot/java/awt/geom/Line2DTest.java (original)
+++ harmony/enhanced/java/branches/mrh/classlib/modules/awt/src/test/impl/boot/java/awt/geom/Line2DTest.java Wed May 26 09:31:07 2010
@@ -21,6 +21,7 @@ package java.awt.geom;
 
 import java.awt.Point;
 import java.awt.Rectangle;
+import tests.support.Support_Excludes;
 
 public class Line2DTest extends PathIteratorTestCase {
 
@@ -133,16 +134,28 @@ public class Line2DTest extends PathIter
     }
 
     public void testSetLine1() {
+        if (Support_Excludes.isExcluded()) {
+            return;
+        }
+
         l.setLine(new Point(5, 6), new Point(7, 8));
         assertEquals(new Line2D.Double(5, 6, 7, 8), l);
     }
 
     public void testSetLine2() {
+        if (Support_Excludes.isExcluded()) {
+            return;
+        }
+
         l.setLine(new Line2D.Double(5, 6, 7, 8));
         assertEquals(new Line2D.Double(5, 6, 7, 8), l);
     }
 
     public void testGetBounds(){
+        if (Support_Excludes.isExcluded()) {
+            return;
+        }
+
         for (int[][] element : bounds) {
             assertEquals(
                     new Rectangle(
@@ -159,10 +172,18 @@ public class Line2DTest extends PathIter
     }
 
     public void testClone() {
+        if (Support_Excludes.isExcluded()) {
+            return;
+        }
+
         assertEquals(l, (Line2D)l.clone());
     }
 
     public void testRelativeCCW1() {
+        if (Support_Excludes.isExcluded()) {
+            return;
+        }
+
         for (double[] element : points) {
             int x = (int)element[0];
             int y = (int)element[1];
@@ -175,6 +196,10 @@ public class Line2DTest extends PathIter
     }
 
     public void testRelativeCCW2() {
+        if (Support_Excludes.isExcluded()) {
+            return;
+        }
+
         for (double[] element : points) {
             int x = (int)element[0];
             int y = (int)element[1];
@@ -187,6 +212,10 @@ public class Line2DTest extends PathIter
     }
 
     public void testRelativeCCW3() {
+        if (Support_Excludes.isExcluded()) {
+            return;
+        }
+
         for (double[] element : points) {
             int x = (int)element[0];
             int y = (int)element[1];
@@ -199,6 +228,10 @@ public class Line2DTest extends PathIter
     }
 
     public void testLinesIntersect(){
+        if (Support_Excludes.isExcluded()) {
+            return;
+        }
+
         for (int[] element : lines) {
             int x1 = element[0];
             int y1 = element[1];
@@ -213,6 +246,10 @@ public class Line2DTest extends PathIter
     }
 
     public void testIntersectsLine1(){
+        if (Support_Excludes.isExcluded()) {
+            return;
+        }
+
         for (int[] element : lines) {
             int x1 = element[0];
             int y1 = element[1];
@@ -227,6 +264,10 @@ public class Line2DTest extends PathIter
     }
 
     public void testIntersectsLine2(){
+        if (Support_Excludes.isExcluded()) {
+            return;
+        }
+
         for (int[] element : lines) {
             int x1 = element[0];
             int y1 = element[1];
@@ -241,6 +282,10 @@ public class Line2DTest extends PathIter
     }
 
     public void testPtSegDistSq1(){
+        if (Support_Excludes.isExcluded()) {
+            return;
+        }
+
         for (double[] element : points) {
             int x = (int)element[0];
             int y = (int)element[1];
@@ -254,6 +299,10 @@ public class Line2DTest extends PathIter
     }
 
     public void testPtSegDistSq2(){
+        if (Support_Excludes.isExcluded()) {
+            return;
+        }
+
         for (double[] element : points) {
             int x = (int)element[0];
             int y = (int)element[1];
@@ -267,6 +316,10 @@ public class Line2DTest extends PathIter
     }
 
     public void testPtSegDistSq3(){
+        if (Support_Excludes.isExcluded()) {
+            return;
+        }
+
         for (double[] element : points) {
             int x = (int)element[0];
             int y = (int)element[1];
@@ -280,6 +333,10 @@ public class Line2DTest extends PathIter
     }
 
     public void testPtSegDist1(){
+        if (Support_Excludes.isExcluded()) {
+            return;
+        }
+
         for (double[] element : points) {
             int x = (int)element[0];
             int y = (int)element[1];
@@ -293,6 +350,10 @@ public class Line2DTest extends PathIter
     }
 
     public void testPtSegDist2(){
+        if (Support_Excludes.isExcluded()) {
+            return;
+        }
+
         for (double[] element : points) {
             int x = (int)element[0];
             int y = (int)element[1];
@@ -306,6 +367,10 @@ public class Line2DTest extends PathIter
     }
 
     public void testPtSegDist3(){
+        if (Support_Excludes.isExcluded()) {
+            return;
+        }
+
         for (double[] element : points) {
             int x = (int)element[0];
             int y = (int)element[1];
@@ -319,6 +384,10 @@ public class Line2DTest extends PathIter
     }
 
     public void testPtLineDistSq1(){
+        if (Support_Excludes.isExcluded()) {
+            return;
+        }
+
         for (double[] element : points) {
             int x = (int)element[0];
             int y = (int)element[1];
@@ -332,6 +401,10 @@ public class Line2DTest extends PathIter
     }
 
     public void testPtLineDistSq2(){
+        if (Support_Excludes.isExcluded()) {
+            return;
+        }
+
         for (double[] element : points) {
             int x = (int)element[0];
             int y = (int)element[1];
@@ -345,6 +418,10 @@ public class Line2DTest extends PathIter
     }
 
     public void testPtLineDistSq3(){
+        if (Support_Excludes.isExcluded()) {
+            return;
+        }
+
         for (double[] element : points) {
             int x = (int)element[0];
             int y = (int)element[1];
@@ -358,6 +435,10 @@ public class Line2DTest extends PathIter
     }
 
     public void testPtLineDist1(){
+        if (Support_Excludes.isExcluded()) {
+            return;
+        }
+
         for (double[] element : points) {
             int x = (int)element[0];
             int y = (int)element[1];
@@ -371,6 +452,10 @@ public class Line2DTest extends PathIter
     }
 
     public void testPtLineDist2(){
+        if (Support_Excludes.isExcluded()) {
+            return;
+        }
+
         for (double[] element : points) {
             int x = (int)element[0];
             int y = (int)element[1];
@@ -384,6 +469,10 @@ public class Line2DTest extends PathIter
     }
 
     public void testPtLineDist3(){
+        if (Support_Excludes.isExcluded()) {
+            return;
+        }
+
         for (double[] element : points) {
             int x = (int)element[0];
             int y = (int)element[1];
@@ -397,6 +486,10 @@ public class Line2DTest extends PathIter
     }
 
     public void testContainsPoint(){
+        if (Support_Excludes.isExcluded()) {
+            return;
+        }
+
         // Always returns false
         assertFalse(l.contains(0, 0));
         assertFalse(l.contains(1, 2));
@@ -404,6 +497,10 @@ public class Line2DTest extends PathIter
     }
 
     public void testContainsPoint2(){
+        if (Support_Excludes.isExcluded()) {
+            return;
+        }
+
         // Always returns false
         assertFalse(l.contains(new Point(0, 0)));
         assertFalse(l.contains(new Point(1, 2)));
@@ -411,16 +508,28 @@ public class Line2DTest extends PathIter
     }
 
     public void testContainsRect(){
+        if (Support_Excludes.isExcluded()) {
+            return;
+        }
+
         // Always returns false
         assertFalse(l.contains(1, 2, 3, 4));
     }
 
     public void testContainsRect2(){
+        if (Support_Excludes.isExcluded()) {
+            return;
+        }
+
         // Always returns false
         assertFalse(l.contains(new Rectangle(1, 2, 3, 4)));
     }
 
     public void testIntersects1(){
+        if (Support_Excludes.isExcluded()) {
+            return;
+        }
+
         for(int i = 0; i < Rectangle2DTest.lines.length; i++) {
             int x1 = Rectangle2DTest.lines[i][0];
             int y1 = Rectangle2DTest.lines[i][1];
@@ -434,6 +543,10 @@ public class Line2DTest extends PathIter
     }
 
     public void testIntersects2(){
+        if (Support_Excludes.isExcluded()) {
+            return;
+        }
+
         for(int i = 0; i < Rectangle2DTest.lines.length; i++) {
             int x1 = Rectangle2DTest.lines[i][0];
             int y1 = Rectangle2DTest.lines[i][1];
@@ -459,36 +572,60 @@ public class Line2DTest extends PathIter
     }
 
     public void testGetPathIteratorDouble() {
+        if (Support_Excludes.isExcluded()) {
+            return;
+        }
+
         checkPathIteratorDouble(
                 l.getPathIterator(null),
                 new double[]{1, 2, 3, 4});
     }
 
     public void testGetPathIteratorFloat() {
+        if (Support_Excludes.isExcluded()) {
+            return;
+        }
+
         checkPathIteratorFloat(
                 l.getPathIterator(null),
                 new float[]{1, 2, 3, 4});
     }
 
     public void testGetPathIteratorDoubleFlat() {
+        if (Support_Excludes.isExcluded()) {
+            return;
+        }
+
         checkPathIteratorDouble(
                 l.getPathIterator(null, 2),
                 new double[]{1, 2, 3, 4});
     }
 
     public void testGetPathIteratorFloatFlat() {
+        if (Support_Excludes.isExcluded()) {
+            return;
+        }
+
         checkPathIteratorFloat(
                 l.getPathIterator(null, 4),
                 new float[]{1, 2, 3, 4});
     }
 
     public void testGetPathIteratorDoubleAffine() {
+        if (Support_Excludes.isExcluded()) {
+            return;
+        }
+
         checkPathIteratorDouble(
                 l.getPathIterator(AffineTransform.getTranslateInstance(2, 1)),
                 new double[]{3, 3, 5, 5});
     }
 
     public void testGetPathIteratorFloatAffine() {
+        if (Support_Excludes.isExcluded()) {
+            return;
+        }
+
         checkPathIteratorFloat(
                 l.getPathIterator(AffineTransform.getTranslateInstance(2, 1)),
                 new float[]{3, 3, 5, 5});

Modified: harmony/enhanced/java/branches/mrh/classlib/modules/awt/src/test/impl/boot/java/awt/geom/Rectangle2DTest.java
URL: http://svn.apache.org/viewvc/harmony/enhanced/java/branches/mrh/classlib/modules/awt/src/test/impl/boot/java/awt/geom/Rectangle2DTest.java?rev=948377&r1=948376&r2=948377&view=diff
==============================================================================
--- harmony/enhanced/java/branches/mrh/classlib/modules/awt/src/test/impl/boot/java/awt/geom/Rectangle2DTest.java (original)
+++ harmony/enhanced/java/branches/mrh/classlib/modules/awt/src/test/impl/boot/java/awt/geom/Rectangle2DTest.java Wed May 26 09:31:07 2010
@@ -18,6 +18,7 @@ package java.awt.geom;
 
 import java.awt.Point;
 import java.awt.Rectangle;
+import tests.support.Support_Excludes;
 
 public class Rectangle2DTest extends ShapeTestCase {
 
@@ -126,26 +127,46 @@ public class Rectangle2DTest extends Sha
     }
 
     public void testSetRect() {
+        if (Support_Excludes.isExcluded()) {
+            return;
+        }
+
         r.setRect(new Rectangle2D.Double(5, 6, 7, 8));
         assertEquals(new Rectangle2D.Double(5, 6, 7, 8), r);
     }
 
     public void testSetFrame() {
+        if (Support_Excludes.isExcluded()) {
+            return;
+        }
+
         r.setFrame(5.0, 6.0, 7.0, 8.0);
         assertEquals(new Rectangle2D.Double(5, 6, 7, 8), r);
     }
 
     public void testGetBounds2D() {
+        if (Support_Excludes.isExcluded()) {
+            return;
+        }
+
         assertEquals(new Rectangle2D.Double(1, 2, 3, 4), r.getBounds2D());
     }
 
     public void testOutcode() {
+        if (Support_Excludes.isExcluded()) {
+            return;
+        }
+
         // Just check it works
         assertEquals(Rectangle2D.OUT_LEFT | Rectangle2D.OUT_TOP,     r.outcode(0, 0));
         assertEquals(0, r.outcode(new Point2D.Double(2, 3)));
     }
 
     public void testEquals() {
+        if (Support_Excludes.isExcluded()) {
+            return;
+        }
+
         assertTrue(r.equals(new Rectangle(1, 2, 3, 4)));
         assertTrue(!r.equals(new Rectangle(0, 2, 3, 4)));
         assertTrue(!r.equals(new Rectangle(1, 0, 3, 4)));
@@ -154,6 +175,10 @@ public class Rectangle2DTest extends Sha
     }
 
     public void testHashCode() {
+        if (Support_Excludes.isExcluded()) {
+            return;
+        }
+
         assertTrue(r.hashCode() == new Rectangle(1, 2, 3, 4).hashCode());
         assertTrue(r.hashCode() != new Rectangle(0, 2, 3, 4).hashCode());
         assertTrue(r.hashCode() != new Rectangle(1, 0, 3, 4).hashCode());
@@ -162,6 +187,10 @@ public class Rectangle2DTest extends Sha
     }
 
     public void testIntersectsLine1() {
+        if (Support_Excludes.isExcluded()) {
+            return;
+        }
+
         Rectangle2D rr = new Rectangle2D.Double(1, 2, 3, 4);
         for (int[] element : lines) {
             int x1 = element[0];
@@ -176,6 +205,10 @@ public class Rectangle2DTest extends Sha
     }
 
     public void testIntersectsLine2() {
+        if (Support_Excludes.isExcluded()) {
+            return;
+        }
+
         Rectangle2D rr = new Rectangle2D.Double(1, 2, 3, 4);
         for (int[] element : lines) {
             int x1 = element[0];
@@ -190,6 +223,10 @@ public class Rectangle2DTest extends Sha
     }
 
     public void testIntersect() {
+        if (Support_Excludes.isExcluded()) {
+            return;
+        }
+
         Rectangle dst = new Rectangle();
         Rectangle2D.intersect(r, new Rectangle(1, 2, 3, 4), dst);
         assertEquals(new Rectangle(1, 2, 3, 4), dst); // The same
@@ -204,6 +241,10 @@ public class Rectangle2DTest extends Sha
     }
 
     public void testUnion() {
+        if (Support_Excludes.isExcluded()) {
+            return;
+        }
+
         Rectangle dst = new Rectangle();
         Rectangle2D.union(r, new Rectangle(1, 2, 3, 4), dst);
         assertEquals(new Rectangle(1, 2, 3, 4), dst); // The same
@@ -218,6 +259,10 @@ public class Rectangle2DTest extends Sha
     }
 
     public void testAdd1() {
+        if (Support_Excludes.isExcluded()) {
+            return;
+        }
+
         r.add(1.0, 1.0);
         assertEquals(new Rectangle2D.Double(1, 1, 3, 5), r);
         r.add(7.0, 8.0);
@@ -231,6 +276,10 @@ public class Rectangle2DTest extends Sha
     }
 
     public void testAdd2() {
+        if (Support_Excludes.isExcluded()) {
+            return;
+        }
+
         r.add(new Point(0, 0));
         assertEquals(new Rectangle2D.Double(0, 0, 4, 6), r);
         r.add(new Point(1, 1));
@@ -244,6 +293,10 @@ public class Rectangle2DTest extends Sha
     }
 
     public void testAdd3() {
+        if (Support_Excludes.isExcluded()) {
+            return;
+        }
+
         r.add(new Rectangle(1, 2, 3, 4)); // The same
         assertEquals(new Rectangle2D.Double(1, 2, 3, 4), r);
         r.add(new Rectangle(2, 3, 2, 3)); // Inside
@@ -277,6 +330,10 @@ public class Rectangle2DTest extends Sha
     }
 
     public void testGetPathIteratorDouble() {
+        if (Support_Excludes.isExcluded()) {
+            return;
+        }
+
         checkPathIteratorDouble(
                 new Rectangle(1, 2, 0, 0).getPathIterator(null),
                 new double[]{1, 2, 1, 2, 1, 2, 1, 2});
@@ -286,30 +343,50 @@ public class Rectangle2DTest extends Sha
     }
 
     public void testGetPathIteratorFloat() {
+        if (Support_Excludes.isExcluded()) {
+            return;
+        }
+
         checkPathIteratorFloat(
                 r.getPathIterator(null),
                 new float[]{1, 2, 4, 2, 4, 6, 1, 6});
     }
 
     public void testGetPathIteratorDoubleFlat() {
+        if (Support_Excludes.isExcluded()) {
+            return;
+        }
+
         checkPathIteratorDouble(
                 r.getPathIterator(null, 2),
                 new double[]{1, 2, 4, 2, 4, 6, 1, 6});
     }
 
     public void testGetPathIteratorFloatFlat() {
+        if (Support_Excludes.isExcluded()) {
+            return;
+        }
+
         checkPathIteratorFloat(
                 r.getPathIterator(null, 5),
                 new float[]{1, 2, 4, 2, 4, 6, 1, 6});
     }
 
     public void testGetPathIteratorDoubleAffine() {
+        if (Support_Excludes.isExcluded()) {
+            return;
+        }
+
         checkPathIteratorDouble(
                 r.getPathIterator(AffineTransform.getTranslateInstance(3, 1)),
                 new double[]{4, 3, 7, 3, 7, 7, 4, 7});
     }
 
     public void testGetPathIteratorFloatAffine() {
+        if (Support_Excludes.isExcluded()) {
+            return;
+        }
+
         checkPathIteratorFloat(
                 r.getPathIterator(AffineTransform.getTranslateInstance(3, 1)),
                 new float[]{4, 3, 7, 3, 7, 7, 4, 7});

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=948377&r1=948376&r2=948377&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 Wed May 26 09:31:07 2010
@@ -17,6 +17,7 @@
 package java.awt.geom;
 
 import java.awt.geom.ShapeTestCase;
+import tests.support.Support_Excludes;
 
 public class RoundRectangle2DTest extends ShapeTestCase {
 
@@ -27,6 +28,10 @@ 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);
@@ -38,6 +43,10 @@ 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);
@@ -49,6 +58,10 @@ 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=948377&r1=948376&r2=948377&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 Wed May 26 09:31:07 2010
@@ -26,6 +26,7 @@ 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;
@@ -60,6 +61,10 @@ 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
@@ -76,10 +81,18 @@ 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++) {
@@ -100,6 +113,10 @@ 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});
@@ -119,6 +136,10 @@ 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=948377&r1=948376&r2=948377&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 Wed May 26 09:31:07 2010
@@ -33,6 +33,7 @@ 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=948377&r1=948376&r2=948377&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 Wed May 26 09:31:07 2010
@@ -30,6 +30,7 @@ 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=948377&r1=948376&r2=948377&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 Wed May 26 09:31:07 2010
@@ -26,6 +26,7 @@ import java.io.Serializable;
 import java.util.EventListener;
 
 import junit.framework.TestCase;
+import tests.support.Support_Excludes;
 
 public class ListenerListTest extends TestCase {
 
@@ -34,6 +35,10 @@ 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=948377&r1=948376&r2=948377&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 Wed May 26 09:31:07 2010
@@ -20,6 +20,7 @@
 package org.apache.harmony.awt.gl;
 
 import org.apache.harmony.awt.gl.MultiRectArea;
+import tests.support.Support_Excludes;
 
 public class MultiRectAreaLineCashTest extends MultiRectAreaTestCase {
 
@@ -56,6 +57,10 @@ 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=948377&r1=948376&r2=948377&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 Wed May 26 09:31:07 2010
@@ -40,6 +40,7 @@ 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=948377&r1=948376&r2=948377&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 Wed May 26 09:31:07 2010
@@ -22,6 +22,7 @@ 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;
@@ -39,16 +40,28 @@ 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));
@@ -60,6 +73,10 @@ 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=948377&r1=948376&r2=948377&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 Wed May 26 09:31:07 2010
@@ -20,6 +20,7 @@
 package org.apache.harmony.awt.wtk;
 
 import junit.framework.TestCase;
+import tests.support.Support_Excludes;
 
 public class ShutdownWatchdogTest extends TestCase {
     
@@ -36,6 +37,10 @@ public class ShutdownWatchdogTest extend
     }
     
     public void testSetWindowListEmptyTrue() {
+        if (Support_Excludes.isExcluded()) {
+            return;
+        }
+
         intro();
         wd.setWindowListEmpty(true);
         sleep();
@@ -44,6 +49,10 @@ public class ShutdownWatchdogTest extend
     }
     
     public void testSetWindowListEmptyFalse() {
+        if (Support_Excludes.isExcluded()) {
+            return;
+        }
+
         intro();
         wd.setWindowListEmpty(false);
         assertTrue(isShutdownThreadRunning());
@@ -51,6 +60,10 @@ public class ShutdownWatchdogTest extend
     }
 
     public void testSetAwtQueueEmptyTrue() {
+        if (Support_Excludes.isExcluded()) {
+            return;
+        }
+
         intro();
         wd.setAwtQueueEmpty(true);
         sleep();
@@ -59,6 +72,10 @@ public class ShutdownWatchdogTest extend
     }
     
     public void testSetAwtQueueEmptyFalse() {
+        if (Support_Excludes.isExcluded()) {
+            return;
+        }
+
         intro();
         wd.setAwtQueueEmpty(false);
         assertTrue(isShutdownThreadRunning());
@@ -66,6 +83,10 @@ public class ShutdownWatchdogTest extend
     }
 
     public void testSetNativeQueueEmptyTrue() {
+        if (Support_Excludes.isExcluded()) {
+            return;
+        }
+
         intro();
         wd.setNativeQueueEmpty(true);
         sleep();
@@ -74,6 +95,10 @@ public class ShutdownWatchdogTest extend
     }
     
     public void testSetNativeQueueEmptyFalse() {
+        if (Support_Excludes.isExcluded()) {
+            return;
+        }
+
         intro();
         wd.setNativeQueueEmpty(false);
         assertTrue(isShutdownThreadRunning());
@@ -81,6 +106,10 @@ 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=948377&r1=948376&r2=948377&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 Wed May 26 09:31:07 2010
@@ -25,9 +25,14 @@ 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();
@@ -41,6 +46,10 @@ 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=948377&r1=948376&r2=948377&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 Wed May 26 09:31:07 2010
@@ -23,6 +23,7 @@ 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=948377&r1=948376&r2=948377&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 Wed May 26 09:31:07 2010
@@ -31,7 +31,7 @@
 
     <target name="test" depends="test-module" />
 
-    <target name="test-module" depends="test-jre-vm-info">
+    <target name="test-module">
         <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=948377&r1=948376&r2=948377&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 Wed May 26 09:31:07 2010
@@ -34,6 +34,7 @@ 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.
@@ -60,6 +61,10 @@ 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");
@@ -73,6 +78,10 @@ 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",
@@ -92,6 +101,10 @@ 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",
@@ -112,6 +125,10 @@ 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,
@@ -139,6 +156,10 @@ 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");
@@ -157,6 +178,10 @@ 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,
@@ -176,6 +201,10 @@ 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,
@@ -194,6 +223,10 @@ 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");
 
@@ -210,6 +243,10 @@ public class EventHandlerTest extends Te
      * fireSampleEvent scenario
      */
     public void testCreateForStaticMethodAsPropertyGetter() {
+        if (Support_Excludes.isExcluded()) {
+            return;
+        }
+
         InvocationObject invocationObject = new InvocationObject();
         SampleEvent event = new SampleEvent("bean");
 
@@ -225,6 +262,10 @@ 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");
@@ -281,6 +322,10 @@ 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(
@@ -295,6 +340,10 @@ 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");
@@ -307,6 +356,10 @@ 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");
@@ -319,6 +372,10 @@ 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");
@@ -331,6 +388,10 @@ 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 {
@@ -354,6 +415,10 @@ 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(
@@ -371,6 +436,10 @@ 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(
@@ -389,6 +458,10 @@ 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");
@@ -401,6 +474,10 @@ 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");
@@ -413,6 +490,10 @@ 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 {
@@ -428,6 +509,10 @@ 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(
@@ -448,6 +533,10 @@ 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(
@@ -467,6 +556,10 @@ 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(
@@ -489,6 +582,10 @@ 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(
@@ -508,6 +605,10 @@ 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",
@@ -522,6 +623,10 @@ 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",
@@ -535,6 +640,10 @@ 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");
@@ -547,6 +656,10 @@ 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 {
@@ -563,6 +676,10 @@ 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(
@@ -583,6 +700,10 @@ 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.";
@@ -604,6 +725,10 @@ 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(
@@ -624,6 +749,10 @@ 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(
@@ -643,6 +772,10 @@ 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(
@@ -661,6 +794,10 @@ 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";
@@ -677,6 +814,10 @@ 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";
@@ -693,6 +834,10 @@ 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";
@@ -715,6 +860,10 @@ 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";
@@ -730,6 +879,10 @@ 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";
@@ -742,6 +895,10 @@ 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(
@@ -772,6 +929,10 @@ 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(
@@ -789,6 +950,10 @@ 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(
@@ -806,6 +971,10 @@ 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);
@@ -819,6 +988,10 @@ 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);
@@ -836,6 +1009,10 @@ 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);
@@ -854,6 +1031,10 @@ 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);
@@ -867,6 +1048,10 @@ 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);
@@ -880,6 +1065,10 @@ 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);
@@ -894,6 +1083,10 @@ 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);
@@ -907,6 +1100,10 @@ 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);
@@ -920,6 +1117,10 @@ 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);
@@ -933,6 +1134,10 @@ 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);
@@ -946,6 +1151,10 @@ 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);
@@ -959,6 +1168,10 @@ 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);
@@ -972,6 +1185,10 @@ 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);
@@ -989,6 +1206,10 @@ 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"));
@@ -1001,6 +1222,10 @@ 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=948377&r1=948376&r2=948377&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 Wed May 26 09:31:07 2010
@@ -36,6 +36,7 @@ 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
@@ -46,6 +47,10 @@ public class PersistenceDelegateTest ext
      * Test the constructor.
      */
     public void testConstructor() {
+        if (Support_Excludes.isExcluded()) {
+            return;
+        }
+
         new DummyPersistenceDelegate();
     }
 
@@ -53,6 +58,10 @@ 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();
@@ -68,6 +77,10 @@ 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();
@@ -83,6 +96,10 @@ 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();
 
@@ -98,6 +115,10 @@ public class PersistenceDelegateTest ext
      * Tests writeObject() when encoder is null.
      */
     public void testWriteObject_NullEncoder() {
+        if (Support_Excludes.isExcluded()) {
+            return;
+        }
+
         MockPersistenceDelegate2 pd = new MockPersistenceDelegate2();
 
         try {
@@ -112,6 +133,10 @@ 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();
@@ -134,6 +159,10 @@ 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();
 
@@ -152,6 +181,10 @@ 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();
@@ -165,6 +198,10 @@ public class PersistenceDelegateTest ext
      * Tests initialize() with null encoder.
      */
     public void testInitialize_NullEncoder() {
+        if (Support_Excludes.isExcluded()) {
+            return;
+        }
+
         DummyPersistenceDelegate pd = new DummyPersistenceDelegate();
 
         try {
@@ -180,6 +217,10 @@ public class PersistenceDelegateTest ext
      * HARMONY-2073
      */
     public void testInitialize_circularRedundancy() {
+        if (Support_Excludes.isExcluded()) {
+            return;
+        }
+
         Encoder enc = new Encoder();
         DummyPersistenceDelegate pd = new DummyPersistenceDelegate();
 
@@ -191,6 +232,10 @@ 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() {
@@ -206,6 +251,10 @@ 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));
@@ -214,6 +263,10 @@ 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));
@@ -251,6 +304,10 @@ 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));
@@ -268,6 +325,10 @@ 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));
@@ -300,6 +361,10 @@ 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)
@@ -345,6 +410,10 @@ 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));
@@ -359,6 +428,10 @@ 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));
@@ -385,6 +458,10 @@ 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));
@@ -404,6 +481,10 @@ 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));
@@ -422,6 +503,10 @@ 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));
@@ -442,6 +527,10 @@ 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));
@@ -575,6 +664,10 @@ 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));
@@ -593,6 +686,10 @@ 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));
@@ -608,6 +705,10 @@ 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));
@@ -622,6 +723,10 @@ 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));
@@ -636,6 +741,10 @@ 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));
@@ -659,6 +768,10 @@ 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));
@@ -695,6 +808,10 @@ 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));
@@ -768,6 +885,10 @@ 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));
@@ -803,6 +924,10 @@ 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));
@@ -821,6 +946,10 @@ 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));
@@ -843,6 +972,10 @@ 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));
@@ -861,6 +994,10 @@ 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));
@@ -880,6 +1017,10 @@ 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));
@@ -901,6 +1042,10 @@ 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));
@@ -918,6 +1063,10 @@ 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));
@@ -934,6 +1083,10 @@ 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));
@@ -950,6 +1103,10 @@ 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));
@@ -969,6 +1126,10 @@ 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));
@@ -986,6 +1147,10 @@ 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));
@@ -1028,6 +1193,10 @@ 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));
@@ -1045,6 +1214,10 @@ 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));
@@ -1065,6 +1238,10 @@ 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));
@@ -1084,6 +1261,10 @@ 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));
@@ -1104,6 +1285,10 @@ 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));
@@ -1122,6 +1307,10 @@ 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));
@@ -1137,6 +1326,10 @@ 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));
@@ -1154,6 +1347,10 @@ 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));
@@ -1170,6 +1367,10 @@ 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));
@@ -1188,6 +1389,10 @@ public class PersistenceDelegateTest ext
     
     public void test_writeObject_Integer_Class() {
         
+        if (Support_Excludes.isExcluded()) {
+            return;
+        }
+
         ByteArrayOutputStream os = new ByteArrayOutputStream();
 
         System.err.println("Test 5");
@@ -1243,6 +1448,10 @@ 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