Uses of Class
org.apache.juneau.junit.bct.AssertionArgs
Packages that use AssertionArgs
-
Uses of AssertionArgs in org.apache.juneau.junit.bct
Methods in org.apache.juneau.junit.bct that return AssertionArgsModifier and TypeMethodDescriptionstatic AssertionArgs
BctAssertions.args()
Creates a newAssertionArgs
instance for configuring assertion behavior.AssertionArgs.setBeanConverter
(BeanConverter value) Sets a customBeanConverter
for object introspection and property access.AssertionArgs.setMessage
(String message, Object... args) Sets a parameterized error message for assertion failures.AssertionArgs.setMessage
(Supplier<String> value) Sets a custom error message supplier for assertion failures.Methods in org.apache.juneau.junit.bct with parameters of type AssertionArgsModifier and TypeMethodDescriptionstatic void
BctAssertions.assertBean
(AssertionArgs args, Object actual, String fields, String expected) Same asBctAssertions.assertBean(Object, String, String)
but with configurable assertion behavior.static void
BctAssertions.assertBeans
(AssertionArgs args, Object actual, String fields, String... expected) Same asBctAssertions.assertBeans(Object, String, String...)
but with configurable assertion behavior.static void
BctAssertions.assertContains
(AssertionArgs args, String expected, Object actual) Same asBctAssertions.assertContains(String, Object)
but with configurable assertion behavior.static void
BctAssertions.assertContainsAll
(AssertionArgs args, Object actual, String... expected) Same asBctAssertions.assertContainsAll(Object, String...)
but with configurable assertion behavior.static void
BctAssertions.assertEmpty
(AssertionArgs args, Object value) Same asBctAssertions.assertEmpty(Object)
but with configurable assertion behavior.static void
BctAssertions.assertList
(AssertionArgs args, Object actual, Object... expected) Same asBctAssertions.assertList(Object, Object...)
but with configurable assertion behavior.static void
BctAssertions.assertMap
(AssertionArgs args, Map<?, ?> actual, Object... expected) Same asBctAssertions.assertMap(Map, Object...)
but with configurable assertion behavior.static <T> void
BctAssertions.assertMapped
(AssertionArgs args, T actual, BiFunction<T, String, Object> function, String properties, String expected) Same asBctAssertions.assertMapped(Object, BiFunction, String, String)
but with configurable assertion behavior.static void
BctAssertions.assertMatchesGlob
(AssertionArgs args, String pattern, Object value) Same asBctAssertions.assertMatchesGlob(String, Object)
but with configurable assertion behavior.static void
BctAssertions.assertNotEmpty
(AssertionArgs args, Object value) Same asBctAssertions.assertNotEmpty(Object)
but with configurable assertion behavior.static void
BctAssertions.assertSize
(AssertionArgs args, int expected, Object actual) Same asBctAssertions.assertSize(int, Object)
but with configurable assertion behavior.static void
BctAssertions.assertString
(AssertionArgs args, String expected, Object actual) Same asBctAssertions.assertString(String, Object)
but with configurable assertion behavior.