Searched refs:UPPER_UNDERSCORE (Results 1 – 3 of 3) sorted by relevance
/external/guava/guava-gwt/test-super/com/google/common/base/super/com/google/common/base/ |
D | CaseFormatTest.java | 23 import static com.google.common.base.CaseFormat.UPPER_UNDERSCORE; 69 assertEquals("FOO", LOWER_HYPHEN.to(UPPER_UNDERSCORE, "foo")); in testLowerHyphenToUpperUnderscore() 70 assertEquals("FOO_BAR", LOWER_HYPHEN.to(UPPER_UNDERSCORE, "foo-bar")); in testLowerHyphenToUpperUnderscore() 94 assertEquals("FOO", LOWER_UNDERSCORE.to(UPPER_UNDERSCORE, "foo")); in testLowerUnderscoreToUpperUnderscore() 95 assertEquals("FOO_BAR", LOWER_UNDERSCORE.to(UPPER_UNDERSCORE, "foo_bar")); in testLowerUnderscoreToUpperUnderscore() 122 assertEquals("FOO", LOWER_CAMEL.to(UPPER_UNDERSCORE, "foo")); in testLowerCamelToUpperUnderscore() 123 assertEquals("FOO_BAR", LOWER_CAMEL.to(UPPER_UNDERSCORE, "fooBar")); in testLowerCamelToUpperUnderscore() 148 assertEquals("FOO", UPPER_CAMEL.to(UPPER_UNDERSCORE, "Foo")); in testUpperCamelToUpperUnderscore() 149 assertEquals("FOO_BAR", UPPER_CAMEL.to(UPPER_UNDERSCORE, "FooBar")); in testUpperCamelToUpperUnderscore() 150 assertEquals("H_T_T_P", UPPER_CAMEL.to(UPPER_UNDERSCORE, "HTTP")); in testUpperCamelToUpperUnderscore() [all …]
|
/external/guava/guava-tests/test/com/google/common/base/ |
D | CaseFormatTest.java | 23 import static com.google.common.base.CaseFormat.UPPER_UNDERSCORE; 80 assertEquals("FOO", LOWER_HYPHEN.to(UPPER_UNDERSCORE, "foo")); in testLowerHyphenToUpperUnderscore() 81 assertEquals("FOO_BAR", LOWER_HYPHEN.to(UPPER_UNDERSCORE, "foo-bar")); in testLowerHyphenToUpperUnderscore() 105 assertEquals("FOO", LOWER_UNDERSCORE.to(UPPER_UNDERSCORE, "foo")); in testLowerUnderscoreToUpperUnderscore() 106 assertEquals("FOO_BAR", LOWER_UNDERSCORE.to(UPPER_UNDERSCORE, "foo_bar")); in testLowerUnderscoreToUpperUnderscore() 133 assertEquals("FOO", LOWER_CAMEL.to(UPPER_UNDERSCORE, "foo")); in testLowerCamelToUpperUnderscore() 134 assertEquals("FOO_BAR", LOWER_CAMEL.to(UPPER_UNDERSCORE, "fooBar")); in testLowerCamelToUpperUnderscore() 159 assertEquals("FOO", UPPER_CAMEL.to(UPPER_UNDERSCORE, "Foo")); in testUpperCamelToUpperUnderscore() 160 assertEquals("FOO_BAR", UPPER_CAMEL.to(UPPER_UNDERSCORE, "FooBar")); in testUpperCamelToUpperUnderscore() 161 assertEquals("H_T_T_P", UPPER_CAMEL.to(UPPER_UNDERSCORE, "HTTP")); in testUpperCamelToUpperUnderscore() [all …]
|
/external/guava/guava/src/com/google/common/base/ |
D | CaseFormat.java | 48 if (format == UPPER_UNDERSCORE) { in convert() 66 if (format == UPPER_UNDERSCORE) { in convert() 94 UPPER_UNDERSCORE(CharMatcher.is('_'), "_") { enumConstant
|