Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.acs.damsel.srvr.collection
Class TestCollection  view TestCollection download TestCollection.java

java.lang.Object
  extended byjunit.framework.Assert
      extended byjunit.framework.TestCase
          extended byorg.acs.damsel.srvr.collection.TestCollection
All Implemented Interfaces:
junit.framework.Test

public class TestCollection
extends junit.framework.TestCase


Field Summary
private  Collection collection
           
private  org.acs.damsel.srvr.asset.Asset four
           
private  org.acs.damsel.srvr.asset.Asset one
           
private  org.acs.damsel.srvr.asset.Asset three
           
private  org.acs.damsel.srvr.asset.Asset two
           
 
Fields inherited from class junit.framework.TestCase
 
Constructor Summary
TestCollection(java.lang.String name)
           
 
Method Summary
private  void populateCollection(java.lang.String collectionName)
           
private  void removeAssetsAndCollection()
           
protected  void setUp()
          Sets up the fixture, for example, open a network connection.
protected  void tearDown()
          Tears down the fixture, for example, close a network connection.
 void testAddAsset()
           
 void testConstructor()
           
 void testContains()
           
 void testGetAllAssets()
           
 void testGetAsset()
           
 void testIsPublic()
           
 void testName()
           
 void testRemoveAsset()
           
 void testSchema()
           
 void testSize()
           
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, runBare, runTest, setName, toString
 
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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

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
Constructor Detail

TestCollection

public TestCollection(java.lang.String name)
Method Detail

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.