OLD | NEW |
---|---|
(Empty) | |
1 // Copyright 2017 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/offline_pages/core/prefetch/prefetch_service_impl.h" | |
6 | |
7 #include "testing/gtest/include/gtest/gtest.h" | |
8 #include "url/gurl.h" | |
9 | |
10 namespace offline_pages { | |
11 | |
12 TEST(PrefetchServiceTest, ServiceDoesNotCrash) { | |
13 PrefetchServiceImpl service; | |
14 | |
15 service.OnNewURLSuggestions(std::vector<GURL>()); | |
16 service.RemoveAllUnprocessedURLSuggestions(); | |
carlosk
2017/04/11 17:31:36
Question: how come debug build tests don't crash h
dewittj
2017/04/11 21:25:49
NOTIMPLEMENTED does not crash, it just logs. NOTR
| |
17 } | |
18 | |
19 } // namespace offline_pages | |
OLD | NEW |