OLD | NEW |
1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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 "net/android/cellular_signal_strength.h" | 5 #include "net/android/cellular_signal_strength.h" |
6 | 6 |
7 #include <stdint.h> | 7 #include <stdint.h> |
8 | 8 |
9 #include "net/base/network_change_notifier.h" | 9 #include "net/base/network_change_notifier.h" |
10 #include "testing/gtest/include/gtest/gtest.h" | 10 #include "testing/gtest/include/gtest/gtest.h" |
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
45 return; | 45 return; |
46 } | 46 } |
47 | 47 |
48 EXPECT_TRUE(signal_strength_level_available); | 48 EXPECT_TRUE(signal_strength_level_available); |
49 EXPECT_LE(0, signal_strength_level); | 49 EXPECT_LE(0, signal_strength_level); |
50 EXPECT_GE(4, signal_strength_level); | 50 EXPECT_GE(4, signal_strength_level); |
51 } | 51 } |
52 | 52 |
53 } // namespace | 53 } // namespace |
54 | 54 |
55 } // namespace net | 55 } // namespace net |
OLD | NEW |