mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-18 09:34:34 +07:00
test [ByteCodeViewer] IJ-CR-186051: replace 'lazy {}' with simple getters
GitOrigin-RevId: 7ea6cbdf25d1121c5444550643526570e4114148
This commit is contained in:
committed by
intellij-monorepo-bot
parent
553bc22c89
commit
c68ea65ce3
@@ -39,7 +39,8 @@ internal class BytecodeLineMappingTest : BasePlatformTestCase() {
|
||||
bytecodeSelectionEndLine++ // because string operations are 0-indexed but the editor is 1-indexed
|
||||
|
||||
val bytecode = if (showDebugInfo) fixture.bytecodeWithDebugInfo else fixture.bytecode
|
||||
assertEquals(expectedBytecodeSelection, bytecode.lines().subList(fromIndex = bytecodeSelectionStartLine, toIndex = bytecodeSelectionEndLine).joinToString("\n"))
|
||||
assertEquals(expectedBytecodeSelection,
|
||||
bytecode.lines().subList(fromIndex = bytecodeSelectionStartLine, toIndex = bytecodeSelectionEndLine).joinToString("\n"))
|
||||
}
|
||||
|
||||
fun `test removeDebugInfo`() {
|
||||
@@ -715,10 +716,10 @@ internal class BytecodeLineMappingTest : BasePlatformTestCase() {
|
||||
private val testDataPath: String
|
||||
get() = PlatformTestUtil.getCommunityPath() + "/plugins/ByteCodeViewer/testData/lineMapping"
|
||||
|
||||
private val simple1: Fixture by lazy { createFixture("simple1") }
|
||||
private val simple1: Fixture get() = createFixture("simple1")
|
||||
|
||||
private val simple2: Fixture by lazy { createFixture("simple2") }
|
||||
private val simple2: Fixture get() = createFixture("simple2")
|
||||
|
||||
private val simple3: Fixture by lazy { createFixture("simple3") }
|
||||
private val simple3: Fixture get() = createFixture("simple3")
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user