Lines Matching refs:operation
68 std::shared_ptr<Operation> operation = operationbuilder_->build(); variable
69 EXPECT_STREQ(value.c_str(), operation->GetAbilityName().c_str());
83 std::shared_ptr<Operation> operation = operationbuilder_->build(); variable
85 EXPECT_STREQ(value.c_str(), operation->GetAbilityName().c_str());
97 std::shared_ptr<Operation> operation = operationbuilder_->build(); variable
98 EXPECT_STREQ(value.c_str(), operation->GetBundleName().c_str());
110 std::shared_ptr<Operation> operation = operationbuilder_->build(); variable
111 EXPECT_STREQ(value.c_str(), operation->GetBundleName().c_str());
123 std::shared_ptr<Operation> operation = operationbuilder_->build(); variable
124 EXPECT_STREQ(value.c_str(), operation->GetDeviceId().c_str());
136 std::shared_ptr<Operation> operation = operationbuilder_->build(); variable
137 EXPECT_STREQ(value.c_str(), operation->GetDeviceId().c_str());
149 std::shared_ptr<Operation> operation = operationbuilder_->build(); variable
150 EXPECT_STREQ(value.c_str(), operation->GetAction().c_str());
162 std::shared_ptr<Operation> operation = operationbuilder_->build(); variable
163 EXPECT_STREQ(value.c_str(), operation->GetAction().c_str());
176 std::shared_ptr<Operation> operation = operationbuilder_->build(); variable
178 std::vector<std::string> revValue = operation->GetEntities();
181 EXPECT_STREQ(value.at(0).c_str(), operation->GetEntities().at(0).c_str());
196 std::shared_ptr<Operation> operation = operationbuilder_->build(); variable
197 EXPECT_EQ(true, operation->GetEntities().size() == 0);
209 std::shared_ptr<Operation> operation = operationbuilder_->build(); variable
210 EXPECT_EQ(value, operation->GetFlags());
222 std::shared_ptr<Operation> operation = operationbuilder_->build(); variable
223 EXPECT_EQ(value, operation->GetFlags());
236 std::shared_ptr<Operation> operation = operationbuilder_->build(); variable
238 EXPECT_EQ(uri, operation->GetUri());
251 std::shared_ptr<Operation> operation = operationbuilder_->build(); variable
252 EXPECT_EQ(uri, operation->GetUri());
273 std::shared_ptr<Operation> operation = operationbuilder_->build(); variable
275 EXPECT_EQ(uri, operation->GetUri());
276 EXPECT_STREQ(value.c_str(), operation->GetAction().c_str());
278 std::vector<std::string> revValue = operation->GetEntities();
281 EXPECT_STREQ(columns.at(0).c_str(), operation->GetEntities().at(0).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());
308 std::shared_ptr<Operation> operation = operationbuilder_->build(); variable
310 operation->Marshalling(in);
312 Operation *pOperation = operation->Unmarshalling(in);
314 EXPECT_EQ(true, *pOperation == *(operation.get()));
339 std::shared_ptr<Operation> operation = operationbuilder_->build(); variable
340 operation_ = *(operation.get());
342 EXPECT_EQ(true, operation_ == *(operation.get()));
353 std::shared_ptr<Operation> operation = operationbuilder_->build(); variable
355 operation->entities_.push_back("a");
356 operation->entities_.push_back("b");
357 operation->DumpInfo(level);
358 EXPECT_EQ(true, operation->GetEntities().size() == 2);