org.melati.poem.test
Class FieldTest

Package class diagram package FieldTest
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.FieldTest
All Implemented Interfaces:
junit.framework.Test

public class FieldTest
extends PoemTestCase

Since:
30/11/2006
Author:
timp

Field Summary
 
Fields inherited from class org.melati.poem.test.PoemTestCase
maxTrans, result
 
Constructor Summary
FieldTest(String name)
          Constructor for FieldTest.
 
Method Summary
protected  void setUp()
           
protected  void tearDown()
           
 void testBasic()
           
 void testClone()
           
 void testDump()
           
 void testEquals()
           
 void testFieldAccessPoemExceptionFieldAttributes()
           
 void testFieldObjectFieldAttributes()
           
 void testGetCooked()
           
 void testGetCookedString()
           
 void testGetDescription()
           
 void testGetDisplayName()
           
 void testGetFirst1000Possibilities()
           
 void testGetHeight()
           
 void testGetIndexed()
           
 void testGetName()
           
 void testGetPossibilities()
           
 void testGetRaw()
           
 void testGetRawString()
           
 void testGetRenderInfo()
           
 void testGetType()
           
 void testGetUserCreateable()
           
 void testGetUserEditable()
           
 void testGetWidth()
           
 void testHashCode()
           
 void testInteger()
           
 void testReferencePersistentString()
           
 void testReferenceTableString()
           
 void testSameRawAs()
           
 void testString()
           
 void testToString()
           
 void testWithDescription()
           
 void testWithName()
           
 void testWithNullable()
           
 void testWithRaw()
           
 
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

FieldTest

public FieldTest(String name)
Constructor for FieldTest.

Parameters:
name -
Method Detail

setUp

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

tearDown

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

testFieldObjectFieldAttributes

public void testFieldObjectFieldAttributes()
See Also:
Field.Field(Object, FieldAttributes)

testFieldAccessPoemExceptionFieldAttributes

public void testFieldAccessPoemExceptionFieldAttributes()
See Also:
Field.Field(AccessPoemException, FieldAttributes)

testClone

public void testClone()
See Also:
Field.clone()

testGetName

public void testGetName()
See Also:
Field.getName()

testGetDisplayName

public void testGetDisplayName()
See Also:
Field.getDisplayName()

testGetDescription

public void testGetDescription()
See Also:
Field.getDescription()

testGetType

public void testGetType()
See Also:
Field.getType()

testGetIndexed

public void testGetIndexed()
See Also:
Field.getIndexed()

testGetUserEditable

public void testGetUserEditable()
See Also:
Field.getUserEditable()

testGetUserCreateable

public void testGetUserCreateable()
See Also:
Field.getUserCreateable()

testGetWidth

public void testGetWidth()
See Also:
Field.getWidth()

testGetHeight

public void testGetHeight()
See Also:
Field.getHeight()

testGetRenderInfo

public void testGetRenderInfo()
See Also:
Field.getRenderInfo()

testGetRaw

public void testGetRaw()
See Also:
Field.getRaw()

testGetRawString

public void testGetRawString()
See Also:
Field.getRawString()

testGetCooked

public void testGetCooked()
See Also:
Field.getCooked()

testGetCookedString

public void testGetCookedString()
See Also:
Field.getCookedString(PoemLocale, int)

testWithRaw

public void testWithRaw()
See Also:
Field.withRaw(Object)

testWithNullable

public void testWithNullable()
See Also:
Field.withNullable(boolean)

testWithName

public void testWithName()
See Also:
Field.withName(String)

testWithDescription

public void testWithDescription()
See Also:
Field.withDescription(String)

testGetPossibilities

public void testGetPossibilities()
See Also:
Field.getPossibilities()

testGetFirst1000Possibilities

public void testGetFirst1000Possibilities()
See Also:
Field.getFirst1000Possibilities()

testSameRawAs

public void testSameRawAs()
See Also:
Field.sameRawAs(Field)

testDump

public void testDump()
See Also:
Field.dump(PrintStream)

testToString

public void testToString()
See Also:
Field.toString()

testBasic

public void testBasic()
See Also:
Field.basic(Object, String, org.melati.poem.PoemType)

testString

public void testString()
See Also:
Field.string(String, String)

testInteger

public void testInteger()
See Also:
Field.integer(Integer, String)

testReferencePersistentString

public void testReferencePersistentString()
See Also:
Field.reference(org.melati.poem.Persistent, String)

testReferenceTableString

public void testReferenceTableString()
See Also:
Field.reference(org.melati.poem.Table, String)

testHashCode

public void testHashCode()
See Also:
Object.hashCode()

testEquals

public void testEquals()
See Also:
Object.equals(Object)


Copyright © 2000-2010 PanEris. All Rights Reserved.