Home
last modified time | relevance | path

Searched refs:expectedHash (Results 1 – 5 of 5) sorted by relevance

/external/guava/guava-tests/test/com/google/common/hash/
DHashingInputStreamTest.java116 HashCode expectedHash = Hashing.md5().hashBytes(testBytes); in testHash_hashesCorrectly() local
123 assertEquals(expectedHash, in.hash()); in testHash_hashesCorrectly()
127 HashCode expectedHash = Hashing.md5().hashBytes(testBytes); in testHash_hashesCorrectlyReadOutOfBound() local
135 assertEquals(expectedHash, in.hash()); in testHash_hashesCorrectlyReadOutOfBound()
139 HashCode expectedHash = Hashing.md5().hashBytes(new byte[] {'m', 's'}); in testHash_hashesCorrectlyForSkipping() local
149 assertEquals(expectedHash, in.hash()); in testHash_hashesCorrectlyForSkipping()
DHashingOutputStreamTest.java82 HashCode expectedHash = Hashing.md5().hashBytes(buf); in testHash_hashesCorrectly() local
87 assertEquals(expectedHash, out.hash()); in testHash_hashesCorrectly()
/external/deqp/modules/internal/
DditImageIOTests.cpp43 …ReadCase (tcu::TestContext& testCtx, const char* name, const char* filename, deUint32 expectedHash) in ImageReadCase() argument
46 , m_expectedHash (expectedHash) in ImageReadCase()
/external/guava/guava-tests/test/com/google/common/io/
DByteSourceTester.java199 HashCode expectedHash = Hashing.md5().hashBytes(expected); in testHash() local
200 assertEquals(expectedHash, source.hash(Hashing.md5())); in testHash()
/external/guava/guava-testlib/src/com/google/common/collect/testing/
DMapInterfaceTest.java222 int expectedHash = in assertInvariants() local
225 assertEquals(expectedHash, entry.hashCode()); in assertInvariants()
226 expectedEntrySetHash += expectedHash; in assertInvariants()
254 int expectedHash = 0; in assertInvariants() local
256 expectedHash += entry.hashCode(); in assertInvariants()
258 assertEquals(expectedHash, map.hashCode()); in assertInvariants()