Lines Matching refs:cmd
274 std::string cmd = in TEST_F() local
276 expect("t", cmd, kNoCause); in TEST_F()
280 cmd = "patch_partition_check(\"" + source.ToString() + "\", \"" + bad_target.ToString() + "\")"; in TEST_F()
281 expect("t", cmd, kNoCause); in TEST_F()
285 cmd = "patch_partition_check(\"" + bad_source.ToString() + "\", \"" + target.ToString() + "\")"; in TEST_F()
286 expect("t", cmd, kNoCause); in TEST_F()
289 cmd = in TEST_F()
291 expect("", cmd, kNoCause); in TEST_F()
600 std::string cmd; in TEST_F() local
601 ASSERT_TRUE(android::base::ReadFileToString(tf.path, &cmd)); in TEST_F()
602 ASSERT_EQ(android::base::StringPrintf("set_progress %f\n", .52), cmd); in TEST_F()
604 ASSERT_EQ(2U, android::base::Split(cmd, " ").size()); in TEST_F()
623 std::string cmd; in TEST_F() local
624 ASSERT_TRUE(android::base::ReadFileToString(tf.path, &cmd)); in TEST_F()
625 ASSERT_EQ(android::base::StringPrintf("progress %f %d\n", .52, 10), cmd); in TEST_F()
627 ASSERT_EQ(3U, android::base::Split(cmd, " ").size()); in TEST_F()