-
Notifications
You must be signed in to change notification settings - Fork 30
Adding support for multiple variables of the same type to a plugin for vscode #585
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
Conversation
fe50b39
to
d4ca616
Compare
b86581a
to
cf080b8
Compare
@@ -133,6 +134,149 @@ namespace { | |||
"buggy_function2"); | |||
} | |||
|
|||
static bool comparator(const std::string firstVar, const std::string secondVar, bool mustEqual, bool isInt){ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Bad naming
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Bad naming of parameter
return std::stoi(first.view->getEntryValue(nullptr)) == std::stoi(second.view->getEntryValue(nullptr)); | ||
} | ||
|
||
void checkDifferentVariablesTrue_C(BaseTestGen &testGen){ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
unnecessary extract to function
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done
checkDifferentVariables_C(testGen, true); | ||
} | ||
|
||
void checkDifferentVariablesFalse_C(BaseTestGen &testGen){ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
unnecessary extract to function
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done
No description provided.