| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 "chromeos/network/onc/onc_validator.h" | 5 #include "chromeos/network/onc/onc_validator.h" |
| 6 | 6 |
| 7 #include <memory> | 7 #include <memory> |
| 8 #include <string> | 8 #include <string> |
| 9 #include <utility> | 9 #include <utility> |
| 10 | 10 |
| (...skipping 546 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 557 true), | 557 true), |
| 558 ExpectBothNotValid("", "")), | 558 ExpectBothNotValid("", "")), |
| 559 std::make_pair(OncParams("tether-battery-over-100", | 559 std::make_pair(OncParams("tether-battery-over-100", |
| 560 &kNetworkWithStateSignature, | 560 &kNetworkWithStateSignature, |
| 561 true), | 561 true), |
| 562 ExpectBothNotValid("", "")), | 562 ExpectBothNotValid("", "")), |
| 563 std::make_pair(OncParams("tether-missing-carrier", | 563 std::make_pair(OncParams("tether-missing-carrier", |
| 564 &kNetworkWithStateSignature, | 564 &kNetworkWithStateSignature, |
| 565 true), | 565 true), |
| 566 ExpectBothNotValid("", "")), | 566 ExpectBothNotValid("", "")), |
| 567 std::make_pair(OncParams("tether-missing-has-connected-to-host", |
| 568 &kNetworkWithStateSignature, |
| 569 true), |
| 570 ExpectBothNotValid("", "")), |
| 567 std::make_pair(OncParams("tether-missing-signal-strength", | 571 std::make_pair(OncParams("tether-missing-signal-strength", |
| 568 &kNetworkWithStateSignature, | 572 &kNetworkWithStateSignature, |
| 569 true), | 573 true), |
| 570 ExpectBothNotValid("", "")), | 574 ExpectBothNotValid("", "")), |
| 571 std::make_pair(OncParams("tether-negative-signal-strength", | 575 std::make_pair(OncParams("tether-negative-signal-strength", |
| 572 &kNetworkWithStateSignature, | 576 &kNetworkWithStateSignature, |
| 573 true), | 577 true), |
| 574 ExpectBothNotValid("", "")), | 578 ExpectBothNotValid("", "")), |
| 575 std::make_pair(OncParams("tether-signal-strength-over-100", | 579 std::make_pair(OncParams("tether-signal-strength-over-100", |
| 576 &kNetworkWithStateSignature, | 580 &kNetworkWithStateSignature, |
| 577 true), | 581 true), |
| 578 ExpectBothNotValid("", "")))); | 582 ExpectBothNotValid("", "")))); |
| 579 | 583 |
| 580 } // namespace onc | 584 } // namespace onc |
| 581 } // namespace chromeos | 585 } // namespace chromeos |
| OLD | NEW |