Home
last modified time | relevance | path

Searched refs:narrow_value (Results 1 – 2 of 2) sorted by relevance

/external/libchrome/base/
Dvalues_unittest.cc136 Value* narrow_value = binary.get(); in TEST() local
138 ASSERT_TRUE(narrow_value->GetAsBinary(&narrow_binary)); in TEST()
144 scoped_ptr<Value> narrow_value(new StringValue("narrow")); in TEST() local
145 ASSERT_TRUE(narrow_value.get()); in TEST()
146 ASSERT_TRUE(narrow_value->IsType(Value::TYPE_STRING)); in TEST()
155 ASSERT_TRUE(narrow_value->GetAsString(&narrow)); in TEST()
156 ASSERT_TRUE(narrow_value->GetAsString(&utf16)); in TEST()
157 ASSERT_TRUE(narrow_value->GetAsString(&string_value)); in TEST()
170 ASSERT_TRUE(narrow_value->GetAsString(static_cast<string16*>(NULL))); in TEST()
171 ASSERT_TRUE(narrow_value->GetAsString(static_cast<std::string*>(NULL))); in TEST()
[all …]
/external/libweave/third_party/chromium/base/
Dvalues_unittest.cc136 Value* narrow_value = binary.get(); in TEST() local
138 ASSERT_TRUE(narrow_value->GetAsBinary(&narrow_binary)); in TEST()
144 scoped_ptr<Value> narrow_value(new StringValue("narrow")); in TEST() local
145 ASSERT_TRUE(narrow_value.get()); in TEST()
146 ASSERT_TRUE(narrow_value->IsType(Value::TYPE_STRING)); in TEST()
151 ASSERT_TRUE(narrow_value->GetAsString(&narrow)); in TEST()
152 ASSERT_TRUE(narrow_value->GetAsString(&string_value)); in TEST()
157 ASSERT_TRUE(narrow_value->GetAsString(static_cast<std::string*>(NULL))); in TEST()
158 ASSERT_TRUE(narrow_value->GetAsString( in TEST()