org.melati.example.contacts
Class ContactTest

Package class diagram package ContactTest
java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.melati.poem.test.PoemTestCase
              extended by org.melati.example.contacts.ContactTest
All Implemented Interfaces:
junit.framework.Test

public class ContactTest
extends PoemTestCase

Author:
timp

Field Summary
 
Fields inherited from class org.melati.poem.test.PoemTestCase
maxTrans, result
 
Constructor Summary
ContactTest(String arg0)
          Constructor.
 
Method Summary
protected  void databaseUnchanged()
           
 Database getDb(String dbNameP)
           
protected  String getDbName()
           
 Database getPoemDatabase()
           
protected  void setUp()
           
protected  void tearDown()
           
 void testArrayOfEnumeration()
          Test arrayOf.
 void testArrayOfVector()
          Test arrayOf.
 void testGetAncestors()
           
 void testGetChildren()
          Test getChildren.
 void testIsIn()
          Test isIn.
 void testSetOwner()
          Test setOwner.
 
Methods inherited from class org.melati.poem.test.PoemTestCase
assertEquals, assertEquals, assertEquals, checkColumns, checkDbUnchanged, checkTables, checkTablesAndColumns, dropTable, dumpTable, getDatabase, getDatabaseName, getDb, getName, getOrDie, getProperties, getPropertiesFileName, getUserToRunAs, run, runTest, setDatabaseName, setName, setPropertiesFileName, setUserToRunAs, testNothing
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, run, runBare, 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, 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
 
Methods inherited from interface junit.framework.Test
countTestCases
 

Constructor Detail

ContactTest

public ContactTest(String arg0)
Constructor.

Method Detail

setUp

protected void setUp()
              throws Exception
Overrides:
setUp in class PoemTestCase
Throws:
Exception

tearDown

protected void tearDown()
                 throws Exception
Overrides:
tearDown in class PoemTestCase
Throws:
Exception

getDbName

protected String getDbName()
Returns:
Returns the dbName.

getDb

public Database getDb(String dbNameP)
Overrides:
getDb in class PoemTestCase

getPoemDatabase

public Database getPoemDatabase()
Returns:
a db

databaseUnchanged

protected void databaseUnchanged()
Overrides:
databaseUnchanged in class PoemTestCase

testSetOwner

public void testSetOwner()
Test setOwner.


testIsIn

public void testIsIn()
Test isIn.


testGetChildren

public void testGetChildren()
Test getChildren.


testGetAncestors

public void testGetAncestors()
See Also:
Contact.getAncestors()

testArrayOfVector

public void testArrayOfVector()
Test arrayOf.


testArrayOfEnumeration

public void testArrayOfEnumeration()
Test arrayOf.



Copyright © 2000-2010 PanEris. All Rights Reserved.