@@ -108,31 +108,6 @@ BOOST_AUTO_TEST_CASE(test_resource_names) {
108108 });
109109}
110110
111- BOOST_AUTO_TEST_CASE (test_get_status) {
112- robot_client_to_mocks_pipeline (
113- [](std::shared_ptr<RobotClient> client, MockRobotService& service) -> void {
114- auto mock_statuses = mock_status_response ();
115-
116- // get all resource statuses
117- auto statuses = client->get_status ();
118-
119- // ensure we get statuses for all resources, and that they are as expected.
120- BOOST_CHECK_EQUAL (statuses.size (), 3 );
121- BOOST_TEST (statuses == mock_statuses, boost::test_tools::per_element ());
122-
123- // get only a subset of status responses
124- auto names = mock_resource_names_response ();
125- std::vector<Name> some_names{names[0 ], names[1 ]};
126- auto some_statuses = client->get_status (some_names);
127- // ensure that we only get two of the three existing statuses
128- BOOST_CHECK_EQUAL (some_statuses.size (), 2 );
129-
130- std::vector<RobotClient::status> some_mock_statuses{mock_statuses[0 ], mock_statuses[1 ]};
131-
132- BOOST_TEST (some_statuses == some_mock_statuses, boost::test_tools::per_element ());
133- });
134- }
135-
136111// This test ensures that the functions in the `mock_robot` files have the same fields for both
137112// the proto and custom type versions.
138113BOOST_AUTO_TEST_CASE (test_frame_system_config) {
0 commit comments