Index
A N T
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- assertException(Class<? extends Throwable>, Runnable) - Static method in class net.obvj.junit.utils.TestUtils
-
A utility method to assert the expected exception thrown by a given procedure, that is, a function that accepts no arguments and returns void (e.g., a Runnable's
run()method). - assertException(Class<? extends Throwable>, String, Class<? extends Throwable>, Runnable) - Static method in class net.obvj.junit.utils.TestUtils
-
A utility method to assert the expected exception, message and cause thrown by a given procedure, that is, a function that accepts no arguments and returns void (e.g., a Runnable's
run()method). - assertException(Class<? extends Throwable>, String, Class<? extends Throwable>, Throwable) - Static method in class net.obvj.junit.utils.TestUtils
-
A utility method to assert that a given throwable matches the expected class, cause and message.
- assertException(Class<? extends Throwable>, String, Class<? extends Throwable>, Supplier<?>) - Static method in class net.obvj.junit.utils.TestUtils
-
A utility method to assert the expected exception, message and cause thrown by a supplying function.
- assertException(Class<? extends Throwable>, String, Runnable) - Static method in class net.obvj.junit.utils.TestUtils
-
A utility method to assert the expected exception and message thrown by a given procedure, that is, a function that accepts no arguments and returns void (e.g., a Runnable's
run()method). - assertException(Class<? extends Throwable>, String, Throwable) - Static method in class net.obvj.junit.utils.TestUtils
-
A utility method to assert that a given throwable matches the expected class and message.
- assertException(Class<? extends Throwable>, String, Supplier<?>) - Static method in class net.obvj.junit.utils.TestUtils
-
A utility method to assert the expected exception and message thrown by a supplying function.
- assertException(Class<? extends Throwable>, Throwable) - Static method in class net.obvj.junit.utils.TestUtils
-
A utility method to assert that a given throwable matches the expected class.
- assertException(Class<? extends Throwable>, Supplier<?>) - Static method in class net.obvj.junit.utils.TestUtils
-
A utility method to assert the expected exception thrown by a supplying function.
- assertNoInstancesAllowed(Class<?>) - Static method in class net.obvj.junit.utils.TestUtils
-
Tests that no instances of an utility class are created.
- assertNoInstancesAllowed(Class<?>, Class<? extends Throwable>) - Static method in class net.obvj.junit.utils.TestUtils
-
Tests that no instances of an utility class are created.
- assertNoInstancesAllowed(Class<?>, Class<? extends Throwable>, String) - Static method in class net.obvj.junit.utils.TestUtils
-
Tests that no instances of an utility class are created.
- assertStringContains(String, String...) - Static method in class net.obvj.junit.utils.TestUtils
-
Tests that the given test string contains all of the expected strings.
- assertStringDoesNotContain(String, String...) - Static method in class net.obvj.junit.utils.TestUtils
-
Tests that the given test string does not contain any of the expected strings.
N
- net.obvj.junit.utils - package net.obvj.junit.utils
T
- TestUtils - Class in net.obvj.junit.utils
-
Common utilities for working with unit tests.
All Classes All Packages