Closed
Description
Description
There is a list of deprecated API usages and some internal API calls (https://plugins.jetbrains.com/plugin/19445-unittestbot/versions):
Internal method Module.getModuleFile() is invoked in ModuleUtilsKt.addDedicatedTestRoot(Module, List)FIXED
Update: because of for backward compatibility requirement (we need it for AndroidStudio) following API usages should be migrated later. All suggested fixes for following ussies are actual for API 2020.3+ but the plugin should be compatible with 2020.2 as well:
- Deprecated method NotificationGroup.createNotification(...) is invoked in UrlNotifier.notify(String, Project, Module)
- Deprecated method Row.setCellMode(boolean, boolean, boolean) is invoked in UiUtilsKt.labeled$1.invoke(Row)
- Deprecated method RefactoringUtil.createPackageDirectoryInSourceRoot(...) is invoked in GenerateTestsDialogWindow.createSelectedPackage$.inlined.runWriteAction$1.compute()
- Deprecated method Project.getBaseDir() is invoked in TestFolderComboWithBrowseButton.formatUrl(...)
- Deprecated method Messages.showYesNoDialog(...) is invoked in GenerateTestsDialogWindow.createKotlinJvmTargetNotificationDialog()
- Deprecated class ComboboxWithBrowseButton is referenced in TestFolderComboWithBrowseButton
- Deprecated constructor NotificationGroup.(...) is invoked in Notifier.getNotificationGroup()
- Deprecated interface DialogWrapper.DoNotAskOption is referenced in GenerateTestsDialogWindow.createKotlinJvmTargetNotificationDialog()
- Configuration file 'withAndroid.xml' for optional dependency 'org.jetbrains.android' is invalid: Invalid plugin descriptor 'withAndroid.xml': Unable to read plugin descriptor~~
We should get rid of these warnings and use stable/recommended API where it's possible (or write own methods with similar functionality if need)
Metadata
Metadata
Assignees
Type
Projects
Status
Done