Module JNISpice

Class Testutils


  • public class Testutils
    extends java.lang.Object
    Class Testutils provides test utilities implemented in pure Java. These utilities have functionality distinct from that provided by methods of class JNITestutils.

    Version 1.0.0 23-SEP-2009 (NJB)

    • Constructor Summary

      Constructors 
      Constructor Description
      Testutils()  
    • Method Summary

      Modifier and Type Method Description
      static void dogDidNotBark​(java.lang.String shortMsg)
      Method dogDidNotBark handles the situation where a test case tried to cause a specific SpiceErrorException to be thrown, but failed.
      • Methods inherited from class java.lang.Object

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

      • Testutils

        public Testutils()
    • Method Detail

      • dogDidNotBark

        public static void dogDidNotBark​(java.lang.String shortMsg)
                                  throws SpiceException
        Method dogDidNotBark handles the situation where a test case tried to cause a specific SpiceErrorException to be thrown, but failed.

        The caller passes in the short error message associated with the SPICE error.

        Parameters:
        shortMsg -
        Throws:
        SpiceException