|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object junit.framework.Assert junit.framework.TestCase org.apache.velocity.test.BaseTestCase org.apache.velocity.test.IntrospectorTestCase
public class IntrospectorTestCase
Test case for the Velocity Introspector which uses the Java Reflection API to determine the correct signature of the methods used in VTL templates. This should be split into separate tests for each of the methods searched for but this is a start for now.
Nested Class Summary | |
---|---|
static class |
IntrospectorTestCase.MethodProvider
|
Constructor Summary | |
---|---|
IntrospectorTestCase(String name)
Creates a new instance. |
Method Summary | |
---|---|
void |
runTest()
|
static junit.framework.Test |
suite()
Get the containing TestSuite . |
Methods inherited from class org.apache.velocity.test.BaseTestCase |
---|
assureResultsDirectoryExists, getFileName, getTestCaseName, isMatch, normalizeNewlines |
Methods inherited from class junit.framework.TestCase |
---|
countTestCases, createResult, getName, run, run, runBare, setName, setUp, 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 |
Constructor Detail |
---|
public IntrospectorTestCase(String name)
Method Detail |
---|
public static junit.framework.Test suite()
TestSuite
. This is always
VelocityTestSuite
.
TestSuite
to run.public void runTest()
runTest
in class junit.framework.TestCase
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |