edu.rice.cs.drjava.project
Class ProjectTest
java.lang.Object
junit.framework.Assert
junit.framework.TestCase
edu.rice.cs.drjava.DrJavaTestCase
edu.rice.cs.drjava.project.ProjectTest
- All Implemented Interfaces:
- Test
public class ProjectTest
- extends DrJavaTestCase
Test class for project files
| 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 |
base
File base
parent
File parent
buildDir
File buildDir
srcDir
File srcDir
absp
private String absp
ProjectTest
public ProjectTest()
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.
tearDown
public void tearDown()
throws Exception
- Description copied from class:
DrJavaTestCase
- Clean up for every test case. Only used in unit tests. Added because Windows would intermittently throw
a java.util.concurrent.RejectedExecutionException during cleanup.
- Overrides:
tearDown in class DrJavaTestCase
- Throws:
Exception
testLegacyParseProject
public void testLegacyParseProject()
throws IOException,
MalformedProjectFileException,
ParseException
- Test to make sure all elements of the project are read correctly into the IR
- Throws:
IOException
MalformedProjectFileException
ParseException
testParseProject
public void testParseProject()
throws IOException,
MalformedProjectFileException,
ParseException
- Test to make sure all elements of the project are read correctly into the IR
- Throws:
IOException
MalformedProjectFileException
ParseException
testParseFile
public void testParseFile()
throws SExpParseException
- Throws:
SExpParseException
testWriteFile
public void testWriteFile()
throws IOException,
MalformedProjectFileException
- Throws:
IOException
MalformedProjectFileException
testLegacyParseProjectPJT
public void testLegacyParseProjectPJT()
throws IOException,
MalformedProjectFileException,
ParseException
- Test to make sure all elements of the project are read correctly into the IR
- Throws:
IOException
MalformedProjectFileException
ParseException
testParseProjectPJT
public void testParseProjectPJT()
throws IOException,
MalformedProjectFileException,
ParseException
- Test to make sure all elements of the project are read correctly into the IR
- Throws:
IOException
MalformedProjectFileException
ParseException
testWriteFilePJT
public void testWriteFilePJT()
throws IOException,
MalformedProjectFileException
- Throws:
IOException
MalformedProjectFileException
testWriteFileXML
public void testWriteFileXML()
throws IOException,
MalformedProjectFileException
- Throws:
IOException
MalformedProjectFileException
makeGetter
private DocumentInfoGetter makeGetter(int sel1,
int sel2,
int scrollv,
int scrollh,
String fname,
String pack,
boolean active,
boolean isUntitled,
File pf)