Author: abelevich
Date: 2008-06-03 09:45:16 -0400 (Tue, 03 Jun 2008)
New Revision: 8886
Modified:
trunk/ui/listShuttle/src/test/java/org/richfaces/renderkit/ListShuttleRenderingTest.java
Log:
fix png gif assertions
Modified:
trunk/ui/listShuttle/src/test/java/org/richfaces/renderkit/ListShuttleRenderingTest.java
===================================================================
---
trunk/ui/listShuttle/src/test/java/org/richfaces/renderkit/ListShuttleRenderingTest.java 2008-06-03
13:30:28 UTC (rev 8885)
+++
trunk/ui/listShuttle/src/test/java/org/richfaces/renderkit/ListShuttleRenderingTest.java 2008-06-03
13:45:16 UTC (rev 8886)
@@ -78,9 +78,6 @@
imageClasses.add("org.richfaces.renderkit.html.images.OrderingListIconUpDisabled");
imageClasses.add("org.richfaces.renderkit.html.images.OrderingListIconDownDisabled");
imageClasses.add("org.richfaces.renderkit.html.images.OrderingListIconTopDisabled");
- imageClasses.add("org.richfaces.renderkit.html.gradientimages.OrderingListClickedGradient");
- imageClasses.add("org.richfaces.renderkit.html.gradientimages.OrderingListHeaderGradient");
- imageClasses.add("org.richfaces.renderkit.html.gradientimages.OrderingListButtonGradient");
imageClasses.add("org.richfaces.renderkit.html.images.ListShuttleIconCopy");
imageClasses.add("org.richfaces.renderkit.html.images.ListShuttleIconCopyDisabled");
@@ -90,9 +87,14 @@
imageClasses.add("org.richfaces.renderkit.html.images.ListShuttleIconRemoveAll");
imageClasses.add("org.richfaces.renderkit.html.images.ListShuttleIconRemoveDisabled");
imageClasses.add("org.richfaces.renderkit.html.images.ListShuttleIconRemoveAllDisabled");
+ imageClasses.add("org.richfaces.renderkit.html.images.TriangleIconDown");
+ imageClasses.add("org.richfaces.renderkit.html.images.OrderingListIconBottomDisabled");
- imagePNGClasses.add("org.richfaces.renderkit.html.images.TriangleIconDown");
- imagePNGClasses.add("org.richfaces.renderkit.html.images.OrderingListIconBottomDisabled");
+ imagePNGClasses.add("org.richfaces.renderkit.html.gradientimages.OrderingListButtonGradient");
+ imagePNGClasses.add("org.richfaces.renderkit.html.gradientimages.OrderingListClickedGradient");
+ imagePNGClasses.add("org.richfaces.renderkit.html.gradientimages.OrderingListHeaderGradient");
+
+
}
/**
@@ -339,7 +341,7 @@
String clazz = it.next();
ImageInfo info = getImageResource(clazz);
assertNotNull(info);
- assertEquals(ImageInfo.FORMAT_GIF, info.getFormat());
+ assertEquals(ImageInfo.FORMAT_PNG, info.getFormat());
assertTrue(info.getHeight() > 0);
assertTrue(info.getWidth() > 0);
}
Show replies by date