Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 1 of 1 for testCharacterSimpleSplit (0.24 seconds)

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

      @SuppressWarnings("nullness") // test of a bogus call
      public void testSplitNullString() {
        assertThrows(NullPointerException.class, () -> COMMA_SPLITTER.split(null));
      }
    
      public void testCharacterSimpleSplit() {
        String simple = "a,b,c";
        Iterable<String> letters = COMMA_SPLITTER.split(simple);
        assertThat(letters).containsExactly("a", "b", "c").inOrder();
      }
    
      /**
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 15:59:55 GMT 2026
    - 29.7K bytes
    - Click Count (0)
Back to Top