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

Unified Diff: chrome/browser/sync/js/js_event_details_unittest.cc

Issue 9699057: [Sync] Move 'sync' target to sync/ (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Address Tim's comments Created 8 years, 9 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 | « chrome/browser/sync/js/js_event_details.cc ('k') | chrome/browser/sync/js/js_event_handler.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/sync/js/js_event_details_unittest.cc
diff --git a/chrome/browser/sync/js/js_event_details_unittest.cc b/chrome/browser/sync/js/js_event_details_unittest.cc
deleted file mode 100644
index 111eb2180f787472f6eb64bd87266e9cfc6bef80..0000000000000000000000000000000000000000
--- a/chrome/browser/sync/js/js_event_details_unittest.cc
+++ /dev/null
@@ -1,36 +0,0 @@
-// Copyright (c) 2011 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#include "chrome/browser/sync/js/js_event_details.h"
-
-#include "base/memory/scoped_ptr.h"
-#include "testing/gtest/include/gtest/gtest.h"
-
-namespace browser_sync {
-namespace {
-
-class JsEventDetailsTest : public testing::Test {};
-
-TEST_F(JsEventDetailsTest, EmptyList) {
- JsEventDetails details;
- EXPECT_TRUE(details.Get().empty());
- EXPECT_EQ("{}", details.ToString());
-}
-
-TEST_F(JsEventDetailsTest, FromDictionary) {
- DictionaryValue dict;
- dict.SetString("foo", "bar");
- dict.Set("baz", new ListValue());
-
- scoped_ptr<DictionaryValue> dict_copy(dict.DeepCopy());
-
- JsEventDetails details(&dict);
-
- // |details| should take over |dict|'s data.
- EXPECT_TRUE(dict.empty());
- EXPECT_TRUE(details.Get().Equals(dict_copy.get()));
-}
-
-} // namespace
-} // namespace browser_sync
« no previous file with comments | « chrome/browser/sync/js/js_event_details.cc ('k') | chrome/browser/sync/js/js_event_handler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698