Merge "composer 2.4: Add new test case for getDisplayCapabilities"
This commit is contained in:
commit
d97b9ab2e2
1 changed files with 7 additions and 0 deletions
|
@ -184,6 +184,13 @@ TEST_P(GraphicsComposerHidlTest, getDisplayCapabilitiesBadDisplay) {
|
|||
EXPECT_EQ(Error::BAD_DISPLAY, error);
|
||||
}
|
||||
|
||||
TEST_P(GraphicsComposerHidlTest, getDisplayCapabilities) {
|
||||
for (Display display : mComposerCallback->getDisplays()) {
|
||||
std::vector<IComposerClient::DisplayCapability> capabilities;
|
||||
EXPECT_EQ(Error::NONE, mComposerClient->getDisplayCapabilities(display, &capabilities));
|
||||
}
|
||||
}
|
||||
|
||||
TEST_P(GraphicsComposerHidlTest, getDisplayConnectionType) {
|
||||
IComposerClient::DisplayConnectionType type;
|
||||
EXPECT_EQ(Error::BAD_DISPLAY,
|
||||
|
|
Loading…
Reference in a new issue