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.
|
@Test
public void testRewrite1()
throws Exception
Exception@Test
public void testRewrite2()
throws Exception
Exception@Test
public void testRewrite3()
throws Exception
Exception@Test
public void testRewrite4()
throws Exception
Exception@Test
public void testRewrite5()
throws Exception
Exception@Test public void testAutomaticGeneration()
@Test public void testStructure()
@Test
public void testConversion1()
throws Exception
Exception@Test
public void testConversion2()
throws Exception
Exception@Test
public void testConversion3()
throws Exception
Exception@Test
public void testConversion4()
throws Exception
Exception@Test
public void testRelationList()
throws Exception
Exception@Test
public void testTaskNotes()
throws Exception
Exception@Test
public void testResourceNotes()
throws Exception
Exception@Test
public void testBug1()
throws Exception
Exception@Test
public void testBug2()
throws Exception
Exception@Test
public void testBug3()
throws Exception
Exception@Test
public void testBug4()
throws Exception
Exception@Test
public void testMPP8Flags1()
throws Exception
Exception@Test
public void testMPP8Flags2()
throws Exception
Exception@Test
public void testMPP9Flags1()
throws Exception
Exception@Test
public void testMPP9Flags2()
throws Exception
Exception@Test
public void testViews()
throws Exception
Exception@Test
public void testTables()
throws Exception
Exception@Test
public void testTaskCalendars()
throws Exception
Exception@Test
public void testMSPDIAliases()
throws Exception
Exception@Test
public void testMPP9Aliases()
throws Exception
Exception@Test
public void testEmbeddedLineBreaks()
throws Exception
Exception@Test
public void testPasswordProtection()
throws Exception
Exception@Test
public void testMspdiExtendedAttributes()
throws Exception
Exception@Test
public void testProjectProperties()
throws Exception
Exception@Test
public void testWBS()
throws Exception
Exception@Test
public void testPriority()
throws Exception
Exception@Test
public void testCalendars()
throws Exception
Exception@Test
public void testRemoval()
throws Exception
ExceptionCopyright © 2000–2025 MPXJ. All rights reserved.