edu.rice.cs.drjava
Class DependenciesTest

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

public final class DependenciesTest
extends DrJavaTestCase

Test that ensures all external dependencies are met!

Version:
$Id: DependenciesTest.java 4447 2008-04-18 16:06:34Z rcartwright $

Field Summary
static String REQUIRED_UTIL_VERSION
           
 
Fields inherited from class edu.rice.cs.drjava.DrJavaTestCase
TEST_DRJAVA_CONFIG_PROPERTY
 
Constructor Summary
DependenciesTest(String name)
          Constructor.
 
Method Summary
static Test suite()
          Creates a test suite for JUnit to run.
 void testUtilVersion()
          This test ensures that the util package version is as new as we expect.
 
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

REQUIRED_UTIL_VERSION

public static final String REQUIRED_UTIL_VERSION
See Also:
Constant Field Values
Constructor Detail

DependenciesTest

public DependenciesTest(String name)
Constructor.

Parameters:
name - the name of the test
Method Detail

suite

public static Test suite()
Creates a test suite for JUnit to run.

Returns:
a test suite based on the methods in this class

testUtilVersion

public void testUtilVersion()
                     throws Throwable
This test ensures that the util package version is as new as we expect. It is no longer used (since util is no longer a separate jar), but is left here as an example of what could be done with other modules (although it might be worth discussing whether this is really the right way to test that the right support libs are present).

Throws:
Throwable