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

Commit c74317ca authored by Treehugger Robot's avatar Treehugger Robot Committed by Automerger Merge Worker
Browse files

Merge "Remove uses of deprecated GTest macro." am: 3eed07ea

parents 453240f6 3eed07ea
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -46,8 +46,6 @@ class SensorsHidlEnvironmentV1_0
    bool resetHal() override;
    void startPollingThread() override;
    static void pollingThread(SensorsHidlEnvironmentV1_0* env, std::atomic_bool& stop);

    GTEST_DISALLOW_COPY_AND_ASSIGN_(SensorsHidlEnvironmentV1_0);
};

#endif  // ANDROID_SENSORS_HIDL_ENVIRONMENT_V1_0_H
 No newline at end of file
+0 −2
Original line number Diff line number Diff line
@@ -69,8 +69,6 @@ class SensorsAidlEnvironment : public SensorsVtsEnvironmentBase<Event> {
     */
    void readEvents();

    GTEST_DISALLOW_COPY_AND_ASSIGN_(SensorsAidlEnvironment);

    /**
     * Pointer to the Sensors HAL Interface that allows the test to call HAL functions.
     */
+0 −2
Original line number Diff line number Diff line
@@ -79,8 +79,6 @@ class SensorsHidlEnvironmentV2_X
     */
    void readEvents();

    GTEST_DISALLOW_COPY_AND_ASSIGN_(SensorsHidlEnvironmentV2_X);

    /**
     * Pointer to the Sensors HAL Interface that allows the test to call HAL functions.
     */
+2 −2
Original line number Diff line number Diff line
@@ -115,6 +115,8 @@ class SensorsVtsEnvironmentBase {
        : mCollectionEnabled(false), mCallback(nullptr) {
        mServiceName = service_name;
    }
    SensorsVtsEnvironmentBase(const SensorsVtsEnvironmentBase&) = delete;
    SensorsVtsEnvironmentBase& operator=(const SensorsVtsEnvironmentBase&) = delete;
    virtual ~SensorsVtsEnvironmentBase(){};

    void addEvent(const Event& ev) {
@@ -139,8 +141,6 @@ class SensorsVtsEnvironmentBase {
    std::mutex mEventsMutex;

    IEventCallback<Event>* mCallback;

    GTEST_DISALLOW_COPY_AND_ASSIGN_(SensorsVtsEnvironmentBase<Event>);
};

#endif  // ANDROID_SENSORS_VTS_ENVIRONMENT_BASE_H
 No newline at end of file