Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for testReadLines_withProcessor_stopsOnFalse (0.2 sec)

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

                  @Override
                  public List<String> getResult() {
                    return list;
                  }
                });
    
        assertExpectedLines(list);
      }
    
      public void testReadLines_withProcessor_stopsOnFalse() throws IOException {
        List<String> list =
            source.readLines(
                new LineProcessor<List<String>>() {
                  List<String> list = Lists.newArrayList();
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:22:54 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/io/CharSourceTester.java

                  @Override
                  public List<String> getResult() {
                    return list;
                  }
                });
    
        assertExpectedLines(list);
      }
    
      public void testReadLines_withProcessor_stopsOnFalse() throws IOException {
        List<String> list =
            source.readLines(
                new LineProcessor<List<String>>() {
                  List<String> list = Lists.newArrayList();
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:22:54 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/io/CharSourceTest.java

                  }
                });
        assertEquals(ImmutableList.of("foo", "bar", "baz", "something"), list);
        assertTrue(lines.wasStreamOpened() && lines.wasStreamClosed());
      }
    
      public void testReadLines_withProcessor_stopsOnFalse() throws IOException {
        TestCharSource lines = new TestCharSource(LINES);
        List<String> list =
            lines.readLines(
                new LineProcessor<List<String>>() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 14:20:11 UTC 2024
    - 11.4K bytes
    - Viewed (0)
Back to top