Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

backend: use parameterized tests in action_service_impl_test #313

Merged
merged 1 commit into from
Mar 10, 2018

Conversation

JonasVautherin
Copy link
Collaborator

Modified the unit tests to use parameterized tests. The code is a bit more complex, but it will certainly scale better :-).

dronecore::Action::Result::VTOL_TRANSITION_SUPPORT_UNKNOWN));
input_pairs.push_back(std::make_pair("NO_VTOL_TRANSITION_SUPPORT",
dronecore::Action::Result::NO_VTOL_TRANSITION_SUPPORT));
input_pairs.push_back(std::make_pair("UNKNOWN", dronecore::Action::Result::UNKNOWN));
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice!

@JonasVautherin JonasVautherin merged commit ca93a9c into develop Mar 10, 2018
@JonasVautherin JonasVautherin deleted the parameterize-tests branch March 10, 2018 17:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants