All Packages  Class Hierarchy  This Package  Previous  Next  Index
  Class com.markcrocker.thoughtworks.TestMyDate
java.lang.Object
   |
   +----com.markcrocker.thoughtworks.TestMyDate
  -  public class TestMyDate
  
-  extends Object
  
  
  -  
	debugLevel
   -  
 
  
  -  
	TestMyDate()
   -  
 
  
  -  
	main(String[])
   -  
  
 -  
	syntaxMessage()
   -  syntaxMessage.
  
 -  
	testDateExceptions()
   -  testDateExceptions.
  
 -  
	testStandardDates()
   -  testStandardDates.
 
  
debugLevel
 private int debugLevel
  
TestMyDate
 public TestMyDate()
  
testStandardDates
 static boolean testStandardDates()
  -  testStandardDates.  Basic tests of MyDate class using several known dates,
 comparing the number of days between and verifying the answers.
  
    -  Returns:
    
 -  testPassed.  True if all tests were passed, false otherwise.
  
 
 
 
testDateExceptions
 static void testDateExceptions()
  -  testDateExceptions.  Tests of MyDate class exceptions.  Checks
 to make sure that known bad dates are caught by the constructor 
 checking algorithms.  Does not verify results... yet.
 
syntaxMessage
 private static void syntaxMessage()
  -  syntaxMessage.  Prints out syntax/help message.
 
main
 public static void main(String args[]) throws BadDateException
All Packages  Class Hierarchy  This Package  Previous  Next  Index