org.placelab.test
Class ExampleTest

java.lang.Object
  extended byorg.placelab.test.ExampleTest
All Implemented Interfaces:
Testable, TestableBase

public class ExampleTest
extends java.lang.Object
implements Testable

This is how to do a test of a specific class. This is a simple test to show off how to use the testing infrastructure.


Constructor Summary
ExampleTest()
           
 
Method Summary
 java.lang.String getName()
           
 void runTests(TestResult testResult)
           
 void testException(TestResult testResult)
           
 void testFailure(TestResult testResult)
           
 void testPass(TestResult testResult)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExampleTest

public ExampleTest()
Method Detail

getName

public java.lang.String getName()
Specified by:
getName in interface TestableBase

runTests

public void runTests(TestResult testResult)
Specified by:
runTests in interface Testable

testFailure

public void testFailure(TestResult testResult)

testException

public void testException(TestResult testResult)

testPass

public void testPass(TestResult testResult)