Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for something (0.16 sec)

  1. guava-tests/test/com/google/common/io/CharSourceTest.java

        return suite;
      }
    
      private static final String STRING = ASCII + I18N;
      private static final String LINES = "foo\nbar\r\nbaz\rsomething";
      private static final ImmutableList<String> SPLIT_LINES =
          ImmutableList.of("foo", "bar", "baz", "something");
    
      private TestCharSource source;
    
      @Override
      public void setUp() {
        source = new TestCharSource(STRING);
      }
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 13K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/io/CharSourceTest.java

      }
    
      public void testReadLines_toList() throws IOException {
        TestCharSource lines = new TestCharSource(LINES);
        assertEquals(ImmutableList.of("foo", "bar", "baz", "something"), lines.readLines());
        assertTrue(lines.wasStreamOpened() && lines.wasStreamClosed());
      }
    
      public void testReadLines_withProcessor() throws IOException {
        TestCharSource lines = new TestCharSource(LINES);
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 12K bytes
    - Viewed (0)
Back to top