A B C D E F G H I J K L M N O P R S T U V W Y
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- a() - Method in class de.tobiasroeser.lambdatest.proxy.Tuple2
- adapt() - Method in class de.tobiasroeser.lambdatest.Optional
- addAssertionError(AssertionError) - Method in class de.tobiasroeser.lambdatest.ExpectContext
- AnsiColor - Class in de.tobiasroeser.lambdatest.internal
-
Helper class to format ANSI colors in console output.
- AnsiColor() - Constructor for class de.tobiasroeser.lambdatest.internal.AnsiColor
- AnsiColor.Color - Enum in de.tobiasroeser.lambdatest.internal
- apply() - Method in interface de.tobiasroeser.lambdatest.F0
- apply() - Method in interface de.tobiasroeser.lambdatest.generic.FreeSpecBase.F0WithException
- apply(I) - Method in class de.tobiasroeser.lambdatest.F1.Identity
- apply(P) - Method in interface de.tobiasroeser.lambdatest.F1
- apply(P) - Method in interface de.tobiasroeser.lambdatest.FunctionWithException
- apply(P) - Method in interface de.tobiasroeser.lambdatest.internal.Procedure1
- apply(P) - Method in class de.tobiasroeser.lambdatest.internal.Procedure1.NoOp
- apply(P) - Method in interface de.tobiasroeser.lambdatest.ProcedureWithException
- Assert - Class in de.tobiasroeser.lambdatest
-
Holds various assert-methods.
- Assert() - Constructor for class de.tobiasroeser.lambdatest.Assert
- assertEquals(Object, Object) - Static method in class de.tobiasroeser.lambdatest.Assert
- assertEquals(Object, Object, String) - Static method in class de.tobiasroeser.lambdatest.Assert
- assertFalse(boolean) - Static method in class de.tobiasroeser.lambdatest.Assert
- assertFalse(boolean, String) - Static method in class de.tobiasroeser.lambdatest.Assert
- assertNotEquals(Object, Object) - Static method in class de.tobiasroeser.lambdatest.Assert
- assertNotEquals(Object, Object, String) - Static method in class de.tobiasroeser.lambdatest.Assert
- assertNotNull(Object) - Static method in class de.tobiasroeser.lambdatest.Assert
-
Assert that the given actual value is not null.
- assertNotNull(Object, String) - Static method in class de.tobiasroeser.lambdatest.Assert
-
Assert that the given actual value is not null.
- assertNull(Object) - Static method in class de.tobiasroeser.lambdatest.Assert
-
Assert that the given actual value is null.
- assertNull(Object, String) - Static method in class de.tobiasroeser.lambdatest.Assert
-
Assert that the given actual value is null.
- assertTrue(boolean) - Static method in class de.tobiasroeser.lambdatest.Assert
- assertTrue(boolean, String) - Static method in class de.tobiasroeser.lambdatest.Assert
B
- b() - Method in class de.tobiasroeser.lambdatest.proxy.Tuple2
- BLACK - de.tobiasroeser.lambdatest.internal.AnsiColor.Color
- BLUE - de.tobiasroeser.lambdatest.internal.AnsiColor.Color
C
- canEqual(Object) - Method in class de.tobiasroeser.lambdatest.proxy.Tuple2
- clear() - Static method in class de.tobiasroeser.lambdatest.ExpectContext
- code - Variable in enum de.tobiasroeser.lambdatest.internal.AnsiColor.Color
- concat(Iterable<A>, Iterable<B>) - Static method in class de.tobiasroeser.lambdatest.internal.Util
- contains(String) - Method in class de.tobiasroeser.lambdatest.ExpectString
- contains(K, V) - Method in class de.tobiasroeser.lambdatest.ExpectMap
-
Checks, if the map contains an entry with the given `key` and `value`.
- contains(T) - Method in class de.tobiasroeser.lambdatest.ExpectCollection
-
Checks, that the collection contains the given element.
- containsIdentical(T) - Method in class de.tobiasroeser.lambdatest.ExpectCollection
-
Same as
ExpectCollection.contains(Object)
, but not usingObject.equals(Object)
to compare the contained elements but the `==` operation. - containsIgnoreCase(String) - Method in class de.tobiasroeser.lambdatest.ExpectString
- containsIgnoreCaseNot(String) - Method in class de.tobiasroeser.lambdatest.ExpectString
- containsKey(K) - Method in class de.tobiasroeser.lambdatest.ExpectMap
-
Checks, that the map contains an entry for the given key.
- containsNot(String) - Method in class de.tobiasroeser.lambdatest.ExpectString
- containsNot(T) - Method in class de.tobiasroeser.lambdatest.ExpectCollection
-
Checks, that the collection does not contain the given element.
- containsNotIdentical(T) - Method in class de.tobiasroeser.lambdatest.ExpectCollection
-
Same as
ExpectCollection.containsNot(Object)
, but not usingObject.equals(Object)
to compare the contained elements but the `==` operation. - containsNotKey(K) - Method in class de.tobiasroeser.lambdatest.ExpectMap
-
Checks, that the map does not contain an entry for the given key.
- CYAN - de.tobiasroeser.lambdatest.internal.AnsiColor.Color
D
- de.tobiasroeser.lambdatest - package de.tobiasroeser.lambdatest
- de.tobiasroeser.lambdatest.generic - package de.tobiasroeser.lambdatest.generic
- de.tobiasroeser.lambdatest.internal - package de.tobiasroeser.lambdatest.internal
- de.tobiasroeser.lambdatest.junit - package de.tobiasroeser.lambdatest.junit
- de.tobiasroeser.lambdatest.junit5 - package de.tobiasroeser.lambdatest.junit5
- de.tobiasroeser.lambdatest.proxy - package de.tobiasroeser.lambdatest.proxy
- de.tobiasroeser.lambdatest.testng - package de.tobiasroeser.lambdatest.testng
- debug(String, Object...) - Method in interface de.tobiasroeser.lambdatest.internal.Logger
- debug(String, Object...) - Method in class de.tobiasroeser.lambdatest.internal.LoggerFactory.DummyLogger
- debug(String, Object...) - Method in class de.tobiasroeser.lambdatest.internal.LoggerFactory.JavaUtilLogger
- debug(String, Object...) - Method in class de.tobiasroeser.lambdatest.internal.LoggerFactory.Slf4jLogger
- decapitalize(String) - Static method in class de.tobiasroeser.lambdatest.internal.Util
- DefaultReporter - Class in de.tobiasroeser.lambdatest.generic
-
The default reporter outputs to a PrintStream.
- DefaultReporter() - Constructor for class de.tobiasroeser.lambdatest.generic.DefaultReporter
-
Creates a reporter with output to STDOUT and full stacktraces.
- DefaultReporter(PrintStream) - Constructor for class de.tobiasroeser.lambdatest.generic.DefaultReporter
-
Creates a reporter with full stacktraces.
- DefaultReporter(PrintStream, boolean) - Constructor for class de.tobiasroeser.lambdatest.generic.DefaultReporter
-
Creates a reporter.
- DefaultTestCase - Class in de.tobiasroeser.lambdatest.generic
- DefaultTestCase(Section, String, String, RunnableWithException) - Constructor for class de.tobiasroeser.lambdatest.generic.DefaultTestCase
- DefaultTestCase(String, String, RunnableWithException) - Constructor for class de.tobiasroeser.lambdatest.generic.DefaultTestCase
- deleteAfter(File, FunctionWithException<File, T>) - Static method in class de.tobiasroeser.lambdatest.TempFile
-
Apply `f` to the given file `file` and delete the file after the function returns.
- deleteRecursive(File) - Static method in class de.tobiasroeser.lambdatest.TempFile
-
Delete a file recursively.
- describeChild(DefaultTestCase) - Method in class de.tobiasroeser.lambdatest.junit.FreeSpecRunner
- distinct(Iterable<T>) - Static method in class de.tobiasroeser.lambdatest.internal.Util
- DummyLogger() - Constructor for class de.tobiasroeser.lambdatest.internal.LoggerFactory.DummyLogger
E
- endsWith(String) - Method in class de.tobiasroeser.lambdatest.ExpectString
- endsWithNot(String) - Method in class de.tobiasroeser.lambdatest.ExpectString
- entrySet() - Method in class de.tobiasroeser.lambdatest.ExpectMap
-
Returns an
ExpectCollection
to futher check the map's entry set. - equals(Object) - Method in class de.tobiasroeser.lambdatest.Optional
- equals(Object) - Method in class de.tobiasroeser.lambdatest.proxy.Tuple2
- error(String, Object...) - Method in interface de.tobiasroeser.lambdatest.internal.Logger
- error(String, Object...) - Method in class de.tobiasroeser.lambdatest.internal.LoggerFactory.DummyLogger
- error(String, Object...) - Method in class de.tobiasroeser.lambdatest.internal.LoggerFactory.JavaUtilLogger
- error(String, Object...) - Method in class de.tobiasroeser.lambdatest.internal.LoggerFactory.Slf4jLogger
- exists(Iterable<T>, F1<? super T, Boolean>) - Static method in class de.tobiasroeser.lambdatest.internal.Util
- Expect - Class in de.tobiasroeser.lambdatest
-
Various assertion methods plus the ability to disable default fail-fast behavior to collect as much assertion errors as possible.
- Expect() - Constructor for class de.tobiasroeser.lambdatest.Expect
- expectCollection(Collection<T>) - Static method in class de.tobiasroeser.lambdatest.Expect
-
Check for non-null
Collection
and provides further checks on the actual collection in a fluent API. - expectCollection(Collection<T>) - Static method in class de.tobiasroeser.lambdatest.ExpectCollection
-
Check for non-null
Collection
and provides further checks on the actual collection in a fluent API. - ExpectCollection<T> - Class in de.tobiasroeser.lambdatest
-
Check for non-null
Collection
and provides further checks on the actual collection in a fluent API. - ExpectCollection(Collection<T>) - Constructor for class de.tobiasroeser.lambdatest.ExpectCollection
-
Creates an instance for the non-null collection `actual`.
- ExpectContext - Class in de.tobiasroeser.lambdatest
- ExpectContext(boolean) - Constructor for class de.tobiasroeser.lambdatest.ExpectContext
- expectDouble(Double) - Static method in class de.tobiasroeser.lambdatest.Expect
-
Check for non-null
Double
and provided further checks on the actual double in a fluent API. - expectDouble(Double) - Static method in class de.tobiasroeser.lambdatest.ExpectDouble
-
Check for non-null
Double
and provided further checks on the actual double in a fluent API. - ExpectDouble - Class in de.tobiasroeser.lambdatest
- ExpectDouble(Double) - Constructor for class de.tobiasroeser.lambdatest.ExpectDouble
-
Creates and instance for the given non-null map.
- expectEquals(Object, Object) - Static method in class de.tobiasroeser.lambdatest.Expect
-
Check object equality.
- expectEquals(Object, Object, String) - Static method in class de.tobiasroeser.lambdatest.Expect
-
Check object equality.
- expectFalse(boolean) - Static method in class de.tobiasroeser.lambdatest.Expect
- expectFalse(boolean, String) - Static method in class de.tobiasroeser.lambdatest.Expect
-
Expect that the given value is `false`.
- expectMap(Map<K, V>) - Static method in class de.tobiasroeser.lambdatest.Expect
-
Check for non-null
Map
and provides further checks on the actual map in a fluent API. - expectMap(Map<K, V>) - Static method in class de.tobiasroeser.lambdatest.ExpectMap
-
Check for non-null
Map
and provides further checks on the actual map in a fluent API. - ExpectMap<K,V> - Class in de.tobiasroeser.lambdatest
-
Check for non-null
Map
and provides methods on the actual map in a fluent API. - ExpectMap(Map<K, V>) - Constructor for class de.tobiasroeser.lambdatest.ExpectMap
-
Creates and instance for the given non-null map.
- expectNotEquals(Object, Object) - Static method in class de.tobiasroeser.lambdatest.Expect
-
Check for non-equal objects.
- expectNotEquals(Object, Object, String) - Static method in class de.tobiasroeser.lambdatest.Expect
- expectNotNull(Object) - Static method in class de.tobiasroeser.lambdatest.Expect
-
Expect that the given actual value is not `null`.
- expectNotNull(Object, String) - Static method in class de.tobiasroeser.lambdatest.Expect
-
Expect that the given actual value is not `null`.
- expectNull(Object) - Static method in class de.tobiasroeser.lambdatest.Expect
-
Expect that the given actual value is `null`.
- expectNull(Object, String) - Static method in class de.tobiasroeser.lambdatest.Expect
-
Expect that the given actual value is `null`.
- expectString(String) - Static method in class de.tobiasroeser.lambdatest.Expect
-
Check for non-null
String
and provided further checks on the actual string in a fluent API. - ExpectString - Class in de.tobiasroeser.lambdatest
-
Various self descriptive methods to check properties of a given string.
- ExpectString(String) - Constructor for class de.tobiasroeser.lambdatest.ExpectString
- expectTrue(boolean) - Static method in class de.tobiasroeser.lambdatest.Expect
-
Expect that the given value is `true`.
- expectTrue(boolean, String) - Static method in class de.tobiasroeser.lambdatest.Expect
F
- F0<R> - Interface in de.tobiasroeser.lambdatest
-
A function with a return value.
- F1<P,R> - Interface in de.tobiasroeser.lambdatest
-
A function with a parameter and a return value.
- F1.Identity<I> - Class in de.tobiasroeser.lambdatest
- fg(AnsiColor.Color) - Method in class de.tobiasroeser.lambdatest.internal.AnsiColor
- fgBright(AnsiColor.Color) - Method in class de.tobiasroeser.lambdatest.internal.AnsiColor
- filter(Iterable<T>, F1<? super T, Boolean>) - Static method in class de.tobiasroeser.lambdatest.internal.Util
- filterType(Iterable<?>, Class<T>) - Static method in class de.tobiasroeser.lambdatest.internal.Util
- find(Iterable<T>, F1<? super T, Boolean>) - Static method in class de.tobiasroeser.lambdatest.internal.Util
- findHandler(List<Object>, Method) - Static method in class de.tobiasroeser.lambdatest.proxy.TestProxy
- findInParents(Section) - Method in class de.tobiasroeser.lambdatest.Section
- findSameOrInParent(Section, Section) - Method in class de.tobiasroeser.lambdatest.generic.DefaultReporter
- finish() - Static method in class de.tobiasroeser.lambdatest.ExpectContext
- flatMap(F1<? super T, Optional<? extends R>>) - Method in class de.tobiasroeser.lambdatest.Optional
- flatMap(Iterable<T>, F1<? super T, ? extends Iterable<R>>) - Static method in class de.tobiasroeser.lambdatest.internal.Util
- forall(Iterable<T>, F1<? super T, Boolean>) - Static method in class de.tobiasroeser.lambdatest.internal.Util
- foreach(Iterable<T>, Procedure1<? super T>) - Static method in class de.tobiasroeser.lambdatest.internal.Util
- formattedMsgAndCause(String, Object...) - Method in class de.tobiasroeser.lambdatest.internal.LoggerFactory.JavaUtilLogger
- formatTestCase(LambdaTestCase) - Method in class de.tobiasroeser.lambdatest.generic.LoggingWrappingReporter
- FreeSpec - Class in de.tobiasroeser.lambdatest.junit
-
Inherit from this class to create a new JUnit test suite and use the
FreeSpecBase.test(java.lang.String, de.tobiasroeser.lambdatest.RunnableWithException)
method to add test cases. - FreeSpec - Class in de.tobiasroeser.lambdatest.junit5
- FreeSpec - Class in de.tobiasroeser.lambdatest.testng
-
Inherit from this class to create a new TestNG test suite and use the
FreeSpec.test(java.lang.String, de.tobiasroeser.lambdatest.RunnableWithException)
method to add test cases. - FreeSpec() - Constructor for class de.tobiasroeser.lambdatest.junit.FreeSpec
- FreeSpec() - Constructor for class de.tobiasroeser.lambdatest.junit5.FreeSpec
- FreeSpec() - Constructor for class de.tobiasroeser.lambdatest.testng.FreeSpec
- FreeSpecBase - Class in de.tobiasroeser.lambdatest.generic
-
Common base class containing framework agnostic implementation of FreeSpec-like classes.
- FreeSpecBase() - Constructor for class de.tobiasroeser.lambdatest.generic.FreeSpecBase
- FreeSpecBase.F0WithException<R> - Interface in de.tobiasroeser.lambdatest.generic
- freeSpecParallelTestCases() - Method in class de.tobiasroeser.lambdatest.testng.FreeSpec
- FreeSpecRunner - Class in de.tobiasroeser.lambdatest.junit
- FreeSpecRunner(Class<?>) - Constructor for class de.tobiasroeser.lambdatest.junit.FreeSpecRunner
- freeSpecTestCases() - Method in class de.tobiasroeser.lambdatest.testng.FreeSpec
- FunctionWithException<P,R> - Interface in de.tobiasroeser.lambdatest
-
A Function with is permitted to throw exceptions.
G
- get() - Method in class de.tobiasroeser.lambdatest.Optional
- getChildren() - Method in class de.tobiasroeser.lambdatest.junit.FreeSpecRunner
- getCurrentSection() - Method in class de.tobiasroeser.lambdatest.generic.FreeSpecBase
- getDefaultReporter() - Static method in class de.tobiasroeser.lambdatest.generic.FreeSpecBase
- getDefaultReturn() - Method in class de.tobiasroeser.lambdatest.proxy.TestProxy.IgnoreMethod
- getErrors() - Method in class de.tobiasroeser.lambdatest.ExpectContext
- getExpectFailFast() - Method in class de.tobiasroeser.lambdatest.generic.FreeSpecBase
- getFailEarly() - Method in class de.tobiasroeser.lambdatest.ExpectContext
- getFullName(String) - Method in class de.tobiasroeser.lambdatest.Section
- getLevel() - Method in class de.tobiasroeser.lambdatest.Section
- getLogger(Class<?>) - Static method in class de.tobiasroeser.lambdatest.internal.LoggerFactory
- getName() - Method in class de.tobiasroeser.lambdatest.generic.DefaultTestCase
- getName() - Method in interface de.tobiasroeser.lambdatest.LambdaTestCase
-
The name of the test case.
- getName() - Method in class de.tobiasroeser.lambdatest.proxy.TestProxy.IgnoreMethod
- getName() - Method in class de.tobiasroeser.lambdatest.Section
- getOrElse(T) - Method in class de.tobiasroeser.lambdatest.Optional
- getOrElseF(F0<T>) - Method in class de.tobiasroeser.lambdatest.Optional
- getParent() - Method in class de.tobiasroeser.lambdatest.Section
- getReporter() - Method in class de.tobiasroeser.lambdatest.generic.FreeSpecBase
- getReporter() - Method in interface de.tobiasroeser.lambdatest.LambdaTest
-
Gets the currently used reporter.
- getRunInParallel() - Method in class de.tobiasroeser.lambdatest.generic.FreeSpecBase
- getSection() - Method in class de.tobiasroeser.lambdatest.generic.DefaultTestCase
- getSection() - Method in interface de.tobiasroeser.lambdatest.LambdaTestCase
-
The optional section, this test case belongs to.
- getSectionAndTestName() - Method in class de.tobiasroeser.lambdatest.generic.DefaultTestCase
- getSectionAndTestName(String) - Method in class de.tobiasroeser.lambdatest.generic.DefaultTestCase
- getSectionAndTestName(String) - Method in interface de.tobiasroeser.lambdatest.LambdaTestCase
- getSuiteName() - Method in class de.tobiasroeser.lambdatest.generic.DefaultTestCase
- getSuiteName() - Method in class de.tobiasroeser.lambdatest.generic.FreeSpecBase
- getSuiteName() - Method in interface de.tobiasroeser.lambdatest.LambdaTestCase
-
The name of the test suite, e.g. the class name.
- getTest() - Method in class de.tobiasroeser.lambdatest.generic.DefaultTestCase
- getTestCases() - Method in class de.tobiasroeser.lambdatest.generic.FreeSpecBase
- GREEN - de.tobiasroeser.lambdatest.internal.AnsiColor.Color
- groupBy(Iterable<T>, F1<? super T, ? extends K>) - Static method in class de.tobiasroeser.lambdatest.internal.Util
H
- hasDuplicates(int) - Method in class de.tobiasroeser.lambdatest.ExpectCollection
-
Check, that the collection has `count` duplicates.
- hashCode() - Method in class de.tobiasroeser.lambdatest.Optional
- hashCode() - Method in class de.tobiasroeser.lambdatest.proxy.Tuple2
- hasLength(int) - Method in class de.tobiasroeser.lambdatest.ExpectString
- hasLengthNot(int) - Method in class de.tobiasroeser.lambdatest.ExpectString
- hasNoDuplicates() - Method in class de.tobiasroeser.lambdatest.ExpectCollection
-
Check, that the collection has no duplicates.
- hasSize(int) - Method in class de.tobiasroeser.lambdatest.ExpectCollection
-
Checks, that the collection has the expected site.
- hasSize(int) - Method in class de.tobiasroeser.lambdatest.ExpectMap
-
Checks, if the map has the expected size.
I
- Identity() - Constructor for class de.tobiasroeser.lambdatest.F1.Identity
- ignoreMethod(String) - Static method in class de.tobiasroeser.lambdatest.proxy.TestProxy
- IgnoreMethod(String, Object) - Constructor for class de.tobiasroeser.lambdatest.proxy.TestProxy.IgnoreMethod
- info(String, Object...) - Method in interface de.tobiasroeser.lambdatest.internal.Logger
- info(String, Object...) - Method in class de.tobiasroeser.lambdatest.internal.LoggerFactory.DummyLogger
- info(String, Object...) - Method in class de.tobiasroeser.lambdatest.internal.LoggerFactory.JavaUtilLogger
- info(String, Object...) - Method in class de.tobiasroeser.lambdatest.internal.LoggerFactory.Slf4jLogger
- initTests() - Method in class de.tobiasroeser.lambdatest.generic.FreeSpecBase
-
Override this method to initialize test cases after class construction.
- intercept(Class<T>, RunnableWithException) - Static method in class de.tobiasroeser.lambdatest.Expect
- intercept(Class<T>, RunnableWithException) - Method in class de.tobiasroeser.lambdatest.generic.FreeSpecBase
-
Intercept exceptions of type
exceptionType
and fail if no such exception or an exception with an incompatible type was thrown. - intercept(Class<T>, RunnableWithException) - Static method in class de.tobiasroeser.lambdatest.Intercept
-
Intercept exceptions of type
exceptionType
and fail if no such exception or an exception with an incompatible type was thrown. - intercept(Class<T>, RunnableWithException) - Method in interface de.tobiasroeser.lambdatest.LambdaTest
-
Intercept exceptions of type `exceptionType` and fail if no such exception or an exception with an incompatible type was thrown.
- intercept(Class<T>, String, RunnableWithException) - Static method in class de.tobiasroeser.lambdatest.Expect
- intercept(Class<T>, String, RunnableWithException) - Method in class de.tobiasroeser.lambdatest.generic.FreeSpecBase
-
Intercept exceptions of type
exceptionType
and fail if no such exception or an exception with an incompatible type was thrown or it the message does not match a given pattern. - intercept(Class<T>, String, RunnableWithException) - Static method in class de.tobiasroeser.lambdatest.Intercept
-
Intercept exceptions of type
exceptionType
and fail if no such exception or an exception with an incompatible type was thrown or it the message does not match a given pattern. - intercept(Class<T>, String, RunnableWithException) - Method in interface de.tobiasroeser.lambdatest.LambdaTest
-
Intercept exceptions of type `exceptionType` and fail if no such exception or an exception with an incompatible type was thrown or it the message does not match a given pattern.
- Intercept - Class in de.tobiasroeser.lambdatest
- Intercept() - Constructor for class de.tobiasroeser.lambdatest.Intercept
- isBetween(Double, Double) - Method in class de.tobiasroeser.lambdatest.ExpectDouble
-
Checks, if actual is between start (inclusive) and end (exclusive).
- isCloseTo(Double, Double) - Method in class de.tobiasroeser.lambdatest.ExpectDouble
-
Checks, if actual is close to expected regarding eps.
- isDebugEnabled() - Method in interface de.tobiasroeser.lambdatest.internal.Logger
- isDebugEnabled() - Method in class de.tobiasroeser.lambdatest.internal.LoggerFactory.DummyLogger
- isDebugEnabled() - Method in class de.tobiasroeser.lambdatest.internal.LoggerFactory.JavaUtilLogger
- isDebugEnabled() - Method in class de.tobiasroeser.lambdatest.internal.LoggerFactory.Slf4jLogger
- isDefined() - Method in class de.tobiasroeser.lambdatest.Optional
- isEmpty() - Method in class de.tobiasroeser.lambdatest.ExpectCollection
- isEmpty() - Method in class de.tobiasroeser.lambdatest.ExpectMap
-
Checks, if the map is empty.
- isEmpty() - Method in class de.tobiasroeser.lambdatest.Optional
- isEnabled() - Method in class de.tobiasroeser.lambdatest.internal.AnsiColor
- isEqual(String) - Method in class de.tobiasroeser.lambdatest.ExpectString
- isEqualIgnoreCase(String) - Method in class de.tobiasroeser.lambdatest.ExpectString
- isErrorEnabled() - Method in interface de.tobiasroeser.lambdatest.internal.Logger
- isErrorEnabled() - Method in class de.tobiasroeser.lambdatest.internal.LoggerFactory.DummyLogger
- isErrorEnabled() - Method in class de.tobiasroeser.lambdatest.internal.LoggerFactory.JavaUtilLogger
- isErrorEnabled() - Method in class de.tobiasroeser.lambdatest.internal.LoggerFactory.Slf4jLogger
- isInfoEnabled() - Method in interface de.tobiasroeser.lambdatest.internal.Logger
- isInfoEnabled() - Method in class de.tobiasroeser.lambdatest.internal.LoggerFactory.DummyLogger
- isInfoEnabled() - Method in class de.tobiasroeser.lambdatest.internal.LoggerFactory.JavaUtilLogger
- isInfoEnabled() - Method in class de.tobiasroeser.lambdatest.internal.LoggerFactory.Slf4jLogger
- isLongerThan(int) - Method in class de.tobiasroeser.lambdatest.ExpectString
- isNaN() - Method in class de.tobiasroeser.lambdatest.ExpectDouble
-
Checks, if actual is not a number (NaN).
- isNotBetween(Double, Double) - Method in class de.tobiasroeser.lambdatest.ExpectDouble
-
Checks, if actual is not between start (inclusive) and end (exclusive).
- isNotCloseTo(Double, Double) - Method in class de.tobiasroeser.lambdatest.ExpectDouble
-
Checks, if actual is not close to expected regarding eps.
- isNotEqual(String) - Method in class de.tobiasroeser.lambdatest.ExpectString
- isNotEqualIgnoreCase(String) - Method in class de.tobiasroeser.lambdatest.ExpectString
- isNotNaN() - Method in class de.tobiasroeser.lambdatest.ExpectDouble
-
Checks, if actual is not not a number (NaN).
- isShorterThan(int) - Method in class de.tobiasroeser.lambdatest.ExpectString
- isTraceEnabled() - Method in interface de.tobiasroeser.lambdatest.internal.Logger
- isTraceEnabled() - Method in class de.tobiasroeser.lambdatest.internal.LoggerFactory.DummyLogger
- isTraceEnabled() - Method in class de.tobiasroeser.lambdatest.internal.LoggerFactory.JavaUtilLogger
- isTraceEnabled() - Method in class de.tobiasroeser.lambdatest.internal.LoggerFactory.Slf4jLogger
- isTrimmed() - Method in class de.tobiasroeser.lambdatest.ExpectString
- isWarnEnabled() - Method in interface de.tobiasroeser.lambdatest.internal.Logger
- isWarnEnabled() - Method in class de.tobiasroeser.lambdatest.internal.LoggerFactory.DummyLogger
- isWarnEnabled() - Method in class de.tobiasroeser.lambdatest.internal.LoggerFactory.JavaUtilLogger
- isWarnEnabled() - Method in class de.tobiasroeser.lambdatest.internal.LoggerFactory.Slf4jLogger
- iterator() - Method in class de.tobiasroeser.lambdatest.Optional
J
- JavaUtilLogger(Class<?>) - Constructor for class de.tobiasroeser.lambdatest.internal.LoggerFactory.JavaUtilLogger
K
- keys() - Method in class de.tobiasroeser.lambdatest.ExpectMap
-
Returns an
ExpectCollection
for the keys of this map for further checks.
L
- LambdaTest - Interface in de.tobiasroeser.lambdatest
-
Common interface shared between all supported test suites.
- LambdaTestCase - Interface in de.tobiasroeser.lambdatest
-
Shared interface for executable test cases.
- lift(S) - Static method in class de.tobiasroeser.lambdatest.Optional
-
Create an
Optional
from the given object or a `none` in case the object was `null`. - Logger - Interface in de.tobiasroeser.lambdatest.internal
-
A lightweight wrapper around a logging API, if available.
- LoggerFactory - Class in de.tobiasroeser.lambdatest.internal
-
Use this factory to get an instance of
Logger
. - LoggerFactory() - Constructor for class de.tobiasroeser.lambdatest.internal.LoggerFactory
- LoggerFactory.DummyLogger - Class in de.tobiasroeser.lambdatest.internal
- LoggerFactory.JavaUtilLogger - Class in de.tobiasroeser.lambdatest.internal
-
All log messages will be pre-processed before given to the JUL logger to support SLF4J-style placeholders and arguments semantics.
- LoggerFactory.Slf4jLogger - Class in de.tobiasroeser.lambdatest.internal
-
All log messages will be pass through SLF4j as-is.
- LoggingWrappingReporter - Class in de.tobiasroeser.lambdatest.generic
-
A Reporter that logs and also wraps another reporter.
- LoggingWrappingReporter(Reporter) - Constructor for class de.tobiasroeser.lambdatest.generic.LoggingWrappingReporter
M
- MAGENTA - de.tobiasroeser.lambdatest.internal.AnsiColor.Color
- map(F1<? super T, ? extends R>) - Method in class de.tobiasroeser.lambdatest.Optional
- map(Iterable<T>, F1<? super T, ? extends R>) - Static method in class de.tobiasroeser.lambdatest.internal.Util
- map(T[], F1<? super T, ? extends R>) - Static method in class de.tobiasroeser.lambdatest.internal.Util
- matches(String) - Method in class de.tobiasroeser.lambdatest.ExpectString
- matchesNot(String) - Method in class de.tobiasroeser.lambdatest.ExpectString
- mkString(Iterable<?>, String) - Static method in class de.tobiasroeser.lambdatest.internal.Util
- mkString(Iterable<?>, String, String, String) - Static method in class de.tobiasroeser.lambdatest.internal.Util
- mkString(Iterable<T>, String, String, String, F1<? super T, String>) - Static method in class de.tobiasroeser.lambdatest.internal.Util
- mkString(Object[], String) - Static method in class de.tobiasroeser.lambdatest.internal.Util
- mkString(T[], String, String, String) - Static method in class de.tobiasroeser.lambdatest.internal.Util
- mkString(T[], String, String, String, F1<? super T, String>) - Static method in class de.tobiasroeser.lambdatest.internal.Util
N
- none() - Static method in class de.tobiasroeser.lambdatest.Optional
- NoOp() - Constructor for class de.tobiasroeser.lambdatest.internal.Procedure1.NoOp
O
- of(A, B) - Static method in class de.tobiasroeser.lambdatest.proxy.Tuple2
- Optional<T> - Class in de.tobiasroeser.lambdatest
-
Value class representing an optional value.
- orNull() - Method in class de.tobiasroeser.lambdatest.Optional
P
- pending() - Method in class de.tobiasroeser.lambdatest.generic.FreeSpecBase
- pending() - Method in interface de.tobiasroeser.lambdatest.LambdaTest
-
Marks the test as pending.
- pending(String) - Method in class de.tobiasroeser.lambdatest.junit.FreeSpec
-
Marks the test as pending and uses the given `reason` as message.
- pending(String) - Method in class de.tobiasroeser.lambdatest.junit5.FreeSpec
- pending(String) - Method in interface de.tobiasroeser.lambdatest.LambdaTest
-
Marks the test as pending and uses the given `reason` as message.
- pending(String) - Method in class de.tobiasroeser.lambdatest.testng.FreeSpec
-
Marks the test as pending and uses the given `reason` as message.
- PENDING_DEFAULT_MSG - Static variable in interface de.tobiasroeser.lambdatest.Reporter
- Procedure1<P> - Interface in de.tobiasroeser.lambdatest.internal
- Procedure1.NoOp<P> - Class in de.tobiasroeser.lambdatest.internal
- ProcedureWithException<P> - Interface in de.tobiasroeser.lambdatest
-
A Function which is permitted to throw exceptions.
- proxy(ClassLoader, List<Class<?>>, List<Object>, List<TestProxy.Option>) - Static method in class de.tobiasroeser.lambdatest.proxy.TestProxy
-
Creates a proxy object.
- proxy(Object...) - Static method in class de.tobiasroeser.lambdatest.proxy.TestProxy
-
Compact version of
TestProxy.proxy(ClassLoader, List, List, List)
.
R
- readFile(File) - Static method in class de.tobiasroeser.lambdatest.TempFile
-
Reads the given text file and return it's contents.
- RED - de.tobiasroeser.lambdatest.internal.AnsiColor.Color
- Reporter - Interface in de.tobiasroeser.lambdatest
-
A Reporter is used to report (log,output) the progress of a running test suite.
- reportSectionUntilParent(String, Section, Section) - Method in class de.tobiasroeser.lambdatest.generic.DefaultReporter
- reset() - Method in class de.tobiasroeser.lambdatest.internal.AnsiColor
- run() - Method in interface de.tobiasroeser.lambdatest.RunnableWithException
- runChild(DefaultTestCase, RunNotifier) - Method in class de.tobiasroeser.lambdatest.junit.FreeSpecRunner
- runFreeSpecParallelTestCases(DefaultTestCase) - Method in class de.tobiasroeser.lambdatest.testng.FreeSpec
- runFreeSpecTestCases(DefaultTestCase) - Method in class de.tobiasroeser.lambdatest.testng.FreeSpec
- RunnableWithException - Interface in de.tobiasroeser.lambdatest
-
A Runnable with is permitted to throw exceptions.
S
- section(String, Runnable) - Method in class de.tobiasroeser.lambdatest.generic.FreeSpecBase
- Section - Class in de.tobiasroeser.lambdatest
-
A Section represents some hierarchical organisation of test cases in a test suite.
- Section(String, Section) - Constructor for class de.tobiasroeser.lambdatest.Section
- setDefaultReporter(Reporter) - Static method in class de.tobiasroeser.lambdatest.generic.FreeSpecBase
-
Set the default reporter.
- setExpectFailFast(boolean) - Method in class de.tobiasroeser.lambdatest.generic.FreeSpecBase
- setExpectFailFast(boolean) - Method in interface de.tobiasroeser.lambdatest.LambdaTest
-
If `true`, the first failed assertion will also fail the test.
- setExpectFailFast(boolean) - Method in class de.tobiasroeser.lambdatest.testng.FreeSpec
- setReporter(Reporter) - Method in class de.tobiasroeser.lambdatest.generic.FreeSpecBase
- setReporter(Reporter) - Method in interface de.tobiasroeser.lambdatest.LambdaTest
-
Set the
Reporter
to be used. - setRunInParallel(boolean) - Method in class de.tobiasroeser.lambdatest.generic.FreeSpecBase
- setRunInParallel(boolean) - Method in class de.tobiasroeser.lambdatest.junit.FreeSpec
- setRunInParallel(boolean) - Method in interface de.tobiasroeser.lambdatest.LambdaTest
-
If `true` tests in this suite can be run in parallel.
- setRunInParallel(boolean) - Method in class de.tobiasroeser.lambdatest.testng.FreeSpec
- setup(boolean) - Static method in class de.tobiasroeser.lambdatest.ExpectContext
- Slf4jLogger(Class<?>) - Constructor for class de.tobiasroeser.lambdatest.internal.LoggerFactory.Slf4jLogger
- some(S) - Static method in class de.tobiasroeser.lambdatest.Optional
-
Create a defined
Optional
with the given value `some`. - startsWith(String) - Method in class de.tobiasroeser.lambdatest.ExpectString
- startsWithNot(String) - Method in class de.tobiasroeser.lambdatest.ExpectString
- suiteStart(String, List<? extends LambdaTestCase>) - Method in class de.tobiasroeser.lambdatest.generic.DefaultReporter
- suiteStart(String, List<? extends LambdaTestCase>) - Method in class de.tobiasroeser.lambdatest.generic.LoggingWrappingReporter
- suiteStart(String, List<? extends LambdaTestCase>) - Method in interface de.tobiasroeser.lambdatest.Reporter
- suiteWarning(String, String) - Method in class de.tobiasroeser.lambdatest.generic.DefaultReporter
- suiteWarning(String, String) - Method in class de.tobiasroeser.lambdatest.generic.LoggingWrappingReporter
- suiteWarning(String, String) - Method in interface de.tobiasroeser.lambdatest.Reporter
T
- TempFile - Class in de.tobiasroeser.lambdatest
-
Utility methods to work with temporary files and directories.
- TempFile() - Constructor for class de.tobiasroeser.lambdatest.TempFile
- test(String, RunnableWithException) - Method in class de.tobiasroeser.lambdatest.generic.FreeSpecBase
-
Adds a test to the test suite.
- test(String, RunnableWithException) - Method in class de.tobiasroeser.lambdatest.testng.FreeSpec
-
Adds a test to the test suite.
- testFactory() - Method in class de.tobiasroeser.lambdatest.junit5.FreeSpec
- testFailed(LambdaTestCase, Throwable) - Method in class de.tobiasroeser.lambdatest.generic.DefaultReporter
- testFailed(LambdaTestCase, Throwable) - Method in class de.tobiasroeser.lambdatest.generic.LoggingWrappingReporter
- testFailed(LambdaTestCase, Throwable) - Method in interface de.tobiasroeser.lambdatest.Reporter
- TestProxy - Class in de.tobiasroeser.lambdatest.proxy
-
Utility class for simple mocking of interfaces.
- TestProxy() - Constructor for class de.tobiasroeser.lambdatest.proxy.TestProxy
- TestProxy.IgnoreMethod - Class in de.tobiasroeser.lambdatest.proxy
- TestProxy.Option - Interface in de.tobiasroeser.lambdatest.proxy
- testSkipped(LambdaTestCase, String) - Method in class de.tobiasroeser.lambdatest.generic.DefaultReporter
- testSkipped(LambdaTestCase, String) - Method in class de.tobiasroeser.lambdatest.generic.LoggingWrappingReporter
- testSkipped(LambdaTestCase, String) - Method in interface de.tobiasroeser.lambdatest.Reporter
- testStart(LambdaTestCase) - Method in class de.tobiasroeser.lambdatest.generic.DefaultReporter
- testStart(LambdaTestCase) - Method in class de.tobiasroeser.lambdatest.generic.LoggingWrappingReporter
- testStart(LambdaTestCase) - Method in interface de.tobiasroeser.lambdatest.Reporter
- testSucceeded(LambdaTestCase) - Method in class de.tobiasroeser.lambdatest.generic.DefaultReporter
- testSucceeded(LambdaTestCase) - Method in class de.tobiasroeser.lambdatest.generic.LoggingWrappingReporter
- testSucceeded(LambdaTestCase) - Method in interface de.tobiasroeser.lambdatest.Reporter
- toList() - Method in class de.tobiasroeser.lambdatest.Optional
- toString() - Method in class de.tobiasroeser.lambdatest.generic.DefaultTestCase
-
Return the test name.
- toString() - Method in class de.tobiasroeser.lambdatest.internal.LoggerFactory.DummyLogger
- toString() - Method in class de.tobiasroeser.lambdatest.internal.LoggerFactory.JavaUtilLogger
- toString() - Method in class de.tobiasroeser.lambdatest.internal.LoggerFactory.Slf4jLogger
- toString() - Method in class de.tobiasroeser.lambdatest.Optional
- toString() - Method in class de.tobiasroeser.lambdatest.proxy.Tuple2
- toString() - Method in class de.tobiasroeser.lambdatest.Section
- trace(String, Object...) - Method in interface de.tobiasroeser.lambdatest.internal.Logger
- trace(String, Object...) - Method in class de.tobiasroeser.lambdatest.internal.LoggerFactory.DummyLogger
- trace(String, Object...) - Method in class de.tobiasroeser.lambdatest.internal.LoggerFactory.JavaUtilLogger
- trace(String, Object...) - Method in class de.tobiasroeser.lambdatest.internal.LoggerFactory.Slf4jLogger
- Tuple2<A,B> - Class in de.tobiasroeser.lambdatest.proxy
-
Value class representing a 2-tuple.
- Tuple2(A, B) - Constructor for class de.tobiasroeser.lambdatest.proxy.Tuple2
U
- Util - Class in de.tobiasroeser.lambdatest.internal
-
Some internally used helper methods, mostly copied from de.tototec.utils.functional project.
- Util() - Constructor for class de.tobiasroeser.lambdatest.internal.Util
V
- valueOf(String) - Static method in enum de.tobiasroeser.lambdatest.internal.AnsiColor.Color
-
Returns the enum constant of this type with the specified name.
- values() - Method in class de.tobiasroeser.lambdatest.ExpectMap
-
Returns an
ExpectCollection
for the values of this map for further checks. - values() - Static method in enum de.tobiasroeser.lambdatest.internal.AnsiColor.Color
-
Returns an array containing the constants of this enum type, in the order they are declared.
W
- warn(String, Object...) - Method in interface de.tobiasroeser.lambdatest.internal.Logger
- warn(String, Object...) - Method in class de.tobiasroeser.lambdatest.internal.LoggerFactory.DummyLogger
- warn(String, Object...) - Method in class de.tobiasroeser.lambdatest.internal.LoggerFactory.JavaUtilLogger
- warn(String, Object...) - Method in class de.tobiasroeser.lambdatest.internal.LoggerFactory.Slf4jLogger
- WHITE - de.tobiasroeser.lambdatest.internal.AnsiColor.Color
- withDefaultReporter(Reporter, FreeSpecBase.F0WithException<T>) - Static method in class de.tobiasroeser.lambdatest.generic.FreeSpecBase
-
Executes a given function `f` with the default reporter set to `reporter`, and restored the previous default reporter afterwards.
- withTempDir(FunctionWithException<File, T>) - Static method in class de.tobiasroeser.lambdatest.TempFile
-
Apply `f` to a newly created temporary directory which is deleted after `f` returns.
- withTempDirP(ProcedureWithException<File>) - Static method in class de.tobiasroeser.lambdatest.TempFile
-
Apply `p` to a newly created temporary directory which is deleted after `p` returns.
- withTempFile(String, FunctionWithException<File, T>) - Static method in class de.tobiasroeser.lambdatest.TempFile
-
Creates a new temporary file with the given content `content`.
- withTempFileP(String, ProcedureWithException<File>) - Static method in class de.tobiasroeser.lambdatest.TempFile
-
Creates a new temporary file with the given content `content`.
- writeToFile(File, String) - Static method in class de.tobiasroeser.lambdatest.TempFile
Y
- YELLOW - de.tobiasroeser.lambdatest.internal.AnsiColor.Color
All Classes All Packages