|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjunit.framework.Assert
junit.framework.TestCase
org.apache.velocity.test.BaseTestCase
org.apache.velocity.test.BuiltInEventHandlerTestCase
public class BuiltInEventHandlerTestCase
Tests the operation of the built in event handlers.
Field Summary | |
---|---|
protected boolean |
DEBUG
|
Fields inherited from interface org.apache.velocity.test.TemplateTestBase |
---|
RESULT_DIR, TEST_CASE_PROPERTIES, TEST_COMPARE_DIR, TEST_RESULT_DIR |
Constructor Summary | |
---|---|
BuiltInEventHandlerTestCase(String name)
Default constructor. |
Method Summary | |
---|---|
protected void |
log(String out)
|
void |
setUp()
|
static junit.framework.Test |
suite()
|
void |
testEscapeHtml()
Test escaping |
void |
testEscapeJavaScript()
Test escaping |
void |
testEscapeReferenceMatch()
test that escape reference handler works with match restrictions |
void |
testEscapeReferenceMatchAll()
test that escape reference handler works with no match restrictions |
void |
testEscapeSql()
Test escaping |
void |
testEscapeXml()
Test escaping |
void |
testIncludeNotFound()
|
void |
testIncludeRelativePath()
|
void |
testPrintExceptionHandler()
|
void |
testReportInvalidReferences1()
Test reporting of invalid syntax |
void |
testReportInvalidReferences2()
|
Methods inherited from class org.apache.velocity.test.BaseTestCase |
---|
assureResultsDirectoryExists, getFileContents, getFileName, getFileName, getTestCaseName, isMatch, isMatch, normalizeNewlines |
Methods inherited from class junit.framework.TestCase |
---|
countTestCases, createResult, getName, run, run, runBare, runTest, setName, tearDown, 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, 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 |
Field Detail |
---|
protected boolean DEBUG
Constructor Detail |
---|
public BuiltInEventHandlerTestCase(String name)
Method Detail |
---|
public void setUp()
setUp
in class junit.framework.TestCase
public static junit.framework.Test suite()
protected void log(String out)
public void testReportInvalidReferences1() throws Exception
Exception
public void testReportInvalidReferences2() throws Exception
Exception
public void testEscapeHtml() throws Exception
Exception
public void testEscapeXml() throws Exception
Exception
public void testEscapeSql() throws Exception
Exception
public void testEscapeJavaScript() throws Exception
Exception
public void testEscapeReferenceMatchAll() throws Exception
Exception
public void testEscapeReferenceMatch() throws Exception
Exception
public void testPrintExceptionHandler() throws Exception
Exception
public void testIncludeNotFound() throws Exception
Exception
public void testIncludeRelativePath() throws Exception
Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |