bb.util
Class Check.UnitTest

java.lang.Object
  extended by bb.util.Check.UnitTest
Enclosing class:
Check

public static class Check.UnitTest
extends Object

See the Overview page of the project's javadocs for a general description of this unit test class.


Field Summary
private  Check check
           
 
Constructor Summary
Check.UnitTest()
           
 
Method Summary
 void benchmark_edt()
          Results on 2009-05-07 (2.5 GHz Xeon E5420 desktop, jdk 1.6.0_11 server jvm): EventQueue.isDispatchThread: first = 95.801 ns, mean = 80.628 ns (CI deltas: -12.096 ps, +12.657 ps), sd = 201.052 ns (CI deltas: -28.766 ns, +34.778 ns) WARNING: execution times may have serial correlation, SD VALUES MAY BE INACCURATE
 void test_edt_fail()
           
 void test_edt_pass()
           
 void test_empty_fail()
           
 void test_empty_pass()
           
 void test_equals_fail_1()
           
 void test_equals_fail_10()
           
 void test_equals_fail_11()
           
 void test_equals_fail_12()
           
 void test_equals_fail_2()
           
 void test_equals_fail_3()
           
 void test_equals_fail_4()
           
 void test_equals_fail_5()
           
 void test_equals_fail_6()
           
 void test_equals_fail_7()
           
 void test_equals_fail_8()
           
 void test_equals_fail_9()
           
 void test_equals_pass()
           
 void test_hasSize_fail_1()
           
 void test_hasSize_fail_2()
           
 void test_hasSize_fail_3()
           
 void test_hasSize_fail_4()
           
 void test_hasSize_pass()
           
 void test_infinite_fail_double()
           
 void test_infinite_fail_float()
           
 void test_infinite_pass()
           
 void test_isFalse_fail()
           
 void test_isFalse_pass()
           
 void test_isNull_fail()
           
 void test_isNull_pass()
           
 void test_isTrue_fail()
           
 void test_isTrue_pass()
           
 void test_naN_fail_double()
           
 void test_naN_fail_float()
           
 void test_naN_pass()
           
 void test_negative_double_fail_1()
           
 void test_negative_double_fail_2()
           
 void test_negative_double_pass()
           
 void test_negative_int_fail()
           
 void test_negative_int_pass()
           
 void test_negative_long_fail()
           
 void test_negative_long_pass()
           
 void test_nonBlank_pass()
           
 void test_notBlank_fail_1()
           
 void test_notBlank_fail_2()
           
 void test_notBlank_fail_3()
           
 void test_notEmpty_fail_1()
           
 void test_notEmpty_fail_2()
           
 void test_notEmpty_fail_3()
           
 void test_notEmpty_fail_4()
           
 void test_notEmpty_pass()
           
 void test_notInfinite_fail_double1()
           
 void test_notInfinite_fail_double2()
           
 void test_notInfinite_fail_float1()
           
 void test_notInfinite_fail_float2()
           
 void test_notInfinite_pass()
           
 void test_notNaN_fail_double()
           
 void test_notNaN_fail_float()
           
 void test_notNaN_pass()
           
 void test_notNegative_double_fail_1()
           
 void test_notNegative_double_fail_2()
           
 void test_notNegative_double_pass()
           
 void test_notNegative_int_fail()
           
 void test_notNegative_int_pass()
           
 void test_notNegative_long_fail()
           
 void test_notNegative_long_pass()
           
 void test_notNull_fail()
           
 void test_notNull_pass()
           
 void test_notPositive_double_fail_1()
           
 void test_notPositive_double_fail_2()
           
 void test_notPositive_double_pass()
           
 void test_notPositive_int_fail()
           
 void test_notPositive_int_pass()
           
 void test_notPositive_long_fail()
           
 void test_notPositive_long_pass()
           
 void test_notZero_double_fail()
           
 void test_notZero_double_pass()
           
 void test_notZero_int_fail()
           
 void test_notZero_int_pass()
           
 void test_offsetAndLength_fail()
           
 void test_offsetAndLength_pass()
           
 void test_positive_double_fail_1()
           
 void test_positive_double_fail_2()
           
 void test_positive_double_pass()
           
 void test_positive_int_fail()
           
 void test_positive_int_pass()
           
 void test_positive_long_fail()
           
 void test_positive_long_pass()
           
 void test_unmodifiable_fail_1()
           
 void test_unmodifiable_fail_2()
           
 void test_unmodifiable_pass()
           
 void test_validDirectory_fail()
           
 void test_validDirectory_pass()
           
 void test_validFile_fail()
           
 void test_validFile_pass()
           
 void test_validPort_fail_1()
           
 void test_validPort_fail_2()
           
 void test_validPort_pass()
           
 void test_zero_double_fail_1()
           
 void test_zero_double_fail_2()
           
 void test_zero_double_pass()
           
 void test_zero_int_fail()
           
 void test_zero_int_pass()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

