edu.rice.cs.drjava.config
Class SavableConfigurationTest

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.config.SavableConfigurationTest
All Implemented Interfaces:
Test

public class SavableConfigurationTest
extends DrJavaTestCase

JUnit test class for testing SavableConfiguration.

Version:
$Id: $
Author:
Chris Warrington

Field Summary
 
Fields inherited from class edu.rice.cs.drjava.DrJavaTestCase
TEST_DRJAVA_CONFIG_PROPERTY
 
Constructor Summary
SavableConfigurationTest()
           
 
Method Summary
 void setUp()
          Set up for every test.
 void testEmptyConfiguration()
          Tests the saveConfiguration method with no configuration data
 void testNonEmptyConfiguration()
          Tests the saveConfiguration method with some configuration data.
 
Methods inherited from class edu.rice.cs.drjava.DrJavaTestCase
setConfigSetting, setDocText, tearDown
 
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
 

Constructor Detail

SavableConfigurationTest

public SavableConfigurationTest()
Method Detail

setUp

public void setUp()
           throws Exception
Description copied from class: DrJavaTestCase
Set up for every test.

Overrides:
setUp in class DrJavaTestCase
Throws:
Exception - This convention is mandated by JUnit.TestCase, the superclass of this class.

testEmptyConfiguration

public void testEmptyConfiguration()
                            throws IOException
Tests the saveConfiguration method with no configuration data

Throws:
IOException

testNonEmptyConfiguration

public void testNonEmptyConfiguration()
                               throws IOException
Tests the saveConfiguration method with some configuration data.

Throws:
IOException