edu.utah.janos.tests
Class Tester
java.lang.Object
|
+--edu.utah.janos.tests.Tester
- Direct Known Subclasses:
- AddressFactoryTester, AddressTester, BufferHandleTester, ClassInstantiationKeyTester, CommQueueTester, CommSpaceElementTester, CommSpaceHandleTester, CredentialsTester, DemultiplexKeyTester, FlowClassLoaderTester, InChannelTester, NodeOSTester, OutChannelTester, SemaphoreTester, ThreadPoolTester
- public abstract class Tester
- extends java.lang.Object
The Tester class is used as a base for a class which does testing.
Method Summary |
java.lang.String |
getSection()
Get description of the current section |
static void |
testClass(java.lang.Class cl)
Test the given class object |
static void |
testClass(java.lang.String name)
Overloaded method |
abstract void |
testUnit()
Run the actual tests |
Methods inherited from class java.lang.Object |
equals,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
ENV_NONE
public static final int ENV_NONE
- Flags that are used to encode the build environment
ENV_DEBUG
public static final int ENV_DEBUG
ENV_NDEBUG
public static final int ENV_NDEBUG
ENV_EXPOSED
public static final int ENV_EXPOSED
ENV_NAMES
public static final java.lang.String[] ENV_NAMES
- String names for the environment identifiers
Tester
public Tester()
getSection
public java.lang.String getSection()
- Get description of the current section
testUnit
public abstract void testUnit()
throws TestFailedException
- Run the actual tests
testClass
public static void testClass(java.lang.Class cl)
- Test the given class object
- Parameters:
cl
- A subclass of Tester that implements testUnit
testClass
public static void testClass(java.lang.String name)
- Overloaded method
- Parameters:
name
- The name of the class to be tested
This documentation is Copyright (C) 1998-2001 The University of Utah. All Rights Reserved. See the file LICENSE for distribution terms.
Documentation, software, and mailing list archives for Janos can be found at the Janos Project: http://www.cs.utah.edu/flux/janos/