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 551 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
562 true), | 562 true), |
563 ExpectBothNotValid("", "")), | 563 ExpectBothNotValid("", "")), |
564 std::make_pair(OncParams("tether-battery-over-100", | 564 std::make_pair(OncParams("tether-battery-over-100", |
565 &kNetworkWithStateSignature, | 565 &kNetworkWithStateSignature, |
566 true), | 566 true), |
567 ExpectBothNotValid("", "")), | 567 ExpectBothNotValid("", "")), |
568 std::make_pair(OncParams("tether-missing-carrier", | 568 std::make_pair(OncParams("tether-missing-carrier", |
569 &kNetworkWithStateSignature, | 569 &kNetworkWithStateSignature, |
570 true), | 570 true), |
571 ExpectBothNotValid("", "")), | 571 ExpectBothNotValid("", "")), |
| 572 std::make_pair(OncParams("tether-missing-has-connected-to-host", |
| 573 &kNetworkWithStateSignature, |
| 574 true), |
| 575 ExpectBothNotValid("", "")), |
572 std::make_pair(OncParams("tether-missing-signal-strength", | 576 std::make_pair(OncParams("tether-missing-signal-strength", |
573 &kNetworkWithStateSignature, | 577 &kNetworkWithStateSignature, |
574 true), | 578 true), |
575 ExpectBothNotValid("", "")), | 579 ExpectBothNotValid("", "")), |
576 std::make_pair(OncParams("tether-negative-signal-strength", | 580 std::make_pair(OncParams("tether-negative-signal-strength", |
577 &kNetworkWithStateSignature, | 581 &kNetworkWithStateSignature, |
578 true), | 582 true), |
579 ExpectBothNotValid("", "")), | 583 ExpectBothNotValid("", "")), |
580 std::make_pair(OncParams("tether-signal-strength-over-100", | 584 std::make_pair(OncParams("tether-signal-strength-over-100", |
581 &kNetworkWithStateSignature, | 585 &kNetworkWithStateSignature, |
582 true), | 586 true), |
583 ExpectBothNotValid("", "")))); | 587 ExpectBothNotValid("", "")))); |
584 | 588 |
585 } // namespace onc | 589 } // namespace onc |
586 } // namespace chromeos | 590 } // namespace chromeos |
OLD | NEW |