|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjunit.framework.Assert
junit.framework.TestCase
net.sf.mpxj.junit.MPXJTestCase
net.sf.mpxj.junit.BasicTest
public class BasicTest
This class contains a small set of tests to exercise the MPXJ library.
| Field Summary |
|---|
| Fields inherited from class net.sf.mpxj.junit.MPXJTestCase |
|---|
m_basedir, m_ikvm |
| Constructor Summary | |
|---|---|
BasicTest()
|
|
| Method Summary | |
|---|---|
void |
testAutomaticGeneration()
This test exercises the automatic generation of WBS and outline levels. |
void |
testBug1()
Read an MPP file that caused problems. |
void |
testBug2()
Read an MPP file that caused problems. |
void |
testBug3()
Read an MPP file where the structure was not being correctly set up to reflect the outline level. |
void |
testBug4()
Read an MPP8 file with a non-standard task fixed data block size. |
void |
testCalendars()
Tests to exercise calendar functionality. |
void |
testConversion1()
Exercise the MPP8 import code. |
void |
testConversion2()
Exercise the MPP9 import code. |
void |
testConversion3()
Exercise the XML import code. |
void |
testConversion4()
This method tests two stages of conversion, MPP->MPX->MSPDI. |
void |
testEmbeddedLineBreaks()
Write a file with embedded line break (\r and \n) characters in various text fields. |
void |
testMPP8Flags1()
Ensure that we are reading MPP8 flags correctly. |
void |
testMPP8Flags2()
This test reads flags from an MPP8 file where each set of 20 tasks has a single flag from 1-20 set. |
void |
testMPP9Aliases()
Exercise field alias code for MPP9 files. |
void |
testMPP9Flags1()
Ensure that we are reading MPP9 flags correctly. |
void |
testMPP9Flags2()
This test reads flags from an MPP9 file where each set of 20 tasks has a single flag from 1-20 set. |
void |
testMSPDIAliases()
Exercise field alias code for MSPDI files. |
void |
testMspdiExtendedAttributes()
This test ensures that the task and resource extended attributes are read and written correctly for MSPDI files. |
void |
testPasswordProtection()
Exercise the code which handles password protected files. |
void |
testPriority()
Test read and write of priority information. |
void |
testProjectCalendarExceptions()
Basic rewrite test to exercise the MPX calendar exception read/write code. |
void |
testProjectHeader()
This ensures that values in the project header are read and written as expected. |
void |
testRelationList()
Simple test to exercise iterating through the task predecessors. |
void |
testRemoval()
Test to exercise task, resource, and assignment removal code. |
void |
testResourceNotes()
This method exercises resource notes, ensuring that embedded commas and quotes are handled correctly. |
void |
testRewrite1()
This method performs a simple data driven test to read then write the contents of a single MPX file. |
void |
testRewrite2()
This method performs a simple data driven test to read then write the contents of a single MPX file. |
void |
testRewrite3()
This method performs a simple data driven test to read then write the contents of a single MPX file. |
void |
testRewrite4()
Test to ensure that files without tasks or resources generate correct MPX files. |
void |
testRewrite5()
Exercise PlannerWriter. |
void |
testStructure()
Test to ensure that the basic task hierarchy is represented correctly. |
void |
testTables()
Test retrieval of table information. |
void |
testTaskCalendars()
Test use of task calendars. |
void |
testTaskNotes()
This method exercises task notes, ensuring that embedded commas and quotes are handled correctly. |
void |
testViews()
Test retrieval of view information. |
void |
testWBS()
Test retrieval of WBS information. |
| Methods inherited from class net.sf.mpxj.junit.MPXJTestCase |
|---|
assertEquals |
| Methods inherited from class junit.framework.TestCase |
|---|
countTestCases, createResult, getName, run, run, runBare, runTest, setName, setUp, tearDown, 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 |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public BasicTest()
| Method Detail |
|---|
public void testRewrite1()
throws Exception
Exception
public void testRewrite2()
throws Exception
Exception
public void testRewrite3()
throws Exception
Exception
public void testRewrite4()
throws Exception
Exception
public void testRewrite5()
throws Exception
Exception
public void testAutomaticGeneration()
throws Exception
Exception
public void testStructure()
throws Exception
Exception
public void testConversion1()
throws Exception
Exception
public void testConversion2()
throws Exception
Exception
public void testConversion3()
throws Exception
Exception
public void testConversion4()
throws Exception
Exception
public void testRelationList()
throws Exception
Exception
public void testTaskNotes()
throws Exception
Exception
public void testResourceNotes()
throws Exception
Exception
public void testBug1()
throws Exception
Exception
public void testBug2()
throws Exception
Exception
public void testBug3()
throws Exception
Exception
public void testBug4()
throws Exception
Exception
public void testMPP8Flags1()
throws Exception
Exception
public void testMPP8Flags2()
throws Exception
Exception
public void testMPP9Flags1()
throws Exception
Exception
public void testMPP9Flags2()
throws Exception
Exception
public void testViews()
throws Exception
Exception
public void testTables()
throws Exception
Exception
public void testTaskCalendars()
throws Exception
Exception
public void testMSPDIAliases()
throws Exception
Exception
public void testMPP9Aliases()
throws Exception
Exception
public void testEmbeddedLineBreaks()
throws Exception
Exception
public void testPasswordProtection()
throws Exception
Exception
public void testMspdiExtendedAttributes()
throws Exception
Exception
public void testProjectHeader()
throws Exception
Exception
public void testWBS()
throws Exception
Exception
public void testPriority()
throws Exception
Exception
public void testCalendars()
throws Exception
Exception
public void testRemoval()
throws Exception
Exception
public void testProjectCalendarExceptions()
throws Exception
Exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||