Package de.hybris.platform.test
Class AbstractMapTest
java.lang.Object
de.hybris.platform.test.AbstractMapTest
- Direct Known Subclasses:
LRUMapTest,MemoryAwareMapTest,YFastMapPerformanceTest
super class for tests of
Map implementations-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected abstract MapvoidsetUp()voidvoidvoidvoidTests if this map's toString() method is applying the commonly used method to print its contents as a String (seeAbstractMap.toString(), for example).
-
Field Details
-
map
-
-
Constructor Details
-
AbstractMapTest
public AbstractMapTest()
-
-
Method Details
-
setUp
- Throws:
Exception
-
createMapInstance
-
testClear
public void testClear() -
testContainsKeyValue
public void testContainsKeyValue() -
testEqualsAndHash
public void testEqualsAndHash() -
testToString
public void testToString()Tests if this map's toString() method is applying the commonly used method to print its contents as a String (seeAbstractMap.toString(), for example).However, the 'Map contract' does not enforce the way this method works, so if your map implementation does not use this standard representation, you might want to override this method here in your own test.
-