gate.yam.parse
Class YamParseTreeTests

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by gate.yam.parse.YamParseTreeTests
All Implemented Interfaces:
junit.framework.Test

public class YamParseTreeTests
extends junit.framework.TestCase

Unit test for YAM parse trees.


Constructor Summary
YamParseTreeTests(String testName)
          Create the test case
 
Method Summary
 void testTreeMerging()
          Test tree merging.
 void testTreeStuff()
          Test setup and reset of trees.
 boolean treeEmpty(SimpleNode n)
          Helper to check tree contents.
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, runBare, runTest, 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, failNotEquals, failNotSame, failSame
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

YamParseTreeTests

public YamParseTreeTests(String testName)
Create the test case

Method Detail

testTreeStuff

public void testTreeStuff()
                   throws Exception
Test setup and reset of trees.

Throws:
Exception

testTreeMerging

public void testTreeMerging()
                     throws Exception
Test tree merging.

Throws:
Exception

treeEmpty

public boolean treeEmpty(SimpleNode n)
Helper to check tree contents.