-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Qa/engine tests #5178
Qa/engine tests #5178
Conversation
d14ec53
to
28d1db6
Compare
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.
Overall looks good, but you missed at least one unused import in one of the files, that's why the build is failing, I think.
@@ -49,16 +51,12 @@ public void assertBT(String tree, List<BehaviorState> result, List<Integer> exec | |||
assertBT(tree, result, executed, true); | |||
} | |||
|
|||
public void assertBT(String tree, List<BehaviorState> result, List<Integer> executed, boolean step) { | |||
public void assertBT(String tree, List<BehaviorState> result, List<Integer> executed, boolean ignoredStep) { |
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.
Why the rename to ignoredStep
? If this parameter is not used, shouldn't we just remove it?
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.
it is called in the test:
assertBT(tree, result, executed, false);
assertBT(tree, result, executed, true);
i added a TODO to check the tests.
8e7d7e4
to
7df69eb
Compare
qa engine-tests: some checkstyle, spotbugs, pmd.