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

Side by Side Diff: chromeos/network/onc/onc_validator_unittest.cc

Issue 2844363003: [CrOS Tether] Add HasConnectedToHost property for Tether networks. (Closed)
Patch Set: Rebased. Created 3 years, 7 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
« no previous file with comments | « chromeos/network/onc/onc_validator.cc ('k') | chromeos/network/tether_constants.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
OLDNEW
« no previous file with comments | « chromeos/network/onc/onc_validator.cc ('k') | chromeos/network/tether_constants.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698