mirror of
https://github.com/Evolution-X/hardware_interfaces
synced 2026-02-01 05:49:27 +00:00
composer: vts: don't clear reader errors on teardown
Fixing a bug that caused Teardown to clear the errors before checking them Bug: 303735490 Test: presubmit Change-Id: Ieb02ab3015fc21bcef6624f8f45c3b84549005c2
This commit is contained in:
committed by
Wiwit Rifa'i
parent
ac6b2febe4
commit
fc1e3f11ad
@@ -1401,7 +1401,6 @@ class GraphicsComposerAidlCommandTest : public GraphicsComposerAidlTest {
|
||||
protected:
|
||||
void TearDown() override {
|
||||
ASSERT_FALSE(mDisplays.empty());
|
||||
const auto errors = mReader.takeErrors();
|
||||
ASSERT_TRUE(mReader.takeErrors().empty());
|
||||
ASSERT_TRUE(mReader.takeChangedCompositionTypes(getPrimaryDisplayId()).empty());
|
||||
|
||||
|
||||
Reference in New Issue
Block a user