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

Side by Side Diff: components/offline_pages/core/prefetch/prefetch_service_impl_unittest.cc

Issue 2811813002: [Offline Pages] Set up the initial prefetching service. (Closed)
Patch Set: Created 3 years, 8 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
OLDNEW
(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
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698