MS-533 Update resource_test to cover dump function

Former-commit-id: 01e59ea5d95d3ea72a9ec0f7ed2caaaf62e21279
This commit is contained in:
wxyu 2019-09-09 20:16:34 +08:00
parent 57eabe260f
commit 002fd9fdea
2 changed files with 2 additions and 3 deletions

View File

@ -109,6 +109,7 @@ Please mark all change in change log and use the ticket from JIRA.
- MS-528 - Hide some config used future
- MS-530 - Add unittest for SearchTask->Load
- MS-531 - Disable next version code
- MS-533 - Update resource_test to cover dump function
## New Feature
- MS-343 - Implement ResourceMgr

View File

@ -86,9 +86,7 @@ TEST_F(ResourceBaseTest, dump) {
ASSERT_FALSE(only_executor_->Dump().empty());
ASSERT_FALSE(both_enable_->Dump().empty());
ASSERT_FALSE(both_disable_->Dump().empty());
std::stringstream ss;
ss << only_loader_ << only_executor_ << both_enable_ << both_disable_;
ASSERT_FALSE(ss.str().empty());
std::cout << *only_loader_ << *only_executor_ << *both_enable_ << *both_disable_;
}
/************ ResourceAdvanceTest ************/