Lines Matching refs:invalid_keys
287 std::vector<std::string> invalid_keys;
297 transaction->CheckSplitValue("path1", &dict, &invalid_keys));
298 EXPECT_TRUE(invalid_keys.empty());
304 transaction->CheckSplitValue("path1", &dict, &invalid_keys));
305 EXPECT_TRUE(invalid_keys.empty());
309 transaction->CheckSplitValue("path2", &dict, &invalid_keys));
310 EXPECT_TRUE(invalid_keys.empty());
314 transaction->CheckSplitValue("path1", NULL, &invalid_keys));
315 EXPECT_TRUE(invalid_keys.empty());
318 transaction->CheckSplitValue("path1", &empty_dict, &invalid_keys));
319 EXPECT_TRUE(invalid_keys.empty());
324 transaction->CheckSplitValue("path1", &modified_dict, &invalid_keys));
329 EXPECT_EQ(expected_invalid_keys1, invalid_keys);
330 invalid_keys.clear();
334 transaction->CheckSplitValue("path1", &dict, &invalid_keys));
335 EXPECT_TRUE(invalid_keys.empty());
343 transaction->CheckSplitValue("path1", &modified_dict, &invalid_keys));
344 EXPECT_TRUE(invalid_keys.empty());
348 transaction->CheckSplitValue("path1", &dict, &invalid_keys));
353 EXPECT_EQ(expected_invalid_keys2, invalid_keys);
354 invalid_keys.clear();
365 transaction->CheckSplitValue("new_path", &dict, &invalid_keys));
366 EXPECT_TRUE(invalid_keys.empty());
379 transaction->CheckSplitValue("new_path", &dict, &invalid_keys));
380 EXPECT_TRUE(invalid_keys.empty());
387 std::vector<std::string> invalid_keys;
402 transaction->CheckSplitValue("path1", NULL, &invalid_keys));
403 invalid_keys.empty());
406 transaction->CheckSplitValue("path1", &empty_dict, &invalid_keys));
407 EXPECT_TRUE(invalid_keys.empty());
412 transaction->CheckSplitValue("path1", NULL, &invalid_keys));
413 EXPECT_TRUE(invalid_keys.empty());
416 transaction->CheckSplitValue("path1", &empty_dict, &invalid_keys));
417 EXPECT_TRUE(invalid_keys.empty());
435 transaction->CheckSplitValue("new_path", &tested_dict, &invalid_keys));
436 EXPECT_TRUE(invalid_keys.empty());
470 std::vector<std::string> invalid_keys;
472 transaction->CheckSplitValue("path1", &dict, &invalid_keys));
473 EXPECT_TRUE(invalid_keys.empty());