OLD | NEW |
---|---|
(Empty) | |
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 | |
3 // found in the LICENSE file. | |
4 | |
5 #include "components/domain_reliability/google_configs.h" | |
6 | |
7 #include "testing/gtest/include/gtest/gtest.h" | |
8 | |
9 namespace domain_reliability { | |
10 | |
11 namespace { | |
12 | |
13 TEST(DomainReliabilityGoogleConfigsTest, Enumerate) { | |
14 std::vector<DomainReliabilityConfig*> configs; | |
15 GetAllGoogleConfigs(&configs); | |
Randy Smith (Not in Mondays)
2015/11/03 21:48:12
What are you testing? (Even if there is something
Deprecated (see juliatuttle)
2015/11/06 17:22:29
I do that in tests -- most of my tests have a simp
Randy Smith (Not in Mondays)
2015/11/09 21:23:24
In a unittest I don't really care; it's fine.
| |
16 } | |
17 | |
18 TEST(DomainReliabilityGoogleConfigsTest, ConfigsAreValid) { | |
19 std::vector<DomainReliabilityConfig*> configs; | |
20 GetAllGoogleConfigs(&configs); | |
21 | |
22 for (auto config : configs) | |
23 EXPECT_TRUE(config->IsValid()); | |
24 } | |
25 | |
26 } // namespace | |
27 | |
28 } // namespace domain_reliability | |
OLD | NEW |