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

Side by Side Diff: components/proximity_auth/cryptauth/cryptauth_enroller_impl_unittest.cc

Issue 1551433002: Switch to standard integer types in components/, part 3 of 4. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: more Created 4 years, 12 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 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 The Chromium Authors. All rights reserved.
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 "components/proximity_auth/cryptauth/cryptauth_enroller_impl.h" 5 #include "components/proximity_auth/cryptauth/cryptauth_enroller_impl.h"
6 6
7 #include "base/bind.h" 7 #include "base/bind.h"
8 #include "base/macros.h"
8 #include "components/proximity_auth/cryptauth/cryptauth_enrollment_utils.h" 9 #include "components/proximity_auth/cryptauth/cryptauth_enrollment_utils.h"
9 #include "components/proximity_auth/cryptauth/fake_secure_message_delegate.h" 10 #include "components/proximity_auth/cryptauth/fake_secure_message_delegate.h"
10 #include "components/proximity_auth/cryptauth/mock_cryptauth_client.h" 11 #include "components/proximity_auth/cryptauth/mock_cryptauth_client.h"
11 #include "testing/gtest/include/gtest/gtest.h" 12 #include "testing/gtest/include/gtest/gtest.h"
12 13
13 using ::testing::_; 14 using ::testing::_;
14 using ::testing::Return; 15 using ::testing::Return;
15 16
16 namespace proximity_auth { 17 namespace proximity_auth {
17 18
(...skipping 330 matching lines...) Expand 10 before | Expand all | Expand 10 after
348 EXPECT_FALSE(*enroller_result_); 349 EXPECT_FALSE(*enroller_result_);
349 } 350 }
350 351
351 TEST_F(ProximityAuthCryptAuthEnrollerTest, IncompleteDeviceInfo) { 352 TEST_F(ProximityAuthCryptAuthEnrollerTest, IncompleteDeviceInfo) {
352 StartEnroller(cryptauth::GcmDeviceInfo()); 353 StartEnroller(cryptauth::GcmDeviceInfo());
353 ASSERT_TRUE(enroller_result_.get()); 354 ASSERT_TRUE(enroller_result_.get());
354 EXPECT_FALSE(*enroller_result_); 355 EXPECT_FALSE(*enroller_result_);
355 } 356 }
356 357
357 } // namespace proximity_auth 358 } // namespace proximity_auth
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698