Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit fc1e3f11 authored by Ady Abraham's avatar Ady Abraham Committed by Wiwit Rifa'i
Browse files

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
parent ac6b2feb
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -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());