Searched refs:LOWER_HYPHEN (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 | 20 import static com.google.common.base.CaseFormat.LOWER_HYPHEN; 49 assertEquals("foo", LOWER_HYPHEN.to(LOWER_HYPHEN, "foo")); in testLowerHyphenToLowerHyphen() 50 assertEquals("foo-bar", LOWER_HYPHEN.to(LOWER_HYPHEN, "foo-bar")); in testLowerHyphenToLowerHyphen() 54 assertEquals("foo", LOWER_HYPHEN.to(LOWER_UNDERSCORE, "foo")); in testLowerHyphenToLowerUnderscore() 55 assertEquals("foo_bar", LOWER_HYPHEN.to(LOWER_UNDERSCORE, "foo-bar")); in testLowerHyphenToLowerUnderscore() 59 assertEquals("foo", LOWER_HYPHEN.to(LOWER_CAMEL, "foo")); in testLowerHyphenToLowerCamel() 60 assertEquals("fooBar", LOWER_HYPHEN.to(LOWER_CAMEL, "foo-bar")); in testLowerHyphenToLowerCamel() 64 assertEquals("Foo", LOWER_HYPHEN.to(UPPER_CAMEL, "foo")); in testLowerHyphenToUpperCamel() 65 assertEquals("FooBar", LOWER_HYPHEN.to(UPPER_CAMEL, "foo-bar")); in testLowerHyphenToUpperCamel() 69 assertEquals("FOO", LOWER_HYPHEN.to(UPPER_UNDERSCORE, "foo")); in testLowerHyphenToUpperUnderscore() [all …]
|
/external/guava/guava-tests/test/com/google/common/base/ |
D | CaseFormatTest.java | 20 import static com.google.common.base.CaseFormat.LOWER_HYPHEN; 60 assertEquals("foo", LOWER_HYPHEN.to(LOWER_HYPHEN, "foo")); in testLowerHyphenToLowerHyphen() 61 assertEquals("foo-bar", LOWER_HYPHEN.to(LOWER_HYPHEN, "foo-bar")); in testLowerHyphenToLowerHyphen() 65 assertEquals("foo", LOWER_HYPHEN.to(LOWER_UNDERSCORE, "foo")); in testLowerHyphenToLowerUnderscore() 66 assertEquals("foo_bar", LOWER_HYPHEN.to(LOWER_UNDERSCORE, "foo-bar")); in testLowerHyphenToLowerUnderscore() 70 assertEquals("foo", LOWER_HYPHEN.to(LOWER_CAMEL, "foo")); in testLowerHyphenToLowerCamel() 71 assertEquals("fooBar", LOWER_HYPHEN.to(LOWER_CAMEL, "foo-bar")); in testLowerHyphenToLowerCamel() 75 assertEquals("Foo", LOWER_HYPHEN.to(UPPER_CAMEL, "foo")); in testLowerHyphenToUpperCamel() 76 assertEquals("FooBar", LOWER_HYPHEN.to(UPPER_CAMEL, "foo-bar")); in testLowerHyphenToUpperCamel() 80 assertEquals("FOO", LOWER_HYPHEN.to(UPPER_UNDERSCORE, "foo")); in testLowerHyphenToUpperUnderscore() [all …]
|
/external/guava/guava/src/com/google/common/base/ |
D | CaseFormat.java | 40 LOWER_HYPHEN(CharMatcher.is('-'), "-") { enumConstant 63 if (format == LOWER_HYPHEN) { in convert() 99 if (format == LOWER_HYPHEN) { in convert()
|