Closed yaronyam closed 2 weeks ago
Do we have a plan to Migrating from Gradle IntelliJ Plugin (1.x) to IntelliJ Platform Gradle Plugin (2.x), IDEA 2024.2+ Requires IntelliJ Platform Gradle Plugin (2.x)
@huangliang992 - correct. we need to migrate to IntelliJ Platform Gradle Plugin 2.x first. Regarding code changes, main issue is the need for backward compatibility with 2023.2 - 2024.1 versions, probably with reflection, if it's not too complicated. Thanks
@huangliang992 tested some scenarios...looks good 👍 few comments:
addAction.registerCustomShortcutSet(
2024-09-05T08:09:41.7845316Z TestMeGeneratorTestNgTest > testMockReturned FAILED
2024-09-05T08:09:41.7845724Z com.intellij.testFramework.TestLoggerFactory$TestLoggerAssertionError: wrong number of arguments
2024-09-05T08:09:41.7846109Z at com.intellij.testFramework.TestLoggerFactory$TestLogger.error(TestLoggerFactory.java:404)
2024-09-05T08:09:41.7846365Z at com.intellij.openapi.diagnostic.Logger.error(Logger.java:436)
2024-09-05T08:09:41.7846900Z at com.weirddev.testme.intellij.ui.template.FileTemplatesLoader.loadDefaultTemplates(FileTemplatesLoader.java:142)
2024-09-05T08:09:41.7847334Z at com.weirddev.testme.intellij.ui.template.FileTemplatesLoader.<init>(FileTemplatesLoader.java:79)
2024-09-05T08:09:41.7847771Z at com.weirddev.testme.intellij.ui.template.FileTemplateSettings.<init>(FileTemplateSettings.java:37)
Thanks!
Support for IDEA 2024.2 developed by @huangliang992 in https://github.com/wrdv/testme-idea/pull/48 - released in v7.6.0
following compilation issues of latest version against IDEA 2024.2 EAP:
Invocation of unresolved constructor
DefaultTemplate.<init>(String, String, URL, URL)
(2 problems)FTFolderManager.loadDefaultsFromRoot()
contains aninvokespecial
instruction referencing an unresolved constructorDefaultTemplate.<init>(String, String, URL, URL)
. This can lead toNoSuchMethodError
exception at runtime.FileTemplatesLoader.loadDefaultsFromRoot(...)
contains aninvokespecial
instruction referencing an unresolved constructorDefaultTemplate.<init>(String, String, URL, URL)
. This can lead toNoSuchMethodError
exception at runtime.Invocation of unresolved method
DefaultTemplate.getTemplateURL()
(1 problem)FTManager.createAndStoreBundledTemplate(...)
contains aninvokevirtual
instruction referencing an unresolved methodDefaultTemplate.getTemplateURL()
. This can lead toNoSuchMethodError
exception at runtime.