summaryrefslogtreecommitdiff
path: root/stream-servers/tests/DisplayVk_unittest.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'stream-servers/tests/DisplayVk_unittest.cpp')
-rw-r--r--stream-servers/tests/DisplayVk_unittest.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/stream-servers/tests/DisplayVk_unittest.cpp b/stream-servers/tests/DisplayVk_unittest.cpp
index b6d81f44..f0308790 100644
--- a/stream-servers/tests/DisplayVk_unittest.cpp
+++ b/stream-servers/tests/DisplayVk_unittest.cpp
@@ -209,7 +209,7 @@ TEST_F(DisplayVkTest, PostWithoutSurfaceShouldntCrash) {
ASSERT_TRUE(texture->write(pixels));
auto cbvk = displayVk.createDisplayBuffer(texture->m_vkImage, RenderTexture::k_vkFormat,
textureWidth, textureHeight);
- displayVk.post(cbvk);
+ ASSERT_TRUE(std::get<0>(displayVk.post(cbvk)));
}
TEST_F(DisplayVkTest, SimplePost) {
@@ -256,7 +256,7 @@ TEST_F(DisplayVkTest, PostTwoColorBuffers) {
m_displayVk->createDisplayBuffer(greenTexture->m_vkImage, greenTexture->k_vkFormat,
greenTexture->m_width, greenTexture->m_height);
for (uint32_t i = 0; i < 10; i++) {
- m_displayVk->post(redCbvk);
- m_displayVk->post(greenCbvk);
+ ASSERT_TRUE(std::get<0>(m_displayVk->post(redCbvk)));
+ ASSERT_TRUE(std::get<0>(m_displayVk->post(greenCbvk)));
}
}