[RLZ] Ensure RlzLibTest correctly initialize state
TestDebugDaemonClient constructor was leaving one of its member variable in unintialized test. Ensure that it is initialized by providing a default value at declaration. Bug: none Change-Id: I4c3c6c78de3d85af6670486e0c71576bc32eda3f Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2905554 Auto-Submit: Sylvain Defresne <sdefresne@chromium.org> Commit-Queue: Roger Tawa <rogerta@chromium.org> Reviewed-by: Roger Tawa <rogerta@chromium.org> Cr-Commit-Position: refs/heads/master@{#884978}
This commit is contained in:

committed by
Chromium LUCI CQ

parent
4d9abc3cfc
commit
45df681a4f
@ -1098,7 +1098,7 @@ class TestDebugDaemonClient : public chromeos::FakeDebugDaemonClient {
|
||||
|
||||
private:
|
||||
int num_set_rlz_ping_sent_ = 0;
|
||||
bool default_result_;
|
||||
bool default_result_ = false;
|
||||
DISALLOW_COPY_AND_ASSIGN(TestDebugDaemonClient);
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user