Lines Matching refs:cmd
241 std::string cmd = in TEST_F() local
243 expect("t", cmd, kNoCause); in TEST_F()
247 cmd = "patch_partition_check(\"" + source.ToString() + "\", \"" + bad_target.ToString() + "\")"; in TEST_F()
248 expect("t", cmd, kNoCause); in TEST_F()
252 cmd = "patch_partition_check(\"" + bad_source.ToString() + "\", \"" + target.ToString() + "\")"; in TEST_F()
253 expect("t", cmd, kNoCause); in TEST_F()
256 cmd = in TEST_F()
258 expect("", cmd, kNoCause); in TEST_F()
571 std::string cmd; in TEST_F() local
572 ASSERT_TRUE(android::base::ReadFileToString(tf.path, &cmd)); in TEST_F()
573 ASSERT_EQ(android::base::StringPrintf("set_progress %f\n", .52), cmd); in TEST_F()
575 ASSERT_EQ(2U, android::base::Split(cmd, " ").size()); in TEST_F()
596 std::string cmd; in TEST_F() local
597 ASSERT_TRUE(android::base::ReadFileToString(tf.path, &cmd)); in TEST_F()
598 ASSERT_EQ(android::base::StringPrintf("progress %f %d\n", .52, 10), cmd); in TEST_F()
600 ASSERT_EQ(3U, android::base::Split(cmd, " ").size()); in TEST_F()