Home
last modified time | relevance | path

Searched refs:LOWER_UNDERSCORE (Results 1 – 3 of 3) sorted by relevance

/external/guava/guava-gwt/test-super/com/google/common/base/super/com/google/common/base/
DCaseFormatTest.java21 import static com.google.common.base.CaseFormat.LOWER_UNDERSCORE;
54 assertEquals("foo", LOWER_HYPHEN.to(LOWER_UNDERSCORE, "foo")); in testLowerHyphenToLowerUnderscore()
55 assertEquals("foo_bar", LOWER_HYPHEN.to(LOWER_UNDERSCORE, "foo-bar")); in testLowerHyphenToLowerUnderscore()
74 assertEquals("foo", LOWER_UNDERSCORE.to(LOWER_HYPHEN, "foo")); in testLowerUnderscoreToLowerHyphen()
75 assertEquals("foo-bar", LOWER_UNDERSCORE.to(LOWER_HYPHEN, "foo_bar")); in testLowerUnderscoreToLowerHyphen()
79 assertEquals("foo", LOWER_UNDERSCORE.to(LOWER_UNDERSCORE, "foo")); in testLowerUnderscoreToLowerUnderscore()
80 assertEquals("foo_bar", LOWER_UNDERSCORE.to(LOWER_UNDERSCORE, "foo_bar")); in testLowerUnderscoreToLowerUnderscore()
84 assertEquals("foo", LOWER_UNDERSCORE.to(LOWER_CAMEL, "foo")); in testLowerUnderscoreToLowerCamel()
85 assertEquals("fooBar", LOWER_UNDERSCORE.to(LOWER_CAMEL, "foo_bar")); in testLowerUnderscoreToLowerCamel()
89 assertEquals("Foo", LOWER_UNDERSCORE.to(UPPER_CAMEL, "foo")); in testLowerUnderscoreToUpperCamel()
[all …]
/external/guava/guava-tests/test/com/google/common/base/
DCaseFormatTest.java21 import static com.google.common.base.CaseFormat.LOWER_UNDERSCORE;
65 assertEquals("foo", LOWER_HYPHEN.to(LOWER_UNDERSCORE, "foo")); in testLowerHyphenToLowerUnderscore()
66 assertEquals("foo_bar", LOWER_HYPHEN.to(LOWER_UNDERSCORE, "foo-bar")); in testLowerHyphenToLowerUnderscore()
85 assertEquals("foo", LOWER_UNDERSCORE.to(LOWER_HYPHEN, "foo")); in testLowerUnderscoreToLowerHyphen()
86 assertEquals("foo-bar", LOWER_UNDERSCORE.to(LOWER_HYPHEN, "foo_bar")); in testLowerUnderscoreToLowerHyphen()
90 assertEquals("foo", LOWER_UNDERSCORE.to(LOWER_UNDERSCORE, "foo")); in testLowerUnderscoreToLowerUnderscore()
91 assertEquals("foo_bar", LOWER_UNDERSCORE.to(LOWER_UNDERSCORE, "foo_bar")); in testLowerUnderscoreToLowerUnderscore()
95 assertEquals("foo", LOWER_UNDERSCORE.to(LOWER_CAMEL, "foo")); in testLowerUnderscoreToLowerCamel()
96 assertEquals("fooBar", LOWER_UNDERSCORE.to(LOWER_CAMEL, "foo_bar")); in testLowerUnderscoreToLowerCamel()
100 assertEquals("Foo", LOWER_UNDERSCORE.to(UPPER_CAMEL, "foo")); in testLowerUnderscoreToUpperCamel()
[all …]
/external/guava/guava/src/com/google/common/base/
DCaseFormat.java45 if (format == LOWER_UNDERSCORE) { in convert()
58 LOWER_UNDERSCORE(CharMatcher.is('_'), "_") { enumConstant
102 if (format == LOWER_UNDERSCORE) { in convert()