Class FlexiTest

    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected java.util.Random rand
      Source of randomness
      protected java.security.SecureRandom sr
      Secure source of randomness
    • Constructor Summary

      Constructors 
      Constructor Description
      FlexiTest()  
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected static void assertEquals​(byte[] expected, byte[] actual)  
      protected static void assertEquals​(int[] expected, int[] actual)  
      protected static void assertEquals​(java.lang.String message, byte[] expected, byte[] actual)  
      protected static void assertEquals​(java.lang.String message, int[] expected, int[] actual)  
      protected static void fail​(java.lang.Exception e)
      Method used to report test failure when in exception is thrown.
      protected void setUp()  
      • Methods inherited from class junit.framework.TestCase

        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, countTestCases, createResult, fail, fail, failNotEquals, failNotSame, failSame, format, getName, run, run, runBare, runTest, setName, tearDown, toString
      • Methods inherited from class java.lang.Object

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

      • rand

        protected java.util.Random rand
        Source of randomness
      • sr

        protected java.security.SecureRandom sr
        Secure source of randomness
    • Constructor Detail

      • FlexiTest

        public FlexiTest()
    • Method Detail

      • setUp

        protected void setUp()
        Overrides:
        setUp in class junit.framework.TestCase
      • assertEquals

        protected static final void assertEquals​(byte[] expected,
                                                 byte[] actual)
      • assertEquals

        protected static final void assertEquals​(java.lang.String message,
                                                 byte[] expected,
                                                 byte[] actual)
      • assertEquals

        protected static final void assertEquals​(int[] expected,
                                                 int[] actual)
      • assertEquals

        protected static final void assertEquals​(java.lang.String message,
                                                 int[] expected,
                                                 int[] actual)
      • fail

        protected static final void fail​(java.lang.Exception e)
        Method used to report test failure when in exception is thrown.
        Parameters:
        e - the exception