org.melati.poem.test
Class PoemTypeFactoryTest

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

public class PoemTypeFactoryTest
extends PoemTestCase

Since:
29 Jan 2007
Author:
timp

Field Summary
 
Fields inherited from class org.melati.poem.test.PoemTestCase
maxTrans, result
 
Constructor Summary
PoemTypeFactoryTest(String name)
          Constructor.
 
Method Summary
protected  void setUp()
          
protected  void tearDown()
          
 void testForCode()
          Test method for forCode(org.melati.poem.Database, int).
 void testGetCode()
          Test method for PoemTypeFactory.getCode().
 void testGetDescription()
          Test method for PoemTypeFactory.getDescription().
 void testGetDisplayName()
          Test method for PoemTypeFactory.getDisplayName().
 void testGetName()
          Test method for PoemTypeFactory.getName().
 void testPoemTypeFactory()
          Test method for PoemTypeFactory.PoemTypeFactory(int).
 
Methods inherited from class org.melati.poem.test.PoemTestCase
assertEquals, assertEquals, assertEquals, checkColumns, checkDbUnchanged, checkTables, checkTablesAndColumns, databaseUnchanged, dropTable, dumpTable, getDatabase, getDatabaseName, getDb, 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

PoemTypeFactoryTest

public PoemTypeFactoryTest(String name)
Constructor.

Parameters:
name -
Method Detail

setUp

protected void setUp()
              throws Exception

Overrides:
setUp in class PoemTestCase
Throws:
Exception
See Also:
TestCase.setUp()

tearDown

protected void tearDown()
                 throws Exception

Overrides:
tearDown in class PoemTestCase
Throws:
Exception
See Also:
TestCase.tearDown()

testPoemTypeFactory

public void testPoemTypeFactory()
Test method for PoemTypeFactory.PoemTypeFactory(int).


testGetCode

public void testGetCode()
Test method for PoemTypeFactory.getCode().


testGetName

public void testGetName()
Test method for PoemTypeFactory.getName().


testGetDisplayName

public void testGetDisplayName()
Test method for PoemTypeFactory.getDisplayName().


testGetDescription

public void testGetDescription()
Test method for PoemTypeFactory.getDescription().


testForCode

public void testForCode()
Test method for forCode(org.melati.poem.Database, int).



Copyright © 2000-2010 PanEris. All Rights Reserved.