|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--junit.framework.Assert
|
+--junit.framework.TestCase
|
+--gov.sns.xal.model.xml.TrajectoryXmlTest
Test cases for writing and reading xml from probe trajectory objects. This class assumes that it is being run from within the work directory, that is the directory containing the xml directory. Creates and initializes each type of probe, runs it through the test lattice, captures the resulting trajectory, writes it to an xml file, parses the xml file to create a new trajectory, and compares the original and parsed trajectories (only at a high level - doesn't actually compare states).
| Constructor Summary | |
TrajectoryXmlTest()
|
|
| Method Summary | |
static void |
main(java.lang.String[] args)
|
static junit.framework.Test |
suite()
|
void |
testDiagnosticProbeTrajectory()
|
void |
testEnsembleProbeTrajectory()
|
void |
testEnvelopeProbeTrajectory()
|
void |
testParticlePerturbProbeTrajectory()
|
void |
testParticleProbeTrajectory()
|
| 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 TrajectoryXmlTest()
| Method Detail |
public static void main(java.lang.String[] args)
public static junit.framework.Test suite()
public void testDiagnosticProbeTrajectory()
public void testParticleProbeTrajectory()
public void testEnvelopeProbeTrajectory()
public void testEnsembleProbeTrajectory()
public void testParticlePerturbProbeTrajectory()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||