-
-
Notifications
You must be signed in to change notification settings - Fork 347
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
fix: allows for parent-less package creation (issue #3488). #3489
Conversation
Thanks for the test case, it's very useful. However, CI does not fail. Any idea? |
Indeed, my test is not run. Which Unit Testing Framework are you using? JUnit 4 or JUnit 5? |
You mixed junit 4 and 5. Spoon supports junit 4 and 5. |
When I added the Unit 5 annotations and used the JUnit 5 assertions, the test was still not getting picked up. I switched to Unit 4 and it is failing now because of the issue described in #3488. |
Thanks a lot for the failing test case. The fix should be relatively easy, would you like to give it a try? |
Fix lgtm, the testcase has 2 issues from my side.
|
@clemensbartz what about moving the test in package |
Class was moved to package, comment was added as well. |
Thanks a lot, LGTM. Will merge. |
Thanks a lot for your contribution @clemensbartz |
This pull request adds a test case for generating a parent-less package. At the moment, the test case is failing with a NullPointerException on line 39. For this, issue #3488 was raised.
Fix #3488