public class TestableString extends Internal.BaseTestableObject<java.lang.String>
| Modifier and Type | Class and Description |
|---|---|
static interface |
TestableString.Concatenator |
static class |
TestableString.DefaultConcatenator |
static class |
TestableString.DelimitWithChars |
static class |
TestableString.NoopStringChanger |
static interface |
TestableString.StringChanger |
| Constructor and Description |
|---|
TestableString(Execution<java.lang.String> execution,
Context ctx,
Monitor monitor) |
assignValueIfNeeded, baseShouldBe, baseShouldNotBe, calcEndMillis, durationIfNotZero, validateWrapRethrowpublic static TestableString.StringChanger trimmer()
public static TestableString.StringChanger multiSpaceEliminator()
public static TestableString.StringChanger multiCREliminator()
public static TestableString.StringChanger tabsToSpaces()
public static TestableString.StringChanger crToChars(java.lang.String chars)
public static TestableString.Concatenator delimitWithChars(java.lang.String charToDelimitWith)
public TestableString shouldBe(java.lang.String shouldBe)
public TestableString within(Period period)
public TestableString shouldNotBe(java.lang.String shouldNotBe)
public TestableString shouldContain(java.lang.String shouldContain)
public TestableString shouldNotContain(java.lang.String shouldNotContain)
public java.lang.String toString()
toString in class java.lang.Objectpublic TestableString shouldMatch(java.lang.String regex)
public TestableString shouldNotMatch(java.lang.String regex)
public TestableString shouldMatch(org.hamcrest.Matcher<java.lang.String> hamcrestMatcher)
public TestableString shouldNotMatch(org.hamcrest.Matcher<java.lang.String> hamcrestMatcher)
Copyright © 2017. All Rights Reserved.