Lines Matching refs:LOWER_HYPHEN
20 import static com.google.common.base.CaseFormat.LOWER_HYPHEN;
53 LOWER_CAMEL.to(LOWER_HYPHEN, null);
59 assertEquals("foo", LOWER_HYPHEN.to(LOWER_HYPHEN, "foo"));
60 assertEquals("foo-bar", LOWER_HYPHEN.to(LOWER_HYPHEN, "foo-bar"));
64 assertEquals("foo", LOWER_HYPHEN.to(LOWER_UNDERSCORE, "foo"));
65 assertEquals("foo_bar", LOWER_HYPHEN.to(LOWER_UNDERSCORE, "foo-bar"));
69 assertEquals("foo", LOWER_HYPHEN.to(LOWER_CAMEL, "foo"));
70 assertEquals("fooBar", LOWER_HYPHEN.to(LOWER_CAMEL, "foo-bar"));
74 assertEquals("Foo", LOWER_HYPHEN.to(UPPER_CAMEL, "foo"));
75 assertEquals("FooBar", LOWER_HYPHEN.to(UPPER_CAMEL, "foo-bar"));
79 assertEquals("FOO", LOWER_HYPHEN.to(UPPER_UNDERSCORE, "foo"));
80 assertEquals("FOO_BAR", LOWER_HYPHEN.to(UPPER_UNDERSCORE, "foo-bar"));
84 assertEquals("foo", LOWER_UNDERSCORE.to(LOWER_HYPHEN, "foo"));
85 assertEquals("foo-bar", LOWER_UNDERSCORE.to(LOWER_HYPHEN, "foo_bar"));
109 assertEquals("foo", LOWER_CAMEL.to(LOWER_HYPHEN, "foo"));
110 assertEquals("foo-bar", LOWER_CAMEL.to(LOWER_HYPHEN, "fooBar"));
111 assertEquals("h-t-t-p", LOWER_CAMEL.to(LOWER_HYPHEN, "HTTP"));
137 assertEquals("foo", UPPER_CAMEL.to(LOWER_HYPHEN, "Foo"));
138 assertEquals("foo-bar", UPPER_CAMEL.to(LOWER_HYPHEN, "FooBar"));
165 assertEquals("foo", UPPER_UNDERSCORE.to(LOWER_HYPHEN, "FOO"));
166 assertEquals("foo-bar", UPPER_UNDERSCORE.to(LOWER_HYPHEN, "FOO_BAR"));