java.lang.Object
junit.framework.Assert
junit.framework.TestCase
org.acs.damsel.srvr.collection.TestCollection
- All Implemented Interfaces:
- junit.framework.Test
- public class TestCollection
- extends junit.framework.TestCase
| Fields inherited from class junit.framework.TestCase |
|
| Methods inherited from class junit.framework.Assert |
assertEquals, 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 |
collection
private Collection collection
one
private org.acs.damsel.srvr.asset.Asset one
two
private org.acs.damsel.srvr.asset.Asset two
three
private org.acs.damsel.srvr.asset.Asset three
four
private org.acs.damsel.srvr.asset.Asset four
TestCollection
public TestCollection(java.lang.String name)
setUp
protected void setUp()
throws java.lang.Exception
- Description copied from class:
junit.framework.TestCase
- Sets up the fixture, for example, open a network connection.
This method is called before a test is executed.
testConstructor
public void testConstructor()
populateCollection
private void populateCollection(java.lang.String collectionName)
removeAssetsAndCollection
private void removeAssetsAndCollection()
testContains
public void testContains()
testGetAsset
public void testGetAsset()
testIsPublic
public void testIsPublic()
testAddAsset
public void testAddAsset()
testGetAllAssets
public void testGetAllAssets()
testRemoveAsset
public void testRemoveAsset()
testSchema
public void testSchema()
testName
public void testName()
testSize
public void testSize()
tearDown
protected void tearDown()
throws java.lang.Exception
- Description copied from class:
junit.framework.TestCase
- Tears down the fixture, for example, close a network connection.
This method is called after a test is executed.