Searched refs:StringResources (Results 1 – 4 of 4) sorted by relevance
18 assertThat(StringResources.escape("\"This'll work\"")).isEqualTo("This'll work"); in escape_shouldEscapeStrings()19 assertThat(StringResources.escape("This\\'ll also work")).isEqualTo("This'll also work"); in escape_shouldEscapeStrings()21 …assertThat(StringResources.escape("This is a \\\"good string\\\".")).isEqualTo("This is a \"good s… in escape_shouldEscapeStrings()22 assertThat(StringResources.escape("This is a \"bad string with unescaped double quotes\".")) in escape_shouldEscapeStrings()25 …assertThat(StringResources.escape("Text with escaped backslash followed by an \\\\\"unescaped doub… in escape_shouldEscapeStrings()40 assertThat(StringResources.processStringResources(t.getKey())).isEqualTo(t.getValue()); in escape_shouldEscapeCodePoints()46 assertThat(StringResources.processStringResources(" ")).isEmpty(); in shouldTrimWhitespace()47 …assertThat(StringResources.processStringResources("Trailingwhitespace ")).isEqualTo("Trailingwh… in shouldTrimWhitespace()48 …assertThat(StringResources.processStringResources("Leadingwhitespace ")).isEqualTo("Leadingwhit… in shouldTrimWhitespace()53 …assertThat(StringResources.processStringResources("Whitespace in the middle")).is… in shouldCollapseInternalWhiteSpaces()[all …]
33 s = StringResources.processStringResources(s); in onEnd()
8 public class StringResources { class
17 import org.robolectric.res.StringResources;174 return StringResources.processStringResources(currentNode.getTextContent()); in getText()329 return StringResources.processStringResources(value); in qualify()