public class BasicTest extends Object
| Constructor and Description |
|---|
BasicTest() |
| Modifier and Type | Method and Description |
|---|---|
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 to MPX to 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 |
testProjectProperties()
This ensures that values in the project properties 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.
|
public void testRewrite1()
throws Exception
Exceptionpublic void testRewrite2()
throws Exception
Exceptionpublic void testRewrite3()
throws Exception
Exceptionpublic void testRewrite4()
throws Exception
Exceptionpublic void testAutomaticGeneration()
public void testStructure()
public void testConversion1()
throws Exception
Exceptionpublic void testConversion2()
throws Exception
Exceptionpublic void testConversion3()
throws Exception
Exceptionpublic void testConversion4()
throws Exception
Exceptionpublic void testRelationList()
throws Exception
Exceptionpublic void testTaskNotes()
throws Exception
Exceptionpublic void testResourceNotes()
throws Exception
Exceptionpublic void testBug1()
throws Exception
Exceptionpublic void testBug2()
throws Exception
Exceptionpublic void testBug3()
throws Exception
Exceptionpublic void testBug4()
throws Exception
Exceptionpublic void testMPP8Flags1()
throws Exception
Exceptionpublic void testMPP8Flags2()
throws Exception
Exceptionpublic void testMPP9Flags1()
throws Exception
Exceptionpublic void testMPP9Flags2()
throws Exception
Exceptionpublic void testViews()
throws Exception
Exceptionpublic void testTables()
throws Exception
Exceptionpublic void testTaskCalendars()
throws Exception
Exceptionpublic void testMSPDIAliases()
throws Exception
Exceptionpublic void testMPP9Aliases()
throws Exception
Exceptionpublic void testEmbeddedLineBreaks()
throws Exception
Exceptionpublic void testPasswordProtection()
throws Exception
Exceptionpublic void testMspdiExtendedAttributes()
throws Exception
Exceptionpublic void testProjectProperties()
throws Exception
Exceptionpublic void testPriority()
throws Exception
Exceptionpublic void testCalendars()
throws Exception
Exceptionpublic void testRemoval()
throws Exception
ExceptionCopyright © 2000–2025 MPXJ. All rights reserved.