Home
last modified time | relevance | path

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

/third_party/skia/third_party/externals/dawn/src/tests/unittests/
DConcurrentCacheTests.cpp68 std::pair<SimpleCachedObject*, bool> insertOutput = {}; in TEST_F() local
72 dawn_native::AsyncTask asyncTask1([&insertOutput, cachePtr, &cachedObject] { in TEST_F()
73 insertOutput = cachePtr->Insert(&cachedObject); in TEST_F()
83 ASSERT_TRUE(insertOutput.first == &cachedObject || insertOutput.first == &anotherCachedObject); in TEST_F()
84 ASSERT_EQ(insertOutput.first, anotherInsertOutput.first); in TEST_F()
85 ASSERT_EQ(insertOutput.second, !anotherInsertOutput.second); in TEST_F()
92 std::pair<SimpleCachedObject*, bool> insertOutput = {}; in TEST_F() local
94 dawn_native::AsyncTask insertTask([&insertOutput, cachePtr, &cachedObject] { in TEST_F()
95 insertOutput = cachePtr->Insert(&cachedObject); in TEST_F()
111 ASSERT_EQ(&cachedObject, insertOutput.first); in TEST_F()
[all …]