Author: abelevich
Date: 2008-06-03 09:47:19 -0400 (Tue, 03 Jun 2008)
New Revision: 8887
Modified:
trunk/ui/orderingList/src/test/java/org/richfaces/renderkit/OrderingListRenderingTest.java
Log:
fix png/gif assertions
Modified:
trunk/ui/orderingList/src/test/java/org/richfaces/renderkit/OrderingListRenderingTest.java
===================================================================
---
trunk/ui/orderingList/src/test/java/org/richfaces/renderkit/OrderingListRenderingTest.java 2008-06-03
13:45:16 UTC (rev 8886)
+++
trunk/ui/orderingList/src/test/java/org/richfaces/renderkit/OrderingListRenderingTest.java 2008-06-03
13:47:19 UTC (rev 8887)
@@ -72,11 +72,12 @@
imageClasses.add("org.richfaces.renderkit.html.images.OrderingListIconDownDisabled");
imageClasses.add("org.richfaces.renderkit.html.images.OrderingListIconTopDisabled");
imageClasses.add("org.richfaces.renderkit.html.images.OrderingListIconBottomDisabled");
- imageClasses.add("org.richfaces.renderkit.html.gradientimages.OrderingListClickedGradient");
- imageClasses.add("org.richfaces.renderkit.html.gradientimages.OrderingListButtonGradient");
+ imageClasses.add("org.richfaces.renderkit.html.images.TriangleIconDown");
- imagePNGClasses.add("org.richfaces.renderkit.html.images.TriangleIconDown");
imagePNGClasses.add("org.richfaces.renderkit.html.gradientimages.OrderingListHeaderGradient");
+ imagePNGClasses.add("org.richfaces.renderkit.html.gradientimages.OrderingListClickedGradient");
+ imagePNGClasses.add("org.richfaces.renderkit.html.gradientimages.OrderingListButtonGradient");
+
}
/**
@@ -206,7 +207,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