Module JNISpice
Package spice.tspice

Class TestStateRecord


  • public class TestStateRecord
    extends java.lang.Object
    Class TestStateRecord provides methods that implement test families for the class StateRecord.

    Much of the testing of StateRecord is done in the class TestSPK. For example, that test family writes SPK files and then recovers the data using StateRecord constructor calls. These checks ensure that accurate states are returned.

    This test family checks other aspects of the StateRecord API.

    Version 2.0.0 25-JAN-2017 (NJB)

    Added tests for SPK constant position and constant velocity constructors. These are analogs of SPKCPO, SPKCVO, SPKCPT, and SPKCVT.

    Moved clean-up code to "finally" block.

    Version 1.0.0 30-DEC-2009 (NJB)

    • Field Summary

      Fields 
      Modifier and Type Field Description
      private static java.lang.String NATPCK  
      private static java.lang.String NATSPK  
      private static java.lang.String PCK  
      private static java.lang.String SPK  
    • Constructor Summary

      Constructors 
      Constructor Description
      TestStateRecord()  
    • Method Summary

      Modifier and Type Method Description
      static boolean f_StateRecord()
      Test StateRecord and associated classes.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • NATSPK

        private static java.lang.String NATSPK
      • NATPCK

        private static java.lang.String NATPCK
      • PCK

        private static java.lang.String PCK
      • SPK

        private static java.lang.String SPK
    • Constructor Detail

      • TestStateRecord

        public TestStateRecord()
    • Method Detail

      • f_StateRecord

        public static boolean f_StateRecord()
                                     throws SpiceException
        Test StateRecord and associated classes.
        Returns:
        Throws:
        SpiceException