A fixture that can be used to verify and manipulate strings.
More...
|
StringBuilder | builder = new StringBuilder() |
|
A fixture that can be used to verify and manipulate strings.
- Author
- Ronald Mathies
Definition at line 13 of file StringFixture.java.
◆ StringFixture()
nl.psek.fitnesse.fixtures.general.string.StringFixture.StringFixture |
( |
String |
value | ) |
|
Constructs a new String Fixture with the initial value set.
- Parameters
-
value | the initial value to work with. |
Definition at line 22 of file StringFixture.java.
◆ appendValue()
void nl.psek.fitnesse.fixtures.general.string.StringFixture.appendValue |
( |
String |
value | ) |
|
◆ clearBuffer()
boolean nl.psek.fitnesse.fixtures.general.string.StringFixture.clearBuffer |
( |
| ) |
|
◆ getSubstringWithRegex()
String nl.psek.fitnesse.fixtures.general.string.StringFixture.getSubstringWithRegex |
( |
String |
regex | ) |
|
Gets substring with regex.
- Parameters
-
- Returns
- the substring with regex
Definition at line 113 of file StringFixture.java.
◆ replaceAll()
void nl.psek.fitnesse.fixtures.general.string.StringFixture.replaceAll |
( |
String |
pattern, |
|
|
String |
replacement |
|
) |
| |
Replaces the pattern with the replacement in the buffer.
- Parameters
-
pattern | the pattern to look for. |
replacement | the replacement value. |
Definition at line 62 of file StringFixture.java.
◆ result()
String nl.psek.fitnesse.fixtures.general.string.StringFixture.result |
( |
| ) |
|
◆ resultToLowerCase()
String nl.psek.fitnesse.fixtures.general.string.StringFixture.resultToLowerCase |
( |
| ) |
|
convert a string to lowercase
- Returns
- lowercase string
Definition at line 93 of file StringFixture.java.
◆ resultToUpperCase()
String nl.psek.fitnesse.fixtures.general.string.StringFixture.resultToUpperCase |
( |
| ) |
|
◆ substring()
String nl.psek.fitnesse.fixtures.general.string.StringFixture.substring |
( |
String |
start, |
|
|
String |
end |
|
) |
| |
Returns a new string that is a substring of this string.
- Parameters
-
start | the start index. |
end | the end index. |
- Returns
- the string
Definition at line 124 of file StringFixture.java.
◆ substringFrom()
String nl.psek.fitnesse.fixtures.general.string.StringFixture.substringFrom |
( |
String |
start | ) |
|
◆ substringTo()
String nl.psek.fitnesse.fixtures.general.string.StringFixture.substringTo |
( |
String |
end | ) |
|
◆ verifyStringContains()
boolean nl.psek.fitnesse.fixtures.general.string.StringFixture.verifyStringContains |
( |
String |
pattern | ) |
|
Verify string contains boolean.
- Parameters
-
- Returns
- the boolean
Definition at line 73 of file StringFixture.java.
◆ verifyStringDoesNotContain()
boolean nl.psek.fitnesse.fixtures.general.string.StringFixture.verifyStringDoesNotContain |
( |
String |
pattern | ) |
|
Verify string does not contain boolean.
- Parameters
-
- Returns
- the boolean
Definition at line 84 of file StringFixture.java.
◆ builder
StringBuilder nl.psek.fitnesse.fixtures.general.string.StringFixture.builder = new StringBuilder() |
|
private |
The documentation for this class was generated from the following file:
- psek-fitnesse-fixtures-general/src/main/java/nl/psek/fitnesse/fixtures/general/string/StringFixture.java