diff --git a/src/test/kotlin/com/dsoftware/ghmanager/api/LogParsingTests.kt b/src/test/kotlin/com/dsoftware/ghmanager/api/TestLogParsing.kt similarity index 98% rename from src/test/kotlin/com/dsoftware/ghmanager/api/LogParsingTests.kt rename to src/test/kotlin/com/dsoftware/ghmanager/api/TestLogParsing.kt index cb90dd3..048f68c 100644 --- a/src/test/kotlin/com/dsoftware/ghmanager/api/LogParsingTests.kt +++ b/src/test/kotlin/com/dsoftware/ghmanager/api/TestLogParsing.kt @@ -7,7 +7,7 @@ import org.jetbrains.plugins.github.api.GithubApiContentHelper import org.junit.jupiter.api.Assertions.assertTrue import org.junit.jupiter.api.Test -class LogParsingTests { +class TestLogParsing { @Test fun `test steps' log showing with right color`() { // arrange diff --git a/src/test/kotlin/com/dsoftware/ghmanager/psi/OutdatedVersionAnnotatorTest.kt b/src/test/kotlin/com/dsoftware/ghmanager/psi/TestOutdatedVersionAnnotator.kt similarity index 97% rename from src/test/kotlin/com/dsoftware/ghmanager/psi/OutdatedVersionAnnotatorTest.kt rename to src/test/kotlin/com/dsoftware/ghmanager/psi/TestOutdatedVersionAnnotator.kt index f389eec..848cf84 100644 --- a/src/test/kotlin/com/dsoftware/ghmanager/psi/OutdatedVersionAnnotatorTest.kt +++ b/src/test/kotlin/com/dsoftware/ghmanager/psi/TestOutdatedVersionAnnotator.kt @@ -6,13 +6,11 @@ import com.dsoftware.ghmanager.toolwindow.executeSomeCoroutineTasksAndDispatchAl import com.fasterxml.jackson.databind.node.JsonNodeFactory import com.intellij.codeInsight.intention.IntentionAction import com.intellij.codeInspection.ex.QuickFixWrapper -import com.intellij.designer.model.QuickFix import com.intellij.openapi.command.WriteCommandAction import com.intellij.openapi.components.service import com.intellij.testFramework.fixtures.CodeInsightTestFixture import com.intellij.testFramework.fixtures.IdeaTestFixtureFactory import com.intellij.testFramework.runInEdtAndWait -import com.intellij.testFramework.utils.vfs.getPsiFile import io.mockk.every import io.mockk.impl.annotations.MockK import io.mockk.junit5.MockKExtension @@ -24,7 +22,7 @@ import org.junit.jupiter.api.extension.ExtendWith //@RunInEdt(writeIntent = true) @ExtendWith(MockKExtension::class) -class OutdatedVersionAnnotatorTest { +class TestOutdatedVersionAnnotator { @MockK lateinit var executorMock: GhApiRequestExecutor diff --git a/src/test/kotlin/com/dsoftware/ghmanager/psi/ProjectStartupTest.kt b/src/test/kotlin/com/dsoftware/ghmanager/psi/TestProjectStartup.kt similarity index 97% rename from src/test/kotlin/com/dsoftware/ghmanager/psi/ProjectStartupTest.kt rename to src/test/kotlin/com/dsoftware/ghmanager/psi/TestProjectStartup.kt index db6629f..2aac6b5 100644 --- a/src/test/kotlin/com/dsoftware/ghmanager/psi/ProjectStartupTest.kt +++ b/src/test/kotlin/com/dsoftware/ghmanager/psi/TestProjectStartup.kt @@ -7,7 +7,6 @@ import com.intellij.psi.PsiManager import com.intellij.testFramework.TestApplicationManager import com.intellij.testFramework.common.initTestApplication import com.intellij.testFramework.junit5.RunInEdt -import com.intellij.testFramework.junit5.TestApplication import com.intellij.testFramework.rules.ProjectModelExtension import com.intellij.testFramework.useProject import org.junit.jupiter.api.AfterEach @@ -18,7 +17,7 @@ import org.junit.jupiter.api.extension.RegisterExtension @RunInEdt(writeIntent = true) //@TestApplication -class ProjectStartupTest { +class TestProjectStartup { init { initTestApplication() } diff --git a/src/test/kotlin/com/dsoftware/ghmanager/psi/VersionCompareToolsTest.kt b/src/test/kotlin/com/dsoftware/ghmanager/psi/TestVersionCompareTools.kt similarity index 95% rename from src/test/kotlin/com/dsoftware/ghmanager/psi/VersionCompareToolsTest.kt rename to src/test/kotlin/com/dsoftware/ghmanager/psi/TestVersionCompareTools.kt index 56accdf..264a377 100644 --- a/src/test/kotlin/com/dsoftware/ghmanager/psi/VersionCompareToolsTest.kt +++ b/src/test/kotlin/com/dsoftware/ghmanager/psi/TestVersionCompareTools.kt @@ -4,7 +4,7 @@ import org.junit.jupiter.api.Assertions import org.junit.jupiter.api.Test -class VersionCompareToolsTest { +class TestVersionCompareTools { @Test fun testIsActionOutdated() { Assertions.assertFalse(VersionCompareTools.isActionOutdated("v4.0.0", "v4.0.0"))