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

Unified Diff: base/test/values_test_util.h

Issue 1647803004: Move base to DEPS (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 4 years, 11 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 | « base/test/user_action_tester_unittest.cc ('k') | base/test/values_test_util.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/test/values_test_util.h
diff --git a/base/test/values_test_util.h b/base/test/values_test_util.h
deleted file mode 100644
index 86d91c3868f0cca38b93f6381756eb0689c9903c..0000000000000000000000000000000000000000
--- a/base/test/values_test_util.h
+++ /dev/null
@@ -1,56 +0,0 @@
-// Copyright (c) 2012 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.
-
-#ifndef BASE_TEST_VALUES_TEST_UTIL_H_
-#define BASE_TEST_VALUES_TEST_UTIL_H_
-
-#include <string>
-
-#include "base/memory/scoped_ptr.h"
-#include "base/strings/string_piece.h"
-
-namespace base {
-class DictionaryValue;
-class ListValue;
-class StringValue;
-class Value;
-
-// All the functions below expect that the value for the given key in
-// the given dictionary equals the given expected value.
-
-void ExpectDictBooleanValue(bool expected_value,
- const DictionaryValue& value,
- const std::string& key);
-
-void ExpectDictDictionaryValue(const DictionaryValue& expected_value,
- const DictionaryValue& value,
- const std::string& key);
-
-void ExpectDictIntegerValue(int expected_value,
- const DictionaryValue& value,
- const std::string& key);
-
-void ExpectDictListValue(const ListValue& expected_value,
- const DictionaryValue& value,
- const std::string& key);
-
-void ExpectDictStringValue(const std::string& expected_value,
- const DictionaryValue& value,
- const std::string& key);
-
-// Takes ownership of |actual|.
-void ExpectStringValue(const std::string& expected_str,
- StringValue* actual);
-
-namespace test {
-
-// Parses |json| as JSON, allowing trailing commas, and returns the
-// resulting value. If the json fails to parse, causes an EXPECT
-// failure and returns the Null Value (but never a NULL pointer).
-scoped_ptr<Value> ParseJson(base::StringPiece json);
-
-} // namespace test
-} // namespace base
-
-#endif // BASE_TEST_VALUES_TEST_UTIL_H_
« no previous file with comments | « base/test/user_action_tester_unittest.cc ('k') | base/test/values_test_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698