summaryrefslogtreecommitdiffstats
path: root/webkit/appcache/appcache_service_unittest.cc
diff options
context:
space:
mode:
Diffstat (limited to 'webkit/appcache/appcache_service_unittest.cc')
-rw-r--r--webkit/appcache/appcache_service_unittest.cc12
1 files changed, 4 insertions, 8 deletions
diff --git a/webkit/appcache/appcache_service_unittest.cc b/webkit/appcache/appcache_service_unittest.cc
index c58374f..d142e8b 100644
--- a/webkit/appcache/appcache_service_unittest.cc
+++ b/webkit/appcache/appcache_service_unittest.cc
@@ -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 {
+namespace appcache {
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, AddRemoveCache) {
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