Home | History | Annotate | Download | only in json

Lines Matching refs:ASSERT_TRUE

19   ASSERT_TRUE(root.get());
20 ASSERT_TRUE(root->IsType(Value::TYPE_NULL));
28 ASSERT_TRUE(root.get());
29 ASSERT_TRUE(root->IsType(Value::TYPE_BOOLEAN));
33 ASSERT_TRUE(root.get());
34 ASSERT_TRUE(root->IsType(Value::TYPE_NULL));
36 ASSERT_TRUE(root.get());
37 ASSERT_TRUE(root->IsType(Value::TYPE_INTEGER));
39 ASSERT_TRUE(root.get());
40 ASSERT_TRUE(root->IsType(Value::TYPE_BOOLEAN));
43 ASSERT_TRUE(root.get());
44 ASSERT_TRUE(root->IsType(Value::TYPE_STRING));
46 ASSERT_TRUE(root->GetAsString(&value));
51 ASSERT_TRUE(root.get());
52 ASSERT_TRUE(root->IsType(Value::TYPE_INTEGER));
54 ASSERT_TRUE(root->GetAsInteger(&int_val));
68 ASSERT_TRUE(root.get());
69 ASSERT_TRUE(root->IsType(Value::TYPE_INTEGER));
71 ASSERT_TRUE(root->GetAsInteger(&int_val));
77 ASSERT_TRUE(root.get());
79 ASSERT_TRUE(root->IsType(Value::TYPE_DOUBLE));
81 ASSERT_TRUE(root->GetAsDouble(&double_val));
84 ASSERT_TRUE(root.get());
85 ASSERT_TRUE(root->IsType(Value::TYPE_DOUBLE));
87 ASSERT_TRUE(root->GetAsDouble(&double_val));
92 ASSERT_TRUE(root.get());
93 ASSERT_TRUE(root->IsType(Value::TYPE_DOUBLE));
95 ASSERT_TRUE(root->GetAsDouble(&double_val));
99 ASSERT_TRUE(root.get());
100 ASSERT_TRUE(root->IsType(Value::TYPE_DOUBLE));
102 ASSERT_TRUE(root->GetAsDouble(&double_val));
106 ASSERT_TRUE(root.get());
107 ASSERT_TRUE(root->IsType(Value::TYPE_DOUBLE));
109 ASSERT_TRUE(root->GetAsDouble(&double_val));
113 ASSERT_TRUE(root.get());
114 ASSERT_TRUE(root->IsType(Value::TYPE_DOUBLE));
116 ASSERT_TRUE(root->GetAsDouble(&double_val));
120 ASSERT_TRUE(root.get());
121 ASSERT_TRUE(root->IsType(Value::TYPE_DOUBLE));
123 ASSERT_TRUE(root->GetAsDouble(&double_val));
127 ASSERT_TRUE(root.get());
128 ASSERT_TRUE(root->IsType(Value::TYPE_DOUBLE));
130 ASSERT_TRUE(root->GetAsDouble(&double_val));
171 ASSERT_TRUE(root.get());
172 ASSERT_TRUE(root->IsType(Value::TYPE_STRING));
174 ASSERT_TRUE(root->GetAsString(&str_val));
179 ASSERT_TRUE(root.get());
180 ASSERT_TRUE(root->IsType(Value::TYPE_STRING));
182 ASSERT_TRUE(root->GetAsString(&str_val));
188 ASSERT_TRUE(root.get());
189 ASSERT_TRUE(root->IsType(Value::TYPE_STRING));
191 ASSERT_TRUE(root->GetAsString(&str_val));
197 ASSERT_TRUE(root.get());
198 ASSERT_TRUE(root->IsType(Value::TYPE_STRING));
200 ASSERT_TRUE(root->GetAsString(&str_val));
224 ASSERT_TRUE(root.get());
225 ASSERT_TRUE(root->IsType(Value::TYPE_LIST));
236 ASSERT_TRUE(root.get());
237 ASSERT_TRUE(root->IsType(Value::TYPE_LIST));
244 ASSERT_TRUE(root.get());
245 ASSERT_TRUE(root->IsType(Value::TYPE_LIST));
274 ASSERT_TRUE(root.get());
275 ASSERT_TRUE(root->IsType(Value::TYPE_LIST));
279 ASSERT_TRUE(list->Get(0, &tmp_value));
282 ASSERT_TRUE(tmp_value->GetAsBoolean(&bool_value));
298 ASSERT_TRUE(root.get());
299 ASSERT_TRUE(root->IsType(Value::TYPE_DICTIONARY));
303 ASSERT_TRUE(root.get());
304 ASSERT_TRUE(root->IsType(Value::TYPE_DICTIONARY));
307 ASSERT_TRUE(dict_val->GetDouble("number", &double_val));
310 ASSERT_TRUE(dict_val->Get("null", &null_val));
311 ASSERT_TRUE(null_val->IsType(Value::TYPE_NULL));
313 ASSERT_TRUE(dict_val->GetString("S", &str_val));
318 ASSERT_TRUE(root2.get());
328 ASSERT_TRUE(root2.get());
337 ASSERT_TRUE(root2.get());
343 ASSERT_TRUE(root.get());
344 ASSERT_TRUE(root->IsType(Value::TYPE_DICTIONARY));
347 ASSERT_TRUE(dict_val->GetDictionary("inner", &inner_dict));
349 ASSERT_TRUE(inner_dict->GetList("array", &inner_array));
352 ASSERT_TRUE(dict_val->GetBoolean("false", &bool_value));
355 ASSERT_TRUE(dict_val->GetDictionary("d", &inner_dict));
364 ASSERT_TRUE(root.get());
365 ASSERT_TRUE(root->IsType(Value::TYPE_DICTIONARY));
373 ASSERT_TRUE(dict_val->GetDictionaryWithoutPathExpansion("d.e.f",
381 ASSERT_TRUE(root.get());
382 ASSERT_TRUE(root->IsType(Value::TYPE_DICTIONARY));
437 ASSERT_TRUE(root.get());
438 ASSERT_TRUE(root->IsType(Value::TYPE_LIST));
445 ASSERT_TRUE(root.get());
446 ASSERT_TRUE
448 ASSERT_TRUE(root->GetAsString(&str_val));