Home
last modified time | relevance | path

Searched refs:primitiveSink (Results 1 – 2 of 2) sorted by relevance

/external/guava/android/guava-tests/test/com/google/common/hash/
DFunnelsTest.java40 PrimitiveSink primitiveSink = mock(PrimitiveSink.class); in testForBytes() local
41 Funnels.byteArrayFunnel().funnel(new byte[] {4, 3, 2, 1}, primitiveSink); in testForBytes()
42 verify(primitiveSink).putBytes(new byte[] {4, 3, 2, 1}); in testForBytes()
50 PrimitiveSink primitiveSink = mock(PrimitiveSink.class); in testForStrings() local
51 Funnels.unencodedCharsFunnel().funnel("test", primitiveSink); in testForStrings()
52 verify(primitiveSink).putUnencodedChars("test"); in testForStrings()
61 PrimitiveSink primitiveSink = mock(PrimitiveSink.class); in testForStringsCharset() local
62 Funnels.stringFunnel(charset).funnel("test", primitiveSink); in testForStringsCharset()
63 verify(primitiveSink).putString("test", charset); in testForStringsCharset()
75 PrimitiveSink primitiveSink = mock(PrimitiveSink.class); in testForInts() local
[all …]
/external/guava/guava-tests/test/com/google/common/hash/
DFunnelsTest.java40 PrimitiveSink primitiveSink = mock(PrimitiveSink.class); in testForBytes() local
41 Funnels.byteArrayFunnel().funnel(new byte[] {4, 3, 2, 1}, primitiveSink); in testForBytes()
42 verify(primitiveSink).putBytes(new byte[] {4, 3, 2, 1}); in testForBytes()
50 PrimitiveSink primitiveSink = mock(PrimitiveSink.class); in testForStrings() local
51 Funnels.unencodedCharsFunnel().funnel("test", primitiveSink); in testForStrings()
52 verify(primitiveSink).putUnencodedChars("test"); in testForStrings()
61 PrimitiveSink primitiveSink = mock(PrimitiveSink.class); in testForStringsCharset() local
62 Funnels.stringFunnel(charset).funnel("test", primitiveSink); in testForStringsCharset()
63 verify(primitiveSink).putString("test", charset); in testForStringsCharset()
75 PrimitiveSink primitiveSink = mock(PrimitiveSink.class); in testForInts() local
[all …]