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

Commit 9b2c450c authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Automerger Merge Worker
Browse files

Merge "Update IfExepensiveOutputDataspaceIsUsed test" into tm-dev am: 32ab6983

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/native/+/17143252

Change-Id: I871297aa0c9f3d58faaf56f0098d60a813dc3829
parents c16726aa 32ab6983
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -3986,8 +3986,9 @@ struct OutputComposeSurfacesTest_SetsExpensiveRendering : public OutputComposeSu
TEST_F(OutputComposeSurfacesTest_SetsExpensiveRendering, IfExepensiveOutputDataspaceIsUsed) {
    mOutput.mState.dataspace = kExpensiveOutputDataspace;

    LayerFE::LayerSettings layerSettings;
    EXPECT_CALL(mOutput, generateClientCompositionRequests(_, kExpensiveOutputDataspace, _))
            .WillOnce(Return(std::vector<LayerFE::LayerSettings>{}));
            .WillOnce(Return(std::vector<LayerFE::LayerSettings>{layerSettings}));

    // For this test, we also check the call order of key functions.
    InSequence seq;