public class TestUtils extends Object
| Constructor and Description |
|---|
TestUtils() |
| Modifier and Type | Method and Description |
|---|---|
static void |
assertMultiReplace(boolean logRep,
String fle,
String... inps) |
static void |
assertMultiReplace(String fle,
String... inps) |
static void |
assertReplacesFrom(String right,
String inp,
String fle) |
static void |
assertReplacesTo(boolean logRep,
String right,
List<bjc.everge.ReplPair> rps,
String inp) |
static void |
assertReplacesTo(String right,
List<bjc.everge.ReplPair> rps,
String inp) |
static void |
assertThrownMessage(boolean logMsg,
String msg,
String fle)
Assert that a ReplParseException is thrown with a given message.
|
static void |
assertThrownMessage(String msg,
String fle)
Assert that a ReplParseException is thrown with a given message.
|
public static void assertThrownMessage(String msg, String fle)
msg - The message.fle - The file to load input from.public static void assertThrownMessage(boolean logMsg,
String msg,
String fle)
logMsg - Log the exception message.msg - The message.fle - The file to load input from.public static void assertMultiReplace(boolean logRep,
String fle,
String... inps)
public static void assertReplacesTo(String right, List<bjc.everge.ReplPair> rps, String inp)
Copyright © 2019. All rights reserved.