org.melati.poem.test
Class SizedAtomPoemTypeSpec

Package class diagram package SizedAtomPoemTypeSpec
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.SQLPoemTypeSpec
                  extended by org.melati.poem.test.SizedAtomPoemTypeSpec
All Implemented Interfaces:
junit.framework.Test
Direct Known Subclasses:
NotNullableBinaryPoemTypeTest, NotNullableSizedPasswordPoemTypeTest, NotNullableSizedStringPoemTypeTest, NotNullableUnlimitedStringPoemTypeTest, NullableSizedStringPoemTypeTest, NullableUnlimitedStringPoemTypeTest

public abstract class SizedAtomPoemTypeSpec
extends SQLPoemTypeSpec

Since:
30 Dec 2006
Author:
timp

Field Summary
 
Fields inherited from class org.melati.poem.test.SQLPoemTypeSpec
it
 
Fields inherited from class org.melati.poem.test.PoemTestCase
maxTrans, result
 
Constructor Summary
SizedAtomPoemTypeSpec()
           
SizedAtomPoemTypeSpec(String name)
           
 
Method Summary
protected  void setUp()
          
protected  void tearDown()
          
 void testGetSize()
          Test method for SizedAtomPoemType.getSize().
 void testSizedAtomPoemType()
          Test method for SizedAtomPoemType(int, java.lang.String, boolean, int).
 void testSizeGreaterEqual()
          Test method for sizeGreaterEqual(int, int).
 void testWithSize()
          Test method for SizedAtomPoemType.withSize(int).
 
Methods inherited from class org.melati.poem.test.SQLPoemTypeSpec
testAssertValidCooked, testAssertValidRaw, testCanRepresent, testCookedOfRaw, testGetNullable, testGetRaw, testPossibleRaws, testQuotedRaw, testRawOfCooked, testRawOfString, testSaveColumnInfo, testSetRaw, testSqlDefaultValue, testSqlDefinition, testSqlTypeCode, testSqlTypeDefinition, testStringOfCooked, testStringOfRaw, testToDsdType, testWithNullable
 
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

SizedAtomPoemTypeSpec

public SizedAtomPoemTypeSpec()
Parameters:
name -

SizedAtomPoemTypeSpec

public SizedAtomPoemTypeSpec(String name)
Parameters:
name -
Method Detail

setUp

protected void setUp()
              throws Exception

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

tearDown

protected void tearDown()
                 throws Exception

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

testSizedAtomPoemType

public void testSizedAtomPoemType()
Test method for SizedAtomPoemType(int, java.lang.String, boolean, int).


testGetSize

public void testGetSize()
Test method for SizedAtomPoemType.getSize().


testWithSize

public void testWithSize()
Test method for SizedAtomPoemType.withSize(int).


testSizeGreaterEqual

public void testSizeGreaterEqual()
Test method for sizeGreaterEqual(int, int).



Copyright © 2000-2010 PanEris. All Rights Reserved.