Move call-site trailing comma to registry

#KT-34744
This commit is contained in:
Dmitry Gridin
2020-02-03 16:44:13 +07:00
parent c34b417d0c
commit b5d0956a5e
45 changed files with 5022 additions and 1422 deletions
@@ -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> {