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

Unified Diff: tools/json_schema_compiler/test/choices_unittest.cc

Issue 397793002: Eliminate CreateBooleanValue from test files (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 5 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
Index: tools/json_schema_compiler/test/choices_unittest.cc
diff --git a/tools/json_schema_compiler/test/choices_unittest.cc b/tools/json_schema_compiler/test/choices_unittest.cc
index 5be117c35bbffc45bbe72e65828b68b6a5859307..344e2f294d440f2fda357f145edba54e6779ef16 100644
--- a/tools/json_schema_compiler/test/choices_unittest.cc
+++ b/tools/json_schema_compiler/test/choices_unittest.cc
@@ -18,8 +18,8 @@ using json_schema_compiler::test_util::Vector;
TEST(JsonSchemaCompilerChoicesTest, TakesIntegersParamsCreate) {
{
- scoped_ptr<TakesIntegers::Params> params(TakesIntegers::Params::Create(
- *List(base::Value::CreateBooleanValue(true))));
+ scoped_ptr<TakesIntegers::Params> params(
+ TakesIntegers::Params::Create(*List(new base::FundamentalValue(true))));
EXPECT_FALSE(params);
}
{

Powered by Google App Engine
This is Rietveld 408576698