Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(138)

Side by Side Diff: chromeos/dbus/biod_biometrics_manager_client_unittest.cc

Issue 2581403002: cros: Remaining interfaces for DBUS biometrics client. (Closed)
Patch Set: Fix patch set 8 errors. Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2017 The Chromium Authors. All rights reserved.
rkc 2017/03/25 00:41:38 nit: You should probably fix this in the previous
sammiequon 2017/04/03 17:52:27 Done.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "chromeos/dbus/biod_biometrics_manager_client.h" 5 #include "chromeos/dbus/biod_biometrics_manager_client.h"
6 6
7 #include <map> 7 #include <map>
8 #include <string> 8 #include <string>
9 9
10 #include "base/bind.h" 10 #include "base/bind.h"
11 #include "base/run_loop.h" 11 #include "base/run_loop.h"
(...skipping 307 matching lines...) Expand 10 before | Expand all | Expand 10 after
319 EmitAuthScanDoneSignal(scan_signal, test_attempt); 319 EmitAuthScanDoneSignal(scan_signal, test_attempt);
320 EXPECT_EQ(2, observer1.num_auth_scan_received()); 320 EXPECT_EQ(2, observer1.num_auth_scan_received());
321 EXPECT_EQ(1, observer2.num_auth_scan_received()); 321 EXPECT_EQ(1, observer2.num_auth_scan_received());
322 322
323 client_->RemoveObserver(&observer1); 323 client_->RemoveObserver(&observer1);
324 EmitAuthScanDoneSignal(scan_signal, test_attempt); 324 EmitAuthScanDoneSignal(scan_signal, test_attempt);
325 EXPECT_EQ(2, observer1.num_auth_scan_received()); 325 EXPECT_EQ(2, observer1.num_auth_scan_received());
326 EXPECT_EQ(2, observer2.num_auth_scan_received()); 326 EXPECT_EQ(2, observer2.num_auth_scan_received());
327 } 327 }
328 } // namespace chromeos 328 } // namespace chromeos
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698