Home
last modified time | relevance | path

Searched refs:params_value (Results 1 – 14 of 14) sorted by relevance

/external/chromium_org/tools/json_schema_compiler/test/
Denums_unittest.cc60 ListValue params_value; in TEST() local
61 params_value.Append(List(Value::CreateStringValue("one"), in TEST()
64 TakesEnumArrayAsType::Params::Create(params_value)); in TEST()
71 ListValue params_value; in TEST() local
72 params_value.Append(List(Value::CreateStringValue("invalid")).release()); in TEST()
74 TakesEnumArrayAsType::Params::Create(params_value)); in TEST()
134 ListValue params_value; in TEST() local
135 params_value.Append(Value::CreateStringValue("baz")); in TEST()
137 TakesEnum::Params::Create(params_value)); in TEST()
142 ListValue params_value; in TEST() local
[all …]
Dsimple_api_unittest.cc32 scoped_ptr<ListValue> params_value(new ListValue()); in TEST() local
33 params_value->Append(Value::CreateIntegerValue(6)); in TEST()
35 IncrementInteger::Params::Create(*params_value)); in TEST()
42 scoped_ptr<ListValue> params_value(new ListValue()); in TEST() local
43 params_value->Append(Value::CreateStringValue("text")); in TEST()
44 params_value->Append(Value::CreateStringValue("text")); in TEST()
46 OptionalString::Params::Create(*params_value)); in TEST()
50 scoped_ptr<ListValue> params_value(new ListValue()); in TEST() local
52 IncrementInteger::Params::Create(*params_value)); in TEST()
59 scoped_ptr<ListValue> params_value(new ListValue()); in TEST() local
[all …]
Dfunctions_on_types_unittest.cc13 scoped_ptr<ListValue> params_value(new ListValue()); in TEST() local
15 StorageArea::Get::Params::Create(*params_value)); in TEST()
20 scoped_ptr<ListValue> params_value(new ListValue()); in TEST() local
21 params_value->Append(Value::CreateIntegerValue(9)); in TEST()
23 StorageArea::Get::Params::Create(*params_value)); in TEST()
27 scoped_ptr<ListValue> params_value(new ListValue()); in TEST() local
28 params_value->Append(Value::CreateStringValue("test")); in TEST()
30 StorageArea::Get::Params::Create(*params_value)); in TEST()
39 scoped_ptr<ListValue> params_value(new ListValue()); in TEST() local
40 params_value->Append(keys_object_value->DeepCopy()); in TEST()
[all …]
Dcrossref_unittest.cc37 scoped_ptr<ListValue> params_value(new ListValue()); in TEST() local
38 params_value->Append(CreateTestTypeDictionary().release()); in TEST()
40 TestTypeOptionalParam::Params::Create(*params_value)); in TEST()
48 scoped_ptr<ListValue> params_value(new ListValue()); in TEST() local
51 params_value->Append(test_type_value.release()); in TEST()
53 TestTypeOptionalParam::Params::Create(*params_value)); in TEST()
72 scoped_ptr<ListValue> params_value(new ListValue()); in TEST() local
76 params_value->Append(param_object_value.release()); in TEST()
78 TestTypeInObject::Params::Create(*params_value)); in TEST()
86 scoped_ptr<ListValue> params_value(new ListValue()); in TEST() local
[all …]
Derror_generation_unittest.cc79 scoped_ptr<base::ListValue> params_value = List( in TEST() local
81 EXPECT_TRUE(TestFunction::Params::Create(*params_value)); in TEST()
84 scoped_ptr<base::ListValue> params_value = List( in TEST() local
88 EXPECT_FALSE(TestFunction::Params::Create(*params_value, &error)); in TEST()
97 scoped_ptr<base::ListValue> params_value = List( in TEST() local
99 EXPECT_TRUE(TestFunction::Params::Create(*params_value)); in TEST()
102 scoped_ptr<base::ListValue> params_value = List( in TEST() local
105 EXPECT_FALSE(TestFunction::Params::Create(*params_value, &error)); in TEST()
128 scoped_ptr<base::ListValue> params_value = List( in TEST() local
130 EXPECT_TRUE(TestString::Params::Create(*params_value)); in TEST()
[all …]
Dany_unittest.cc31 scoped_ptr<ListValue> params_value(new ListValue()); in TEST() local
33 OptionalAny::Params::Create(*params_value)); in TEST()
38 scoped_ptr<ListValue> params_value(new ListValue()); in TEST() local
40 params_value->Append(param->DeepCopy()); in TEST()
42 OptionalAny::Params::Create(*params_value)); in TEST()
48 scoped_ptr<ListValue> params_value(new ListValue()); in TEST() local
50 params_value->Append(param->DeepCopy()); in TEST()
52 OptionalAny::Params::Create(*params_value)); in TEST()
Dobjects_unittest.cc22 scoped_ptr<ListValue> params_value(new ListValue()); in TEST() local
23 params_value->Append(info_value.release()); in TEST()
25 ObjectParam::Params::Create(*params_value)); in TEST()
41 scoped_ptr<ListValue> params_value(new ListValue()); in TEST() local
42 params_value->Append(info_value.release()); in TEST()
44 ObjectParam::Params::Create(*params_value)); in TEST()
Darrays_unittest.cc131 scoped_ptr<ListValue> params_value(new ListValue()); in TEST() local
136 params_value->Append(integer_array.release()); in TEST()
138 IntegerArray::Params::Create(*params_value)); in TEST()
147 scoped_ptr<ListValue> params_value(new ListValue()); in TEST() local
152 params_value->Append(any_array.release()); in TEST()
154 AnyArray::Params::Create(*params_value)); in TEST()
163 scoped_ptr<ListValue> params_value(new ListValue()); in TEST() local
167 params_value->Append(item_array.release()); in TEST()
169 ObjectArray::Params::Create(*params_value)); in TEST()
177 scoped_ptr<ListValue> params_value(new ListValue()); in TEST() local
[all …]
Dchoices_unittest.cc75 scoped_ptr<ListValue> params_value(new ListValue()); in TEST() local
76 params_value->Append(object_param.release()); in TEST()
78 ObjectWithChoices::Params::Create(*params_value)); in TEST()
87 scoped_ptr<ListValue> params_value(new ListValue()); in TEST() local
88 params_value->Append(object_param.release()); in TEST()
90 ObjectWithChoices::Params::Create(*params_value)); in TEST()
97 scoped_ptr<ListValue> params_value(new ListValue()); in TEST() local
98 params_value->Append(object_param.release()); in TEST()
100 ObjectWithChoices::Params::Create(*params_value)); in TEST()
Dadditional_properties_unittest.cc37 scoped_ptr<ListValue> params_value(new ListValue()); in TEST() local
38 params_value->Append(param_object_value->DeepCopy()); in TEST()
40 AdditionalProperties::Params::Create(*params_value)); in TEST()
/external/chromium/chrome/browser/extensions/
Dextension_debugger_api.cc224 Value* params_value; in OnDispatchOnInspectorFrontend() local
225 if (dictionary->Get("params", &params_value)) in OnDispatchOnInspectorFrontend()
226 args.Append(params_value->DeepCopy()); in OnDispatchOnInspectorFrontend()
/external/chromium_org/content/renderer/
Dskia_benchmarking_extension.cc156 scoped_ptr<base::Value> params_value( in Rasterize() local
160 if (params_value.get() && params_value->GetAsDictionary(&params_dict)) { in Rasterize()
/external/chromium_org/chrome/renderer/extensions/
Dcast_streaming_native_handler.cc260 scoped_ptr<Value> params_value( in StartCastRtpStream() local
262 if (!params_value) { in StartCastRtpStream()
267 scoped_ptr<RtpParams> params = RtpParams::FromValue(*params_value); in StartCastRtpStream()
/external/chromium_org/chrome/browser/extensions/api/debugger/
Ddebugger_api.cc437 base::DictionaryValue* params_value; in DispatchOnInspectorFrontend() local
438 if (dictionary->GetDictionary("params", &params_value)) in DispatchOnInspectorFrontend()
439 params.additional_properties.Swap(params_value); in DispatchOnInspectorFrontend()