edu.rice.cs.drjava.config
Class DrJavaPropertySetupTest

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by edu.rice.cs.drjava.DrJavaTestCase
              extended by edu.rice.cs.drjava.model.MultiThreadedTestCase
                  extended by edu.rice.cs.drjava.config.DrJavaPropertySetupTest
All Implemented Interfaces:
Test

public class DrJavaPropertySetupTest
extends MultiThreadedTestCase

Tests for the variables and language constructs that can be used in external processes.

Author:
Mathias Ricken

Nested Class Summary
 
Nested classes/interfaces inherited from class junit.framework.TestCase
TestCase.WrappedException
 
Field Summary
static Random _r
           
 String FS
           
 String PS
           
 String TMPDIR
           
 
Fields inherited from class edu.rice.cs.drjava.model.MultiThreadedTestCase
_testFailed
 
Constructor Summary
DrJavaPropertySetupTest()
           
 
Method Summary
 void setUp()
          Initialize test state to not failed.
 void tearDown()
          If any test failed, print a message saying that some test failed in another thread (not the testing thread).
 void testArithmetic()
           
 void testControlFlow()
           
 void testFakeConfigProperties()
           
 void testFile()
           
 void testList()
           
 void testMisc()
           
 void testString()
           
 void testXML()
           
 
Methods inherited from class edu.rice.cs.drjava.model.MultiThreadedTestCase
join, listenerFail, listenerFail, wait
 
Methods inherited from class edu.rice.cs.drjava.DrJavaTestCase
setConfigSetting, setDocText
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, runBare, runTest, setName, 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, format
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

PS

public final String PS

FS

public final String FS

TMPDIR

public final String TMPDIR

_r

public static final Random _r
Constructor Detail

DrJavaPropertySetupTest

public DrJavaPropertySetupTest()
Method Detail

setUp

public void setUp()
           throws Exception
Description copied from class: MultiThreadedTestCase
Initialize test state to not failed.

Overrides:
setUp in class MultiThreadedTestCase
Throws:
Exception - This convention is mandated by the JUnit TestCase class which is an ancestor of this class.

tearDown

public void tearDown()
              throws Exception
Description copied from class: MultiThreadedTestCase
If any test failed, print a message saying that some test failed in another thread (not the testing thread).

Overrides:
tearDown in class MultiThreadedTestCase
Throws:
Exception

testArithmetic

public void testArithmetic()
                    throws CloneNotSupportedException
Throws:
CloneNotSupportedException

testString

public void testString()
                throws CloneNotSupportedException
Throws:
CloneNotSupportedException

testList

public void testList()
              throws CloneNotSupportedException
Throws:
CloneNotSupportedException

testFakeConfigProperties

public void testFakeConfigProperties()
                              throws CloneNotSupportedException
Throws:
CloneNotSupportedException

testFile

public void testFile()
              throws CloneNotSupportedException,
                     IOException
Throws:
CloneNotSupportedException
IOException

testMisc

public void testMisc()
              throws CloneNotSupportedException
Throws:
CloneNotSupportedException

testControlFlow

public void testControlFlow()
                     throws CloneNotSupportedException
Throws:
CloneNotSupportedException

testXML

public void testXML()
             throws CloneNotSupportedException
Throws:
CloneNotSupportedException