Index

A C E M O P T U 
All Classes and Interfaces|All Packages

A

assign() - Method in interface org.djutils.test.UnitTest.Assignment
Returns a value which is obtained from the context in which the Assignment was created.

C

classesWithoutInterface(Class<?>, String...) - Static method in class org.djutils.test.ClassList
Return a list with the class names that do not implement the given interface.
classesWithoutMethod(String, String...) - Static method in class org.djutils.test.ClassList
Return a list with the class names without an explicitly declared method.
ClassList - Class in org.djutils.test
ClassList contains two helper methods that check whether all classes in a package implement a given interface or method.

E

ExceptionTest - Class in org.djutils.test
ExceptionTest has a generic test method for testing an exception with four constructors.
execute() - Method in interface org.djutils.test.UnitTest.Execution
Executes some code using the context in which the Execution was created.

M

main(String...) - Static method in class org.djutils.test.ClassList
Walk the path names and make two lists: one of the classes that do not implement toString() and one of the classes that do not implement the interface Serializable.

O

org.djutils.test - package org.djutils.test
Utilities such as UnitTest to help with exceptions.

P

printClassesWithoutInterface(Class<?>, String...) - Static method in class org.djutils.test.ClassList
Prints a list with the class names that do not implement the given interface.
printClassesWithoutMethod(String, String...) - Static method in class org.djutils.test.ClassList
Prints a list with the class names without an explicitly declared method.

T

testExceptionClass(Class<? extends Exception>) - Static method in class org.djutils.test.ExceptionTest
Test exception class on constructors: empty, only message, only Throwable, message and Throwable.
testFail(UnitTest.Assignment<V>) - Static method in class org.djutils.test.UnitTest
Method for unit tests to test if an expected exception is thrown on an assignment.
testFail(UnitTest.Assignment<V>, Class<T>) - Static method in class org.djutils.test.UnitTest
Method for unit tests to test if an expected exception is thrown on an assignment.
testFail(UnitTest.Assignment<V>, String) - Static method in class org.djutils.test.UnitTest
Method for unit tests to test if an expected exception is thrown on an assignment.
testFail(UnitTest.Assignment<V>, String, Class<T>) - Static method in class org.djutils.test.UnitTest
Method for unit tests to test if an expected exception is thrown on an assignment.
testFail(UnitTest.Execution) - Static method in class org.djutils.test.UnitTest
Method for unit tests to test if an expected exception is thrown on code execution.
testFail(UnitTest.Execution, Class<T>) - Static method in class org.djutils.test.UnitTest
Method for unit tests to test if an expected exception is thrown on code execution.
testFail(UnitTest.Execution, String) - Static method in class org.djutils.test.UnitTest
Method for unit tests to test if an expected exception is thrown on code execution.
testFail(UnitTest.Execution, String, Class<T>) - Static method in class org.djutils.test.UnitTest
Method for unit tests to test if an expected exception is thrown on code execution.

U

UnitTest - Class in org.djutils.test
UnitTest has the methods to do a testFail(..) method for a unit test.
UnitTest.Assignment<V> - Interface in org.djutils.test
Functional interface for calls to Try.assign(...).
UnitTest.Execution - Interface in org.djutils.test
Functional interface for calls to Try.execute(...).
A C E M O P T U 
All Classes and Interfaces|All Packages