|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--junit.framework.Assert | +--junit.framework.TestCase | +--gate.creole.TestCreole
CREOLE test class
Inner Class Summary | |
(package private) class |
TestCreole.DocumentImplBeanInfo
Example of what bean info classes do. |
Field Summary | |
private static boolean |
DEBUG
Debug flag |
private CreoleRegister |
reg
Local shorthand for the CREOLE register |
Fields inherited from class junit.framework.TestCase |
fName |
Constructor Summary | |
TestCreole(String name)
Construction |
Method Summary | |
protected boolean |
allAutoloaders(List l)
Utility method to check that a list of resources are all auto-loading. |
static void |
printProperty(PropertyDescriptor prop)
Utility method to print out the values of a property descriptor |
void |
setUp()
Fixture set up |
static junit.framework.Test |
suite()
Test suite routine for the test runner |
void |
tearDown()
Put things back as they should be after running tests (reinitialise the CREOLE register). |
void |
testArbitraryMetadata()
Test arbitrary metadata elements on resources |
void |
testClassIndex()
Test resource indexing by class |
void |
testComments()
Test comments on resources |
void |
testDefaultRun()
Test default run() on processing resources |
void |
testDiscovery()
Test resource discovery |
void |
testFactory()
Test the Factory resource creation provisions |
void |
testInstanceLists()
Test the getInstances methods on CreoleRegister |
void |
testIntrospection()
Test resource introspection |
void |
testLoading()
Test resource loading |
void |
testMetadata()
Test resource metadata |
void |
testParameterDefaults1()
Test parameter defaults |
void |
testParameterDefaults2()
Test parameter defaults (2) |
void |
testParameters()
Test parameters |
void |
testToolsAndPrivate()
Test TOOLS and PRIVATE attributes |
void |
testTypeLists()
Test type lists |
void |
testViews()
Test view registration |
Methods inherited from class junit.framework.TestCase |
countTestCases, createResult, name, run, run, runBare, runTest, toString |
Methods inherited from class junit.framework.Assert |
assert, assert, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertNotNull, assertNotNull, assertNull, assertNull, assertSame, assertSame, fail, fail, failNotEquals, failNotSame |
Methods inherited from class java.lang.Object |
|
Field Detail |
private static final boolean DEBUG
private CreoleRegister reg
Constructor Detail |
public TestCreole(String name) throws GateException
Method Detail |
public void setUp() throws Exception
setUp
in class junit.framework.TestCase
public void tearDown() throws Exception
tearDown
in class junit.framework.TestCase
public void testInstanceLists() throws Exception
public void testViews() throws Exception
protected boolean allAutoloaders(List l)
public void testDiscovery() throws Exception
public void testMetadata() throws Exception
public void testToolsAndPrivate() throws Exception
public void testLoading() throws Exception
public void testClassIndex() throws Exception
public void testTypeLists() throws Exception
public void testComments() throws Exception
public void testParameterDefaults1() throws Exception
public void testParameterDefaults2() throws Exception
public void testParameters() throws Exception
public void testDefaultRun() throws Exception
public void testArbitraryMetadata() throws Exception
public void testIntrospection() throws Exception
public void testFactory() throws Exception
public static void printProperty(PropertyDescriptor prop)
PropertyDescriptor
public static junit.framework.Test suite()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |