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

Unified Diff: webkit/appcache/appcache_service_unittest.cc

Issue 192043: AppCacheHost cache selection algorithm (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 3 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « webkit/appcache/appcache_service.cc ('k') | webkit/appcache/appcache_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/appcache/appcache_service_unittest.cc
===================================================================
--- webkit/appcache/appcache_service_unittest.cc (revision 26254)
+++ webkit/appcache/appcache_service_unittest.cc (working copy)
@@ -7,17 +7,11 @@
#include "webkit/appcache/appcache_group.h"
#include "webkit/appcache/appcache_service.h"
-using appcache::AppCache;
-using appcache::AppCacheGroup;
-using appcache::AppCacheService;
+namespace appcache {
-namespace {
-
class AppCacheServiceTest : public testing::Test {
};
-} // namespace
-
TEST(AppCacheServiceTest, AddRemoveCache) {
AppCacheService service;
scoped_refptr<AppCache> cache = new AppCache(&service, 111);
@@ -31,10 +25,12 @@
TEST(AppCacheServiceTest, AddRemoveGroup) {
AppCacheService service;
scoped_refptr<AppCacheGroup> group =
- new AppCacheGroup(&service, GURL::EmptyGURL());
+ new AppCacheGroup(&service, GURL::EmptyGURL());
service.RemoveGroup(group);
// Removing non-existing group from service should not fail.
AppCacheService dummy;
dummy.RemoveGroup(group);
}
+
+} // namespace appcache
« no previous file with comments | « webkit/appcache/appcache_service.cc ('k') | webkit/appcache/appcache_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698