OLD | NEW |
---|---|
(Empty) | |
1 // Copyright 2014 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 "chrome/browser/rappor/sampling.h" | |
6 | |
7 #include "testing/gtest/include/gtest/gtest.h" | |
8 #include "url/gurl.h" | |
9 | |
10 namespace rappor { | |
11 | |
12 // Make sure recording a sample doesn't cause a crash. | |
Peter Kasting
2014/06/09 00:51:14
Nit: Did you mean "recording a sample from an empt
Steven Holte
2014/06/09 17:54:29
Done.
| |
13 TEST(RapporSamplingTest, SmokeTest) { | |
14 SampleDomainAndRegistryFromHost(std::string(), std::string()); | |
15 SampleDomainAndRegistryFromGURL(std::string(), GURL()); | |
16 } | |
17 | |
18 } // namespace rappor | |
OLD | NEW |