Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for testUpperUnderscoreToLowerHyphen (0.27 sec)

  1. guava-tests/test/com/google/common/base/CaseFormatTest.java

        assertEquals("H_T_T_P", UPPER_CAMEL.to(UPPER_UNDERSCORE, "HTTP"));
        assertEquals("H__T__T__P", UPPER_CAMEL.to(UPPER_UNDERSCORE, "H_T_T_P"));
      }
    
      public void testUpperUnderscoreToLowerHyphen() {
        assertEquals("foo", UPPER_UNDERSCORE.to(LOWER_HYPHEN, "FOO"));
        assertEquals("foo-bar", UPPER_UNDERSCORE.to(LOWER_HYPHEN, "FOO_BAR"));
      }
    
      public void testUpperUnderscoreToLowerUnderscore() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu May 04 09:41:29 UTC 2023
    - 8.7K bytes
    - Viewed (0)
Back to top