edu.rice.cs.drjava
Class ConfigFileTest

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.ConfigFileTest
All Implemented Interfaces:
junit.framework.Test

public final class ConfigFileTest
extends DrJavaTestCase

Tests that a custom config file can be specified.

Version:
$Id: ConfigFileTest.java 5444 2011-08-17 07:54:58Z rcartwright $

Nested Class Summary
 
Nested classes/interfaces inherited from class junit.framework.TestCase
junit.framework.TestCase.WrappedException
 
Field Summary
private static String CUSTOM_PROPS
           
 
Constructor Summary
ConfigFileTest(String name)
          Constructor.
 
Method Summary
 void testCustomConfigFile()
          Creates a custom properties file, tells DrJava to use it, and checks that it is being used.
 
Methods inherited from class edu.rice.cs.drjava.DrJavaTestCase
setConfigSetting, setDocText, setUp, 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
 

Field Detail

CUSTOM_PROPS

private static final String CUSTOM_PROPS
See Also:
Constant Field Values
Constructor Detail

ConfigFileTest

public ConfigFileTest(String name)
Constructor.

Method Detail

testCustomConfigFile

public void testCustomConfigFile()
                          throws IOException
Creates a custom properties file, tells DrJava to use it, and checks that it is being used.

Throws:
IOException