org.melati.template.test
Class HTMLMarkupLanguageVelocityTest

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

public class HTMLMarkupLanguageVelocityTest
extends HTMLMarkupLanguageSpec

Run all the tests against velocity.

Since:
21-May-2006
Author:
timp

Field Summary
 
Fields inherited from class org.melati.template.test.MarkupLanguageSpec
aml, m, mc, ml, templateEngine
 
Fields inherited from class org.melati.template.test.TreeTestCase
databaseName
 
Fields inherited from class org.melati.poem.test.PoemTestCase
maxTrans, result
 
Constructor Summary
HTMLMarkupLanguageVelocityTest()
           
 
Method Summary
protected  void melatiConfig()
           
protected  void setUp()
          
 void testSyntaxErrorInWMTemplet()
          Test that a syntax error in a WM templet is handled by Velocity.
 
Methods inherited from class org.melati.template.test.MarkupLanguageSpec
testEncoded, testEntitySubstitution, testEscapedPersistent, testEscapedString, testEvaluationErrorInTemplet, testGetAttr, testHTMLMarkupLanguageMelatiTempletLoaderPoemLocale, testHTMLMarkupLanguageStringHTMLMarkupLanguage, testInputAs, testInputField, testInputFieldForRestrictedField, testInputFieldSelection, testNull, testRenderedAccessPoemException, testRenderedField, testRenderedFieldInt, testRenderedFieldIntInt, testRenderedMarkupString, testRenderedObject, testRenderedStart, testRenderedString, testRenderedStringInt, testRenderedTreeable, testSearchInput, testSelectionWindowField, testSpecialTemplateFound, testSyntaxErrorInTemplet, testTemplateFoundOnClasspath, testUntemplatedObjectUsesToString
 
Methods inherited from class org.melati.template.test.TreeTestCase
databaseUnchanged, getDb, getTreeDatabase
 
Methods inherited from class org.melati.poem.test.PoemTestCase
assertEquals, assertEquals, assertEquals, checkColumns, checkDbUnchanged, checkTables, checkTablesAndColumns, dropTable, dumpTable, getDatabase, getDatabaseName, getDb, getName, getOrDie, getProperties, getPropertiesFileName, getUserToRunAs, run, runTest, setDatabaseName, setName, setPropertiesFileName, setUserToRunAs, tearDown, 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

HTMLMarkupLanguageVelocityTest

public HTMLMarkupLanguageVelocityTest()
Method Detail

setUp

protected void setUp()
              throws Exception

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

melatiConfig

protected void melatiConfig()
                     throws org.melati.util.MelatiException
Specified by:
melatiConfig in class MarkupLanguageSpec
Throws:
org.melati.util.MelatiException

testSyntaxErrorInWMTemplet

public void testSyntaxErrorInWMTemplet()
                                throws Exception
Test that a syntax error in a WM templet is handled by Velocity.

Overrides:
testSyntaxErrorInWMTemplet in class MarkupLanguageSpec
Throws:
Exception


Copyright © 2000-2010 PanEris. All Rights Reserved.