Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 1 of 1 for testAsOutputStream (0.09 seconds)

  1. android/guava-tests/test/com/google/common/hash/FunnelsTest.java

                }
              }
            };
        try {
          funnel.funnel(null, primitiveSink);
          fail();
        } catch (NullPointerException ok) {
        }
      }
    
      public void testAsOutputStream() throws Exception {
        PrimitiveSink sink = mock(PrimitiveSink.class);
        OutputStream out = Funnels.asOutputStream(sink);
        byte[] bytes = {1, 2, 3, 4};
        out.write(255);
        out.write(bytes);
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Dec 19 18:03:30 GMT 2024
    - 6K bytes
    - Click Count (0)
Back to Top