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

Qa/engine tests #5178

Merged
merged 9 commits into from
Dec 3, 2023
Merged

Qa/engine tests #5178

merged 9 commits into from
Dec 3, 2023

Conversation

soloturn
Copy link
Contributor

qa engine-tests: some checkstyle, spotbugs, pmd.

@jdrueckert jdrueckert added this to the 2023 Revive - Milestone 3 milestone Nov 18, 2023
@soloturn soloturn force-pushed the qa/engine-tests branch 2 times, most recently from d14ec53 to 28d1db6 Compare November 26, 2023 11:24
Copy link
Member

@skaldarnar skaldarnar left a 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) {
Copy link
Member

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?

Copy link
Contributor Author

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.

@skaldarnar skaldarnar merged commit 1f3e359 into MovingBlocks:develop Dec 3, 2023
9 checks passed
@soloturn soloturn deleted the qa/engine-tests branch December 3, 2023 20:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

3 participants