Search Options

Results per page
Sort
Preferred Languages
Advance

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

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

        assertEquals(10, in.available());
        int total = 0;
        while (in.read() != -1) {
          total++;
        }
        assertEquals(0, in.available());
        assertEquals(20, total);
      }
    
      @SuppressWarnings("CheckReturnValue") // these calls to skip always return 0
      public void testSkip() throws Exception {
        MultiInputStream multi =
            new MultiInputStream(
                Collections.singleton(
                        new ByteSource() {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 4.6K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/io/MultiInputStreamTest.java

        assertEquals(10, in.available());
        int total = 0;
        while (in.read() != -1) {
          total++;
        }
        assertEquals(0, in.available());
        assertEquals(20, total);
      }
    
      @SuppressWarnings("CheckReturnValue") // these calls to skip always return 0
      public void testSkip() throws Exception {
        MultiInputStream multi =
            new MultiInputStream(
                Collections.singleton(
                        new ByteSource() {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 4.6K bytes
    - Viewed (0)
Back to top