Searched refs:LoadFromString (Results 1 – 4 of 4) sorted by relevance
61 EXPECT_TRUE(store_.LoadFromString( in TEST_F()67 EXPECT_TRUE(store_.LoadFromString("")); in TEST_F()72 EXPECT_TRUE(store_.LoadFromString( in TEST_F()90 ASSERT_TRUE(new_store.LoadFromString(store_.SaveToString())); in TEST_F()113 EXPECT_TRUE(store_.LoadFromString(blob)); in TEST_F()130 EXPECT_TRUE(store_.LoadFromString(" a=1\nb =2\n c =3\n")); in TEST_F()147 EXPECT_TRUE(store_.LoadFromString("a=1\n \t \nb=2")); in TEST_F()154 EXPECT_FALSE(store_.LoadFromString("=1")); in TEST_F()155 EXPECT_FALSE(store_.LoadFromString(" =2")); in TEST_F()163 EXPECT_FALSE(store_.LoadFromString("a=1\nbogus\nb=2")); in TEST_F()[all …]
44 return LoadFromString(file_data); in Load()47 bool KeyValueStore::LoadFromString(const std::string& data) { in LoadFromString() function in brillo::KeyValueStore
38 bool LoadFromString(const std::string& data);
81 json_dict = gm_json.LoadFromString(contents)126 json_dict = gm_json.LoadFromString(contents)