Class BasicResultOfObject<T>
java.lang.Object
org.tudalgo.algoutils.tutor.general.assertions.basic.BasicResult<ResultOfObject<T>,ActualObject<T>,TestOfObject<T>,ExpectedObject<T>>
org.tudalgo.algoutils.tutor.general.assertions.basic.BasicResultOfObject<T>
- Type Parameters:
T- the type of object under test
- All Implemented Interfaces:
Result<ResultOfObject<T>,,ActualObject<T>, TestOfObject<T>, ExpectedObject<T>> ResultOfObject<T>
public class BasicResultOfObject<T>
extends BasicResult<ResultOfObject<T>,ActualObject<T>,TestOfObject<T>,ExpectedObject<T>>
implements ResultOfObject<T>
A basic implementation of a result of an object test.
-
Nested Class Summary
Nested Classes -
Field Summary
Fields inherited from class org.tudalgo.algoutils.tutor.general.assertions.basic.BasicResult
actual, environment, exception, test -
Constructor Summary
ConstructorsConstructorDescriptionBasicResultOfObject(Environment environment, TestOfObject<T> test, ActualObject<T> actual, Exception exception, boolean successful) Constructs a new result of an object test with the given environment, test, actual object, exception and state if the test was successful. -
Method Summary
Methods inherited from class org.tudalgo.algoutils.tutor.general.assertions.basic.BasicResult
actual, cause, check, testMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.tudalgo.algoutils.tutor.general.assertions.Result
actual, cause, check, expected, successful, testMethods inherited from interface org.tudalgo.algoutils.tutor.general.assertions.ResultOfObject
object
-
Constructor Details
-
BasicResultOfObject
public BasicResultOfObject(Environment environment, TestOfObject<T> test, ActualObject<T> actual, Exception exception, boolean successful) Constructs a new result of an object test with the given environment, test, actual object, exception and state if the test was successful.
- Parameters:
environment- the environmenttest- the testactual- the actual objectexception- the exceptionsuccessful- the state if the test was successful
-