Author: nbelaevski
Date: 2008-04-17 18:39:09 -0400 (Thu, 17 Apr 2008)
New Revision: 7910
Modified:
trunk/framework/test/src/test/java/org/richfaces/skin/SkinTestCase.java
Log:
Fixed test failure
Modified: trunk/framework/test/src/test/java/org/richfaces/skin/SkinTestCase.java
===================================================================
--- trunk/framework/test/src/test/java/org/richfaces/skin/SkinTestCase.java 2008-04-17
21:03:40 UTC (rev 7909)
+++ trunk/framework/test/src/test/java/org/richfaces/skin/SkinTestCase.java 2008-04-17
22:39:09 UTC (rev 7910)
@@ -36,10 +36,6 @@
import org.easymock.MockControl;
import org.easymock.classextension.MockClassControl;
-import org.richfaces.skin.Skin;
-import org.richfaces.skin.SkinFactory;
-import org.richfaces.skin.SkinFactoryImpl;
-import org.richfaces.skin.SkinImpl;
/**
* Test for Skin/skin factory methods.
@@ -296,7 +292,7 @@
assertNotNull("Null skin!",skin);
// test properties
int hash = skin.hashCode(mockContext);
- assertTrue(params.containsKey(SkinImpl.REQUEST_HASH_CODE_PARAMETER));
+ assertTrue(params.containsKey(SkinImpl.REQUEST_HASH_CODES_MAP_PARAMETER));
assertEquals(hash,skin.hashCode(mockContext));
params.clear();
assertEquals(hash,skin.hashCode(mockContext));
Show replies by date