Loading graphics/allocator/aidl/vts/VtsHalGraphicsAllocatorAidl_TargetTest.cpp +3 −2 Original line number Diff line number Diff line Loading @@ -153,7 +153,6 @@ class GraphicsTestsBase { if (error == EX_SERVICE_SPECIFIC) { error = status.getServiceSpecificError(); EXPECT_NE(OK, error) << "Failed to set error properly"; EXPECT_EQ(OK, error) << "Failed to allocate"; } else { EXPECT_EQ(OK, error) << "Allocation transport failure"; } Loading Loading @@ -278,6 +277,7 @@ TEST_P(GraphicsFrontBufferTests, FrontBufferGpuToCpu) { if (!supported) { ASSERT_EQ(nullptr, buffer.get()) << "Allocation succeeded, but IMapper::isSupported was false"; GTEST_SKIP(); } else { ASSERT_NE(nullptr, buffer.get()) << "Allocation failed, but IMapper::isSupported was true"; } Loading Loading @@ -319,6 +319,7 @@ TEST_P(GraphicsFrontBufferTests, FrontBufferGpuToGpu) { if (!supported) { ASSERT_EQ(nullptr, buffer.get()) << "Allocation succeeded, but IMapper::isSupported was false"; GTEST_SKIP(); } else { ASSERT_NE(nullptr, buffer.get()) << "Allocation failed, but IMapper::isSupported was true"; } Loading Loading
graphics/allocator/aidl/vts/VtsHalGraphicsAllocatorAidl_TargetTest.cpp +3 −2 Original line number Diff line number Diff line Loading @@ -153,7 +153,6 @@ class GraphicsTestsBase { if (error == EX_SERVICE_SPECIFIC) { error = status.getServiceSpecificError(); EXPECT_NE(OK, error) << "Failed to set error properly"; EXPECT_EQ(OK, error) << "Failed to allocate"; } else { EXPECT_EQ(OK, error) << "Allocation transport failure"; } Loading Loading @@ -278,6 +277,7 @@ TEST_P(GraphicsFrontBufferTests, FrontBufferGpuToCpu) { if (!supported) { ASSERT_EQ(nullptr, buffer.get()) << "Allocation succeeded, but IMapper::isSupported was false"; GTEST_SKIP(); } else { ASSERT_NE(nullptr, buffer.get()) << "Allocation failed, but IMapper::isSupported was true"; } Loading Loading @@ -319,6 +319,7 @@ TEST_P(GraphicsFrontBufferTests, FrontBufferGpuToGpu) { if (!supported) { ASSERT_EQ(nullptr, buffer.get()) << "Allocation succeeded, but IMapper::isSupported was false"; GTEST_SKIP(); } else { ASSERT_NE(nullptr, buffer.get()) << "Allocation failed, but IMapper::isSupported was true"; } Loading