public class AssertUtil extends Object
| Modifier and Type | Method and Description |
|---|---|
static void |
doesNotThrow(Executor executor)
Asserts that
Executor.execute() method call doesn't produce any
Exception otherwise test will fail by throwing AssertionError. |
static void |
doesNotThrow(Executor executor,
String message)
Asserts that
Executor.execute() method call doesn't produce any
Exception otherwise test will fail by throwing AssertionError. |
public static void doesNotThrow(Executor executor)
Executor.execute() method call doesn't produce any
Exception otherwise test will fail by throwing AssertionError.executor - the instance of Executor whose
Executor.execute() method will be checked for exception throwingpublic static void doesNotThrow(Executor executor, String message)
Executor.execute() method call doesn't produce any
Exception otherwise test will fail by throwing AssertionError.executor - the instance of Executor whose
Executor.execute() method will be checked for exception throwingmessage - the identifying message for the AssertionError may be nullCopyright © 1998–2021 iText Group NV. All rights reserved.