gov.sns.xal.model.xml
Class TrajectoryXmlTest

java.lang.Object
  |
  +--junit.framework.Assert
        |
        +--junit.framework.TestCase
              |
              +--gov.sns.xal.model.xml.TrajectoryXmlTest
All Implemented Interfaces:
junit.framework.Test

public class TrajectoryXmlTest
extends junit.framework.TestCase

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

TrajectoryXmlTest

public TrajectoryXmlTest()
Method Detail

main

public static void main(java.lang.String[] args)

suite

public static junit.framework.Test suite()

testDiagnosticProbeTrajectory

public void testDiagnosticProbeTrajectory()

testParticleProbeTrajectory

public void testParticleProbeTrajectory()

testEnvelopeProbeTrajectory

public void testEnvelopeProbeTrajectory()

testEnsembleProbeTrajectory

public void testEnsembleProbeTrajectory()

testParticlePerturbProbeTrajectory

public void testParticlePerturbProbeTrajectory()