org.melati.admin.test
Class AdminUtilsTest

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

public class AdminUtilsTest
extends PoemTestCase

Author:
timp

Field Summary
protected  org.melati.admin.AdminUtils au
           
protected static org.melati.Melati m
           
protected static org.melati.MelatiConfig mc
           
protected static org.melati.template.TemplateEngine templateEngine
           
 
Fields inherited from class org.melati.poem.test.PoemTestCase
maxTrans, result
 
Constructor Summary
AdminUtilsTest(String name)
          Constructor for AdminUtilsTest.
 
Method Summary
protected  void setUp()
           
protected  void tearDown()
           
 void testAdminUtils()
           
 void testCreateTree()
           
 void testCsvEscaped()
           
 void testGetStaticURL()
           
 void testSimpleName()
          Test simpleName.
 void testSpecialFacilities()
           
 void testToggledOrderSelectionURL()
           
 
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
 

Field Detail

mc

protected static org.melati.MelatiConfig mc

templateEngine

protected static org.melati.template.TemplateEngine templateEngine

m

protected static org.melati.Melati m

au

protected org.melati.admin.AdminUtils au
Constructor Detail

AdminUtilsTest

public AdminUtilsTest(String name)
Constructor for AdminUtilsTest.

Parameters:
name -
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

testAdminUtils

public void testAdminUtils()
                    throws Exception
Throws:
Exception
See Also:
AdminUtils.AdminUtils(Melati)

testSpecialFacilities

public void testSpecialFacilities()
                           throws Exception
Throws:
Exception
See Also:
specialFacilities(Melati, MarkupLanguage, Persistent)

testToggledOrderSelectionURL

public void testToggledOrderSelectionURL()
                                  throws Exception
Throws:
Exception
See Also:
AdminUtils.ToggledOrderSelectionURL(Melati, String, String)

testGetStaticURL

public void testGetStaticURL()
See Also:
AdminUtils.getStaticURL()

testCreateTree

public void testCreateTree()
See Also:
AdminUtils.createTree(Treeable)

testSimpleName

public void testSimpleName()
Test simpleName.


testCsvEscaped

public void testCsvEscaped()


Copyright © 2000-2010 PanEris. All Rights Reserved.