A J M N P S T V
A
- addEvent(String) -
Static method in class jtest.JT
- Adds an event with the string
message
to the
"Test Case Input".
The only purpose for it is to be able to see when certain events
happened while the test case was executing.
- addEvent(String) -
Static method in class jtest.TestClass
- Adds an event with the string
message
to the
"Test Case Input".
The only purpose for it is to be able to see when certain events
happened while the test case was executing.
- assert(boolean) -
Static method in class jtest.JT
- Asserts that
condition
is true
.
If the condition is false then a "Specification Error" will be reported by Jtest.
- assert(boolean) -
Static method in class jtest.TestClass
- Asserts that
condition
is true
.
- assert(boolean, String) -
Static method in class jtest.JT
- Asserts that
condition
is true
.
If the condition is false then a "Specification Error" will be reported by Jtest.
- assert(boolean, String) -
Static method in class jtest.TestClass
- Asserts that
condition
is true
.
- assert(String, boolean) -
Static method in class jtest.JT
- Asserts that
condition
is true
.
If the condition is false then a "Specification Error" will be reported by Jtest.
- assert(String, boolean) -
Static method in class jtest.TestClass
- Asserts that
condition
is true
.
J
- JT - class jtest.JT.
- General utility class to be used in Jtest test specifications.
M
- makeStubObject(Class) -
Static method in class jtest.JT
- Creates a stub object for the class
cl
.
- makeStubObject(Class) -
Static method in class jtest.TestClass
- Creates a stub object for the class
cl
.
- makeStubObject(Class) -
Static method in class jtest.Stubs
- Creates a stub object for the class
cl
.
N
- NO_STUB_GENERATED -
Static variable in class jtest.TestClass
-
- NO_STUB_GENERATED -
Static variable in class jtest.Stubs
- Object used to specify that a
stubs()
method doesn't
generate a stub.
P
- println(String) -
Static method in class jtest.JT
- Equivalent to
System.out.println (text)
.
It will always print the text
to standard out, even
when running automatic test cases.
S
- Stubs - class jtest.Stubs.
- Base class for all Stubs Classes.
User Defined Stubs are specified by writing special Java classes called
"Stubs Classes". - stubs(Method, Object, Object[], Method, boolean) -
Static method in class jtest.TestClass
- Stubs generator method.
The implementator of this class should write a stubs
method
with this signature.
Whenever a method external to the class is invoked in the class under
test, Jtest will call this stubs()
method.
- stubs(Method, Object, Object[], Method, boolean) -
Static method in class jtest.Stubs
- Stubs generator method.
The implementator of this class should write a stubs
method
with this signature.
Whenever a method external to the class is invoked in the class under
test, Jtest will call this stubs()
method.
T
- TestClass - class jtest.TestClass.
- Base class for all Test Classes.
The test cases are specified by writing a method for each test case.
V
- VOID -
Static variable in class jtest.TestClass
- Object used to specify that a
stubs()
method returns a
void
type.
- VOID -
Static variable in class jtest.Stubs
- Object used to specify that a
stubs()
method returns a
void
type.
A J M N P S T V