org.melati.poem.test
Class ColumnInfoTest

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

public class ColumnInfoTest
extends PoemTestCase

Author:
timp

Field Summary
 
Fields inherited from class org.melati.poem.test.PoemTestCase
maxTrans, result
 
Constructor Summary
ColumnInfoTest(String name)
           
 
Method Summary
 void putativeTestUnsetColumn()
          Test the odd circumstance in which the troid is known but the column is not.
protected  void setUp()
          
protected  void tearDown()
          
 void testAssertCanReadAccessToken()
          Test method for ColumnInfo.assertCanRead(org.melati.poem.AccessToken).
 void testGetDsdQualifiers()
          Test method for ColumnInfo.getDsdQualifiers().
 void testGetDsdQualifiers2()
          As it is used in DSD.wm
 void testProgramaticCreation()
          There is some circumstance, which I have failed to reproduce in a Maven build, where the columnInfo.column is null and the troid is not.
 void testSetDisplaylevelIndex()
          Test method for setDisplaylevelIndex(java.lang.Integer).
 void testSetName()
          Test method for ColumnInfo.setName(java.lang.String).
 void testSetTableinfoTroid()
          Test method for ColumnInfo.setTableinfoTroid(java.lang.Integer).
 
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

ColumnInfoTest

public ColumnInfoTest(String name)
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()

testAssertCanReadAccessToken

public void testAssertCanReadAccessToken()
Test method for ColumnInfo.assertCanRead(org.melati.poem.AccessToken).


testSetTableinfoTroid

public void testSetTableinfoTroid()
Test method for ColumnInfo.setTableinfoTroid(java.lang.Integer).


testSetName

public void testSetName()
Test method for ColumnInfo.setName(java.lang.String).


testSetDisplaylevelIndex

public void testSetDisplaylevelIndex()
Test method for setDisplaylevelIndex(java.lang.Integer).


testProgramaticCreation

public void testProgramaticCreation()
There is some circumstance, which I have failed to reproduce in a Maven build, where the columnInfo.column is null and the troid is not. I removed the method columnWithColumnInfoID, all built in Maven, then started failing in Eclipse. This test does call columnWithColumnInfoID but seems very contrived.


testGetDsdQualifiers

public void testGetDsdQualifiers()
Test method for ColumnInfo.getDsdQualifiers().


testGetDsdQualifiers2

public void testGetDsdQualifiers2()
As it is used in DSD.wm


putativeTestUnsetColumn

public void putativeTestUnsetColumn()
Test the odd circumstance in which the troid is known but the column is not. Does not look like there is a circumstance in which this would work.



Copyright © 2000-2010 PanEris. All Rights Reserved.