summaryrefslogtreecommitdiffstats
path: root/tests/camera2/CameraModuleFixture.h
diff options
context:
space:
mode:
Diffstat (limited to 'tests/camera2/CameraModuleFixture.h')
-rw-r--r--tests/camera2/CameraModuleFixture.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/camera2/CameraModuleFixture.h b/tests/camera2/CameraModuleFixture.h
index bf82a97..3a2df69 100644
--- a/tests/camera2/CameraModuleFixture.h
+++ b/tests/camera2/CameraModuleFixture.h
@@ -65,7 +65,7 @@ struct CameraModuleFixture {
ASSERT_LE(0, mNumberOfCameras);
ASSERT_LE(
- CAMERA_MODULE_API_VERSION_2_0, mModule->getRawModule()->module_api_version)
+ CAMERA_MODULE_API_VERSION_2_0, mModule->getModuleApiVersion())
<< "Wrong module API version";
/* For using this fixture in other tests only */
@@ -83,7 +83,7 @@ struct CameraModuleFixture {
mDevice.clear();
if (!TEST_EXTENSION_FORKING_ENABLED) {
- ASSERT_EQ(0, HWModuleHelpers::closeModule(mModule->getRawModule()))
+ ASSERT_EQ(0, HWModuleHelpers::closeModule(mModule->getDso()))
<< "Failed to close camera HAL module";
}
}