Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for assertExpectedLines (0.1 sec)

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

        ImmutableList.Builder<String> builder = ImmutableList.builder();
        source.forEachLine(builder::add);
        assertExpectedLines(builder.build());
      }
    
      private void assertExpectedString(String string) {
        assertEquals(expected, string);
      }
    
      private void assertExpectedLines(List<String> list) {
        assertEquals(expectedLines, list);
      }
    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

          assertNull(source.readFirstLine());
        } else {
          assertEquals(expectedLines.get(0), source.readFirstLine());
        }
      }
    
      public void testReadLines_toList() throws IOException {
        assertExpectedLines(source.readLines());
      }
    
      public void testIsEmpty() throws IOException {
        assertEquals(expected.isEmpty(), source.isEmpty());
      }
    
      public void testLength() throws IOException {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:22:54 UTC 2024
    - 6.8K bytes
    - Viewed (0)
Back to top