Package org.djutils.test
package org.djutils.test
Utilities such as UnitTest to help with exceptions. UnitTest.testFail(...) can reduce many lines of code with try...catch
statements to single lines of code.
Copyright (c) 2025-2025 Delft University of Technology, Jaffalaan 5, 2628 BX Delft, the Netherlands. All rights reserved. See for project information https://djutils.org. The DJUTILS project is distributed under a three-clause BSD-style license, which can be found at https://djutils.org/docs/license.html.
-
ClassDescriptionClassList contains two helper methods that check whether all classes in a package implement a given interface or method.ExceptionTest has a generic test method for testing an exception with four constructors.UnitTest has the methods to do a testFail(..) method for a unit test.Functional interface for calls to Try.assign(...).Functional interface for calls to Try.execute(...).