check

private final Check check
Constructor Detail

Check.UnitTest

public Check.UnitTest()
Method Detail

test_isTrue_pass

public void test_isTrue_pass()

test_isTrue_fail

public void test_isTrue_fail()
                      throws Throwable
Throws:
Throwable

test_isFalse_pass

public void test_isFalse_pass()

test_isFalse_fail

public void test_isFalse_fail()
                       throws Throwable
Throws:
Throwable

test_zero_int_pass

public void test_zero_int_pass()

test_zero_int_fail

public void test_zero_int_fail()
                        throws Throwable
Throws:
Throwable

test_zero_double_pass

public void test_zero_double_pass()

test_zero_double_fail_1

public void test_zero_double_fail_1()
                             throws Throwable
Throws:
Throwable

test_zero_double_fail_2

public void test_zero_double_fail_2()
                             throws Throwable
Throws:
Throwable

test_notZero_int_pass

public void test_notZero_int_pass()

test_notZero_int_fail

public void test_notZero_int_fail()
                           throws Throwable
Throws:
Throwable

test_notZero_double_pass

public void test_notZero_double_pass()

test_notZero_double_fail

public void test_notZero_double_fail()
                              throws Throwable
Throws:
Throwable

test_negative_int_pass

public void test_negative_int_pass()

test_negative_int_fail

public void test_negative_int_fail()
                            throws Throwable
Throws:
Throwable

test_negative_long_pass

public void test_negative_long_pass()

test_negative_long_fail

public void test_negative_long_fail()
                             throws Throwable
Throws:
Throwable

test_negative_double_pass

public void test_negative_double_pass()

test_negative_double_fail_1

public void test_negative_double_fail_1()
                                 throws Throwable
Throws:
Throwable

test_negative_double_fail_2

public void test_negative_double_fail_2()
                                 throws Throwable
Throws:
Throwable

test_notNegative_int_pass

public void test_notNegative_int_pass()

test_notNegative_int_fail

public void test_notNegative_int_fail()
                               throws Throwable
Throws:
Throwable

test_notNegative_long_pass

public void test_notNegative_long_pass()

test_notNegative_long_fail

public void test_notNegative_long_fail()
                                throws Throwable
Throws:
Throwable

test_notNegative_double_pass

public void test_notNegative_double_pass()

test_notNegative_double_fail_1

public void test_notNegative_double_fail_1()
                                    throws Throwable
Throws:
Throwable

test_notNegative_double_fail_2

public void test_notNegative_double_fail_2()
                                    throws Throwable
Throws:
Throwable

test_positive_int_pass

public void test_positive_int_pass()

test_positive_int_fail

public void test_positive_int_fail()
                            throws Throwable
Throws:
Throwable

test_positive_long_pass

public void test_positive_long_pass()

test_positive_long_fail

public void test_positive_long_fail()
                             throws Throwable
Throws:
Throwable

test_positive_double_pass

public void test_positive_double_pass()

test_positive_double_fail_1

public void test_positive_double_fail_1()
                                 throws Throwable
Throws:
Throwable

test_positive_double_fail_2

public void test_positive_double_fail_2()
                                 throws Throwable
Throws:
Throwable

test_notPositive_int_pass

public void test_notPositive_int_pass()

test_notPositive_int_fail

public void test_notPositive_int_fail()
                               throws Throwable
Throws:
Throwable

test_notPositive_long_pass

public void test_notPositive_long_pass()

test_notPositive_long_fail

public void test_notPositive_long_fail()
                                throws Throwable
Throws:
Throwable

test_notPositive_double_pass

public void test_notPositive_double_pass()

test_notPositive_double_fail_1

public void test_notPositive_double_fail_1()
                                    throws Throwable
Throws:
Throwable

test_notPositive_double_fail_2

public void test_notPositive_double_fail_2()
                                    throws Throwable
Throws:
Throwable

test_naN_pass

public void test_naN_pass()

test_naN_fail_float

public void test_naN_fail_float()
                         throws Throwable
Throws:
Throwable

test_naN_fail_double

public void test_naN_fail_double()
                          throws Throwable
Throws:
Throwable

test_notNaN_pass

public void test_notNaN_pass()

test_notNaN_fail_float

public void test_notNaN_fail_float()
                            throws Throwable
Throws:
Throwable

test_notNaN_fail_double

public void test_notNaN_fail_double()
                             throws Throwable
Throws:
Throwable

test_infinite_pass

public void test_infinite_pass()

test_infinite_fail_float

public void test_infinite_fail_float()
                              throws Throwable
Throws:
Throwable

test_infinite_fail_double

public void test_infinite_fail_double()
                               throws Throwable
Throws:
Throwable

test_notInfinite_pass

public void test_notInfinite_pass()

test_notInfinite_fail_float1

public void test_notInfinite_fail_float1()
                                  throws Throwable
Throws:
Throwable

test_notInfinite_fail_float2

