public class ValueProtectingMapTest
extends junit.framework.TestCase
ValueProtectingMap| Constructor and Description |
|---|
ValueProtectingMapTest() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
setUp() |
void |
testMapClear() |
void |
testMapContainsKey() |
void |
testMapContainsValue() |
void |
testMapEntrySet() |
void |
testMapGetImmutable()
Ensures that single, immutable values are given out as-is and
without affecting the backing storage
|
void |
testMapGetMutable()
Ensures that single, immutable values are cloned before being given out
without affecting the backing storage
|
void |
testMapIsEmpty() |
void |
testMapKeySet() |
void |
testMapPut() |
void |
testMapPutAll() |
void |
testMapWrapping()
No matter how many times we wrap instances in instances, the backing map must remain
the same.
|
void |
testSerializability() |
void |
testSetup() |
countTestCases, createResult, getName, run, run, runBare, runTest, setName, tearDown, toStringassertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail, fail, failNotEquals, failNotSame, failSame, formatprotected void setUp()
throws java.lang.Exception
setUp in class junit.framework.TestCasejava.lang.Exceptionpublic void testSetup()
public void testMapWrapping()
public void testMapClear()
public void testMapContainsKey()
public void testMapContainsValue()
public void testMapEntrySet()
public void testMapGetImmutable()
public void testMapGetMutable()
public void testMapIsEmpty()
public void testMapKeySet()
public void testMapPut()
public void testMapPutAll()
public void testSerializability()
throws java.lang.Exception
java.lang.ExceptionCopyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.