Add UpdateAttempterIntegrationTesting
Test: th
Bug: 201099341
Change-Id: I46d5ad86e238d28b7c20ef6768ffadf0e6ab9177
diff --git a/aosp/boot_control_android.h b/aosp/boot_control_android.h
index a65aa2e..9012032 100644
--- a/aosp/boot_control_android.h
+++ b/aosp/boot_control_android.h
@@ -23,6 +23,7 @@
#include <android/hardware/boot/1.0/IBootControl.h>
#include <liblp/builder.h>
+#include <gtest/gtest_prod.h>
#include "update_engine/aosp/dynamic_partition_control_android.h"
#include "update_engine/common/boot_control.h"
@@ -32,7 +33,7 @@
// The Android implementation of the BootControlInterface. This implementation
// uses the libhardware's boot_control HAL to access the bootloader.
-class BootControlAndroid : public BootControlInterface {
+class BootControlAndroid final : public BootControlInterface {
public:
BootControlAndroid() = default;
~BootControlAndroid() = default;
@@ -70,6 +71,7 @@
std::unique_ptr<DynamicPartitionControlAndroid> dynamic_control_;
friend class BootControlAndroidTest;
+ friend class UpdateAttempterAndroidIntegrationTest;
DISALLOW_COPY_AND_ASSIGN(BootControlAndroid);
};