com.adamcornett.cminus
Class CompilerTests

java.lang.Object
  extended by com.adamcornett.cminus.CompilerTests

public class CompilerTests
extends Object


Constructor Summary
CompilerTests()
           
 
Method Summary
 void reset()
           
static void setUpBeforeClass()
           
 void testArrays()
           
 void testGlobals()
           
 void testIf()
           
 void testMath()
           
 void testMinimumSource()
           
 void testNoMain()
           
 void testRecursion()
           
 void testWhile()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CompilerTests

public CompilerTests()
Method Detail

setUpBeforeClass

public static void setUpBeforeClass()
                             throws Exception
Throws:
Exception

reset

public void reset()

testArrays

public void testArrays()
                throws IOException,
                       org.antlr.runtime.RecognitionException
Throws:
IOException
org.antlr.runtime.RecognitionException

testGlobals

public void testGlobals()
                 throws IOException,
                        org.antlr.runtime.RecognitionException
Throws:
IOException
org.antlr.runtime.RecognitionException

testIf

public void testIf()
            throws IOException,
                   org.antlr.runtime.RecognitionException
Throws:
IOException
org.antlr.runtime.RecognitionException

testMath

public void testMath()
              throws IOException,
                     org.antlr.runtime.RecognitionException
Throws:
IOException
org.antlr.runtime.RecognitionException

testMinimumSource

public void testMinimumSource()
                       throws IOException,
                              org.antlr.runtime.RecognitionException
Throws:
IOException
org.antlr.runtime.RecognitionException

testNoMain

public void testNoMain()
                throws IOException,
                       org.antlr.runtime.RecognitionException
Throws:
IOException
org.antlr.runtime.RecognitionException

testRecursion

public void testRecursion()
                   throws IOException,
                          org.antlr.runtime.RecognitionException
Throws:
IOException
org.antlr.runtime.RecognitionException

testWhile

public void testWhile()
               throws IOException,
                      org.antlr.runtime.RecognitionException
Throws:
IOException
org.antlr.runtime.RecognitionException