public static class HintStrategyTable.HintErrorLogger extends Object implements Litmus
Litmus that returns
a status code, it logs warnings for fail check and does not throw.| Modifier and Type | Field and Description |
|---|---|
static HintStrategyTable.HintErrorLogger |
INSTANCE |
| Constructor and Description |
|---|
HintErrorLogger() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
check(boolean condition,
@Nullable String message,
Object... args)
Checks a condition.
|
boolean |
fail(@Nullable String message,
Object... args)
Called when test fails.
|
boolean |
succeed()
Called when test succeeds.
|
public static final HintStrategyTable.HintErrorLogger INSTANCE
public boolean fail(@Nullable String message, Object... args)
Litmuspublic boolean succeed()
Litmuspublic boolean check(boolean condition,
@Nullable String message,
Object... args)
LitmusIf the condition is true, calls Litmus.succeed();
if the condition is false, calls Litmus.fail(java.lang.String, java.lang.Object...),
converting info into a string message.
Copyright © 2012-2022 Apache Software Foundation. All Rights Reserved.