mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
[kotlin] tests: move indentationOnNewline to editor/enterHandler
GitOrigin-RevId: d135e3afaa273d5a821787d5adb6cae0157c6c86
This commit is contained in:
committed by
intellij-monorepo-bot
parent
7ef1742035
commit
394df94474
@@ -654,11 +654,6 @@ private fun assembleWorkspace(): TWorkspace = workspace {
|
||||
)
|
||||
}
|
||||
|
||||
testClass<AbstractTypingIndentationTestBase> {
|
||||
model("indentationOnNewline", pattern = """^([^.]+)\.after\.kt.*$""".toRegex(), testMethodName = "doNewlineTest", testClassName = "DirectSettings")
|
||||
model("indentationOnNewline", pattern = """^([^.]+)\.after\.inv\.kt.*$""".toRegex(), testMethodName = "doNewlineTestWithInvert", testClassName = "InvertedSettings")
|
||||
}
|
||||
|
||||
testClass<AbstractDiagnosticMessageTest> {
|
||||
model("diagnosticMessage", isRecursive = false)
|
||||
}
|
||||
@@ -801,6 +796,11 @@ private fun assembleWorkspace(): TWorkspace = workspace {
|
||||
model("editor/optimizeImports/common", pattern = KT_WITHOUT_DOTS)
|
||||
}
|
||||
|
||||
testClass<AbstractTypingIndentationTestBase> {
|
||||
model("editor/enterHandler", pattern = """^([^.]+)\.after\.kt.*$""".toRegex(), testMethodName = "doNewlineTest", testClassName = "DirectSettings")
|
||||
model("editor/enterHandler", pattern = """^([^.]+)\.after\.inv\.kt.*$""".toRegex(), testMethodName = "doNewlineTestWithInvert", testClassName = "InvertedSettings")
|
||||
}
|
||||
|
||||
testClass<AbstractStubBuilderTest> {
|
||||
model("stubs", pattern = KT)
|
||||
}
|
||||
@@ -1484,8 +1484,8 @@ private fun assembleWorkspace(): TWorkspace = workspace {
|
||||
}
|
||||
|
||||
testClass<AbstractPerformanceTypingIndentationTest> {
|
||||
model("indentationOnNewline", pattern = """^([^.]+)\.after\.kt.*$""".toRegex(), testMethodName = "doNewlineTest", testClassName = "DirectSettings", splitToBuckets = false)
|
||||
model("indentationOnNewline", pattern = """^([^.]+)\.after\.inv\.kt.*$""".toRegex(), testMethodName = "doNewlineTestWithInvert", testClassName = "InvertedSettings", splitToBuckets = false)
|
||||
model("editor/enterHandler", pattern = """^([^.]+)\.after\.kt.*$""".toRegex(), testMethodName = "doNewlineTest", testClassName = "DirectSettings", splitToBuckets = false)
|
||||
model("editor/enterHandler", pattern = """^([^.]+)\.after\.inv\.kt.*$""".toRegex(), testMethodName = "doNewlineTestWithInvert", testClassName = "InvertedSettings", splitToBuckets = false)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
+417
-417
File diff suppressed because it is too large
Load Diff
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user