Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 1 of 1 for testWrite_putSingleByte (0.25 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

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

        super.setUp();
        hasher = mock(Hasher.class);
        hashFunction = mock(HashFunction.class);
    
        when(hashFunction.newHasher()).thenReturn(hasher);
      }
    
      public void testWrite_putSingleByte() throws Exception {
        int b = 'q';
        HashingOutputStream out = new HashingOutputStream(hashFunction, buffer);
        out.write(b);
    
        verify(hashFunction).newHasher();
        verify(hasher).putByte((byte) b);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 19 18:53:45 GMT 2026
    - 3.2K bytes
    - Click Count (0)
Back to Top