Files
openide/jvm/jvm-analysis-java-tests/testSrc/com/intellij/refactoring/rename/JavaAutomaticTestMethodRenamerTest.kt
Georgii Ustinov 3a961fdccd [Java. Refactorings] Extract common base for test methods
IDEA-351758

GitOrigin-RevId: 3732c0bac541df2ae4d9a8fc103b0b9b625ed30d
2024-05-03 14:51:35 +00:00

16 lines
675 B
Kotlin

// Copyright 2000-2024 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license.
package com.intellij.refactoring.rename
import com.intellij.jvm.analysis.JavaJvmAnalysisTestUtil
import com.intellij.jvm.analysis.testFramework.AutomaticTestMethodRenamerTestBase
class JavaAutomaticTestMethodRenamerTest : AutomaticTestMethodRenamerTestBase() {
override fun getBasePath(): String = JavaJvmAnalysisTestUtil.TEST_DATA_PROJECT_RELATIVE_BASE_PATH + "/refactoring/renameTestMethod"
fun testTestMethod() = doTest("ClassTest.java")
fun testHelperMethod() = doTest("ClassTest.java")
fun testHelperClass() = doTest("TestUtil.java")
}