Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 1 of 1 for testSplitNullString (0.17 seconds)

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

    @NullMarked
    @GwtCompatible
    public class SplitterTest extends TestCase {
    
      private static final Splitter COMMA_SPLITTER = Splitter.on(',');
    
      @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";
    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