Move call-site trailing comma to registry
#KT-34744
This commit is contained in:
@@ -585,10 +585,18 @@ fun main(args: Array<String>) {
|
||||
|
||||
testClass<AbstractFormatterTest> {
|
||||
model("formatter", pattern = """^([^\.]+)\.after\.kt.*$""")
|
||||
model(
|
||||
"formatter/trailingComma", pattern = """^([^\.]+)\.call\.after\.kt.*$""",
|
||||
testMethod = "doTestCallSite", testClassName = "FormatterCallSite"
|
||||
)
|
||||
model(
|
||||
"formatter", pattern = """^([^\.]+)\.after\.inv\.kt.*$""",
|
||||
testMethod = "doTestInverted", testClassName = "FormatterInverted"
|
||||
)
|
||||
model(
|
||||
"formatter/trailingComma", pattern = """^([^\.]+)\.call\.after\.inv\.kt.*$""",
|
||||
testMethod = "doTestInvertedCallSite", testClassName = "FormatterInvertedCallSite"
|
||||
)
|
||||
}
|
||||
|
||||
testClass<AbstractTypingIndentationTestBase> {
|
||||
|
||||
@@ -567,8 +567,18 @@ fun main(args: Array<String>) {
|
||||
|
||||
testClass<AbstractFormatterTest> {
|
||||
model("formatter", pattern = """^([^\.]+)\.after\.kt.*$""")
|
||||
model("formatter", pattern = """^([^\.]+)\.after\.inv\.kt.*$""",
|
||||
testMethod = "doTestInverted", testClassName = "FormatterInverted")
|
||||
model(
|
||||
"formatter/trailingComma", pattern = """^([^\.]+)\.call\.after\.kt.*$""",
|
||||
testMethod = "doTestCallSite", testClassName = "FormatterCallSite"
|
||||
)
|
||||
model(
|
||||
"formatter", pattern = """^([^\.]+)\.after\.inv\.kt.*$""",
|
||||
testMethod = "doTestInverted", testClassName = "FormatterInverted"
|
||||
)
|
||||
model(
|
||||
"formatter/trailingComma", pattern = """^([^\.]+)\.call\.after\.inv\.kt.*$""",
|
||||
testMethod = "doTestInvertedCallSite", testClassName = "FormatterInvertedCallSite"
|
||||
)
|
||||
}
|
||||
|
||||
testClass<AbstractTypingIndentationTestBase> {
|
||||
|
||||
@@ -567,8 +567,18 @@ fun main(args: Array<String>) {
|
||||
|
||||
testClass<AbstractFormatterTest> {
|
||||
model("formatter", pattern = """^([^\.]+)\.after\.kt.*$""")
|
||||
model("formatter", pattern = """^([^\.]+)\.after\.inv\.kt.*$""",
|
||||
testMethod = "doTestInverted", testClassName = "FormatterInverted")
|
||||
model(
|
||||
"formatter/trailingComma", pattern = """^([^\.]+)\.call\.after\.kt.*$""",
|
||||
testMethod = "doTestCallSite", testClassName = "FormatterCallSite"
|
||||
)
|
||||
model(
|
||||
"formatter", pattern = """^([^\.]+)\.after\.inv\.kt.*$""",
|
||||
testMethod = "doTestInverted", testClassName = "FormatterInverted"
|
||||
)
|
||||
model(
|
||||
"formatter/trailingComma", pattern = """^([^\.]+)\.call\.after\.inv\.kt.*$""",
|
||||
testMethod = "doTestInvertedCallSite", testClassName = "FormatterInvertedCallSite"
|
||||
)
|
||||
}
|
||||
|
||||
testClass<AbstractTypingIndentationTestBase> {
|
||||
|
||||
@@ -567,8 +567,18 @@ fun main(args: Array<String>) {
|
||||
|
||||
testClass<AbstractFormatterTest> {
|
||||
model("formatter", pattern = """^([^\.]+)\.after\.kt.*$""")
|
||||
model("formatter", pattern = """^([^\.]+)\.after\.inv\.kt.*$""",
|
||||
testMethod = "doTestInverted", testClassName = "FormatterInverted")
|
||||
model(
|
||||
"formatter/trailingComma", pattern = """^([^\.]+)\.call\.after\.kt.*$""",
|
||||
testMethod = "doTestCallSite", testClassName = "FormatterCallSite"
|
||||
)
|
||||
model(
|
||||
"formatter", pattern = """^([^\.]+)\.after\.inv\.kt.*$""",
|
||||
testMethod = "doTestInverted", testClassName = "FormatterInverted"
|
||||
)
|
||||
model(
|
||||
"formatter/trailingComma", pattern = """^([^\.]+)\.call\.after\.inv\.kt.*$""",
|
||||
testMethod = "doTestInvertedCallSite", testClassName = "FormatterInvertedCallSite"
|
||||
)
|
||||
}
|
||||
|
||||
testClass<AbstractTypingIndentationTestBase> {
|
||||
|
||||
Reference in New Issue
Block a user