org.ourgrid.common.spec.grammar.test
Class CommonGrammarTest

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.ourgrid.common.spec.grammar.test.CommonGrammarTest
All Implemented Interfaces:
junit.framework.Test, CommonTest, FastTest, PreCommitTest, SelectiveTest, StressTest

public class CommonGrammarTest
extends junit.framework.TestCase
implements CommonTest

Project: Caymman(DSC/UFCG) Description: This class tests the CommonGrammar class.

Version:
1.0 Created on Sep 25, 2003 Last update: Sep 25, 2003

Constructor Summary
CommonGrammarTest(java.lang.String message)
          Constructor for CommonGrammarTest.
 
Method Summary
protected  void setUp()
           
 void testAddRule()
           
 void testAddSymbol()
           
 void testGetRule()
           
 void testGetRules()
           
 void testGetSymbol()
           
 
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
 
Methods inherited from interface junit.framework.Test
countTestCases, run
 

Constructor Detail

CommonGrammarTest

public CommonGrammarTest(java.lang.String message)
Constructor for CommonGrammarTest.

Parameters:
message -
Method Detail

setUp

protected void setUp()
              throws java.lang.Exception
Overrides:
setUp in class junit.framework.TestCase
Throws:
java.lang.Exception

testAddSymbol

public void testAddSymbol()

testAddRule

public void testAddRule()
                 throws InvalidRuleException
Throws:
InvalidRuleException

testGetSymbol

public void testGetSymbol()

testGetRules

public void testGetRules()

testGetRule

public void testGetRule()