-
Notifications
You must be signed in to change notification settings - Fork 29
feat: Migrate cat.ddk.xtext.ui.test to Junit5 #1191
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
removed junit4 dependencies removed dependency to DiscerningSuite. Once we migrate the DiscerningSuite to Junit5 we can use it again here
91c414a to
635ecdc
Compare
| import org.junit.platform.suite.api.SelectClasses; | ||
| import org.junit.platform.suite.api.Suite; | ||
|
|
||
| import com.avaloq.tools.ddk.test.core.junit.runners.DiscerningSuite; |
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.
this import needs to be removed.
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.
You need to remove the unused import.
Then, PMD gives several warnings on other classes, could you address this?
Finally, I think it would be good if you could approve and rebase on #1192.
they look fals positive: example: I think pMD is just not working correctly yest with Junit5 ? |
...xt.ui.test/src/com/avaloq/tools/ddk/xtext/ui/quickfix/WorkbenchResolutionAdaptorRunTest.java
Outdated
Show resolved
Hide resolved
...xtext.ui.test/src/com/avaloq/tools/ddk/xtext/ui/quickfix/WorkbenchResolutionAdaptorTest.java
Outdated
Show resolved
Hide resolved
...st/src/com/avaloq/tools/ddk/xtext/ui/templates/ResourceNameTemplateVariableResolverTest.java
Outdated
Show resolved
Hide resolved
...test/src/com/avaloq/tools/ddk/xtext/ui/templates/SimpleEnumTemplateVariableResolverTest.java
Outdated
Show resolved
Hide resolved
...xt.ui.test/src/com/avaloq/tools/ddk/xtext/ui/quickfix/WorkbenchResolutionAdaptorRunTest.java
Outdated
Show resolved
Hide resolved
...xtext.ui.test/src/com/avaloq/tools/ddk/xtext/ui/quickfix/WorkbenchResolutionAdaptorTest.java
Outdated
Show resolved
Hide resolved
removed junit4 dependencies removed dependency to DiscerningSuite. Once we migrate the DiscerningSuite to Junit5 we can use it again here
91d6488 to
915d4c1
Compare
com.avaloq.tools.ddk.xtext.ui.test/src/com/avaloq/tools/ddk/xtext/ui/test/XtextUiTestSuite.java
Outdated
Show resolved
Hide resolved
|
LGTM after fixing the small syntax issue I commented above. @rubenporras ? |
…ext/ui/test/XtextUiTestSuite.java Fix formatting Co-authored-by: João Dinis Ferreira <hello@joaof.eu>
|
LGTM as well |
removed junit4 dependencies
removed dependency to DiscerningSuite. Once we migrate the DiscerningSuite to Junit5 we can use it again here