public class TestHelper extends Object
Modifier and Type | Class and Description |
---|---|
static class |
TestHelper.StringPosition |
Constructor and Description |
---|
TestHelper() |
Modifier and Type | Method and Description |
---|---|
static void |
addSuppressed(Throwable outer,
Throwable suppressed) |
static Throwable |
makeNestedException(int level) |
static TestHelper.StringPosition |
positionOf(String pattern)
Usage:
|
static boolean |
suppressedSupported() |
public TestHelper()
public static boolean suppressedSupported()
public static void addSuppressed(Throwable outer, Throwable suppressed) throws InvocationTargetException, IllegalAccessException
public static Throwable makeNestedException(int level)
public static TestHelper.StringPosition positionOf(String pattern)
String s = "123"; positionOf("1").in(s) < positionOf("3").in(s)
pattern
- Plain text to be foundCopyright © 2005–2018 QOS.ch. All rights reserved.