public void test_notInfinite_fail_float2()
                                  throws Throwable
Throws:
Throwable

test_notInfinite_fail_double1

public void test_notInfinite_fail_double1()
                                   throws Throwable
Throws:
Throwable

test_notInfinite_fail_double2

public void test_notInfinite_fail_double2()
                                   throws Throwable
Throws:
Throwable

test_validPort_pass

public void test_validPort_pass()

test_validPort_fail_1

public void test_validPort_fail_1()
                           throws Throwable
Throws:
Throwable

test_validPort_fail_2

public void test_validPort_fail_2()
                           throws Throwable
Throws:
Throwable

test_isNull_pass

public void test_isNull_pass()

test_isNull_fail

public void test_isNull_fail()
                      throws Throwable
Throws:
Throwable

test_notNull_pass

public void test_notNull_pass()

test_notNull_fail

public void test_notNull_fail()
                       throws Throwable
Throws:
Throwable

test_empty_pass

public void test_empty_pass()

test_empty_fail

public void test_empty_fail()

test_notEmpty_pass

public void test_notEmpty_pass()

test_notEmpty_fail_1

public void test_notEmpty_fail_1()

test_notEmpty_fail_2

public void test_notEmpty_fail_2()

test_notEmpty_fail_3

public void test_notEmpty_fail_3()

test_notEmpty_fail_4

public void test_notEmpty_fail_4()

test_hasSize_pass

public void test_hasSize_pass()

test_hasSize_fail_1

public void test_hasSize_fail_1()

test_hasSize_fail_2

public void test_hasSize_fail_2()

test_hasSize_fail_3

public void test_hasSize_fail_3()

test_hasSize_fail_4

public void test_hasSize_fail_4()

test_unmodifiable_pass

public void test_unmodifiable_pass()

test_unmodifiable_fail_1

public void test_unmodifiable_fail_1()

test_unmodifiable_fail_2

public void test_unmodifiable_fail_2()

test_offsetAndLength_pass

public void test_offsetAndLength_pass()

test_offsetAndLength_fail

public void test_offsetAndLength_fail()
                               throws Throwable
Throws:
Throwable

test_validDirectory_pass

public void test_validDirectory_pass()

test_validDirectory_fail

public void test_validDirectory_fail()
                              throws Throwable
Throws:
Throwable

test_validFile_pass

public void test_validFile_pass()

test_validFile_fail

public void test_validFile_fail()
                         throws Throwable
Throws:
Throwable

test_nonBlank_pass

public void test_nonBlank_pass()

test_notBlank_fail_1

public void test_notBlank_fail_1()
                          throws Throwable
Throws:
Throwable

test_notBlank_fail_2

public void test_notBlank_fail_2()
                          throws Throwable
Throws:
Throwable

test_notBlank_fail_3

public void test_notBlank_fail_3()
                          throws Throwable
Throws:
Throwable

test_edt_pass

public void test_edt_pass()
                   throws Throwable
Throws:
Throwable

test_edt_fail

public void test_edt_fail()
                   throws Throwable
Throws:
Throwable

benchmark_edt

public void benchmark_edt()
                   throws Exception
Results on 2009-05-07 (2.5 GHz Xeon E5420 desktop, jdk 1.6.0_11 server jvm):

                        EventQueue.isDispatchThread: first = 95.801 ns, mean = 80.628 ns (CI deltas: -12.096 ps, +12.657 ps), sd = 201.052 ns (CI deltas: -28.766 ns, +34.778 ns) WARNING: execution times may have serial correlation, SD VALUES MAY BE INACCURATE
 

Throws:
Exception

test_equals_pass

public void test_equals_pass()

test_equals_fail_1

public void test_equals_fail_1()
                        throws Throwable
Throws:
Throwable

test_equals_fail_2

public void test_equals_fail_2()
                        throws Throwable
Throws:
Throwable

test_equals_fail_3

public void test_equals_fail_3()
                        throws Throwable
Throws:
Throwable

test_equals_fail_4

public void test_equals_fail_4()
                        throws Throwable
Throws:
Throwable

test_equals_fail_5

public void test_equals_fail_5()
                        throws Throwable
Throws:
Throwable

test_equals_fail_6

public void test_equals_fail_6()
                        throws Throwable
Throws:
Throwable

test_equals_fail_7

public void test_equals_fail_7()
                        throws Throwable
Throws:
Throwable

test_equals_fail_8

public void test_equals_fail_8()
                        throws Throwable
Throws:
Throwable

test_equals_fail_9

public void test_equals_fail_9()
                        throws Throwable
Throws:
Throwable

test_equals_fail_10

public void test_equals_fail_10()
                         throws Throwable
Throws:
Throwable

test_equals_fail_11

public void test_equals_fail_11()
                         throws Throwable
Throws:
Throwable

test_equals_fail_12

public void test_equals_fail_12()
                         throws Throwable
Throws:
Throwable