Skip to content

Commit

Permalink
refactor:test names
Browse files Browse the repository at this point in the history
  • Loading branch information
cunla committed Apr 28, 2024
1 parent 772ff0d commit d7a482c
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -18,7 +17,7 @@ import org.junit.jupiter.api.extension.RegisterExtension

@RunInEdt(writeIntent = true)
//@TestApplication
class ProjectStartupTest {
class TestProjectStartup {
init {
initTestApplication()
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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"))
Expand Down

0 comments on commit d7a482c

Please sign in to comment.