diff options
| author | 2022-03-10 00:44:30 +0000 | |
|---|---|---|
| committer | 2022-03-10 00:44:30 +0000 | |
| commit | 32ab698341fa5861e67bae4f15c9f1ac155b7b44 (patch) | |
| tree | fbb71f57866daa727895f073ce63825bed51fff6 | |
| parent | 2bf11e803360c9c668725abe645cb918eb49bf51 (diff) | |
| parent | 7bdcceb598c925d88dfb0ff842e7610a52598444 (diff) | |
Merge "Update IfExepensiveOutputDataspaceIsUsed test" into tm-dev
| -rw-r--r-- | services/surfaceflinger/CompositionEngine/tests/OutputTest.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/services/surfaceflinger/CompositionEngine/tests/OutputTest.cpp b/services/surfaceflinger/CompositionEngine/tests/OutputTest.cpp index 0c5ea79350..8bbb73c0ce 100644 --- a/services/surfaceflinger/CompositionEngine/tests/OutputTest.cpp +++ b/services/surfaceflinger/CompositionEngine/tests/OutputTest.cpp @@ -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; |