- assertFinal() - Method in class io.spine.testing.ClassTest
-
Asserts that the class under tests is declared as final
.
- assertHasPrivateParameterlessCtor() - Method in class io.spine.testing.ClassTest
-
Asserts that the class under tests has a private
constructor
which accepts no parameters.
- assertHasPrivateParameterlessCtor(Class<?>) - Static method in class io.spine.testing.Tests
-
Asserts that if the passed class has private parameter-less constructor and invokes it
using Reflection.
- assertIllegalArgument(Executable) - Static method in class io.spine.testing.Assertions
-
Asserts that running the passed executable causes IllegalArgumentException
.
- assertIllegalState(Executable) - Static method in class io.spine.testing.Assertions
-
Asserts that running the passed executable causes IllegalStateException
.
- assertInDelta(long, long, long) - Static method in class io.spine.testing.Tests
-
Asserts that the difference between expected value and actual value is not bigger
than the set delta.
- Assertions - Class in io.spine.testing
-
Convenience assertions accompanying Assertions
,
Truth
, and Truth8
.
- assertLog() - Method in class io.spine.testing.logging.Interceptor
-
Obtains assertions for the accumulated log.
- assertLog() - Method in class io.spine.testing.logging.LoggingTest
-
Obtains the instance of AssertingHandler
of this test.
- assertMatchesMask(Message, FieldMask) - Static method in class io.spine.testing.Tests
-
Asserts that the passed message has a field that matches the passed field mask.
- assertNpe(Executable) - Static method in class io.spine.testing.Assertions
-
Asserts that running the passed executable cases NullPointerException
.
- assertThat(FluentLogger) - Static method in class io.spine.testing.logging.LogTruth
-
Creates a subject for the passed logger.
- assertThat(LogRecord) - Static method in class io.spine.testing.logging.LogTruth
-
Creates a subject for the passed record.
- assertThat(Level) - Static method in class io.spine.testing.logging.LogTruth
-
Creates a subject for the logging level.
- assertThat(FluentLogger.Api) - Static method in class io.spine.testing.logging.LogTruth
-
Creates a subject for the logging API.
- assertUnknownType(Executable) - Static method in class io.spine.testing.Assertions
-
Asserts that running the passed executable causes UnknownTypeException
.
- assertWithSubjectThat(T) - Method in class io.spine.testing.SubjectTest
-
Creates a subject under the test with the passed actual value.