From d101d9fc67feb126384e44a8d24c92fc15991e40 Mon Sep 17 00:00:00 2001 From: Christoph Thiede Date: Sun, 5 Jan 2025 00:33:36 +0100 Subject: [PATCH] test LiteralArrayContainsDot --- .../instance/testLiteralArrayContainsDot.st | 7 +++++++ .../methodProperties.json | 1 + .../README.md | 0 .../instance/characterArray.st | 4 ++++ .../instance/method.st | 4 ++++ .../instance/symbolArray.st | 3 +++ .../methodProperties.json | 7 +++++++ .../properties.json | 14 ++++++++++++++ 8 files changed, 40 insertions(+) create mode 100644 packages/SwaLint-Tests.package/SLSmallLintPlugInTest.class/instance/testLiteralArrayContainsDot.st create mode 100644 packages/SwaLint-Tests.package/SLTestLiteralArrayContainsDot01.class/README.md create mode 100644 packages/SwaLint-Tests.package/SLTestLiteralArrayContainsDot01.class/instance/characterArray.st create mode 100644 packages/SwaLint-Tests.package/SLTestLiteralArrayContainsDot01.class/instance/method.st create mode 100644 packages/SwaLint-Tests.package/SLTestLiteralArrayContainsDot01.class/instance/symbolArray.st create mode 100644 packages/SwaLint-Tests.package/SLTestLiteralArrayContainsDot01.class/methodProperties.json create mode 100644 packages/SwaLint-Tests.package/SLTestLiteralArrayContainsDot01.class/properties.json diff --git a/packages/SwaLint-Tests.package/SLSmallLintPlugInTest.class/instance/testLiteralArrayContainsDot.st b/packages/SwaLint-Tests.package/SLSmallLintPlugInTest.class/instance/testLiteralArrayContainsDot.st new file mode 100644 index 00000000..7283c835 --- /dev/null +++ b/packages/SwaLint-Tests.package/SLSmallLintPlugInTest.class/instance/testLiteralArrayContainsDot.st @@ -0,0 +1,7 @@ +testing +testLiteralArrayContainsDot + + self + test: #smallLintLiteralArrayContainsDot + on: { SLTestLiteralArrayContainsDot01 } + expectedResults: { 1 }. diff --git a/packages/SwaLint-Tests.package/SLSmallLintPlugInTest.class/methodProperties.json b/packages/SwaLint-Tests.package/SLSmallLintPlugInTest.class/methodProperties.json index a510648e..c767bcf4 100644 --- a/packages/SwaLint-Tests.package/SLSmallLintPlugInTest.class/methodProperties.json +++ b/packages/SwaLint-Tests.package/SLSmallLintPlugInTest.class/methodProperties.json @@ -39,6 +39,7 @@ "testLawOfDemeter" : "BD 6/22/2018 13:51", "testLiteralArrayCharacters" : "LS 6/16/2018 14:02", "testLiteralArrayContainsComma" : "LS 6/16/2018 14:02", + "testLiteralArrayContainsDot" : "ct 12/13/2024 03:17", "testLiteralValuesSpelling" : "LS 6/16/2018 14:02", "testMethodModifierFinal" : "LS 6/16/2018 14:02", "testMethodModifierOverride" : "LS 6/16/2018 14:02", diff --git a/packages/SwaLint-Tests.package/SLTestLiteralArrayContainsDot01.class/README.md b/packages/SwaLint-Tests.package/SLTestLiteralArrayContainsDot01.class/README.md new file mode 100644 index 00000000..e69de29b diff --git a/packages/SwaLint-Tests.package/SLTestLiteralArrayContainsDot01.class/instance/characterArray.st b/packages/SwaLint-Tests.package/SLTestLiteralArrayContainsDot01.class/instance/characterArray.st new file mode 100644 index 00000000..bd12c55d --- /dev/null +++ b/packages/SwaLint-Tests.package/SLTestLiteralArrayContainsDot01.class/instance/characterArray.st @@ -0,0 +1,4 @@ +as yet unclassified +characterArray + + ^ #($a) \ No newline at end of file diff --git a/packages/SwaLint-Tests.package/SLTestLiteralArrayContainsDot01.class/instance/method.st b/packages/SwaLint-Tests.package/SLTestLiteralArrayContainsDot01.class/instance/method.st new file mode 100644 index 00000000..3a95859e --- /dev/null +++ b/packages/SwaLint-Tests.package/SLTestLiteralArrayContainsDot01.class/instance/method.st @@ -0,0 +1,4 @@ +as yet unclassified +method + + ^ #( . ) \ No newline at end of file diff --git a/packages/SwaLint-Tests.package/SLTestLiteralArrayContainsDot01.class/instance/symbolArray.st b/packages/SwaLint-Tests.package/SLTestLiteralArrayContainsDot01.class/instance/symbolArray.st new file mode 100644 index 00000000..65e796e3 --- /dev/null +++ b/packages/SwaLint-Tests.package/SLTestLiteralArrayContainsDot01.class/instance/symbolArray.st @@ -0,0 +1,3 @@ +as yet unclassified +symbolArray + ^ #(#someSymbol $a) \ No newline at end of file diff --git a/packages/SwaLint-Tests.package/SLTestLiteralArrayContainsDot01.class/methodProperties.json b/packages/SwaLint-Tests.package/SLTestLiteralArrayContainsDot01.class/methodProperties.json new file mode 100644 index 00000000..5c48014e --- /dev/null +++ b/packages/SwaLint-Tests.package/SLTestLiteralArrayContainsDot01.class/methodProperties.json @@ -0,0 +1,7 @@ +{ + "class" : { + }, + "instance" : { + "characterArray" : "Lars Seifert 5/29/2018 17:12", + "method" : "ct 12/13/2024 03:18", + "symbolArray" : "Lars Seifert 5/29/2018 17:20" } } diff --git a/packages/SwaLint-Tests.package/SLTestLiteralArrayContainsDot01.class/properties.json b/packages/SwaLint-Tests.package/SLTestLiteralArrayContainsDot01.class/properties.json new file mode 100644 index 00000000..7609591b --- /dev/null +++ b/packages/SwaLint-Tests.package/SLTestLiteralArrayContainsDot01.class/properties.json @@ -0,0 +1,14 @@ +{ + "category" : "SwaLint-Tests-Data", + "classinstvars" : [ + ], + "classvars" : [ + ], + "commentStamp" : "", + "instvars" : [ + ], + "name" : "SLTestLiteralArrayContainsDot01", + "pools" : [ + ], + "super" : "Object", + "type" : "normal" }