Lines Matching defs:value
64 std::string value = "enter";
67 operationbuilder_->WithAbilityName(value);
69 EXPECT_STREQ(value.c_str(), operation->GetAbilityName().c_str());
81 std::string value = "";
82 operationbuilder_->WithAbilityName(value);
85 EXPECT_STREQ(value.c_str(), operation->GetAbilityName().c_str());
95 std::string value = "value";
96 operationbuilder_->WithBundleName(value);
98 EXPECT_STREQ(value.c_str(), operation->GetBundleName().c_str());
108 std::string value = "";
109 operationbuilder_->WithBundleName(value);
111 EXPECT_STREQ(value.c_str(), operation->GetBundleName().c_str());
121 std::string value = "value";
122 operationbuilder_->WithDeviceId(value);
124 EXPECT_STREQ(value.c_str(), operation->GetDeviceId().c_str());
134 std::string value = "";
135 operationbuilder_->WithDeviceId(value);
137 EXPECT_STREQ(value.c_str(), operation->GetDeviceId().c_str());
147 std::string value = "value";
148 operationbuilder_->WithAction(value);
150 EXPECT_STREQ(value.c_str(), operation->GetAction().c_str());
160 std::string value = "";
161 operationbuilder_->WithAction(value);
163 EXPECT_STREQ(value.c_str(), operation->GetAction().c_str());
173 std::vector<std::string> value;
174 value.push_back("string1");
175 operationbuilder_->WithEntities(value);
180 if (value.size() > 0 && revValue.size() > 0) {
181 EXPECT_STREQ(value.at(0).c_str(), operation->GetEntities().at(0).c_str());
194 std::vector<std::string> value;
195 operationbuilder_->WithEntities(value);
207 unsigned int value = 1;
208 operationbuilder_->WithFlags(value);
210 EXPECT_EQ(value, operation->GetFlags());
220 unsigned int value = 0;
221 operationbuilder_->WithFlags(value);
223 EXPECT_EQ(value, operation->GetFlags());
233 std::string value = "scheme://authority/path1/path2/path3?id = 1&name = mingming&old#fragment";
234 OHOS::Uri uri(value);
248 std::string value = "";
249 OHOS::Uri uri(value);
262 std::string value = "value";
263 OHOS::Uri uri(value);
267 operationbuilder_->WithAction(value);
269 operationbuilder_->WithDeviceId(value);
270 operationbuilder_->WithBundleName(value);
271 operationbuilder_->WithAbilityName(value);
276 EXPECT_STREQ(value.c_str(), operation->GetAction().c_str());
285 EXPECT_STREQ(value.c_str(), operation->GetDeviceId().c_str());
286 EXPECT_STREQ(value.c_str(), operation->GetBundleName().c_str());
287 EXPECT_STREQ(value.c_str(), operation->GetAbilityName().c_str());
297 std::string value = "value";
298 OHOS::Uri uri(value);
302 operationbuilder_->WithAction(value);
304 operationbuilder_->WithDeviceId(value);
305 operationbuilder_->WithBundleName(value);
306 operationbuilder_->WithAbilityName(value);
328 std::string value = "value";
329 OHOS::Uri uri(value);
333 operationbuilder_->WithAction(value);
335 operationbuilder_->WithDeviceId(value);
336 operationbuilder_->WithBundleName(value);
337 operationbuilder_->WithAbilityName(value);