edu.rice.cs.javalanglevels
Class AdvancedLevelTest

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by edu.rice.cs.javalanglevels.AdvancedLevelTest
All Implemented Interfaces:
Test

public class AdvancedLevelTest
extends TestCase


Field Summary
static Log _log
           
 
Constructor Summary
AdvancedLevelTest()
           
 
Method Summary
 void setUp()
           
 void testNoNullPointer()
          This file used to have a NullPointer Exception in it because of a bug in the code.
 void testNothing()
          This ensures that setUp() is not failing.
 void testPackagedOrderMatters()
          Make sure that the order packaged files are compiled in does not matter.
 void testSuccessful()
          Try some example files and make sure they can be converted without errors and that the resulting conversions are correct.
 
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, failNotEquals, failNotSame, failSame
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

_log

public static final Log _log
Constructor Detail

AdvancedLevelTest

public AdvancedLevelTest()
Method Detail

setUp

public void setUp()
Overrides:
setUp in class TestCase

testNothing

public void testNothing()
This ensures that setUp() is not failing.


testSuccessful

public void testSuccessful()
Try some example files and make sure they can be converted without errors and that the resulting conversions are correct.


testNoNullPointer

public void testNoNullPointer()
This file used to have a NullPointer Exception in it because of a bug in the code. Leave the test in so that the bug never gets reintroduced.


testPackagedOrderMatters

public void testPackagedOrderMatters()
Make sure that the order packaged files are compiled in does not matter. This is to make sure that a bug that was fixed stays fixed.