From e66850fa87afae0d3fd705dc1ece1f522610b4d3 Mon Sep 17 00:00:00 2001 From: Erik Schierboom Date: Fri, 13 Oct 2023 12:49:58 +0200 Subject: [PATCH 1/4] Add tags.json to gitignore --- .gitignore | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index 9a227764..96a652d7 100644 --- a/.gitignore +++ b/.gitignore @@ -23,7 +23,8 @@ obj/ # Plugin files .ionide/ -# Generated analysis files -tests/**/analysis.json - launchSettings.json + +# Generated analysis files +/tests/**/*/analysis.json +/tests/**/*/tags.json From 9c659bc9662fb3408f9b32a59e74ba1869021e20 Mon Sep 17 00:00:00 2001 From: Erik Schierboom Date: Fri, 13 Oct 2023 12:50:58 +0200 Subject: [PATCH 2/4] Output separate tags.json file --- src/Exercism.Analyzers.CSharp/Output.cs | 24 ++++++++++++++++++++++-- 1 file changed, 22 insertions(+), 2 deletions(-) diff --git a/src/Exercism.Analyzers.CSharp/Output.cs b/src/Exercism.Analyzers.CSharp/Output.cs index d3028340..c8a8e99e 100644 --- a/src/Exercism.Analyzers.CSharp/Output.cs +++ b/src/Exercism.Analyzers.CSharp/Output.cs @@ -17,12 +17,17 @@ internal static class Output }; public static void WriteToFile(Options options, Analysis analysis) + { + WriteAnalysisJsonFile(options, analysis); + WriteTagsJsonFile(options, analysis); + } + + private static void WriteAnalysisJsonFile(Options options, Analysis analysis) { using var fileStream = File.Create(GetAnalysisFilePath(options)); var jsonWriter = new Utf8JsonWriter(fileStream, JsonWriterOptions); jsonWriter.WriteStartObject(); jsonWriter.WriteComments(analysis.Comments); - jsonWriter.WriteTags(analysis.Tags); jsonWriter.WriteEndObject(); jsonWriter.Flush(); fileStream.Write(Encoding.UTF8.GetBytes(Environment.NewLine)); @@ -70,10 +75,25 @@ private static void WriteCommentParameters(this Utf8JsonWriter jsonTextWriter, C private static void WriteCommentParameter(this Utf8JsonWriter jsonTextWriter, CommentParameter parameter) => jsonTextWriter.WriteString(parameter.Key, parameter.Value); + + private static void WriteTagsJsonFile(Options options, Analysis analysis) + { + using var fileStream = File.Create(GetTagsFilePath(options)); + var jsonWriter = new Utf8JsonWriter(fileStream, JsonWriterOptions); + jsonWriter.WriteStartObject(); + jsonWriter.WriteTags(analysis.Tags); + jsonWriter.WriteEndObject(); + jsonWriter.Flush(); + fileStream.Write(Encoding.UTF8.GetBytes(Environment.NewLine)); + } + + private static string GetTagsFilePath(Options options) => + Path.GetFullPath(Path.Combine(options.OutputDirectory, "tags.json")); private static void WriteTags(this Utf8JsonWriter jsonTextWriter, List tags) { - jsonTextWriter.WriteStartArray("tags"); + jsonTextWriter.WritePropertyName("tags"); + jsonTextWriter.WriteStartArray(); foreach (var tag in tags.ToSortedSet()) jsonTextWriter.WriteStringValue(tag); From dd7c03955e07e01c1d698a4849758fb8c3dc46cd Mon Sep 17 00:00:00 2001 From: Erik Schierboom Date: Fri, 13 Oct 2023 12:51:30 +0200 Subject: [PATCH 3/4] Also update tags.json file when updating golden tests --- bin/update-golden-tests.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/bin/update-golden-tests.sh b/bin/update-golden-tests.sh index 0ac9b7bb..e27e82c0 100644 --- a/bin/update-golden-tests.sh +++ b/bin/update-golden-tests.sh @@ -6,8 +6,9 @@ # Example: # ./bin/update-golden-tests.sh -# Generate the up-to-date analysis.json files +# Generate the up-to-date analysis.json and tags.json files ./bin/run-tests-in-docker.sh # Overwrite the existing files find tests -name analysis.json -execdir cp analysis.json expected_analysis.json \; +find tests -name tags.json -execdir cp tags.json expected_tags.json \; From e804a3bb208adbb9e7253f43ba45ec6a75e4f557 Mon Sep 17 00:00:00 2001 From: Erik Schierboom Date: Fri, 13 Oct 2023 12:52:29 +0200 Subject: [PATCH 4/4] Update golden tests to include tags.json --- .../lock-statement/expected_analysis.json | 29 +---------- .../lock-statement/expected_tags.json | 29 +++++++++++ .../approaches/mutex/expected_analysis.json | 32 +----------- .../approaches/mutex/expected_tags.json | 32 ++++++++++++ .../answer-array/expected_analysis.json | 33 +----------- .../answer-array/expected_tags.json | 33 ++++++++++++ .../bob/approaches/if/expected_analysis.json | 21 -------- tests/bob/approaches/if/expected_tags.json | 23 +++++++++ .../expected_analysis.json | 18 ------- .../regular-expressions/expected_tags.json | 20 ++++++++ .../switch-on-tuple/expected_analysis.json | 28 +---------- .../switch-on-tuple/expected_tags.json | 28 +++++++++++ .../recursion/expected_analysis.json | 27 +--------- .../approaches/recursion/expected_tags.json | 27 ++++++++++ .../sequence/expected_analysis.json | 32 +----------- .../approaches/sequence/expected_tags.json | 32 ++++++++++++ .../while-loop/expected_analysis.json | 27 +--------- .../approaches/while-loop/expected_tags.json | 27 ++++++++++ .../assign-and-return/expected_analysis.json | 20 -------- .../assign-and-return/expected_tags.json | 22 ++++++++ .../has-compile-errors/expected_analysis.json | 3 +- .../has-compile-errors/expected_tags.json | 3 ++ .../has-main-method/expected_analysis.json | 6 --- .../common/has-main-method/expected_tags.json | 8 +++ .../expected_analysis.json | 13 +---- .../expected_tags.json | 13 +++++ .../expected_analysis.json | 3 +- .../missing-solution-file/expected_tags.json | 3 ++ .../expected_analysis.json | 9 ---- .../expected_tags.json | 11 ++++ .../expected_analysis.json | 9 ---- .../console-error-write/expected_tags.json | 11 ++++ .../expected_analysis.json | 9 ---- .../console-out-write-line/expected_tags.json | 11 ++++ .../console-out-write/expected_analysis.json | 9 ---- .../console-out-write/expected_tags.json | 11 ++++ .../console-write-line/expected_analysis.json | 9 ---- .../console-write-line/expected_tags.json | 11 ++++ .../console-write/expected_analysis.json | 9 ---- .../console-write/expected_tags.json | 11 ++++ .../if-statements/expected_analysis.json | 24 +-------- .../if-statements/expected_tags.json | 24 +++++++++ .../switch-expression/expected_analysis.json | 22 -------- .../switch-expression/expected_tags.json | 24 +++++++++ .../for-statement/expected_analysis.json | 23 +-------- .../for-statement/expected_tags.json | 23 +++++++++ .../approaches/linq/expected_analysis.json | 22 +------- .../approaches/linq/expected_tags.json | 22 ++++++++ .../equations-only/expected_analysis.json | 21 +------- .../math/equations-only/expected_tags.json | 21 ++++++++ .../using-math-class/expected_analysis.json | 28 +---------- .../math/using-math-class/expected_tags.json | 28 +++++++++++ .../big-integer/expected_analysis.json | 24 +-------- .../approaches/big-integer/expected_tags.json | 24 +++++++++ .../expected_analysis.json | 18 ------- .../digits-with-separator/expected_tags.json | 20 ++++++++ .../expected_analysis.json | 17 ------- .../expected_tags.json | 19 +++++++ .../math-pow/expected_analysis.json | 21 -------- .../add-seconds/math-pow/expected_tags.json | 23 +++++++++ .../lower-case/expected_analysis.json | 16 ------ .../lower-case/expected_tags.json | 18 +++++++ .../upper-case/expected_analysis.json | 16 ------ .../upper-case/expected_tags.json | 18 +++++++ tests/gigasecond/add/expected_analysis.json | 19 ------- tests/gigasecond/add/expected_tags.json | 21 ++++++++ .../add-seconds/expected_analysis.json | 18 ------- .../approaches/add-seconds/expected_tags.json | 20 ++++++++ .../time-span/expected_analysis.json | 17 ------- .../approaches/time-span/expected_tags.json | 19 +++++++ .../create-date-time/expected_analysis.json | 19 ------- .../create-date-time/expected_tags.json | 21 ++++++++ .../plus-operator/expected_analysis.json | 16 ------ .../plus-operator/expected_tags.json | 18 +++++++ .../sorted-collections/expected_analysis.json | 34 +------------ .../sorted-collections/expected_tags.json | 34 +++++++++++++ .../bit-shifting/expected_analysis.json | 28 ----------- .../bit-shifting/expected_tags.json | 30 +++++++++++ .../max-value/expected_analysis.json | 30 ----------- .../approaches/max-value/expected_tags.json | 32 ++++++++++++ .../approaches/pow/expected_analysis.json | 29 ----------- .../grains/approaches/pow/expected_tags.json | 31 ++++++++++++ .../for-loop/expected_analysis.json | 23 +-------- .../approaches/for-loop/expected_tags.json | 23 +++++++++ .../approaches/linq/expected_analysis.json | 22 +------- .../approaches/linq/expected_tags.json | 22 ++++++++ .../bitfield/expected_analysis.json | 29 +---------- .../approaches/bitfield/expected_tags.json | 29 +++++++++++ .../distinct/expected_analysis.json | 23 +-------- .../approaches/distinct/expected_tags.json | 23 +++++++++ .../approaches/groupby/expected_analysis.json | 21 -------- .../approaches/groupby/expected_tags.json | 23 +++++++++ .../boolean-chain/expected_analysis.json | 15 ------ .../boolean-chain/expected_tags.json | 17 +++++++ .../built-in-method/expected_analysis.json | 13 ----- .../built-in-method/expected_tags.json | 15 ++++++ .../datetime-addition/expected_analysis.json | 21 +------- .../datetime-addition/expected_tags.json | 21 ++++++++ .../switch-on-a-tuple/expected_analysis.json | 19 ------- .../switch-on-a-tuple/expected_tags.json | 21 ++++++++ .../ternary-operator/expected_analysis.json | 12 ----- .../ternary-operator/expected_tags.json | 14 ++++++ .../leap/if-statements/expected_analysis.json | 15 ------ tests/leap/if-statements/expected_tags.json | 17 +++++++ .../expected_analysis.json | 13 ----- .../nested-if-statement/expected_tags.json | 15 ++++++ .../too-many-checks/expected_analysis.json | 15 ------ tests/leap/too-many-checks/expected_tags.json | 17 +++++++ .../block-body/expected_analysis.json | 13 ----- .../block-body/expected_tags.json | 15 ++++++ .../expression-body/expected_analysis.json | 13 ----- .../expression-body/expected_tags.json | 15 ++++++ .../expected_analysis.json | 7 +-- .../expected_tags.json | 7 +++ .../factors-first/expected_analysis.json | 42 +--------------- .../factors-first/expected_tags.json | 42 ++++++++++++++++ .../expected_analysis.json | 21 -------- .../expected_tags.json | 23 +++++++++ .../expected_analysis.json | 24 +-------- .../all-contains-tolower/expected_tags.json | 24 +++++++++ .../bitfield/expected_analysis.json | 28 +---------- .../approaches/bitfield/expected_tags.json | 28 +++++++++++ .../as-parallel/expected_analysis.json | 30 ----------- .../approaches/as-parallel/expected_tags.json | 32 ++++++++++++ .../if-statements/expected_analysis.json | 26 +--------- .../if-statements/expected_tags.json | 26 ++++++++++ .../switch-expression/expected_analysis.json | 28 +---------- .../switch-expression/expected_tags.json | 28 +++++++++++ .../regular-expression/expected_analysis.json | 26 +--------- .../regular-expression/expected_tags.json | 26 ++++++++++ .../expected_analysis.json | 20 +------- .../regular-expressions/expected_tags.json | 20 ++++++++ .../icomparer/expected_analysis.json | 44 +--------------- .../approaches/icomparer/expected_tags.json | 44 ++++++++++++++++ .../integer-score/expected_analysis.json | 40 +-------------- .../integer-score/expected_tags.json | 40 +++++++++++++++ .../linq-dict/expected_analysis.json | 27 ---------- .../approaches/linq-dict/expected_tags.json | 29 +++++++++++ .../substring-dict/expected_analysis.json | 39 +-------------- .../substring-dict/expected_tags.json | 39 +++++++++++++++ .../substring-switch/expected_analysis.json | 37 +------------- .../substring-switch/expected_tags.json | 37 ++++++++++++++ .../yield-dict/expected_analysis.json | 35 +------------ .../approaches/yield-dict/expected_tags.json | 35 +++++++++++++ .../yield-switch/expected_analysis.json | 37 +------------- .../yield-switch/expected_tags.json | 37 ++++++++++++++ .../for-loop/expected_analysis.json | 29 +---------- .../approaches/for-loop/expected_tags.json | 29 +++++++++++ .../approaches/linq/expected_analysis.json | 23 +-------- .../approaches/linq/expected_tags.json | 23 +++++++++ .../aggregate/expected_analysis.json | 28 ----------- .../approaches/aggregate/expected_tags.json | 30 +++++++++++ .../if-statements/expected_analysis.json | 20 +------- .../if-statements/expected_tags.json | 20 ++++++++ .../array-reverse/expected_analysis.json | 17 +------ .../array-reverse/expected_tags.json | 17 +++++++ .../approaches/linq/expected_analysis.json | 17 ------- .../approaches/linq/expected_tags.json | 19 +++++++ .../approaches/span/expected_analysis.json | 29 +---------- .../approaches/span/expected_tags.json | 29 +++++++++++ .../string-builder/expected_analysis.json | 23 +-------- .../string-builder/expected_tags.json | 23 +++++++++ .../dictionary/expected_analysis.json | 28 +---------- .../approaches/dictionary/expected_tags.json | 28 +++++++++++ .../switch-expression/expected_analysis.json | 20 +------- .../switch-expression/expected_tags.json | 20 ++++++++ .../for-loop/expected_analysis.json | 29 +---------- .../approaches/for-loop/expected_tags.json | 29 +++++++++++ .../approaches/linq/expected_analysis.json | 29 +---------- .../series/approaches/linq/expected_tags.json | 29 +++++++++++ .../bit-array/expected_analysis.json | 35 +------------ .../approaches/bit-array/expected_tags.json | 35 +++++++++++++ .../hash-set/expected_analysis.json | 30 +---------- .../approaches/hash-set/expected_tags.json | 30 +++++++++++ .../comments/expected_analysis.json | 11 ---- .../constructs/comments/expected_tags.json | 13 +++++ .../custom-types/expected_analysis.json | 35 +------------ .../custom-types/expected_tags.json | 35 +++++++++++++ .../exceptions/expected_analysis.json | 20 +------- .../constructs/exceptions/expected_tags.json | 20 ++++++++ .../flow-control/expected_analysis.json | 19 ------- .../flow-control/expected_tags.json | 21 ++++++++ .../functional/expected_analysis.json | 23 --------- .../constructs/functional/expected_tags.json | 25 ++++++++++ .../constructs/methods/expected_analysis.json | 19 ------- .../constructs/methods/expected_tags.json | 21 ++++++++ .../resources/expected_analysis.json | 17 +------ .../constructs/resources/expected_tags.json | 17 +++++++ .../reflective/expected_analysis.json | 15 +----- .../paradigms/reflective/expected_tags.json | 15 ++++++ .../recursion/expected_analysis.json | 21 -------- .../techniques/recursion/expected_tags.json | 23 +++++++++ .../framework-types/expected_analysis.json | 33 +----------- .../basic/framework-types/expected_tags.json | 33 ++++++++++++ .../language-types/expected_analysis.json | 27 +--------- .../basic/language-types/expected_tags.json | 27 ++++++++++ .../basic/literals/expected_analysis.json | 20 +------- .../types/basic/literals/expected_tags.json | 20 ++++++++ .../framework-types/expected_analysis.json | 36 +------------ .../framework-types/expected_tags.json | 36 +++++++++++++ .../expected_analysis.json | 50 +------------------ .../graph-shortest-path/expected_tags.json | 50 +++++++++++++++++++ .../method-overloading/expected_analysis.json | 12 ----- .../method-overloading/expected_tags.json | 14 ++++++ .../optional-parameter/expected_analysis.json | 11 ---- .../optional-parameter/expected_tags.json | 13 +++++ .../concatenation/expected_analysis.json | 12 ----- .../two-fer/concatenation/expected_tags.json | 14 ++++++ tests/two-fer/if/expected_analysis.json | 15 ------ tests/two-fer/if/expected_tags.json | 17 +++++++ .../interpolation/expected_analysis.json | 12 ----- .../two-fer/interpolation/expected_tags.json | 14 ++++++ .../expected_analysis.json | 12 ----- .../invalid-default-value/expected_tags.json | 14 ++++++ .../is-null-or-empty/expected_analysis.json | 16 ------ .../is-null-or-empty/expected_tags.json | 18 +++++++ .../expected_analysis.json | 16 ------ .../is-null-or-white-space/expected_tags.json | 18 +++++++ .../null-coalescing/expected_analysis.json | 14 ------ .../null-coalescing/expected_tags.json | 16 ++++++ .../string.concat/expected_analysis.json | 12 ----- .../two-fer/string.concat/expected_tags.json | 14 ++++++ .../string.format/expected_analysis.json | 12 ----- .../two-fer/string.format/expected_tags.json | 14 ++++++ .../string.join/expected_analysis.json | 17 ------- tests/two-fer/string.join/expected_tags.json | 19 +++++++ .../expected_analysis.json | 35 ------------- .../expected_tags.json | 37 ++++++++++++++ .../exemplar/expected_analysis.json | 36 +------------ .../exemplar/expected_tags.json | 36 +++++++++++++ .../property-precision/expected_analysis.json | 35 ------------- .../property-precision/expected_tags.json | 37 ++++++++++++++ .../expected_analysis.json | 35 ------------- .../expected_tags.json | 37 ++++++++++++++ .../expected_analysis.json | 35 ------------- .../expected_tags.json | 37 ++++++++++++++ .../expected_analysis.json | 32 ------------ .../round-method-called/expected_tags.json | 34 +++++++++++++ .../use-initializer/expected_analysis.json | 35 ------------- .../use-initializer/expected_tags.json | 37 ++++++++++++++ .../approaches/linq/expected_analysis.json | 33 +----------- .../yacht/approaches/linq/expected_tags.json | 33 ++++++++++++ 242 files changed, 2909 insertions(+), 2667 deletions(-) create mode 100644 tests/bank-account/approaches/lock-statement/expected_tags.json create mode 100644 tests/bank-account/approaches/mutex/expected_tags.json create mode 100644 tests/bob/approaches/answer-array/expected_tags.json create mode 100644 tests/bob/approaches/if/expected_tags.json create mode 100644 tests/bob/approaches/regular-expressions/expected_tags.json create mode 100644 tests/bob/approaches/switch-on-tuple/expected_tags.json create mode 100644 tests/collatz-conjecture/approaches/recursion/expected_tags.json create mode 100644 tests/collatz-conjecture/approaches/sequence/expected_tags.json create mode 100644 tests/collatz-conjecture/approaches/while-loop/expected_tags.json create mode 100644 tests/common/assign-and-return/expected_tags.json create mode 100644 tests/common/has-compile-errors/expected_tags.json create mode 100644 tests/common/has-main-method/expected_tags.json create mode 100644 tests/common/ignore-non-solution-files/expected_tags.json create mode 100644 tests/common/missing-solution-file/expected_tags.json create mode 100644 tests/common/writes-to-console/console-error-write-line/expected_tags.json create mode 100644 tests/common/writes-to-console/console-error-write/expected_tags.json create mode 100644 tests/common/writes-to-console/console-out-write-line/expected_tags.json create mode 100644 tests/common/writes-to-console/console-out-write/expected_tags.json create mode 100644 tests/common/writes-to-console/console-write-line/expected_tags.json create mode 100644 tests/common/writes-to-console/console-write/expected_tags.json create mode 100644 tests/darts/approaches/if-statements/expected_tags.json create mode 100644 tests/darts/approaches/switch-expression/expected_tags.json create mode 100644 tests/difference-of-squares/approaches/for-statement/expected_tags.json create mode 100644 tests/difference-of-squares/approaches/linq/expected_tags.json create mode 100644 tests/difference-of-squares/approaches/math/equations-only/expected_tags.json create mode 100644 tests/difference-of-squares/approaches/math/using-math-class/expected_tags.json create mode 100644 tests/diffie-hellman/approaches/big-integer/expected_tags.json create mode 100644 tests/gigasecond/add-seconds/digits-with-separator/expected_tags.json create mode 100644 tests/gigasecond/add-seconds/digits-without-separator/expected_tags.json create mode 100644 tests/gigasecond/add-seconds/math-pow/expected_tags.json create mode 100644 tests/gigasecond/add-seconds/scientific-notation/lower-case/expected_tags.json create mode 100644 tests/gigasecond/add-seconds/scientific-notation/upper-case/expected_tags.json create mode 100644 tests/gigasecond/add/expected_tags.json create mode 100644 tests/gigasecond/approaches/add-seconds/expected_tags.json create mode 100644 tests/gigasecond/approaches/time-span/expected_tags.json create mode 100644 tests/gigasecond/create-date-time/expected_tags.json create mode 100644 tests/gigasecond/plus-operator/expected_tags.json create mode 100644 tests/grade-school/approaches/sorted-collections/expected_tags.json create mode 100644 tests/grains/approaches/bit-shifting/expected_tags.json create mode 100644 tests/grains/approaches/max-value/expected_tags.json create mode 100644 tests/grains/approaches/pow/expected_tags.json create mode 100644 tests/hamming/approaches/for-loop/expected_tags.json create mode 100644 tests/hamming/approaches/linq/expected_tags.json create mode 100644 tests/isogram/approaches/bitfield/expected_tags.json create mode 100644 tests/isogram/approaches/distinct/expected_tags.json create mode 100644 tests/isogram/approaches/groupby/expected_tags.json create mode 100644 tests/leap/approaches/boolean-chain/expected_tags.json create mode 100644 tests/leap/approaches/built-in-method/expected_tags.json create mode 100644 tests/leap/approaches/datetime-addition/expected_tags.json create mode 100644 tests/leap/approaches/switch-on-a-tuple/expected_tags.json create mode 100644 tests/leap/approaches/ternary-operator/expected_tags.json create mode 100644 tests/leap/if-statements/expected_tags.json create mode 100644 tests/leap/nested-if-statement/expected_tags.json create mode 100644 tests/leap/too-many-checks/expected_tags.json create mode 100644 tests/leap/use-is-leap-year/block-body/expected_tags.json create mode 100644 tests/leap/use-is-leap-year/expression-body/expected_tags.json create mode 100644 tests/missing/no-analyzer-implemented/expected_tags.json create mode 100644 tests/palindrome-products/approaches/factors-first/expected_tags.json create mode 100644 tests/pangram/approaches/all-contains-case-insensitive/expected_tags.json create mode 100644 tests/pangram/approaches/all-contains-tolower/expected_tags.json create mode 100644 tests/pangram/approaches/bitfield/expected_tags.json create mode 100644 tests/parallel-letter-frequency/approaches/as-parallel/expected_tags.json create mode 100644 tests/perfect-numbers/approaches/if-statements/expected_tags.json create mode 100644 tests/perfect-numbers/approaches/switch-expression/expected_tags.json create mode 100644 tests/phone-number/approaches/regular-expression/expected_tags.json create mode 100644 tests/pig-latin/approaches/regular-expressions/expected_tags.json create mode 100644 tests/poker/approaches/icomparer/expected_tags.json create mode 100644 tests/poker/approaches/integer-score/expected_tags.json create mode 100644 tests/protein-translation/approaches/linq-dict/expected_tags.json create mode 100644 tests/protein-translation/approaches/substring-dict/expected_tags.json create mode 100644 tests/protein-translation/approaches/substring-switch/expected_tags.json create mode 100644 tests/protein-translation/approaches/yield-dict/expected_tags.json create mode 100644 tests/protein-translation/approaches/yield-switch/expected_tags.json create mode 100644 tests/proverb/approaches/for-loop/expected_tags.json create mode 100644 tests/proverb/approaches/linq/expected_tags.json create mode 100644 tests/raindrops/approaches/aggregate/expected_tags.json create mode 100644 tests/raindrops/approaches/if-statements/expected_tags.json create mode 100644 tests/reverse-string/approaches/array-reverse/expected_tags.json create mode 100644 tests/reverse-string/approaches/linq/expected_tags.json create mode 100644 tests/reverse-string/approaches/span/expected_tags.json create mode 100644 tests/reverse-string/approaches/string-builder/expected_tags.json create mode 100644 tests/rna-transcription/approaches/dictionary/expected_tags.json create mode 100644 tests/rna-transcription/approaches/switch-expression/expected_tags.json create mode 100644 tests/series/approaches/for-loop/expected_tags.json create mode 100644 tests/series/approaches/linq/expected_tags.json create mode 100644 tests/sieve/approaches/bit-array/expected_tags.json create mode 100644 tests/sieve/approaches/hash-set/expected_tags.json create mode 100644 tests/tags/constructs/comments/expected_tags.json create mode 100644 tests/tags/constructs/custom-types/expected_tags.json create mode 100644 tests/tags/constructs/exceptions/expected_tags.json create mode 100644 tests/tags/constructs/flow-control/expected_tags.json create mode 100644 tests/tags/constructs/functional/expected_tags.json create mode 100644 tests/tags/constructs/methods/expected_tags.json create mode 100644 tests/tags/constructs/resources/expected_tags.json create mode 100644 tests/tags/paradigms/reflective/expected_tags.json create mode 100644 tests/tags/techniques/recursion/expected_tags.json create mode 100644 tests/tags/uses/types/basic/framework-types/expected_tags.json create mode 100644 tests/tags/uses/types/basic/language-types/expected_tags.json create mode 100644 tests/tags/uses/types/basic/literals/expected_tags.json create mode 100644 tests/tags/uses/types/collections/framework-types/expected_tags.json create mode 100644 tests/two-bucket/approaches/graph-shortest-path/expected_tags.json create mode 100644 tests/two-fer/approaches/method-overloading/expected_tags.json create mode 100644 tests/two-fer/approaches/optional-parameter/expected_tags.json create mode 100644 tests/two-fer/concatenation/expected_tags.json create mode 100644 tests/two-fer/if/expected_tags.json create mode 100644 tests/two-fer/interpolation/expected_tags.json create mode 100644 tests/two-fer/invalid-default-value/expected_tags.json create mode 100644 tests/two-fer/is-null-or-empty/expected_tags.json create mode 100644 tests/two-fer/is-null-or-white-space/expected_tags.json create mode 100644 tests/two-fer/null-coalescing/expected_tags.json create mode 100644 tests/two-fer/string.concat/expected_tags.json create mode 100644 tests/two-fer/string.format/expected_tags.json create mode 100644 tests/two-fer/string.join/expected_tags.json create mode 100644 tests/weighing-machine/backing-field-should-be-private/expected_tags.json create mode 100644 tests/weighing-machine/exemplar/expected_tags.json create mode 100644 tests/weighing-machine/is-not-auto-property/property-precision/expected_tags.json create mode 100644 tests/weighing-machine/is-not-auto-property/property-tare-adjustment/expected_tags.json create mode 100644 tests/weighing-machine/precision-is-not-getter-only/expected_tags.json create mode 100644 tests/weighing-machine/round-method-called/expected_tags.json create mode 100644 tests/weighing-machine/use-initializer/expected_tags.json create mode 100644 tests/yacht/approaches/linq/expected_tags.json diff --git a/tests/bank-account/approaches/lock-statement/expected_analysis.json b/tests/bank-account/approaches/lock-statement/expected_analysis.json index b31f7a66..a0d0268f 100644 --- a/tests/bank-account/approaches/lock-statement/expected_analysis.json +++ b/tests/bank-account/approaches/lock-statement/expected_analysis.json @@ -1,30 +1,3 @@ { - "comments": [], - "tags": [ - "construct:assignment", - "construct:boolean", - "construct:class", - "construct:constructor", - "construct:decimal", - "construct:expression-bodied-member", - "construct:field", - "construct:floating-point-number", - "construct:if", - "construct:lock", - "construct:method", - "construct:parameter", - "construct:property", - "construct:read-only", - "construct:string", - "construct:ternary", - "construct:throw", - "construct:throw-expression", - "construct:using-directive", - "construct:variable", - "construct:visibility-modifiers", - "paradigm:imperative", - "paradigm:object-oriented", - "technique:exceptions", - "technique:locks" - ] + "comments": [] } diff --git a/tests/bank-account/approaches/lock-statement/expected_tags.json b/tests/bank-account/approaches/lock-statement/expected_tags.json new file mode 100644 index 00000000..7aa781b1 --- /dev/null +++ b/tests/bank-account/approaches/lock-statement/expected_tags.json @@ -0,0 +1,29 @@ +{ + "tags": [ + "construct:assignment", + "construct:boolean", + "construct:class", + "construct:constructor", + "construct:decimal", + "construct:expression-bodied-member", + "construct:field", + "construct:floating-point-number", + "construct:if", + "construct:lock", + "construct:method", + "construct:parameter", + "construct:property", + "construct:read-only", + "construct:string", + "construct:ternary", + "construct:throw", + "construct:throw-expression", + "construct:using-directive", + "construct:variable", + "construct:visibility-modifiers", + "paradigm:imperative", + "paradigm:object-oriented", + "technique:exceptions", + "technique:locks" + ] +} diff --git a/tests/bank-account/approaches/mutex/expected_analysis.json b/tests/bank-account/approaches/mutex/expected_analysis.json index 3df041eb..a0d0268f 100644 --- a/tests/bank-account/approaches/mutex/expected_analysis.json +++ b/tests/bank-account/approaches/mutex/expected_analysis.json @@ -1,33 +1,3 @@ { - "comments": [], - "tags": [ - "construct:assignment", - "construct:boolean", - "construct:class", - "construct:constructor", - "construct:decimal", - "construct:expression-bodied-member", - "construct:field", - "construct:finally", - "construct:floating-point-number", - "construct:if", - "construct:invocation", - "construct:method", - "construct:parameter", - "construct:property", - "construct:read-only", - "construct:string", - "construct:ternary", - "construct:throw", - "construct:throw-expression", - "construct:try", - "construct:using-directive", - "construct:variable", - "construct:visibility-modifiers", - "paradigm:imperative", - "paradigm:object-oriented", - "technique:exceptions", - "technique:mutexes", - "uses:Mutex" - ] + "comments": [] } diff --git a/tests/bank-account/approaches/mutex/expected_tags.json b/tests/bank-account/approaches/mutex/expected_tags.json new file mode 100644 index 00000000..e3b550df --- /dev/null +++ b/tests/bank-account/approaches/mutex/expected_tags.json @@ -0,0 +1,32 @@ +{ + "tags": [ + "construct:assignment", + "construct:boolean", + "construct:class", + "construct:constructor", + "construct:decimal", + "construct:expression-bodied-member", + "construct:field", + "construct:finally", + "construct:floating-point-number", + "construct:if", + "construct:invocation", + "construct:method", + "construct:parameter", + "construct:property", + "construct:read-only", + "construct:string", + "construct:ternary", + "construct:throw", + "construct:throw-expression", + "construct:try", + "construct:using-directive", + "construct:variable", + "construct:visibility-modifiers", + "paradigm:imperative", + "paradigm:object-oriented", + "technique:exceptions", + "technique:mutexes", + "uses:Mutex" + ] +} diff --git a/tests/bob/approaches/answer-array/expected_analysis.json b/tests/bob/approaches/answer-array/expected_analysis.json index 98903459..a0d0268f 100644 --- a/tests/bob/approaches/answer-array/expected_analysis.json +++ b/tests/bob/approaches/answer-array/expected_analysis.json @@ -1,34 +1,3 @@ { - "comments": [], - "tags": [ - "construct:add", - "construct:boolean", - "construct:char", - "construct:class", - "construct:field", - "construct:if", - "construct:implicit-conversion", - "construct:indexer", - "construct:initializer", - "construct:int", - "construct:integral-number", - "construct:invocation", - "construct:lambda", - "construct:linq", - "construct:logical-and", - "construct:method", - "construct:number", - "construct:parameter", - "construct:read-only", - "construct:return", - "construct:string", - "construct:ternary", - "construct:using-directive", - "construct:variable", - "construct:visibility-modifiers", - "paradigm:functional", - "paradigm:object-oriented", - "technique:boolean-logic", - "technique:higher-order-functions" - ] + "comments": [] } diff --git a/tests/bob/approaches/answer-array/expected_tags.json b/tests/bob/approaches/answer-array/expected_tags.json new file mode 100644 index 00000000..a0644740 --- /dev/null +++ b/tests/bob/approaches/answer-array/expected_tags.json @@ -0,0 +1,33 @@ +{ + "tags": [ + "construct:add", + "construct:boolean", + "construct:char", + "construct:class", + "construct:field", + "construct:if", + "construct:implicit-conversion", + "construct:indexer", + "construct:initializer", + "construct:int", + "construct:integral-number", + "construct:invocation", + "construct:lambda", + "construct:linq", + "construct:logical-and", + "construct:method", + "construct:number", + "construct:parameter", + "construct:read-only", + "construct:return", + "construct:string", + "construct:ternary", + "construct:using-directive", + "construct:variable", + "construct:visibility-modifiers", + "paradigm:functional", + "paradigm:object-oriented", + "technique:boolean-logic", + "technique:higher-order-functions" + ] +} diff --git a/tests/bob/approaches/if/expected_analysis.json b/tests/bob/approaches/if/expected_analysis.json index 3e4a0150..6303e251 100644 --- a/tests/bob/approaches/if/expected_analysis.json +++ b/tests/bob/approaches/if/expected_analysis.json @@ -7,26 +7,5 @@ "name": "IsSilence" } } - ], - "tags": [ - "construct:boolean", - "construct:char", - "construct:class", - "construct:if", - "construct:implicit-conversion", - "construct:invocation", - "construct:lambda", - "construct:linq", - "construct:logical-and", - "construct:method", - "construct:parameter", - "construct:return", - "construct:string", - "construct:using-directive", - "construct:visibility-modifiers", - "paradigm:functional", - "paradigm:object-oriented", - "technique:boolean-logic", - "technique:higher-order-functions" ] } diff --git a/tests/bob/approaches/if/expected_tags.json b/tests/bob/approaches/if/expected_tags.json new file mode 100644 index 00000000..b1c409eb --- /dev/null +++ b/tests/bob/approaches/if/expected_tags.json @@ -0,0 +1,23 @@ +{ + "tags": [ + "construct:boolean", + "construct:char", + "construct:class", + "construct:if", + "construct:implicit-conversion", + "construct:invocation", + "construct:lambda", + "construct:linq", + "construct:logical-and", + "construct:method", + "construct:parameter", + "construct:return", + "construct:string", + "construct:using-directive", + "construct:visibility-modifiers", + "paradigm:functional", + "paradigm:object-oriented", + "technique:boolean-logic", + "technique:higher-order-functions" + ] +} diff --git a/tests/bob/approaches/regular-expressions/expected_analysis.json b/tests/bob/approaches/regular-expressions/expected_analysis.json index 53359a26..6303e251 100644 --- a/tests/bob/approaches/regular-expressions/expected_analysis.json +++ b/tests/bob/approaches/regular-expressions/expected_analysis.json @@ -7,23 +7,5 @@ "name": "IsSilence" } } - ], - "tags": [ - "construct-verbatim-string", - "construct:boolean", - "construct:class", - "construct:if", - "construct:invocation", - "construct:logical-and", - "construct:method", - "construct:parameter", - "construct:return", - "construct:string", - "construct:using-directive", - "construct:visibility-modifiers", - "paradigm:object-oriented", - "technique:boolean-logic", - "technique:regular-expression", - "uses:Regex" ] } diff --git a/tests/bob/approaches/regular-expressions/expected_tags.json b/tests/bob/approaches/regular-expressions/expected_tags.json new file mode 100644 index 00000000..43c59880 --- /dev/null +++ b/tests/bob/approaches/regular-expressions/expected_tags.json @@ -0,0 +1,20 @@ +{ + "tags": [ + "construct-verbatim-string", + "construct:boolean", + "construct:class", + "construct:if", + "construct:invocation", + "construct:logical-and", + "construct:method", + "construct:parameter", + "construct:return", + "construct:string", + "construct:using-directive", + "construct:visibility-modifiers", + "paradigm:object-oriented", + "technique:boolean-logic", + "technique:regular-expression", + "uses:Regex" + ] +} diff --git a/tests/bob/approaches/switch-on-tuple/expected_analysis.json b/tests/bob/approaches/switch-on-tuple/expected_analysis.json index ccfefac5..a0d0268f 100644 --- a/tests/bob/approaches/switch-on-tuple/expected_analysis.json +++ b/tests/bob/approaches/switch-on-tuple/expected_analysis.json @@ -1,29 +1,3 @@ { - "comments": [], - "tags": [ - "construct:boolean", - "construct:char", - "construct:class", - "construct:expression-bodied-member", - "construct:if", - "construct:implicit-conversion", - "construct:invocation", - "construct:lambda", - "construct:linq", - "construct:logical-and", - "construct:method", - "construct:parameter", - "construct:return", - "construct:string", - "construct:switch", - "construct:tuple", - "construct:using-directive", - "construct:variable", - "construct:visibility-modifiers", - "paradigm:functional", - "paradigm:object-oriented", - "technique:boolean-logic", - "technique:higher-order-functions", - "uses:ValueTuple" - ] + "comments": [] } diff --git a/tests/bob/approaches/switch-on-tuple/expected_tags.json b/tests/bob/approaches/switch-on-tuple/expected_tags.json new file mode 100644 index 00000000..3da189d1 --- /dev/null +++ b/tests/bob/approaches/switch-on-tuple/expected_tags.json @@ -0,0 +1,28 @@ +{ + "tags": [ + "construct:boolean", + "construct:char", + "construct:class", + "construct:expression-bodied-member", + "construct:if", + "construct:implicit-conversion", + "construct:invocation", + "construct:lambda", + "construct:linq", + "construct:logical-and", + "construct:method", + "construct:parameter", + "construct:return", + "construct:string", + "construct:switch", + "construct:tuple", + "construct:using-directive", + "construct:variable", + "construct:visibility-modifiers", + "paradigm:functional", + "paradigm:object-oriented", + "technique:boolean-logic", + "technique:higher-order-functions", + "uses:ValueTuple" + ] +} diff --git a/tests/collatz-conjecture/approaches/recursion/expected_analysis.json b/tests/collatz-conjecture/approaches/recursion/expected_analysis.json index 925dd042..a0d0268f 100644 --- a/tests/collatz-conjecture/approaches/recursion/expected_analysis.json +++ b/tests/collatz-conjecture/approaches/recursion/expected_analysis.json @@ -1,28 +1,3 @@ { - "comments": [], - "tags": [ - "construct:add", - "construct:class", - "construct:constructor", - "construct:divide", - "construct:if", - "construct:int", - "construct:integral-number", - "construct:invocation", - "construct:lambda", - "construct:method", - "construct:method-overloading", - "construct:multiply", - "construct:number", - "construct:parameter", - "construct:return", - "construct:throw", - "construct:using-directive", - "construct:visibility-modifiers", - "paradigm:functional", - "paradigm:object-oriented", - "technique:exceptions", - "technique:higher-order-functions", - "technique:recursion" - ] + "comments": [] } diff --git a/tests/collatz-conjecture/approaches/recursion/expected_tags.json b/tests/collatz-conjecture/approaches/recursion/expected_tags.json new file mode 100644 index 00000000..55bf446c --- /dev/null +++ b/tests/collatz-conjecture/approaches/recursion/expected_tags.json @@ -0,0 +1,27 @@ +{ + "tags": [ + "construct:add", + "construct:class", + "construct:constructor", + "construct:divide", + "construct:if", + "construct:int", + "construct:integral-number", + "construct:invocation", + "construct:lambda", + "construct:method", + "construct:method-overloading", + "construct:multiply", + "construct:number", + "construct:parameter", + "construct:return", + "construct:throw", + "construct:using-directive", + "construct:visibility-modifiers", + "paradigm:functional", + "paradigm:object-oriented", + "technique:exceptions", + "technique:higher-order-functions", + "technique:recursion" + ] +} diff --git a/tests/collatz-conjecture/approaches/sequence/expected_analysis.json b/tests/collatz-conjecture/approaches/sequence/expected_analysis.json index 99b2dbed..a0d0268f 100644 --- a/tests/collatz-conjecture/approaches/sequence/expected_analysis.json +++ b/tests/collatz-conjecture/approaches/sequence/expected_analysis.json @@ -1,33 +1,3 @@ { - "comments": [], - "tags": [ - "construct:add", - "construct:assignment", - "construct:class", - "construct:constructor", - "construct:divide", - "construct:if", - "construct:int", - "construct:integral-number", - "construct:invocation", - "construct:linq", - "construct:method", - "construct:multiply", - "construct:number", - "construct:parameter", - "construct:return", - "construct:throw", - "construct:using-directive", - "construct:variable", - "construct:visibility-modifiers", - "construct:while-loop", - "construct:yield", - "paradigm:functional", - "paradigm:imperative", - "paradigm:object-oriented", - "technique:exceptions", - "technique:laziness", - "technique:looping", - "uses:Enumerable.Count" - ] + "comments": [] } diff --git a/tests/collatz-conjecture/approaches/sequence/expected_tags.json b/tests/collatz-conjecture/approaches/sequence/expected_tags.json new file mode 100644 index 00000000..84664462 --- /dev/null +++ b/tests/collatz-conjecture/approaches/sequence/expected_tags.json @@ -0,0 +1,32 @@ +{ + "tags": [ + "construct:add", + "construct:assignment", + "construct:class", + "construct:constructor", + "construct:divide", + "construct:if", + "construct:int", + "construct:integral-number", + "construct:invocation", + "construct:linq", + "construct:method", + "construct:multiply", + "construct:number", + "construct:parameter", + "construct:return", + "construct:throw", + "construct:using-directive", + "construct:variable", + "construct:visibility-modifiers", + "construct:while-loop", + "construct:yield", + "paradigm:functional", + "paradigm:imperative", + "paradigm:object-oriented", + "technique:exceptions", + "technique:laziness", + "technique:looping", + "uses:Enumerable.Count" + ] +} diff --git a/tests/collatz-conjecture/approaches/while-loop/expected_analysis.json b/tests/collatz-conjecture/approaches/while-loop/expected_analysis.json index acd33cd1..a0d0268f 100644 --- a/tests/collatz-conjecture/approaches/while-loop/expected_analysis.json +++ b/tests/collatz-conjecture/approaches/while-loop/expected_analysis.json @@ -1,28 +1,3 @@ { - "comments": [], - "tags": [ - "construct:add", - "construct:assignment", - "construct:class", - "construct:constructor", - "construct:divide", - "construct:if", - "construct:int", - "construct:integral-number", - "construct:invocation", - "construct:method", - "construct:multiply", - "construct:number", - "construct:parameter", - "construct:return", - "construct:throw", - "construct:using-directive", - "construct:variable", - "construct:visibility-modifiers", - "construct:while-loop", - "paradigm:imperative", - "paradigm:object-oriented", - "technique:exceptions", - "technique:looping" - ] + "comments": [] } diff --git a/tests/collatz-conjecture/approaches/while-loop/expected_tags.json b/tests/collatz-conjecture/approaches/while-loop/expected_tags.json new file mode 100644 index 00000000..d6959628 --- /dev/null +++ b/tests/collatz-conjecture/approaches/while-loop/expected_tags.json @@ -0,0 +1,27 @@ +{ + "tags": [ + "construct:add", + "construct:assignment", + "construct:class", + "construct:constructor", + "construct:divide", + "construct:if", + "construct:int", + "construct:integral-number", + "construct:invocation", + "construct:method", + "construct:multiply", + "construct:number", + "construct:parameter", + "construct:return", + "construct:throw", + "construct:using-directive", + "construct:variable", + "construct:visibility-modifiers", + "construct:while-loop", + "paradigm:imperative", + "paradigm:object-oriented", + "technique:exceptions", + "technique:looping" + ] +} diff --git a/tests/common/assign-and-return/expected_analysis.json b/tests/common/assign-and-return/expected_analysis.json index 6437c978..c54b2274 100644 --- a/tests/common/assign-and-return/expected_analysis.json +++ b/tests/common/assign-and-return/expected_analysis.json @@ -12,25 +12,5 @@ "name": "AssignInLambda" } } - ], - "tags": [ - "construct:boolean", - "construct:class", - "construct:if", - "construct:int", - "construct:integral-number", - "construct:invocation", - "construct:lambda", - "construct:linq", - "construct:method", - "construct:number", - "construct:parameter", - "construct:return", - "construct:using-directive", - "construct:variable", - "construct:visibility-modifiers", - "paradigm:functional", - "paradigm:object-oriented", - "technique:higher-order-functions" ] } diff --git a/tests/common/assign-and-return/expected_tags.json b/tests/common/assign-and-return/expected_tags.json new file mode 100644 index 00000000..58152b13 --- /dev/null +++ b/tests/common/assign-and-return/expected_tags.json @@ -0,0 +1,22 @@ +{ + "tags": [ + "construct:boolean", + "construct:class", + "construct:if", + "construct:int", + "construct:integral-number", + "construct:invocation", + "construct:lambda", + "construct:linq", + "construct:method", + "construct:number", + "construct:parameter", + "construct:return", + "construct:using-directive", + "construct:variable", + "construct:visibility-modifiers", + "paradigm:functional", + "paradigm:object-oriented", + "technique:higher-order-functions" + ] +} diff --git a/tests/common/has-compile-errors/expected_analysis.json b/tests/common/has-compile-errors/expected_analysis.json index d4289694..a0d0268f 100644 --- a/tests/common/has-compile-errors/expected_analysis.json +++ b/tests/common/has-compile-errors/expected_analysis.json @@ -1,4 +1,3 @@ { - "comments": [], - "tags": [] + "comments": [] } diff --git a/tests/common/has-compile-errors/expected_tags.json b/tests/common/has-compile-errors/expected_tags.json new file mode 100644 index 00000000..84686249 --- /dev/null +++ b/tests/common/has-compile-errors/expected_tags.json @@ -0,0 +1,3 @@ +{ + "tags": [] +} diff --git a/tests/common/has-main-method/expected_analysis.json b/tests/common/has-main-method/expected_analysis.json index 603c4507..e9caf438 100644 --- a/tests/common/has-main-method/expected_analysis.json +++ b/tests/common/has-main-method/expected_analysis.json @@ -5,11 +5,5 @@ "type": "essential", "params": {} } - ], - "tags": [ - "construct:class", - "construct:method", - "construct:parameter", - "paradigm:object-oriented" ] } diff --git a/tests/common/has-main-method/expected_tags.json b/tests/common/has-main-method/expected_tags.json new file mode 100644 index 00000000..93922e6c --- /dev/null +++ b/tests/common/has-main-method/expected_tags.json @@ -0,0 +1,8 @@ +{ + "tags": [ + "construct:class", + "construct:method", + "construct:parameter", + "paradigm:object-oriented" + ] +} diff --git a/tests/common/ignore-non-solution-files/expected_analysis.json b/tests/common/ignore-non-solution-files/expected_analysis.json index 4f62914f..a0d0268f 100644 --- a/tests/common/ignore-non-solution-files/expected_analysis.json +++ b/tests/common/ignore-non-solution-files/expected_analysis.json @@ -1,14 +1,3 @@ { - "comments": [], - "tags": [ - "construct:class", - "construct:comment", - "construct:integral-number", - "construct:method", - "construct:sbyte", - "construct:short", - "construct:variable", - "construct:visibility-modifiers", - "paradigm:object-oriented" - ] + "comments": [] } diff --git a/tests/common/ignore-non-solution-files/expected_tags.json b/tests/common/ignore-non-solution-files/expected_tags.json new file mode 100644 index 00000000..ce423a77 --- /dev/null +++ b/tests/common/ignore-non-solution-files/expected_tags.json @@ -0,0 +1,13 @@ +{ + "tags": [ + "construct:class", + "construct:comment", + "construct:integral-number", + "construct:method", + "construct:sbyte", + "construct:short", + "construct:variable", + "construct:visibility-modifiers", + "paradigm:object-oriented" + ] +} diff --git a/tests/common/missing-solution-file/expected_analysis.json b/tests/common/missing-solution-file/expected_analysis.json index d4289694..a0d0268f 100644 --- a/tests/common/missing-solution-file/expected_analysis.json +++ b/tests/common/missing-solution-file/expected_analysis.json @@ -1,4 +1,3 @@ { - "comments": [], - "tags": [] + "comments": [] } diff --git a/tests/common/missing-solution-file/expected_tags.json b/tests/common/missing-solution-file/expected_tags.json new file mode 100644 index 00000000..84686249 --- /dev/null +++ b/tests/common/missing-solution-file/expected_tags.json @@ -0,0 +1,3 @@ +{ + "tags": [] +} diff --git a/tests/common/writes-to-console/console-error-write-line/expected_analysis.json b/tests/common/writes-to-console/console-error-write-line/expected_analysis.json index dc294de3..4c37d088 100644 --- a/tests/common/writes-to-console/console-error-write-line/expected_analysis.json +++ b/tests/common/writes-to-console/console-error-write-line/expected_analysis.json @@ -5,14 +5,5 @@ "type": "actionable", "params": {} } - ], - "tags": [ - "construct:class", - "construct:invocation", - "construct:method", - "construct:string", - "construct:using-directive", - "construct:visibility-modifiers", - "paradigm:object-oriented" ] } diff --git a/tests/common/writes-to-console/console-error-write-line/expected_tags.json b/tests/common/writes-to-console/console-error-write-line/expected_tags.json new file mode 100644 index 00000000..3dd5b281 --- /dev/null +++ b/tests/common/writes-to-console/console-error-write-line/expected_tags.json @@ -0,0 +1,11 @@ +{ + "tags": [ + "construct:class", + "construct:invocation", + "construct:method", + "construct:string", + "construct:using-directive", + "construct:visibility-modifiers", + "paradigm:object-oriented" + ] +} diff --git a/tests/common/writes-to-console/console-error-write/expected_analysis.json b/tests/common/writes-to-console/console-error-write/expected_analysis.json index dc294de3..4c37d088 100644 --- a/tests/common/writes-to-console/console-error-write/expected_analysis.json +++ b/tests/common/writes-to-console/console-error-write/expected_analysis.json @@ -5,14 +5,5 @@ "type": "actionable", "params": {} } - ], - "tags": [ - "construct:class", - "construct:invocation", - "construct:method", - "construct:string", - "construct:using-directive", - "construct:visibility-modifiers", - "paradigm:object-oriented" ] } diff --git a/tests/common/writes-to-console/console-error-write/expected_tags.json b/tests/common/writes-to-console/console-error-write/expected_tags.json new file mode 100644 index 00000000..3dd5b281 --- /dev/null +++ b/tests/common/writes-to-console/console-error-write/expected_tags.json @@ -0,0 +1,11 @@ +{ + "tags": [ + "construct:class", + "construct:invocation", + "construct:method", + "construct:string", + "construct:using-directive", + "construct:visibility-modifiers", + "paradigm:object-oriented" + ] +} diff --git a/tests/common/writes-to-console/console-out-write-line/expected_analysis.json b/tests/common/writes-to-console/console-out-write-line/expected_analysis.json index dc294de3..4c37d088 100644 --- a/tests/common/writes-to-console/console-out-write-line/expected_analysis.json +++ b/tests/common/writes-to-console/console-out-write-line/expected_analysis.json @@ -5,14 +5,5 @@ "type": "actionable", "params": {} } - ], - "tags": [ - "construct:class", - "construct:invocation", - "construct:method", - "construct:string", - "construct:using-directive", - "construct:visibility-modifiers", - "paradigm:object-oriented" ] } diff --git a/tests/common/writes-to-console/console-out-write-line/expected_tags.json b/tests/common/writes-to-console/console-out-write-line/expected_tags.json new file mode 100644 index 00000000..3dd5b281 --- /dev/null +++ b/tests/common/writes-to-console/console-out-write-line/expected_tags.json @@ -0,0 +1,11 @@ +{ + "tags": [ + "construct:class", + "construct:invocation", + "construct:method", + "construct:string", + "construct:using-directive", + "construct:visibility-modifiers", + "paradigm:object-oriented" + ] +} diff --git a/tests/common/writes-to-console/console-out-write/expected_analysis.json b/tests/common/writes-to-console/console-out-write/expected_analysis.json index dc294de3..4c37d088 100644 --- a/tests/common/writes-to-console/console-out-write/expected_analysis.json +++ b/tests/common/writes-to-console/console-out-write/expected_analysis.json @@ -5,14 +5,5 @@ "type": "actionable", "params": {} } - ], - "tags": [ - "construct:class", - "construct:invocation", - "construct:method", - "construct:string", - "construct:using-directive", - "construct:visibility-modifiers", - "paradigm:object-oriented" ] } diff --git a/tests/common/writes-to-console/console-out-write/expected_tags.json b/tests/common/writes-to-console/console-out-write/expected_tags.json new file mode 100644 index 00000000..3dd5b281 --- /dev/null +++ b/tests/common/writes-to-console/console-out-write/expected_tags.json @@ -0,0 +1,11 @@ +{ + "tags": [ + "construct:class", + "construct:invocation", + "construct:method", + "construct:string", + "construct:using-directive", + "construct:visibility-modifiers", + "paradigm:object-oriented" + ] +} diff --git a/tests/common/writes-to-console/console-write-line/expected_analysis.json b/tests/common/writes-to-console/console-write-line/expected_analysis.json index dc294de3..4c37d088 100644 --- a/tests/common/writes-to-console/console-write-line/expected_analysis.json +++ b/tests/common/writes-to-console/console-write-line/expected_analysis.json @@ -5,14 +5,5 @@ "type": "actionable", "params": {} } - ], - "tags": [ - "construct:class", - "construct:invocation", - "construct:method", - "construct:string", - "construct:using-directive", - "construct:visibility-modifiers", - "paradigm:object-oriented" ] } diff --git a/tests/common/writes-to-console/console-write-line/expected_tags.json b/tests/common/writes-to-console/console-write-line/expected_tags.json new file mode 100644 index 00000000..3dd5b281 --- /dev/null +++ b/tests/common/writes-to-console/console-write-line/expected_tags.json @@ -0,0 +1,11 @@ +{ + "tags": [ + "construct:class", + "construct:invocation", + "construct:method", + "construct:string", + "construct:using-directive", + "construct:visibility-modifiers", + "paradigm:object-oriented" + ] +} diff --git a/tests/common/writes-to-console/console-write/expected_analysis.json b/tests/common/writes-to-console/console-write/expected_analysis.json index dc294de3..4c37d088 100644 --- a/tests/common/writes-to-console/console-write/expected_analysis.json +++ b/tests/common/writes-to-console/console-write/expected_analysis.json @@ -5,14 +5,5 @@ "type": "actionable", "params": {} } - ], - "tags": [ - "construct:class", - "construct:invocation", - "construct:method", - "construct:string", - "construct:using-directive", - "construct:visibility-modifiers", - "paradigm:object-oriented" ] } diff --git a/tests/common/writes-to-console/console-write/expected_tags.json b/tests/common/writes-to-console/console-write/expected_tags.json new file mode 100644 index 00000000..3dd5b281 --- /dev/null +++ b/tests/common/writes-to-console/console-write/expected_tags.json @@ -0,0 +1,11 @@ +{ + "tags": [ + "construct:class", + "construct:invocation", + "construct:method", + "construct:string", + "construct:using-directive", + "construct:visibility-modifiers", + "paradigm:object-oriented" + ] +} diff --git a/tests/darts/approaches/if-statements/expected_analysis.json b/tests/darts/approaches/if-statements/expected_analysis.json index 5560fc1f..a0d0268f 100644 --- a/tests/darts/approaches/if-statements/expected_analysis.json +++ b/tests/darts/approaches/if-statements/expected_analysis.json @@ -1,25 +1,3 @@ { - "comments": [], - "tags": [ - "construct:add", - "construct:class", - "construct:double", - "construct:floating-point-number", - "construct:if", - "construct:int", - "construct:integral-number", - "construct:invocation", - "construct:lambda", - "construct:method", - "construct:multiply", - "construct:number", - "construct:parameter", - "construct:return", - "construct:using-directive", - "construct:variable", - "construct:visibility-modifiers", - "paradigm:functional", - "paradigm:object-oriented", - "technique:higher-order-functions" - ] + "comments": [] } diff --git a/tests/darts/approaches/if-statements/expected_tags.json b/tests/darts/approaches/if-statements/expected_tags.json new file mode 100644 index 00000000..377efc82 --- /dev/null +++ b/tests/darts/approaches/if-statements/expected_tags.json @@ -0,0 +1,24 @@ +{ + "tags": [ + "construct:add", + "construct:class", + "construct:double", + "construct:floating-point-number", + "construct:if", + "construct:int", + "construct:integral-number", + "construct:invocation", + "construct:lambda", + "construct:method", + "construct:multiply", + "construct:number", + "construct:parameter", + "construct:return", + "construct:using-directive", + "construct:variable", + "construct:visibility-modifiers", + "paradigm:functional", + "paradigm:object-oriented", + "technique:higher-order-functions" + ] +} diff --git a/tests/darts/approaches/switch-expression/expected_analysis.json b/tests/darts/approaches/switch-expression/expected_analysis.json index 01ce5358..ccaaacc3 100644 --- a/tests/darts/approaches/switch-expression/expected_analysis.json +++ b/tests/darts/approaches/switch-expression/expected_analysis.json @@ -7,27 +7,5 @@ "name": "Score" } } - ], - "tags": [ - "construct:add", - "construct:class", - "construct:double", - "construct:floating-point-number", - "construct:int", - "construct:integral-number", - "construct:invocation", - "construct:lambda", - "construct:method", - "construct:multiply", - "construct:number", - "construct:parameter", - "construct:pattern-matching", - "construct:return", - "construct:switch-expression", - "construct:using-directive", - "construct:visibility-modifiers", - "paradigm:functional", - "paradigm:object-oriented", - "technique:higher-order-functions" ] } diff --git a/tests/darts/approaches/switch-expression/expected_tags.json b/tests/darts/approaches/switch-expression/expected_tags.json new file mode 100644 index 00000000..f63325ac --- /dev/null +++ b/tests/darts/approaches/switch-expression/expected_tags.json @@ -0,0 +1,24 @@ +{ + "tags": [ + "construct:add", + "construct:class", + "construct:double", + "construct:floating-point-number", + "construct:int", + "construct:integral-number", + "construct:invocation", + "construct:lambda", + "construct:method", + "construct:multiply", + "construct:number", + "construct:parameter", + "construct:pattern-matching", + "construct:return", + "construct:switch-expression", + "construct:using-directive", + "construct:visibility-modifiers", + "paradigm:functional", + "paradigm:object-oriented", + "technique:higher-order-functions" + ] +} diff --git a/tests/difference-of-squares/approaches/for-statement/expected_analysis.json b/tests/difference-of-squares/approaches/for-statement/expected_analysis.json index 0c455961..a0d0268f 100644 --- a/tests/difference-of-squares/approaches/for-statement/expected_analysis.json +++ b/tests/difference-of-squares/approaches/for-statement/expected_analysis.json @@ -1,24 +1,3 @@ { - "comments": [], - "tags": [ - "construct:assignment", - "construct:class", - "construct:expression-bodied-member", - "construct:for-loop", - "construct:int", - "construct:integral-number", - "construct:invocation", - "construct:method", - "construct:multiply", - "construct:number", - "construct:parameter", - "construct:return", - "construct:subtract", - "construct:variable", - "construct:visibility-modifiers", - "paradigm:imperative", - "paradigm:object-oriented", - "technique:looping", - "technique:math" - ] + "comments": [] } diff --git a/tests/difference-of-squares/approaches/for-statement/expected_tags.json b/tests/difference-of-squares/approaches/for-statement/expected_tags.json new file mode 100644 index 00000000..f126543b --- /dev/null +++ b/tests/difference-of-squares/approaches/for-statement/expected_tags.json @@ -0,0 +1,23 @@ +{ + "tags": [ + "construct:assignment", + "construct:class", + "construct:expression-bodied-member", + "construct:for-loop", + "construct:int", + "construct:integral-number", + "construct:invocation", + "construct:method", + "construct:multiply", + "construct:number", + "construct:parameter", + "construct:return", + "construct:subtract", + "construct:variable", + "construct:visibility-modifiers", + "paradigm:imperative", + "paradigm:object-oriented", + "technique:looping", + "technique:math" + ] +} diff --git a/tests/difference-of-squares/approaches/linq/expected_analysis.json b/tests/difference-of-squares/approaches/linq/expected_analysis.json index b9d5d9d4..a0d0268f 100644 --- a/tests/difference-of-squares/approaches/linq/expected_analysis.json +++ b/tests/difference-of-squares/approaches/linq/expected_analysis.json @@ -1,23 +1,3 @@ { - "comments": [], - "tags": [ - "construct:class", - "construct:expression-bodied-member", - "construct:int", - "construct:integral-number", - "construct:invocation", - "construct:lambda", - "construct:linq", - "construct:method", - "construct:multiply", - "construct:number", - "construct:parameter", - "construct:subtract", - "construct:using-directive", - "construct:visibility-modifiers", - "paradigm:functional", - "paradigm:object-oriented", - "technique:higher-order-functions", - "technique:math" - ] + "comments": [] } diff --git a/tests/difference-of-squares/approaches/linq/expected_tags.json b/tests/difference-of-squares/approaches/linq/expected_tags.json new file mode 100644 index 00000000..e2e87437 --- /dev/null +++ b/tests/difference-of-squares/approaches/linq/expected_tags.json @@ -0,0 +1,22 @@ +{ + "tags": [ + "construct:class", + "construct:expression-bodied-member", + "construct:int", + "construct:integral-number", + "construct:invocation", + "construct:lambda", + "construct:linq", + "construct:method", + "construct:multiply", + "construct:number", + "construct:parameter", + "construct:subtract", + "construct:using-directive", + "construct:visibility-modifiers", + "paradigm:functional", + "paradigm:object-oriented", + "technique:higher-order-functions", + "technique:math" + ] +} diff --git a/tests/difference-of-squares/approaches/math/equations-only/expected_analysis.json b/tests/difference-of-squares/approaches/math/equations-only/expected_analysis.json index 0419aade..a0d0268f 100644 --- a/tests/difference-of-squares/approaches/math/equations-only/expected_analysis.json +++ b/tests/difference-of-squares/approaches/math/equations-only/expected_analysis.json @@ -1,22 +1,3 @@ { - "comments": [], - "tags": [ - "construct:add", - "construct:class", - "construct:divide", - "construct:expression-bodied-member", - "construct:int", - "construct:integral-number", - "construct:invocation", - "construct:method", - "construct:multiply", - "construct:number", - "construct:parameter", - "construct:return", - "construct:subtract", - "construct:variable", - "construct:visibility-modifiers", - "paradigm:object-oriented", - "technique:math" - ] + "comments": [] } diff --git a/tests/difference-of-squares/approaches/math/equations-only/expected_tags.json b/tests/difference-of-squares/approaches/math/equations-only/expected_tags.json new file mode 100644 index 00000000..d3685052 --- /dev/null +++ b/tests/difference-of-squares/approaches/math/equations-only/expected_tags.json @@ -0,0 +1,21 @@ +{ + "tags": [ + "construct:add", + "construct:class", + "construct:divide", + "construct:expression-bodied-member", + "construct:int", + "construct:integral-number", + "construct:invocation", + "construct:method", + "construct:multiply", + "construct:number", + "construct:parameter", + "construct:return", + "construct:subtract", + "construct:variable", + "construct:visibility-modifiers", + "paradigm:object-oriented", + "technique:math" + ] +} diff --git a/tests/difference-of-squares/approaches/math/using-math-class/expected_analysis.json b/tests/difference-of-squares/approaches/math/using-math-class/expected_analysis.json index d78b0db8..a0d0268f 100644 --- a/tests/difference-of-squares/approaches/math/using-math-class/expected_analysis.json +++ b/tests/difference-of-squares/approaches/math/using-math-class/expected_analysis.json @@ -1,29 +1,3 @@ { - "comments": [], - "tags": [ - "construct:add", - "construct:class", - "construct:divide", - "construct:double", - "construct:explicit-conversion", - "construct:expression-bodied-member", - "construct:floating-point-number", - "construct:implicit-conversion", - "construct:int", - "construct:integral-number", - "construct:invocation", - "construct:lambda", - "construct:method", - "construct:multiply", - "construct:number", - "construct:parameter", - "construct:subtract", - "construct:using-directive", - "construct:visibility-modifiers", - "paradigm:functional", - "paradigm:object-oriented", - "technique:higher-order-functions", - "technique:math", - "technique:type-conversion" - ] + "comments": [] } diff --git a/tests/difference-of-squares/approaches/math/using-math-class/expected_tags.json b/tests/difference-of-squares/approaches/math/using-math-class/expected_tags.json new file mode 100644 index 00000000..96d12df2 --- /dev/null +++ b/tests/difference-of-squares/approaches/math/using-math-class/expected_tags.json @@ -0,0 +1,28 @@ +{ + "tags": [ + "construct:add", + "construct:class", + "construct:divide", + "construct:double", + "construct:explicit-conversion", + "construct:expression-bodied-member", + "construct:floating-point-number", + "construct:implicit-conversion", + "construct:int", + "construct:integral-number", + "construct:invocation", + "construct:lambda", + "construct:method", + "construct:multiply", + "construct:number", + "construct:parameter", + "construct:subtract", + "construct:using-directive", + "construct:visibility-modifiers", + "paradigm:functional", + "paradigm:object-oriented", + "technique:higher-order-functions", + "technique:math", + "technique:type-conversion" + ] +} diff --git a/tests/diffie-hellman/approaches/big-integer/expected_analysis.json b/tests/diffie-hellman/approaches/big-integer/expected_analysis.json index 3ee5cbb8..a0d0268f 100644 --- a/tests/diffie-hellman/approaches/big-integer/expected_analysis.json +++ b/tests/diffie-hellman/approaches/big-integer/expected_analysis.json @@ -1,25 +1,3 @@ { - "comments": [], - "tags": [ - "construct:big-integer", - "construct:class", - "construct:explicit-conversion", - "construct:expression-bodied-member", - "construct:implicit-conversion", - "construct:integral-number", - "construct:invocation", - "construct:lambda", - "construct:long", - "construct:method", - "construct:number", - "construct:parameter", - "construct:using-directive", - "construct:visibility-modifiers", - "paradigm:functional", - "paradigm:object-oriented", - "technique:higher-order-functions", - "technique:randomness", - "technique:type-conversion", - "uses:Random" - ] + "comments": [] } diff --git a/tests/diffie-hellman/approaches/big-integer/expected_tags.json b/tests/diffie-hellman/approaches/big-integer/expected_tags.json new file mode 100644 index 00000000..9d948a3b --- /dev/null +++ b/tests/diffie-hellman/approaches/big-integer/expected_tags.json @@ -0,0 +1,24 @@ +{ + "tags": [ + "construct:big-integer", + "construct:class", + "construct:explicit-conversion", + "construct:expression-bodied-member", + "construct:implicit-conversion", + "construct:integral-number", + "construct:invocation", + "construct:lambda", + "construct:long", + "construct:method", + "construct:number", + "construct:parameter", + "construct:using-directive", + "construct:visibility-modifiers", + "paradigm:functional", + "paradigm:object-oriented", + "technique:higher-order-functions", + "technique:randomness", + "technique:type-conversion", + "uses:Random" + ] +} diff --git a/tests/gigasecond/add-seconds/digits-with-separator/expected_analysis.json b/tests/gigasecond/add-seconds/digits-with-separator/expected_analysis.json index a602ecf1..2d9ea5d0 100644 --- a/tests/gigasecond/add-seconds/digits-with-separator/expected_analysis.json +++ b/tests/gigasecond/add-seconds/digits-with-separator/expected_analysis.json @@ -7,23 +7,5 @@ "name": "Add" } } - ], - "tags": [ - "construct:class", - "construct:date-time", - "construct:double", - "construct:floating-point-number", - "construct:implicit-conversion", - "construct:invocation", - "construct:method", - "construct:number", - "construct:parameter", - "construct:return", - "construct:underscored-number", - "construct:using-directive", - "construct:visibility-modifiers", - "paradigm:object-oriented", - "uses:DateTime", - "uses:DateTime.AddSeconds" ] } diff --git a/tests/gigasecond/add-seconds/digits-with-separator/expected_tags.json b/tests/gigasecond/add-seconds/digits-with-separator/expected_tags.json new file mode 100644 index 00000000..c210dce2 --- /dev/null +++ b/tests/gigasecond/add-seconds/digits-with-separator/expected_tags.json @@ -0,0 +1,20 @@ +{ + "tags": [ + "construct:class", + "construct:date-time", + "construct:double", + "construct:floating-point-number", + "construct:implicit-conversion", + "construct:invocation", + "construct:method", + "construct:number", + "construct:parameter", + "construct:return", + "construct:underscored-number", + "construct:using-directive", + "construct:visibility-modifiers", + "paradigm:object-oriented", + "uses:DateTime", + "uses:DateTime.AddSeconds" + ] +} diff --git a/tests/gigasecond/add-seconds/digits-without-separator/expected_analysis.json b/tests/gigasecond/add-seconds/digits-without-separator/expected_analysis.json index d9ce610f..6588cb90 100644 --- a/tests/gigasecond/add-seconds/digits-without-separator/expected_analysis.json +++ b/tests/gigasecond/add-seconds/digits-without-separator/expected_analysis.json @@ -14,22 +14,5 @@ "name": "Add" } } - ], - "tags": [ - "construct:class", - "construct:date-time", - "construct:double", - "construct:floating-point-number", - "construct:implicit-conversion", - "construct:invocation", - "construct:method", - "construct:number", - "construct:parameter", - "construct:return", - "construct:using-directive", - "construct:visibility-modifiers", - "paradigm:object-oriented", - "uses:DateTime", - "uses:DateTime.AddSeconds" ] } diff --git a/tests/gigasecond/add-seconds/digits-without-separator/expected_tags.json b/tests/gigasecond/add-seconds/digits-without-separator/expected_tags.json new file mode 100644 index 00000000..bbc684f2 --- /dev/null +++ b/tests/gigasecond/add-seconds/digits-without-separator/expected_tags.json @@ -0,0 +1,19 @@ +{ + "tags": [ + "construct:class", + "construct:date-time", + "construct:double", + "construct:floating-point-number", + "construct:implicit-conversion", + "construct:invocation", + "construct:method", + "construct:number", + "construct:parameter", + "construct:return", + "construct:using-directive", + "construct:visibility-modifiers", + "paradigm:object-oriented", + "uses:DateTime", + "uses:DateTime.AddSeconds" + ] +} diff --git a/tests/gigasecond/add-seconds/math-pow/expected_analysis.json b/tests/gigasecond/add-seconds/math-pow/expected_analysis.json index 979250d3..c7b91aef 100644 --- a/tests/gigasecond/add-seconds/math-pow/expected_analysis.json +++ b/tests/gigasecond/add-seconds/math-pow/expected_analysis.json @@ -14,26 +14,5 @@ "name": "Add" } } - ], - "tags": [ - "construct:class", - "construct:date-time", - "construct:double", - "construct:floating-point-number", - "construct:implicit-conversion", - "construct:invocation", - "construct:lambda", - "construct:method", - "construct:number", - "construct:parameter", - "construct:return", - "construct:using-directive", - "construct:visibility-modifiers", - "paradigm:functional", - "paradigm:object-oriented", - "technique:higher-order-functions", - "uses:DateTime", - "uses:DateTime.AddSeconds", - "uses:Math.Pow" ] } diff --git a/tests/gigasecond/add-seconds/math-pow/expected_tags.json b/tests/gigasecond/add-seconds/math-pow/expected_tags.json new file mode 100644 index 00000000..034ab9e2 --- /dev/null +++ b/tests/gigasecond/add-seconds/math-pow/expected_tags.json @@ -0,0 +1,23 @@ +{ + "tags": [ + "construct:class", + "construct:date-time", + "construct:double", + "construct:floating-point-number", + "construct:implicit-conversion", + "construct:invocation", + "construct:lambda", + "construct:method", + "construct:number", + "construct:parameter", + "construct:return", + "construct:using-directive", + "construct:visibility-modifiers", + "paradigm:functional", + "paradigm:object-oriented", + "technique:higher-order-functions", + "uses:DateTime", + "uses:DateTime.AddSeconds", + "uses:Math.Pow" + ] +} diff --git a/tests/gigasecond/add-seconds/scientific-notation/lower-case/expected_analysis.json b/tests/gigasecond/add-seconds/scientific-notation/lower-case/expected_analysis.json index 1fbf4c46..2d9ea5d0 100644 --- a/tests/gigasecond/add-seconds/scientific-notation/lower-case/expected_analysis.json +++ b/tests/gigasecond/add-seconds/scientific-notation/lower-case/expected_analysis.json @@ -7,21 +7,5 @@ "name": "Add" } } - ], - "tags": [ - "construct:class", - "construct:date-time", - "construct:double", - "construct:floating-point-number", - "construct:invocation", - "construct:method", - "construct:number", - "construct:parameter", - "construct:return", - "construct:using-directive", - "construct:visibility-modifiers", - "paradigm:object-oriented", - "uses:DateTime", - "uses:DateTime.AddSeconds" ] } diff --git a/tests/gigasecond/add-seconds/scientific-notation/lower-case/expected_tags.json b/tests/gigasecond/add-seconds/scientific-notation/lower-case/expected_tags.json new file mode 100644 index 00000000..92131a16 --- /dev/null +++ b/tests/gigasecond/add-seconds/scientific-notation/lower-case/expected_tags.json @@ -0,0 +1,18 @@ +{ + "tags": [ + "construct:class", + "construct:date-time", + "construct:double", + "construct:floating-point-number", + "construct:invocation", + "construct:method", + "construct:number", + "construct:parameter", + "construct:return", + "construct:using-directive", + "construct:visibility-modifiers", + "paradigm:object-oriented", + "uses:DateTime", + "uses:DateTime.AddSeconds" + ] +} diff --git a/tests/gigasecond/add-seconds/scientific-notation/upper-case/expected_analysis.json b/tests/gigasecond/add-seconds/scientific-notation/upper-case/expected_analysis.json index 1fbf4c46..2d9ea5d0 100644 --- a/tests/gigasecond/add-seconds/scientific-notation/upper-case/expected_analysis.json +++ b/tests/gigasecond/add-seconds/scientific-notation/upper-case/expected_analysis.json @@ -7,21 +7,5 @@ "name": "Add" } } - ], - "tags": [ - "construct:class", - "construct:date-time", - "construct:double", - "construct:floating-point-number", - "construct:invocation", - "construct:method", - "construct:number", - "construct:parameter", - "construct:return", - "construct:using-directive", - "construct:visibility-modifiers", - "paradigm:object-oriented", - "uses:DateTime", - "uses:DateTime.AddSeconds" ] } diff --git a/tests/gigasecond/add-seconds/scientific-notation/upper-case/expected_tags.json b/tests/gigasecond/add-seconds/scientific-notation/upper-case/expected_tags.json new file mode 100644 index 00000000..92131a16 --- /dev/null +++ b/tests/gigasecond/add-seconds/scientific-notation/upper-case/expected_tags.json @@ -0,0 +1,18 @@ +{ + "tags": [ + "construct:class", + "construct:date-time", + "construct:double", + "construct:floating-point-number", + "construct:invocation", + "construct:method", + "construct:number", + "construct:parameter", + "construct:return", + "construct:using-directive", + "construct:visibility-modifiers", + "paradigm:object-oriented", + "uses:DateTime", + "uses:DateTime.AddSeconds" + ] +} diff --git a/tests/gigasecond/add/expected_analysis.json b/tests/gigasecond/add/expected_analysis.json index bb2c0789..7070ab44 100644 --- a/tests/gigasecond/add/expected_analysis.json +++ b/tests/gigasecond/add/expected_analysis.json @@ -12,24 +12,5 @@ "name": "Add" } } - ], - "tags": [ - "construct:class", - "construct:date-time", - "construct:double", - "construct:floating-point-number", - "construct:implicit-conversion", - "construct:invocation", - "construct:lambda", - "construct:method", - "construct:number", - "construct:parameter", - "construct:return", - "construct:using-directive", - "construct:visibility-modifiers", - "paradigm:functional", - "paradigm:object-oriented", - "technique:higher-order-functions", - "uses:DateTime" ] } diff --git a/tests/gigasecond/add/expected_tags.json b/tests/gigasecond/add/expected_tags.json new file mode 100644 index 00000000..1248e16b --- /dev/null +++ b/tests/gigasecond/add/expected_tags.json @@ -0,0 +1,21 @@ +{ + "tags": [ + "construct:class", + "construct:date-time", + "construct:double", + "construct:floating-point-number", + "construct:implicit-conversion", + "construct:invocation", + "construct:lambda", + "construct:method", + "construct:number", + "construct:parameter", + "construct:return", + "construct:using-directive", + "construct:visibility-modifiers", + "paradigm:functional", + "paradigm:object-oriented", + "technique:higher-order-functions", + "uses:DateTime" + ] +} diff --git a/tests/gigasecond/approaches/add-seconds/expected_analysis.json b/tests/gigasecond/approaches/add-seconds/expected_analysis.json index a602ecf1..2d9ea5d0 100644 --- a/tests/gigasecond/approaches/add-seconds/expected_analysis.json +++ b/tests/gigasecond/approaches/add-seconds/expected_analysis.json @@ -7,23 +7,5 @@ "name": "Add" } } - ], - "tags": [ - "construct:class", - "construct:date-time", - "construct:double", - "construct:floating-point-number", - "construct:implicit-conversion", - "construct:invocation", - "construct:method", - "construct:number", - "construct:parameter", - "construct:return", - "construct:underscored-number", - "construct:using-directive", - "construct:visibility-modifiers", - "paradigm:object-oriented", - "uses:DateTime", - "uses:DateTime.AddSeconds" ] } diff --git a/tests/gigasecond/approaches/add-seconds/expected_tags.json b/tests/gigasecond/approaches/add-seconds/expected_tags.json new file mode 100644 index 00000000..c210dce2 --- /dev/null +++ b/tests/gigasecond/approaches/add-seconds/expected_tags.json @@ -0,0 +1,20 @@ +{ + "tags": [ + "construct:class", + "construct:date-time", + "construct:double", + "construct:floating-point-number", + "construct:implicit-conversion", + "construct:invocation", + "construct:method", + "construct:number", + "construct:parameter", + "construct:return", + "construct:underscored-number", + "construct:using-directive", + "construct:visibility-modifiers", + "paradigm:object-oriented", + "uses:DateTime", + "uses:DateTime.AddSeconds" + ] +} diff --git a/tests/gigasecond/approaches/time-span/expected_analysis.json b/tests/gigasecond/approaches/time-span/expected_analysis.json index 63fd2944..7070ab44 100644 --- a/tests/gigasecond/approaches/time-span/expected_analysis.json +++ b/tests/gigasecond/approaches/time-span/expected_analysis.json @@ -12,22 +12,5 @@ "name": "Add" } } - ], - "tags": [ - "construct:add", - "construct:class", - "construct:double", - "construct:floating-point-number", - "construct:implicit-conversion", - "construct:invocation", - "construct:method", - "construct:number", - "construct:parameter", - "construct:return", - "construct:underscored-number", - "construct:using-directive", - "construct:visibility-modifiers", - "paradigm:object-oriented", - "uses:DateTime.Plus(TimeSpan)" ] } diff --git a/tests/gigasecond/approaches/time-span/expected_tags.json b/tests/gigasecond/approaches/time-span/expected_tags.json new file mode 100644 index 00000000..f0e4e985 --- /dev/null +++ b/tests/gigasecond/approaches/time-span/expected_tags.json @@ -0,0 +1,19 @@ +{ + "tags": [ + "construct:add", + "construct:class", + "construct:double", + "construct:floating-point-number", + "construct:implicit-conversion", + "construct:invocation", + "construct:method", + "construct:number", + "construct:parameter", + "construct:return", + "construct:underscored-number", + "construct:using-directive", + "construct:visibility-modifiers", + "paradigm:object-oriented", + "uses:DateTime.Plus(TimeSpan)" + ] +} diff --git a/tests/gigasecond/create-date-time/expected_analysis.json b/tests/gigasecond/create-date-time/expected_analysis.json index ade0ba31..d30fd214 100644 --- a/tests/gigasecond/create-date-time/expected_analysis.json +++ b/tests/gigasecond/create-date-time/expected_analysis.json @@ -19,24 +19,5 @@ "name": "Add" } } - ], - "tags": [ - "construct:class", - "construct:constructor", - "construct:date-time", - "construct:double", - "construct:floating-point-number", - "construct:implicit-conversion", - "construct:invocation", - "construct:method", - "construct:number", - "construct:parameter", - "construct:return", - "construct:using-directive", - "construct:visibility-modifiers", - "paradigm:object-oriented", - "uses:DateTime", - "uses:DateTime.AddSeconds", - "uses:DateTime.DateTime(long)" ] } diff --git a/tests/gigasecond/create-date-time/expected_tags.json b/tests/gigasecond/create-date-time/expected_tags.json new file mode 100644 index 00000000..d22788a1 --- /dev/null +++ b/tests/gigasecond/create-date-time/expected_tags.json @@ -0,0 +1,21 @@ +{ + "tags": [ + "construct:class", + "construct:constructor", + "construct:date-time", + "construct:double", + "construct:floating-point-number", + "construct:implicit-conversion", + "construct:invocation", + "construct:method", + "construct:number", + "construct:parameter", + "construct:return", + "construct:using-directive", + "construct:visibility-modifiers", + "paradigm:object-oriented", + "uses:DateTime", + "uses:DateTime.AddSeconds", + "uses:DateTime.DateTime(long)" + ] +} diff --git a/tests/gigasecond/plus-operator/expected_analysis.json b/tests/gigasecond/plus-operator/expected_analysis.json index d9d7464b..7070ab44 100644 --- a/tests/gigasecond/plus-operator/expected_analysis.json +++ b/tests/gigasecond/plus-operator/expected_analysis.json @@ -12,21 +12,5 @@ "name": "Add" } } - ], - "tags": [ - "construct:add", - "construct:class", - "construct:double", - "construct:floating-point-number", - "construct:implicit-conversion", - "construct:invocation", - "construct:method", - "construct:number", - "construct:parameter", - "construct:return", - "construct:using-directive", - "construct:visibility-modifiers", - "paradigm:object-oriented", - "uses:DateTime.Plus(TimeSpan)" ] } diff --git a/tests/gigasecond/plus-operator/expected_tags.json b/tests/gigasecond/plus-operator/expected_tags.json new file mode 100644 index 00000000..39c5c6a4 --- /dev/null +++ b/tests/gigasecond/plus-operator/expected_tags.json @@ -0,0 +1,18 @@ +{ + "tags": [ + "construct:add", + "construct:class", + "construct:double", + "construct:floating-point-number", + "construct:implicit-conversion", + "construct:invocation", + "construct:method", + "construct:number", + "construct:parameter", + "construct:return", + "construct:using-directive", + "construct:visibility-modifiers", + "paradigm:object-oriented", + "uses:DateTime.Plus(TimeSpan)" + ] +} diff --git a/tests/grade-school/approaches/sorted-collections/expected_analysis.json b/tests/grade-school/approaches/sorted-collections/expected_analysis.json index 66185765..a0d0268f 100644 --- a/tests/grade-school/approaches/sorted-collections/expected_analysis.json +++ b/tests/grade-school/approaches/sorted-collections/expected_analysis.json @@ -1,35 +1,3 @@ { - "comments": [], - "tags": [ - "construct:boolean", - "construct:class", - "construct:collection-initializer", - "construct:constructor", - "construct:dictionary", - "construct:expression-bodied-member", - "construct:field", - "construct:if", - "construct:implicit-conversion", - "construct:indexer", - "construct:initializer", - "construct:invocation", - "construct:lambda", - "construct:linq", - "construct:method", - "construct:parameter", - "construct:read-only", - "construct:return", - "construct:set", - "construct:ternary", - "construct:using-directive", - "construct:variable", - "construct:visibility-modifiers", - "paradigm:functional", - "paradigm:object-oriented", - "technique:higher-order-functions", - "technique:sorted-collection", - "technique:sorting", - "uses:SortedDictionary", - "uses:SortedSet" - ] + "comments": [] } diff --git a/tests/grade-school/approaches/sorted-collections/expected_tags.json b/tests/grade-school/approaches/sorted-collections/expected_tags.json new file mode 100644 index 00000000..3e9a4810 --- /dev/null +++ b/tests/grade-school/approaches/sorted-collections/expected_tags.json @@ -0,0 +1,34 @@ +{ + "tags": [ + "construct:boolean", + "construct:class", + "construct:collection-initializer", + "construct:constructor", + "construct:dictionary", + "construct:expression-bodied-member", + "construct:field", + "construct:if", + "construct:implicit-conversion", + "construct:indexer", + "construct:initializer", + "construct:invocation", + "construct:lambda", + "construct:linq", + "construct:method", + "construct:parameter", + "construct:read-only", + "construct:return", + "construct:set", + "construct:ternary", + "construct:using-directive", + "construct:variable", + "construct:visibility-modifiers", + "paradigm:functional", + "paradigm:object-oriented", + "technique:higher-order-functions", + "technique:sorted-collection", + "technique:sorting", + "uses:SortedDictionary", + "uses:SortedSet" + ] +} diff --git a/tests/grains/approaches/bit-shifting/expected_analysis.json b/tests/grains/approaches/bit-shifting/expected_analysis.json index 3a4351c8..fd34295e 100644 --- a/tests/grains/approaches/bit-shifting/expected_analysis.json +++ b/tests/grains/approaches/bit-shifting/expected_analysis.json @@ -7,33 +7,5 @@ "name": "Total" } } - ], - "tags": [ - "construct:big-integer", - "construct:boolean", - "construct:class", - "construct:constructor", - "construct:explicit-conversion", - "construct:implicit-conversion", - "construct:int", - "construct:integral-number", - "construct:left-shift", - "construct:logical-and", - "construct:method", - "construct:number", - "construct:parameter", - "construct:return", - "construct:string", - "construct:subtract", - "construct:switch", - "construct:throw", - "construct:using-directive", - "construct:visibility-modifiers", - "paradigm:object-oriented", - "technique:bit-manipulation", - "technique:bit-shifting", - "technique:boolean-logic", - "technique:exceptions", - "technique:type-conversion" ] } diff --git a/tests/grains/approaches/bit-shifting/expected_tags.json b/tests/grains/approaches/bit-shifting/expected_tags.json new file mode 100644 index 00000000..3b66149c --- /dev/null +++ b/tests/grains/approaches/bit-shifting/expected_tags.json @@ -0,0 +1,30 @@ +{ + "tags": [ + "construct:big-integer", + "construct:boolean", + "construct:class", + "construct:constructor", + "construct:explicit-conversion", + "construct:implicit-conversion", + "construct:int", + "construct:integral-number", + "construct:left-shift", + "construct:logical-and", + "construct:method", + "construct:number", + "construct:parameter", + "construct:return", + "construct:string", + "construct:subtract", + "construct:switch", + "construct:throw", + "construct:using-directive", + "construct:visibility-modifiers", + "paradigm:object-oriented", + "technique:bit-manipulation", + "technique:bit-shifting", + "technique:boolean-logic", + "technique:exceptions", + "technique:type-conversion" + ] +} diff --git a/tests/grains/approaches/max-value/expected_analysis.json b/tests/grains/approaches/max-value/expected_analysis.json index a3dfb700..fd34295e 100644 --- a/tests/grains/approaches/max-value/expected_analysis.json +++ b/tests/grains/approaches/max-value/expected_analysis.json @@ -7,35 +7,5 @@ "name": "Total" } } - ], - "tags": [ - "construct:class", - "construct:constructor", - "construct:double", - "construct:floating-point-number", - "construct:if", - "construct:implicit-conversion", - "construct:int", - "construct:integral-number", - "construct:invocation", - "construct:is-cast", - "construct:lambda", - "construct:method", - "construct:number", - "construct:parameter", - "construct:pattern-matching", - "construct:return", - "construct:subtract", - "construct:throw", - "construct:ulong", - "construct:using-directive", - "construct:visibility-modifiers", - "paradigm:functional", - "paradigm:object-oriented", - "technique:exceptions", - "technique:higher-order-functions", - "technique:type-conversion", - "uses:Math.Pow", - "uses:ulong.MaxValue" ] } diff --git a/tests/grains/approaches/max-value/expected_tags.json b/tests/grains/approaches/max-value/expected_tags.json new file mode 100644 index 00000000..c1886436 --- /dev/null +++ b/tests/grains/approaches/max-value/expected_tags.json @@ -0,0 +1,32 @@ +{ + "tags": [ + "construct:class", + "construct:constructor", + "construct:double", + "construct:floating-point-number", + "construct:if", + "construct:implicit-conversion", + "construct:int", + "construct:integral-number", + "construct:invocation", + "construct:is-cast", + "construct:lambda", + "construct:method", + "construct:number", + "construct:parameter", + "construct:pattern-matching", + "construct:return", + "construct:subtract", + "construct:throw", + "construct:ulong", + "construct:using-directive", + "construct:visibility-modifiers", + "paradigm:functional", + "paradigm:object-oriented", + "technique:exceptions", + "technique:higher-order-functions", + "technique:type-conversion", + "uses:Math.Pow", + "uses:ulong.MaxValue" + ] +} diff --git a/tests/grains/approaches/pow/expected_analysis.json b/tests/grains/approaches/pow/expected_analysis.json index dc6b32f4..fd34295e 100644 --- a/tests/grains/approaches/pow/expected_analysis.json +++ b/tests/grains/approaches/pow/expected_analysis.json @@ -7,34 +7,5 @@ "name": "Total" } } - ], - "tags": [ - "construct:class", - "construct:constructor", - "construct:double", - "construct:floating-point-number", - "construct:if", - "construct:implicit-conversion", - "construct:int", - "construct:integral-number", - "construct:invocation", - "construct:is-cast", - "construct:lambda", - "construct:linq", - "construct:method", - "construct:number", - "construct:parameter", - "construct:pattern-matching", - "construct:return", - "construct:subtract", - "construct:throw", - "construct:using-directive", - "construct:visibility-modifiers", - "paradigm:functional", - "paradigm:object-oriented", - "technique:exceptions", - "technique:higher-order-functions", - "technique:type-conversion", - "uses:Math.Pow" ] } diff --git a/tests/grains/approaches/pow/expected_tags.json b/tests/grains/approaches/pow/expected_tags.json new file mode 100644 index 00000000..b6eb0e03 --- /dev/null +++ b/tests/grains/approaches/pow/expected_tags.json @@ -0,0 +1,31 @@ +{ + "tags": [ + "construct:class", + "construct:constructor", + "construct:double", + "construct:floating-point-number", + "construct:if", + "construct:implicit-conversion", + "construct:int", + "construct:integral-number", + "construct:invocation", + "construct:is-cast", + "construct:lambda", + "construct:linq", + "construct:method", + "construct:number", + "construct:parameter", + "construct:pattern-matching", + "construct:return", + "construct:subtract", + "construct:throw", + "construct:using-directive", + "construct:visibility-modifiers", + "paradigm:functional", + "paradigm:object-oriented", + "technique:exceptions", + "technique:higher-order-functions", + "technique:type-conversion", + "uses:Math.Pow" + ] +} diff --git a/tests/hamming/approaches/for-loop/expected_analysis.json b/tests/hamming/approaches/for-loop/expected_analysis.json index 20dab1d7..a0d0268f 100644 --- a/tests/hamming/approaches/for-loop/expected_analysis.json +++ b/tests/hamming/approaches/for-loop/expected_analysis.json @@ -1,24 +1,3 @@ { - "comments": [], - "tags": [ - "construct:class", - "construct:constructor", - "construct:for-loop", - "construct:if", - "construct:indexer", - "construct:int", - "construct:integral-number", - "construct:method", - "construct:number", - "construct:parameter", - "construct:return", - "construct:string", - "construct:throw", - "construct:using-directive", - "construct:variable", - "construct:visibility-modifiers", - "paradigm:object-oriented", - "technique:exceptions", - "technique:looping" - ] + "comments": [] } diff --git a/tests/hamming/approaches/for-loop/expected_tags.json b/tests/hamming/approaches/for-loop/expected_tags.json new file mode 100644 index 00000000..4aaceefe --- /dev/null +++ b/tests/hamming/approaches/for-loop/expected_tags.json @@ -0,0 +1,23 @@ +{ + "tags": [ + "construct:class", + "construct:constructor", + "construct:for-loop", + "construct:if", + "construct:indexer", + "construct:int", + "construct:integral-number", + "construct:method", + "construct:number", + "construct:parameter", + "construct:return", + "construct:string", + "construct:throw", + "construct:using-directive", + "construct:variable", + "construct:visibility-modifiers", + "paradigm:object-oriented", + "technique:exceptions", + "technique:looping" + ] +} diff --git a/tests/hamming/approaches/linq/expected_analysis.json b/tests/hamming/approaches/linq/expected_analysis.json index e40de40f..a0d0268f 100644 --- a/tests/hamming/approaches/linq/expected_analysis.json +++ b/tests/hamming/approaches/linq/expected_analysis.json @@ -1,23 +1,3 @@ { - "comments": [], - "tags": [ - "construct:class", - "construct:constructor", - "construct:if", - "construct:implicit-conversion", - "construct:invocation", - "construct:lambda", - "construct:linq", - "construct:method", - "construct:parameter", - "construct:return", - "construct:string", - "construct:throw", - "construct:using-directive", - "construct:visibility-modifiers", - "paradigm:functional", - "paradigm:object-oriented", - "technique:exceptions", - "technique:higher-order-functions" - ] + "comments": [] } diff --git a/tests/hamming/approaches/linq/expected_tags.json b/tests/hamming/approaches/linq/expected_tags.json new file mode 100644 index 00000000..dcdc4b39 --- /dev/null +++ b/tests/hamming/approaches/linq/expected_tags.json @@ -0,0 +1,22 @@ +{ + "tags": [ + "construct:class", + "construct:constructor", + "construct:if", + "construct:implicit-conversion", + "construct:invocation", + "construct:lambda", + "construct:linq", + "construct:method", + "construct:parameter", + "construct:return", + "construct:string", + "construct:throw", + "construct:using-directive", + "construct:visibility-modifiers", + "paradigm:functional", + "paradigm:object-oriented", + "technique:exceptions", + "technique:higher-order-functions" + ] +} diff --git a/tests/isogram/approaches/bitfield/expected_analysis.json b/tests/isogram/approaches/bitfield/expected_analysis.json index a8302388..a0d0268f 100644 --- a/tests/isogram/approaches/bitfield/expected_analysis.json +++ b/tests/isogram/approaches/bitfield/expected_analysis.json @@ -1,30 +1,3 @@ { - "comments": [], - "tags": [ - "construct:assignment", - "construct:bitwise-and", - "construct:boolean", - "construct:class", - "construct:foreach", - "construct:if", - "construct:implicit-conversion", - "construct:int", - "construct:integral-number", - "construct:left-shift", - "construct:logical-and", - "construct:method", - "construct:number", - "construct:parameter", - "construct:return", - "construct:subtract", - "construct:variable", - "construct:visibility-modifiers", - "paradigm:imperative", - "paradigm:object-oriented", - "technique:bit-manipulation", - "technique:bit-shifting", - "technique:boolean-logic", - "technique:enumeration", - "technique:looping" - ] + "comments": [] } diff --git a/tests/isogram/approaches/bitfield/expected_tags.json b/tests/isogram/approaches/bitfield/expected_tags.json new file mode 100644 index 00000000..bd8cb29b --- /dev/null +++ b/tests/isogram/approaches/bitfield/expected_tags.json @@ -0,0 +1,29 @@ +{ + "tags": [ + "construct:assignment", + "construct:bitwise-and", + "construct:boolean", + "construct:class", + "construct:foreach", + "construct:if", + "construct:implicit-conversion", + "construct:int", + "construct:integral-number", + "construct:left-shift", + "construct:logical-and", + "construct:method", + "construct:number", + "construct:parameter", + "construct:return", + "construct:subtract", + "construct:variable", + "construct:visibility-modifiers", + "paradigm:imperative", + "paradigm:object-oriented", + "technique:bit-manipulation", + "technique:bit-shifting", + "technique:boolean-logic", + "technique:enumeration", + "technique:looping" + ] +} diff --git a/tests/isogram/approaches/distinct/expected_analysis.json b/tests/isogram/approaches/distinct/expected_analysis.json index 31971cc1..a0d0268f 100644 --- a/tests/isogram/approaches/distinct/expected_analysis.json +++ b/tests/isogram/approaches/distinct/expected_analysis.json @@ -1,24 +1,3 @@ { - "comments": [], - "tags": [ - "construct:char", - "construct:class", - "construct:implicit-conversion", - "construct:invocation", - "construct:lambda", - "construct:linq", - "construct:list", - "construct:method", - "construct:parameter", - "construct:return", - "construct:string", - "construct:using-directive", - "construct:variable", - "construct:visibility-modifiers", - "paradigm:functional", - "paradigm:object-oriented", - "technique:higher-order-functions", - "uses:Enumerable.Distinct", - "uses:List" - ] + "comments": [] } diff --git a/tests/isogram/approaches/distinct/expected_tags.json b/tests/isogram/approaches/distinct/expected_tags.json new file mode 100644 index 00000000..4f2f0288 --- /dev/null +++ b/tests/isogram/approaches/distinct/expected_tags.json @@ -0,0 +1,23 @@ +{ + "tags": [ + "construct:char", + "construct:class", + "construct:implicit-conversion", + "construct:invocation", + "construct:lambda", + "construct:linq", + "construct:list", + "construct:method", + "construct:parameter", + "construct:return", + "construct:string", + "construct:using-directive", + "construct:variable", + "construct:visibility-modifiers", + "paradigm:functional", + "paradigm:object-oriented", + "technique:higher-order-functions", + "uses:Enumerable.Distinct", + "uses:List" + ] +} diff --git a/tests/isogram/approaches/groupby/expected_analysis.json b/tests/isogram/approaches/groupby/expected_analysis.json index 9aa7d105..587cec70 100644 --- a/tests/isogram/approaches/groupby/expected_analysis.json +++ b/tests/isogram/approaches/groupby/expected_analysis.json @@ -7,26 +7,5 @@ "name": "IsIsogram" } } - ], - "tags": [ - "construct:char", - "construct:class", - "construct:implicit-conversion", - "construct:int", - "construct:integral-number", - "construct:invocation", - "construct:lambda", - "construct:linq", - "construct:method", - "construct:number", - "construct:parameter", - "construct:return", - "construct:string", - "construct:using-directive", - "construct:visibility-modifiers", - "paradigm:functional", - "paradigm:object-oriented", - "technique:higher-order-functions", - "uses:Enumerable.GroupBy" ] } diff --git a/tests/isogram/approaches/groupby/expected_tags.json b/tests/isogram/approaches/groupby/expected_tags.json new file mode 100644 index 00000000..2fa6172b --- /dev/null +++ b/tests/isogram/approaches/groupby/expected_tags.json @@ -0,0 +1,23 @@ +{ + "tags": [ + "construct:char", + "construct:class", + "construct:implicit-conversion", + "construct:int", + "construct:integral-number", + "construct:invocation", + "construct:lambda", + "construct:linq", + "construct:method", + "construct:number", + "construct:parameter", + "construct:return", + "construct:string", + "construct:using-directive", + "construct:visibility-modifiers", + "paradigm:functional", + "paradigm:object-oriented", + "technique:higher-order-functions", + "uses:Enumerable.GroupBy" + ] +} diff --git a/tests/leap/approaches/boolean-chain/expected_analysis.json b/tests/leap/approaches/boolean-chain/expected_analysis.json index 94097eff..650045c7 100644 --- a/tests/leap/approaches/boolean-chain/expected_analysis.json +++ b/tests/leap/approaches/boolean-chain/expected_analysis.json @@ -7,20 +7,5 @@ "name": "IsLeapYear" } } - ], - "tags": [ - "construct:boolean", - "construct:class", - "construct:int", - "construct:integral-number", - "construct:logical-and", - "construct:logical-or", - "construct:method", - "construct:number", - "construct:parameter", - "construct:return", - "construct:visibility-modifiers", - "paradigm:object-oriented", - "technique:boolean-logic" ] } diff --git a/tests/leap/approaches/boolean-chain/expected_tags.json b/tests/leap/approaches/boolean-chain/expected_tags.json new file mode 100644 index 00000000..e1f2f281 --- /dev/null +++ b/tests/leap/approaches/boolean-chain/expected_tags.json @@ -0,0 +1,17 @@ +{ + "tags": [ + "construct:boolean", + "construct:class", + "construct:int", + "construct:integral-number", + "construct:logical-and", + "construct:logical-or", + "construct:method", + "construct:number", + "construct:parameter", + "construct:return", + "construct:visibility-modifiers", + "paradigm:object-oriented", + "technique:boolean-logic" + ] +} diff --git a/tests/leap/approaches/built-in-method/expected_analysis.json b/tests/leap/approaches/built-in-method/expected_analysis.json index 86306802..64a68d04 100644 --- a/tests/leap/approaches/built-in-method/expected_analysis.json +++ b/tests/leap/approaches/built-in-method/expected_analysis.json @@ -12,18 +12,5 @@ "name": "IsLeapYear" } } - ], - "tags": [ - "construct:class", - "construct:date-time", - "construct:invocation", - "construct:method", - "construct:parameter", - "construct:return", - "construct:using-directive", - "construct:visibility-modifiers", - "paradigm:object-oriented", - "uses:DateTime", - "uses:DateTime.IsLeapYear" ] } diff --git a/tests/leap/approaches/built-in-method/expected_tags.json b/tests/leap/approaches/built-in-method/expected_tags.json new file mode 100644 index 00000000..bef0cff9 --- /dev/null +++ b/tests/leap/approaches/built-in-method/expected_tags.json @@ -0,0 +1,15 @@ +{ + "tags": [ + "construct:class", + "construct:date-time", + "construct:invocation", + "construct:method", + "construct:parameter", + "construct:return", + "construct:using-directive", + "construct:visibility-modifiers", + "paradigm:object-oriented", + "uses:DateTime", + "uses:DateTime.IsLeapYear" + ] +} diff --git a/tests/leap/approaches/datetime-addition/expected_analysis.json b/tests/leap/approaches/datetime-addition/expected_analysis.json index 4ce62ad9..a0d0268f 100644 --- a/tests/leap/approaches/datetime-addition/expected_analysis.json +++ b/tests/leap/approaches/datetime-addition/expected_analysis.json @@ -1,22 +1,3 @@ { - "comments": [], - "tags": [ - "construct:class", - "construct:constructor", - "construct:date-time", - "construct:double", - "construct:expression-bodied-member", - "construct:floating-point-number", - "construct:int", - "construct:integral-number", - "construct:invocation", - "construct:method", - "construct:number", - "construct:parameter", - "construct:using-directive", - "construct:visibility-modifiers", - "paradigm:object-oriented", - "uses:DateTime", - "uses:DateTime.AddDays" - ] + "comments": [] } diff --git a/tests/leap/approaches/datetime-addition/expected_tags.json b/tests/leap/approaches/datetime-addition/expected_tags.json new file mode 100644 index 00000000..51859a5c --- /dev/null +++ b/tests/leap/approaches/datetime-addition/expected_tags.json @@ -0,0 +1,21 @@ +{ + "tags": [ + "construct:class", + "construct:constructor", + "construct:date-time", + "construct:double", + "construct:expression-bodied-member", + "construct:floating-point-number", + "construct:int", + "construct:integral-number", + "construct:invocation", + "construct:method", + "construct:number", + "construct:parameter", + "construct:using-directive", + "construct:visibility-modifiers", + "paradigm:object-oriented", + "uses:DateTime", + "uses:DateTime.AddDays" + ] +} diff --git a/tests/leap/approaches/switch-on-a-tuple/expected_analysis.json b/tests/leap/approaches/switch-on-a-tuple/expected_analysis.json index 89923261..650045c7 100644 --- a/tests/leap/approaches/switch-on-a-tuple/expected_analysis.json +++ b/tests/leap/approaches/switch-on-a-tuple/expected_analysis.json @@ -7,24 +7,5 @@ "name": "IsLeapYear" } } - ], - "tags": [ - "construct:boolean", - "construct:class", - "construct:int", - "construct:integral-number", - "construct:lambda", - "construct:method", - "construct:number", - "construct:parameter", - "construct:pattern-matching", - "construct:return", - "construct:switch-expression", - "construct:tuple", - "construct:visibility-modifiers", - "paradigm:functional", - "paradigm:object-oriented", - "technique:higher-order-functions", - "uses:ValueTuple" ] } diff --git a/tests/leap/approaches/switch-on-a-tuple/expected_tags.json b/tests/leap/approaches/switch-on-a-tuple/expected_tags.json new file mode 100644 index 00000000..06ee9ff9 --- /dev/null +++ b/tests/leap/approaches/switch-on-a-tuple/expected_tags.json @@ -0,0 +1,21 @@ +{ + "tags": [ + "construct:boolean", + "construct:class", + "construct:int", + "construct:integral-number", + "construct:lambda", + "construct:method", + "construct:number", + "construct:parameter", + "construct:pattern-matching", + "construct:return", + "construct:switch-expression", + "construct:tuple", + "construct:visibility-modifiers", + "paradigm:functional", + "paradigm:object-oriented", + "technique:higher-order-functions", + "uses:ValueTuple" + ] +} diff --git a/tests/leap/approaches/ternary-operator/expected_analysis.json b/tests/leap/approaches/ternary-operator/expected_analysis.json index 1a555fd2..650045c7 100644 --- a/tests/leap/approaches/ternary-operator/expected_analysis.json +++ b/tests/leap/approaches/ternary-operator/expected_analysis.json @@ -7,17 +7,5 @@ "name": "IsLeapYear" } } - ], - "tags": [ - "construct:class", - "construct:int", - "construct:integral-number", - "construct:method", - "construct:number", - "construct:parameter", - "construct:return", - "construct:ternary", - "construct:visibility-modifiers", - "paradigm:object-oriented" ] } diff --git a/tests/leap/approaches/ternary-operator/expected_tags.json b/tests/leap/approaches/ternary-operator/expected_tags.json new file mode 100644 index 00000000..ec72be71 --- /dev/null +++ b/tests/leap/approaches/ternary-operator/expected_tags.json @@ -0,0 +1,14 @@ +{ + "tags": [ + "construct:class", + "construct:int", + "construct:integral-number", + "construct:method", + "construct:number", + "construct:parameter", + "construct:return", + "construct:ternary", + "construct:visibility-modifiers", + "paradigm:object-oriented" + ] +} diff --git a/tests/leap/if-statements/expected_analysis.json b/tests/leap/if-statements/expected_analysis.json index aa312510..671da675 100644 --- a/tests/leap/if-statements/expected_analysis.json +++ b/tests/leap/if-statements/expected_analysis.json @@ -5,20 +5,5 @@ "type": "actionable", "params": {} } - ], - "tags": [ - "construct:boolean", - "construct:class", - "construct:if", - "construct:int", - "construct:integral-number", - "construct:logical-or", - "construct:method", - "construct:number", - "construct:parameter", - "construct:return", - "construct:visibility-modifiers", - "paradigm:object-oriented", - "technique:boolean-logic" ] } diff --git a/tests/leap/if-statements/expected_tags.json b/tests/leap/if-statements/expected_tags.json new file mode 100644 index 00000000..901cece7 --- /dev/null +++ b/tests/leap/if-statements/expected_tags.json @@ -0,0 +1,17 @@ +{ + "tags": [ + "construct:boolean", + "construct:class", + "construct:if", + "construct:int", + "construct:integral-number", + "construct:logical-or", + "construct:method", + "construct:number", + "construct:parameter", + "construct:return", + "construct:visibility-modifiers", + "paradigm:object-oriented", + "technique:boolean-logic" + ] +} diff --git a/tests/leap/nested-if-statement/expected_analysis.json b/tests/leap/nested-if-statement/expected_analysis.json index 0e3d9af2..671da675 100644 --- a/tests/leap/nested-if-statement/expected_analysis.json +++ b/tests/leap/nested-if-statement/expected_analysis.json @@ -5,18 +5,5 @@ "type": "actionable", "params": {} } - ], - "tags": [ - "construct:boolean", - "construct:class", - "construct:if", - "construct:int", - "construct:integral-number", - "construct:method", - "construct:number", - "construct:parameter", - "construct:return", - "construct:visibility-modifiers", - "paradigm:object-oriented" ] } diff --git a/tests/leap/nested-if-statement/expected_tags.json b/tests/leap/nested-if-statement/expected_tags.json new file mode 100644 index 00000000..e3d8f994 --- /dev/null +++ b/tests/leap/nested-if-statement/expected_tags.json @@ -0,0 +1,15 @@ +{ + "tags": [ + "construct:boolean", + "construct:class", + "construct:if", + "construct:int", + "construct:integral-number", + "construct:method", + "construct:number", + "construct:parameter", + "construct:return", + "construct:visibility-modifiers", + "paradigm:object-oriented" + ] +} diff --git a/tests/leap/too-many-checks/expected_analysis.json b/tests/leap/too-many-checks/expected_analysis.json index 18594c5c..31c21d8b 100644 --- a/tests/leap/too-many-checks/expected_analysis.json +++ b/tests/leap/too-many-checks/expected_analysis.json @@ -12,20 +12,5 @@ "name": "IsLeapYear" } } - ], - "tags": [ - "construct:boolean", - "construct:class", - "construct:int", - "construct:integral-number", - "construct:logical-and", - "construct:logical-or", - "construct:method", - "construct:number", - "construct:parameter", - "construct:return", - "construct:visibility-modifiers", - "paradigm:object-oriented", - "technique:boolean-logic" ] } diff --git a/tests/leap/too-many-checks/expected_tags.json b/tests/leap/too-many-checks/expected_tags.json new file mode 100644 index 00000000..e1f2f281 --- /dev/null +++ b/tests/leap/too-many-checks/expected_tags.json @@ -0,0 +1,17 @@ +{ + "tags": [ + "construct:boolean", + "construct:class", + "construct:int", + "construct:integral-number", + "construct:logical-and", + "construct:logical-or", + "construct:method", + "construct:number", + "construct:parameter", + "construct:return", + "construct:visibility-modifiers", + "paradigm:object-oriented", + "technique:boolean-logic" + ] +} diff --git a/tests/leap/use-is-leap-year/block-body/expected_analysis.json b/tests/leap/use-is-leap-year/block-body/expected_analysis.json index 86306802..64a68d04 100644 --- a/tests/leap/use-is-leap-year/block-body/expected_analysis.json +++ b/tests/leap/use-is-leap-year/block-body/expected_analysis.json @@ -12,18 +12,5 @@ "name": "IsLeapYear" } } - ], - "tags": [ - "construct:class", - "construct:date-time", - "construct:invocation", - "construct:method", - "construct:parameter", - "construct:return", - "construct:using-directive", - "construct:visibility-modifiers", - "paradigm:object-oriented", - "uses:DateTime", - "uses:DateTime.IsLeapYear" ] } diff --git a/tests/leap/use-is-leap-year/block-body/expected_tags.json b/tests/leap/use-is-leap-year/block-body/expected_tags.json new file mode 100644 index 00000000..bef0cff9 --- /dev/null +++ b/tests/leap/use-is-leap-year/block-body/expected_tags.json @@ -0,0 +1,15 @@ +{ + "tags": [ + "construct:class", + "construct:date-time", + "construct:invocation", + "construct:method", + "construct:parameter", + "construct:return", + "construct:using-directive", + "construct:visibility-modifiers", + "paradigm:object-oriented", + "uses:DateTime", + "uses:DateTime.IsLeapYear" + ] +} diff --git a/tests/leap/use-is-leap-year/expression-body/expected_analysis.json b/tests/leap/use-is-leap-year/expression-body/expected_analysis.json index 44ce2eb3..d608f047 100644 --- a/tests/leap/use-is-leap-year/expression-body/expected_analysis.json +++ b/tests/leap/use-is-leap-year/expression-body/expected_analysis.json @@ -5,18 +5,5 @@ "type": "essential", "params": {} } - ], - "tags": [ - "construct:class", - "construct:date-time", - "construct:expression-bodied-member", - "construct:invocation", - "construct:method", - "construct:parameter", - "construct:using-directive", - "construct:visibility-modifiers", - "paradigm:object-oriented", - "uses:DateTime", - "uses:DateTime.IsLeapYear" ] } diff --git a/tests/leap/use-is-leap-year/expression-body/expected_tags.json b/tests/leap/use-is-leap-year/expression-body/expected_tags.json new file mode 100644 index 00000000..5b953e66 --- /dev/null +++ b/tests/leap/use-is-leap-year/expression-body/expected_tags.json @@ -0,0 +1,15 @@ +{ + "tags": [ + "construct:class", + "construct:date-time", + "construct:expression-bodied-member", + "construct:invocation", + "construct:method", + "construct:parameter", + "construct:using-directive", + "construct:visibility-modifiers", + "paradigm:object-oriented", + "uses:DateTime", + "uses:DateTime.IsLeapYear" + ] +} diff --git a/tests/missing/no-analyzer-implemented/expected_analysis.json b/tests/missing/no-analyzer-implemented/expected_analysis.json index f9faf420..a0d0268f 100644 --- a/tests/missing/no-analyzer-implemented/expected_analysis.json +++ b/tests/missing/no-analyzer-implemented/expected_analysis.json @@ -1,8 +1,3 @@ { - "comments": [], - "tags": [ - "construct:class", - "construct:visibility-modifiers", - "paradigm:object-oriented" - ] + "comments": [] } diff --git a/tests/missing/no-analyzer-implemented/expected_tags.json b/tests/missing/no-analyzer-implemented/expected_tags.json new file mode 100644 index 00000000..34d81f5b --- /dev/null +++ b/tests/missing/no-analyzer-implemented/expected_tags.json @@ -0,0 +1,7 @@ +{ + "tags": [ + "construct:class", + "construct:visibility-modifiers", + "paradigm:object-oriented" + ] +} diff --git a/tests/palindrome-products/approaches/factors-first/expected_analysis.json b/tests/palindrome-products/approaches/factors-first/expected_analysis.json index 76be54c3..a0d0268f 100644 --- a/tests/palindrome-products/approaches/factors-first/expected_analysis.json +++ b/tests/palindrome-products/approaches/factors-first/expected_analysis.json @@ -1,43 +1,3 @@ { - "comments": [], - "tags": [ - "construct:assignment", - "construct:boolean", - "construct:break", - "construct:class", - "construct:constructor", - "construct:expression-bodied-member", - "construct:for-loop", - "construct:if", - "construct:implicit-conversion", - "construct:int", - "construct:integral-number", - "construct:invocation", - "construct:lambda", - "construct:linq", - "construct:list", - "construct:logical-and", - "construct:method", - "construct:multiply", - "construct:number", - "construct:parameter", - "construct:return", - "construct:string", - "construct:throw", - "construct:tuple", - "construct:using-directive", - "construct:variable", - "construct:visibility-modifiers", - "construct:yield", - "paradigm:functional", - "paradigm:imperative", - "paradigm:object-oriented", - "technique:boolean-logic", - "technique:exceptions", - "technique:higher-order-functions", - "technique:laziness", - "technique:looping", - "uses:List", - "uses:ValueTuple" - ] + "comments": [] } diff --git a/tests/palindrome-products/approaches/factors-first/expected_tags.json b/tests/palindrome-products/approaches/factors-first/expected_tags.json new file mode 100644 index 00000000..f23ef0db --- /dev/null +++ b/tests/palindrome-products/approaches/factors-first/expected_tags.json @@ -0,0 +1,42 @@ +{ + "tags": [ + "construct:assignment", + "construct:boolean", + "construct:break", + "construct:class", + "construct:constructor", + "construct:expression-bodied-member", + "construct:for-loop", + "construct:if", + "construct:implicit-conversion", + "construct:int", + "construct:integral-number", + "construct:invocation", + "construct:lambda", + "construct:linq", + "construct:list", + "construct:logical-and", + "construct:method", + "construct:multiply", + "construct:number", + "construct:parameter", + "construct:return", + "construct:string", + "construct:throw", + "construct:tuple", + "construct:using-directive", + "construct:variable", + "construct:visibility-modifiers", + "construct:yield", + "paradigm:functional", + "paradigm:imperative", + "paradigm:object-oriented", + "technique:boolean-logic", + "technique:exceptions", + "technique:higher-order-functions", + "technique:laziness", + "technique:looping", + "uses:List", + "uses:ValueTuple" + ] +} diff --git a/tests/pangram/approaches/all-contains-case-insensitive/expected_analysis.json b/tests/pangram/approaches/all-contains-case-insensitive/expected_analysis.json index 4ee0d5d5..2d81f47b 100644 --- a/tests/pangram/approaches/all-contains-case-insensitive/expected_analysis.json +++ b/tests/pangram/approaches/all-contains-case-insensitive/expected_analysis.json @@ -7,26 +7,5 @@ "name": "IsPangram" } } - ], - "tags": [ - "construct:class", - "construct:field", - "construct:implicit-conversion", - "construct:invocation", - "construct:lambda", - "construct:linq", - "construct:method", - "construct:parameter", - "construct:read-only", - "construct:return", - "construct:string", - "construct:using-directive", - "construct:variable", - "construct:visibility-modifiers", - "paradigm:functional", - "paradigm:object-oriented", - "technique:higher-order-functions", - "uses:Enumerable.All", - "uses:string.Contains(char, System.StringComparison)" ] } diff --git a/tests/pangram/approaches/all-contains-case-insensitive/expected_tags.json b/tests/pangram/approaches/all-contains-case-insensitive/expected_tags.json new file mode 100644 index 00000000..4f6b0a78 --- /dev/null +++ b/tests/pangram/approaches/all-contains-case-insensitive/expected_tags.json @@ -0,0 +1,23 @@ +{ + "tags": [ + "construct:class", + "construct:field", + "construct:implicit-conversion", + "construct:invocation", + "construct:lambda", + "construct:linq", + "construct:method", + "construct:parameter", + "construct:read-only", + "construct:return", + "construct:string", + "construct:using-directive", + "construct:variable", + "construct:visibility-modifiers", + "paradigm:functional", + "paradigm:object-oriented", + "technique:higher-order-functions", + "uses:Enumerable.All", + "uses:string.Contains(char, System.StringComparison)" + ] +} diff --git a/tests/pangram/approaches/all-contains-tolower/expected_analysis.json b/tests/pangram/approaches/all-contains-tolower/expected_analysis.json index 44c1862d..a0d0268f 100644 --- a/tests/pangram/approaches/all-contains-tolower/expected_analysis.json +++ b/tests/pangram/approaches/all-contains-tolower/expected_analysis.json @@ -1,25 +1,3 @@ { - "comments": [], - "tags": [ - "construct:class", - "construct:const", - "construct:field", - "construct:implicit-conversion", - "construct:invocation", - "construct:lambda", - "construct:linq", - "construct:method", - "construct:parameter", - "construct:return", - "construct:string", - "construct:using-directive", - "construct:variable", - "construct:visibility-modifiers", - "paradigm:functional", - "paradigm:object-oriented", - "technique:higher-order-functions", - "uses:Enumerable.All", - "uses:String.Contains(char)", - "uses:String.ToLower" - ] + "comments": [] } diff --git a/tests/pangram/approaches/all-contains-tolower/expected_tags.json b/tests/pangram/approaches/all-contains-tolower/expected_tags.json new file mode 100644 index 00000000..95b37e45 --- /dev/null +++ b/tests/pangram/approaches/all-contains-tolower/expected_tags.json @@ -0,0 +1,24 @@ +{ + "tags": [ + "construct:class", + "construct:const", + "construct:field", + "construct:implicit-conversion", + "construct:invocation", + "construct:lambda", + "construct:linq", + "construct:method", + "construct:parameter", + "construct:return", + "construct:string", + "construct:using-directive", + "construct:variable", + "construct:visibility-modifiers", + "paradigm:functional", + "paradigm:object-oriented", + "technique:higher-order-functions", + "uses:Enumerable.All", + "uses:String.Contains(char)", + "uses:String.ToLower" + ] +} diff --git a/tests/pangram/approaches/bitfield/expected_analysis.json b/tests/pangram/approaches/bitfield/expected_analysis.json index 66646aaa..a0d0268f 100644 --- a/tests/pangram/approaches/bitfield/expected_analysis.json +++ b/tests/pangram/approaches/bitfield/expected_analysis.json @@ -1,29 +1,3 @@ { - "comments": [], - "tags": [ - "construct:assignment", - "construct:boolean", - "construct:class", - "construct:foreach", - "construct:if", - "construct:implicit-conversion", - "construct:int", - "construct:integral-number", - "construct:left-shift", - "construct:logical-and", - "construct:method", - "construct:number", - "construct:parameter", - "construct:return", - "construct:subtract", - "construct:variable", - "construct:visibility-modifiers", - "paradigm:imperative", - "paradigm:object-oriented", - "technique:bit-manipulation", - "technique:bit-shifting", - "technique:boolean-logic", - "technique:enumeration", - "technique:looping" - ] + "comments": [] } diff --git a/tests/pangram/approaches/bitfield/expected_tags.json b/tests/pangram/approaches/bitfield/expected_tags.json new file mode 100644 index 00000000..37a5a58e --- /dev/null +++ b/tests/pangram/approaches/bitfield/expected_tags.json @@ -0,0 +1,28 @@ +{ + "tags": [ + "construct:assignment", + "construct:boolean", + "construct:class", + "construct:foreach", + "construct:if", + "construct:implicit-conversion", + "construct:int", + "construct:integral-number", + "construct:left-shift", + "construct:logical-and", + "construct:method", + "construct:number", + "construct:parameter", + "construct:return", + "construct:subtract", + "construct:variable", + "construct:visibility-modifiers", + "paradigm:imperative", + "paradigm:object-oriented", + "technique:bit-manipulation", + "technique:bit-shifting", + "technique:boolean-logic", + "technique:enumeration", + "technique:looping" + ] +} diff --git a/tests/parallel-letter-frequency/approaches/as-parallel/expected_analysis.json b/tests/parallel-letter-frequency/approaches/as-parallel/expected_analysis.json index 4460d8ab..be7f4f43 100644 --- a/tests/parallel-letter-frequency/approaches/as-parallel/expected_analysis.json +++ b/tests/parallel-letter-frequency/approaches/as-parallel/expected_analysis.json @@ -7,35 +7,5 @@ "name": "Calculate" } } - ], - "tags": [ - "construct:add", - "construct:assignment", - "construct:char", - "construct:class", - "construct:constructor", - "construct:dictionary", - "construct:foreach", - "construct:if", - "construct:implicit-conversion", - "construct:indexer", - "construct:invocation", - "construct:lambda", - "construct:linq", - "construct:method", - "construct:parameter", - "construct:return", - "construct:string", - "construct:using-directive", - "construct:visibility-modifiers", - "paradigm:functional", - "paradigm:imperative", - "paradigm:object-oriented", - "technique:enumeration", - "technique:higher-order-functions", - "technique:looping", - "technique:parallelism", - "uses:Dictionary", - "uses:Enumerable.AsParallel" ] } diff --git a/tests/parallel-letter-frequency/approaches/as-parallel/expected_tags.json b/tests/parallel-letter-frequency/approaches/as-parallel/expected_tags.json new file mode 100644 index 00000000..6b10bfb1 --- /dev/null +++ b/tests/parallel-letter-frequency/approaches/as-parallel/expected_tags.json @@ -0,0 +1,32 @@ +{ + "tags": [ + "construct:add", + "construct:assignment", + "construct:char", + "construct:class", + "construct:constructor", + "construct:dictionary", + "construct:foreach", + "construct:if", + "construct:implicit-conversion", + "construct:indexer", + "construct:invocation", + "construct:lambda", + "construct:linq", + "construct:method", + "construct:parameter", + "construct:return", + "construct:string", + "construct:using-directive", + "construct:visibility-modifiers", + "paradigm:functional", + "paradigm:imperative", + "paradigm:object-oriented", + "technique:enumeration", + "technique:higher-order-functions", + "technique:looping", + "technique:parallelism", + "uses:Dictionary", + "uses:Enumerable.AsParallel" + ] +} diff --git a/tests/perfect-numbers/approaches/if-statements/expected_analysis.json b/tests/perfect-numbers/approaches/if-statements/expected_analysis.json index cdc6ccba..a0d0268f 100644 --- a/tests/perfect-numbers/approaches/if-statements/expected_analysis.json +++ b/tests/perfect-numbers/approaches/if-statements/expected_analysis.json @@ -1,27 +1,3 @@ { - "comments": [], - "tags": [ - "construct:class", - "construct:constructor", - "construct:divide", - "construct:enum", - "construct:if", - "construct:int", - "construct:integral-number", - "construct:invocation", - "construct:lambda", - "construct:linq", - "construct:method", - "construct:number", - "construct:parameter", - "construct:return", - "construct:throw", - "construct:using-directive", - "construct:variable", - "construct:visibility-modifiers", - "paradigm:functional", - "paradigm:object-oriented", - "technique:exceptions", - "technique:higher-order-functions" - ] + "comments": [] } diff --git a/tests/perfect-numbers/approaches/if-statements/expected_tags.json b/tests/perfect-numbers/approaches/if-statements/expected_tags.json new file mode 100644 index 00000000..b6676071 --- /dev/null +++ b/tests/perfect-numbers/approaches/if-statements/expected_tags.json @@ -0,0 +1,26 @@ +{ + "tags": [ + "construct:class", + "construct:constructor", + "construct:divide", + "construct:enum", + "construct:if", + "construct:int", + "construct:integral-number", + "construct:invocation", + "construct:lambda", + "construct:linq", + "construct:method", + "construct:number", + "construct:parameter", + "construct:return", + "construct:throw", + "construct:using-directive", + "construct:variable", + "construct:visibility-modifiers", + "paradigm:functional", + "paradigm:object-oriented", + "technique:exceptions", + "technique:higher-order-functions" + ] +} diff --git a/tests/perfect-numbers/approaches/switch-expression/expected_analysis.json b/tests/perfect-numbers/approaches/switch-expression/expected_analysis.json index 01b24a82..a0d0268f 100644 --- a/tests/perfect-numbers/approaches/switch-expression/expected_analysis.json +++ b/tests/perfect-numbers/approaches/switch-expression/expected_analysis.json @@ -1,29 +1,3 @@ { - "comments": [], - "tags": [ - "construct:boolean", - "construct:class", - "construct:enum", - "construct:int", - "construct:integral-number", - "construct:invocation", - "construct:lambda", - "construct:linq", - "construct:method", - "construct:number", - "construct:parameter", - "construct:pattern-matching", - "construct:return", - "construct:subtract", - "construct:switch-expression", - "construct:ternary", - "construct:tuple", - "construct:using-directive", - "construct:variable", - "construct:visibility-modifiers", - "paradigm:functional", - "paradigm:object-oriented", - "technique:higher-order-functions", - "uses:ValueTuple" - ] + "comments": [] } diff --git a/tests/perfect-numbers/approaches/switch-expression/expected_tags.json b/tests/perfect-numbers/approaches/switch-expression/expected_tags.json new file mode 100644 index 00000000..89c55036 --- /dev/null +++ b/tests/perfect-numbers/approaches/switch-expression/expected_tags.json @@ -0,0 +1,28 @@ +{ + "tags": [ + "construct:boolean", + "construct:class", + "construct:enum", + "construct:int", + "construct:integral-number", + "construct:invocation", + "construct:lambda", + "construct:linq", + "construct:method", + "construct:number", + "construct:parameter", + "construct:pattern-matching", + "construct:return", + "construct:subtract", + "construct:switch-expression", + "construct:ternary", + "construct:tuple", + "construct:using-directive", + "construct:variable", + "construct:visibility-modifiers", + "paradigm:functional", + "paradigm:object-oriented", + "technique:higher-order-functions", + "uses:ValueTuple" + ] +} diff --git a/tests/phone-number/approaches/regular-expression/expected_analysis.json b/tests/phone-number/approaches/regular-expression/expected_analysis.json index 851d98c9..a0d0268f 100644 --- a/tests/phone-number/approaches/regular-expression/expected_analysis.json +++ b/tests/phone-number/approaches/regular-expression/expected_analysis.json @@ -1,27 +1,3 @@ { - "comments": [], - "tags": [ - "construct-string-interpolation", - "construct-verbatim-string", - "construct:class", - "construct:constructor", - "construct:if", - "construct:indexer", - "construct:int", - "construct:integral-number", - "construct:invocation", - "construct:method", - "construct:number", - "construct:parameter", - "construct:return", - "construct:string", - "construct:throw", - "construct:using-directive", - "construct:variable", - "construct:visibility-modifiers", - "paradigm:object-oriented", - "technique:exceptions", - "technique:regular-expression", - "uses:Regex" - ] + "comments": [] } diff --git a/tests/phone-number/approaches/regular-expression/expected_tags.json b/tests/phone-number/approaches/regular-expression/expected_tags.json new file mode 100644 index 00000000..a369f457 --- /dev/null +++ b/tests/phone-number/approaches/regular-expression/expected_tags.json @@ -0,0 +1,26 @@ +{ + "tags": [ + "construct-string-interpolation", + "construct-verbatim-string", + "construct:class", + "construct:constructor", + "construct:if", + "construct:indexer", + "construct:int", + "construct:integral-number", + "construct:invocation", + "construct:method", + "construct:number", + "construct:parameter", + "construct:return", + "construct:string", + "construct:throw", + "construct:using-directive", + "construct:variable", + "construct:visibility-modifiers", + "paradigm:object-oriented", + "technique:exceptions", + "technique:regular-expression", + "uses:Regex" + ] +} diff --git a/tests/pig-latin/approaches/regular-expressions/expected_analysis.json b/tests/pig-latin/approaches/regular-expressions/expected_analysis.json index ccf26160..a0d0268f 100644 --- a/tests/pig-latin/approaches/regular-expressions/expected_analysis.json +++ b/tests/pig-latin/approaches/regular-expressions/expected_analysis.json @@ -1,21 +1,3 @@ { - "comments": [], - "tags": [ - "construct-verbatim-string", - "construct:class", - "construct:const", - "construct:expression-bodied-member", - "construct:field", - "construct:invocation", - "construct:method", - "construct:parameter", - "construct:string", - "construct:ternary", - "construct:using-directive", - "construct:variable", - "construct:visibility-modifiers", - "paradigm:object-oriented", - "technique:regular-expression", - "uses:Regex" - ] + "comments": [] } diff --git a/tests/pig-latin/approaches/regular-expressions/expected_tags.json b/tests/pig-latin/approaches/regular-expressions/expected_tags.json new file mode 100644 index 00000000..e08e2d4f --- /dev/null +++ b/tests/pig-latin/approaches/regular-expressions/expected_tags.json @@ -0,0 +1,20 @@ +{ + "tags": [ + "construct-verbatim-string", + "construct:class", + "construct:const", + "construct:expression-bodied-member", + "construct:field", + "construct:invocation", + "construct:method", + "construct:parameter", + "construct:string", + "construct:ternary", + "construct:using-directive", + "construct:variable", + "construct:visibility-modifiers", + "paradigm:object-oriented", + "technique:regular-expression", + "uses:Regex" + ] +} diff --git a/tests/poker/approaches/icomparer/expected_analysis.json b/tests/poker/approaches/icomparer/expected_analysis.json index e0612136..a0d0268f 100644 --- a/tests/poker/approaches/icomparer/expected_analysis.json +++ b/tests/poker/approaches/icomparer/expected_analysis.json @@ -1,45 +1,3 @@ { - "comments": [], - "tags": [ - "construct:boolean", - "construct:char", - "construct:class", - "construct:dictionary", - "construct:enum", - "construct:expression-bodied-member", - "construct:field", - "construct:implicit-conversion", - "construct:indexer", - "construct:int", - "construct:integral-number", - "construct:invocation", - "construct:is-cast", - "construct:lambda", - "construct:linq", - "construct:logical-and", - "construct:logical-or", - "construct:method", - "construct:nested-type", - "construct:number", - "construct:parameter", - "construct:pattern-matching", - "construct:property", - "construct:read-only", - "construct:record", - "construct:return", - "construct:string", - "construct:subtract", - "construct:switch-expression", - "construct:tuple", - "construct:using-directive", - "construct:variable", - "construct:visibility-modifiers", - "paradigm:functional", - "paradigm:object-oriented", - "technique:boolean-logic", - "technique:higher-order-functions", - "technique:type-conversion", - "uses:Dictionary", - "uses:ValueTuple" - ] + "comments": [] } diff --git a/tests/poker/approaches/icomparer/expected_tags.json b/tests/poker/approaches/icomparer/expected_tags.json new file mode 100644 index 00000000..80ba345b --- /dev/null +++ b/tests/poker/approaches/icomparer/expected_tags.json @@ -0,0 +1,44 @@ +{ + "tags": [ + "construct:boolean", + "construct:char", + "construct:class", + "construct:dictionary", + "construct:enum", + "construct:expression-bodied-member", + "construct:field", + "construct:implicit-conversion", + "construct:indexer", + "construct:int", + "construct:integral-number", + "construct:invocation", + "construct:is-cast", + "construct:lambda", + "construct:linq", + "construct:logical-and", + "construct:logical-or", + "construct:method", + "construct:nested-type", + "construct:number", + "construct:parameter", + "construct:pattern-matching", + "construct:property", + "construct:read-only", + "construct:record", + "construct:return", + "construct:string", + "construct:subtract", + "construct:switch-expression", + "construct:tuple", + "construct:using-directive", + "construct:variable", + "construct:visibility-modifiers", + "paradigm:functional", + "paradigm:object-oriented", + "technique:boolean-logic", + "technique:higher-order-functions", + "technique:type-conversion", + "uses:Dictionary", + "uses:ValueTuple" + ] +} diff --git a/tests/poker/approaches/integer-score/expected_analysis.json b/tests/poker/approaches/integer-score/expected_analysis.json index 32685394..a0d0268f 100644 --- a/tests/poker/approaches/integer-score/expected_analysis.json +++ b/tests/poker/approaches/integer-score/expected_analysis.json @@ -1,41 +1,3 @@ { - "comments": [], - "tags": [ - "construct:add", - "construct:boolean", - "construct:char", - "construct:class", - "construct:expression-bodied-member", - "construct:field", - "construct:implicit-conversion", - "construct:indexer", - "construct:int", - "construct:integral-number", - "construct:invocation", - "construct:is-cast", - "construct:lambda", - "construct:linq", - "construct:logical-and", - "construct:logical-or", - "construct:method", - "construct:multiply", - "construct:nested-type", - "construct:number", - "construct:parameter", - "construct:pattern-matching", - "construct:property", - "construct:read-only", - "construct:record", - "construct:string", - "construct:subtract", - "construct:ternary", - "construct:using-directive", - "construct:variable", - "construct:visibility-modifiers", - "paradigm:functional", - "paradigm:object-oriented", - "technique:boolean-logic", - "technique:higher-order-functions", - "technique:type-conversion" - ] + "comments": [] } diff --git a/tests/poker/approaches/integer-score/expected_tags.json b/tests/poker/approaches/integer-score/expected_tags.json new file mode 100644 index 00000000..17787ddf --- /dev/null +++ b/tests/poker/approaches/integer-score/expected_tags.json @@ -0,0 +1,40 @@ +{ + "tags": [ + "construct:add", + "construct:boolean", + "construct:char", + "construct:class", + "construct:expression-bodied-member", + "construct:field", + "construct:implicit-conversion", + "construct:indexer", + "construct:int", + "construct:integral-number", + "construct:invocation", + "construct:is-cast", + "construct:lambda", + "construct:linq", + "construct:logical-and", + "construct:logical-or", + "construct:method", + "construct:multiply", + "construct:nested-type", + "construct:number", + "construct:parameter", + "construct:pattern-matching", + "construct:property", + "construct:read-only", + "construct:record", + "construct:string", + "construct:subtract", + "construct:ternary", + "construct:using-directive", + "construct:variable", + "construct:visibility-modifiers", + "paradigm:functional", + "paradigm:object-oriented", + "technique:boolean-logic", + "technique:higher-order-functions", + "technique:type-conversion" + ] +} diff --git a/tests/protein-translation/approaches/linq-dict/expected_analysis.json b/tests/protein-translation/approaches/linq-dict/expected_analysis.json index 49d8a31f..edbbdfce 100644 --- a/tests/protein-translation/approaches/linq-dict/expected_analysis.json +++ b/tests/protein-translation/approaches/linq-dict/expected_analysis.json @@ -7,32 +7,5 @@ "name": "Proteins" } } - ], - "tags": [ - "construct:class", - "construct:constructor", - "construct:dictionary", - "construct:field", - "construct:implicit-conversion", - "construct:indexer", - "construct:int", - "construct:integral-number", - "construct:invocation", - "construct:lambda", - "construct:linq", - "construct:method", - "construct:number", - "construct:parameter", - "construct:read-only", - "construct:return", - "construct:string", - "construct:using-directive", - "construct:variable", - "construct:visibility-modifiers", - "paradigm:functional", - "paradigm:object-oriented", - "technique:higher-order-functions", - "uses:Dictionary", - "uses:String.Substring" ] } diff --git a/tests/protein-translation/approaches/linq-dict/expected_tags.json b/tests/protein-translation/approaches/linq-dict/expected_tags.json new file mode 100644 index 00000000..1e51d265 --- /dev/null +++ b/tests/protein-translation/approaches/linq-dict/expected_tags.json @@ -0,0 +1,29 @@ +{ + "tags": [ + "construct:class", + "construct:constructor", + "construct:dictionary", + "construct:field", + "construct:implicit-conversion", + "construct:indexer", + "construct:int", + "construct:integral-number", + "construct:invocation", + "construct:lambda", + "construct:linq", + "construct:method", + "construct:number", + "construct:parameter", + "construct:read-only", + "construct:return", + "construct:string", + "construct:using-directive", + "construct:variable", + "construct:visibility-modifiers", + "paradigm:functional", + "paradigm:object-oriented", + "technique:higher-order-functions", + "uses:Dictionary", + "uses:String.Substring" + ] +} diff --git a/tests/protein-translation/approaches/substring-dict/expected_analysis.json b/tests/protein-translation/approaches/substring-dict/expected_analysis.json index 65b2d670..a0d0268f 100644 --- a/tests/protein-translation/approaches/substring-dict/expected_analysis.json +++ b/tests/protein-translation/approaches/substring-dict/expected_analysis.json @@ -1,40 +1,3 @@ { - "comments": [], - "tags": [ - "construct:assignment", - "construct:break", - "construct:class", - "construct:constructor", - "construct:dictionary", - "construct:field", - "construct:foreach", - "construct:indexer", - "construct:int", - "construct:integral-number", - "construct:invocation", - "construct:lambda", - "construct:list", - "construct:method", - "construct:number", - "construct:parameter", - "construct:read-only", - "construct:return", - "construct:string", - "construct:subtract", - "construct:switch", - "construct:using-directive", - "construct:varargs", - "construct:variable", - "construct:visibility-modifiers", - "construct:while-loop", - "paradigm:functional", - "paradigm:imperative", - "paradigm:object-oriented", - "technique:enumeration", - "technique:higher-order-functions", - "technique:looping", - "uses:Dictionary", - "uses:List", - "uses:String.Substring" - ] + "comments": [] } diff --git a/tests/protein-translation/approaches/substring-dict/expected_tags.json b/tests/protein-translation/approaches/substring-dict/expected_tags.json new file mode 100644 index 00000000..60ae823f --- /dev/null +++ b/tests/protein-translation/approaches/substring-dict/expected_tags.json @@ -0,0 +1,39 @@ +{ + "tags": [ + "construct:assignment", + "construct:break", + "construct:class", + "construct:constructor", + "construct:dictionary", + "construct:field", + "construct:foreach", + "construct:indexer", + "construct:int", + "construct:integral-number", + "construct:invocation", + "construct:lambda", + "construct:list", + "construct:method", + "construct:number", + "construct:parameter", + "construct:read-only", + "construct:return", + "construct:string", + "construct:subtract", + "construct:switch", + "construct:using-directive", + "construct:varargs", + "construct:variable", + "construct:visibility-modifiers", + "construct:while-loop", + "paradigm:functional", + "paradigm:imperative", + "paradigm:object-oriented", + "technique:enumeration", + "technique:higher-order-functions", + "technique:looping", + "uses:Dictionary", + "uses:List", + "uses:String.Substring" + ] +} diff --git a/tests/protein-translation/approaches/substring-switch/expected_analysis.json b/tests/protein-translation/approaches/substring-switch/expected_analysis.json index ed188a27..a0d0268f 100644 --- a/tests/protein-translation/approaches/substring-switch/expected_analysis.json +++ b/tests/protein-translation/approaches/substring-switch/expected_analysis.json @@ -1,38 +1,3 @@ { - "comments": [], - "tags": [ - "construct:assignment", - "construct:break", - "construct:class", - "construct:constructor", - "construct:expression-bodied-member", - "construct:int", - "construct:integral-number", - "construct:invocation", - "construct:lambda", - "construct:list", - "construct:method", - "construct:number", - "construct:parameter", - "construct:pattern-matching", - "construct:return", - "construct:string", - "construct:subtract", - "construct:switch", - "construct:switch-expression", - "construct:throw", - "construct:throw-expression", - "construct:using-directive", - "construct:variable", - "construct:visibility-modifiers", - "construct:while-loop", - "paradigm:functional", - "paradigm:imperative", - "paradigm:object-oriented", - "technique:exceptions", - "technique:higher-order-functions", - "technique:looping", - "uses:List", - "uses:String.Substring" - ] + "comments": [] } diff --git a/tests/protein-translation/approaches/substring-switch/expected_tags.json b/tests/protein-translation/approaches/substring-switch/expected_tags.json new file mode 100644 index 00000000..a30ff141 --- /dev/null +++ b/tests/protein-translation/approaches/substring-switch/expected_tags.json @@ -0,0 +1,37 @@ +{ + "tags": [ + "construct:assignment", + "construct:break", + "construct:class", + "construct:constructor", + "construct:expression-bodied-member", + "construct:int", + "construct:integral-number", + "construct:invocation", + "construct:lambda", + "construct:list", + "construct:method", + "construct:number", + "construct:parameter", + "construct:pattern-matching", + "construct:return", + "construct:string", + "construct:subtract", + "construct:switch", + "construct:switch-expression", + "construct:throw", + "construct:throw-expression", + "construct:using-directive", + "construct:variable", + "construct:visibility-modifiers", + "construct:while-loop", + "paradigm:functional", + "paradigm:imperative", + "paradigm:object-oriented", + "technique:exceptions", + "technique:higher-order-functions", + "technique:looping", + "uses:List", + "uses:String.Substring" + ] +} diff --git a/tests/protein-translation/approaches/yield-dict/expected_analysis.json b/tests/protein-translation/approaches/yield-dict/expected_analysis.json index 8a3a5676..a0d0268f 100644 --- a/tests/protein-translation/approaches/yield-dict/expected_analysis.json +++ b/tests/protein-translation/approaches/yield-dict/expected_analysis.json @@ -1,36 +1,3 @@ { - "comments": [], - "tags": [ - "construct:add", - "construct:assignment", - "construct:class", - "construct:constructor", - "construct:dictionary", - "construct:expression-bodied-member", - "construct:extension-method", - "construct:field", - "construct:for-loop", - "construct:indexer", - "construct:int", - "construct:integral-number", - "construct:invocation", - "construct:lambda", - "construct:linq", - "construct:method", - "construct:number", - "construct:parameter", - "construct:return", - "construct:string", - "construct:using-directive", - "construct:variable", - "construct:visibility-modifiers", - "construct:yield", - "paradigm:functional", - "paradigm:imperative", - "paradigm:object-oriented", - "technique:higher-order-functions", - "technique:laziness", - "technique:looping", - "uses:Dictionary" - ] + "comments": [] } diff --git a/tests/protein-translation/approaches/yield-dict/expected_tags.json b/tests/protein-translation/approaches/yield-dict/expected_tags.json new file mode 100644 index 00000000..9d2cb44c --- /dev/null +++ b/tests/protein-translation/approaches/yield-dict/expected_tags.json @@ -0,0 +1,35 @@ +{ + "tags": [ + "construct:add", + "construct:assignment", + "construct:class", + "construct:constructor", + "construct:dictionary", + "construct:expression-bodied-member", + "construct:extension-method", + "construct:field", + "construct:for-loop", + "construct:indexer", + "construct:int", + "construct:integral-number", + "construct:invocation", + "construct:lambda", + "construct:linq", + "construct:method", + "construct:number", + "construct:parameter", + "construct:return", + "construct:string", + "construct:using-directive", + "construct:variable", + "construct:visibility-modifiers", + "construct:yield", + "paradigm:functional", + "paradigm:imperative", + "paradigm:object-oriented", + "technique:higher-order-functions", + "technique:laziness", + "technique:looping", + "uses:Dictionary" + ] +} diff --git a/tests/protein-translation/approaches/yield-switch/expected_analysis.json b/tests/protein-translation/approaches/yield-switch/expected_analysis.json index d9ca3abf..a0d0268f 100644 --- a/tests/protein-translation/approaches/yield-switch/expected_analysis.json +++ b/tests/protein-translation/approaches/yield-switch/expected_analysis.json @@ -1,38 +1,3 @@ { - "comments": [], - "tags": [ - "construct:add", - "construct:assignment", - "construct:class", - "construct:constructor", - "construct:expression-bodied-member", - "construct:extension-method", - "construct:for-loop", - "construct:indexer", - "construct:int", - "construct:integral-number", - "construct:invocation", - "construct:lambda", - "construct:linq", - "construct:method", - "construct:number", - "construct:parameter", - "construct:pattern-matching", - "construct:return", - "construct:string", - "construct:switch-expression", - "construct:throw", - "construct:throw-expression", - "construct:using-directive", - "construct:variable", - "construct:visibility-modifiers", - "construct:yield", - "paradigm:functional", - "paradigm:imperative", - "paradigm:object-oriented", - "technique:exceptions", - "technique:higher-order-functions", - "technique:laziness", - "technique:looping" - ] + "comments": [] } diff --git a/tests/protein-translation/approaches/yield-switch/expected_tags.json b/tests/protein-translation/approaches/yield-switch/expected_tags.json new file mode 100644 index 00000000..b95aea38 --- /dev/null +++ b/tests/protein-translation/approaches/yield-switch/expected_tags.json @@ -0,0 +1,37 @@ +{ + "tags": [ + "construct:add", + "construct:assignment", + "construct:class", + "construct:constructor", + "construct:expression-bodied-member", + "construct:extension-method", + "construct:for-loop", + "construct:indexer", + "construct:int", + "construct:integral-number", + "construct:invocation", + "construct:lambda", + "construct:linq", + "construct:method", + "construct:number", + "construct:parameter", + "construct:pattern-matching", + "construct:return", + "construct:string", + "construct:switch-expression", + "construct:throw", + "construct:throw-expression", + "construct:using-directive", + "construct:variable", + "construct:visibility-modifiers", + "construct:yield", + "paradigm:functional", + "paradigm:imperative", + "paradigm:object-oriented", + "technique:exceptions", + "technique:higher-order-functions", + "technique:laziness", + "technique:looping" + ] +} diff --git a/tests/proverb/approaches/for-loop/expected_analysis.json b/tests/proverb/approaches/for-loop/expected_analysis.json index 4b86141a..a0d0268f 100644 --- a/tests/proverb/approaches/for-loop/expected_analysis.json +++ b/tests/proverb/approaches/for-loop/expected_analysis.json @@ -1,30 +1,3 @@ { - "comments": [], - "tags": [ - "construct-string-interpolation", - "construct:add", - "construct:array", - "construct:assignment", - "construct:class", - "construct:for-loop", - "construct:if", - "construct:indexer", - "construct:int", - "construct:integral-number", - "construct:invocation", - "construct:lambda", - "construct:method", - "construct:number", - "construct:parameter", - "construct:return", - "construct:subtract", - "construct:using-directive", - "construct:variable", - "construct:visibility-modifiers", - "paradigm:functional", - "paradigm:imperative", - "paradigm:object-oriented", - "technique:higher-order-functions", - "technique:looping" - ] + "comments": [] } diff --git a/tests/proverb/approaches/for-loop/expected_tags.json b/tests/proverb/approaches/for-loop/expected_tags.json new file mode 100644 index 00000000..40a8c6b1 --- /dev/null +++ b/tests/proverb/approaches/for-loop/expected_tags.json @@ -0,0 +1,29 @@ +{ + "tags": [ + "construct-string-interpolation", + "construct:add", + "construct:array", + "construct:assignment", + "construct:class", + "construct:for-loop", + "construct:if", + "construct:indexer", + "construct:int", + "construct:integral-number", + "construct:invocation", + "construct:lambda", + "construct:method", + "construct:number", + "construct:parameter", + "construct:return", + "construct:subtract", + "construct:using-directive", + "construct:variable", + "construct:visibility-modifiers", + "paradigm:functional", + "paradigm:imperative", + "paradigm:object-oriented", + "technique:higher-order-functions", + "technique:looping" + ] +} diff --git a/tests/proverb/approaches/linq/expected_analysis.json b/tests/proverb/approaches/linq/expected_analysis.json index 9e5adf38..a0d0268f 100644 --- a/tests/proverb/approaches/linq/expected_analysis.json +++ b/tests/proverb/approaches/linq/expected_analysis.json @@ -1,24 +1,3 @@ { - "comments": [], - "tags": [ - "construct-string-interpolation", - "construct:array", - "construct:class", - "construct:if", - "construct:implicit-conversion", - "construct:int", - "construct:integral-number", - "construct:invocation", - "construct:lambda", - "construct:linq", - "construct:method", - "construct:number", - "construct:parameter", - "construct:return", - "construct:using-directive", - "construct:visibility-modifiers", - "paradigm:functional", - "paradigm:object-oriented", - "technique:higher-order-functions" - ] + "comments": [] } diff --git a/tests/proverb/approaches/linq/expected_tags.json b/tests/proverb/approaches/linq/expected_tags.json new file mode 100644 index 00000000..b1a90817 --- /dev/null +++ b/tests/proverb/approaches/linq/expected_tags.json @@ -0,0 +1,23 @@ +{ + "tags": [ + "construct-string-interpolation", + "construct:array", + "construct:class", + "construct:if", + "construct:implicit-conversion", + "construct:int", + "construct:integral-number", + "construct:invocation", + "construct:lambda", + "construct:linq", + "construct:method", + "construct:number", + "construct:parameter", + "construct:return", + "construct:using-directive", + "construct:visibility-modifiers", + "paradigm:functional", + "paradigm:object-oriented", + "technique:higher-order-functions" + ] +} diff --git a/tests/raindrops/approaches/aggregate/expected_analysis.json b/tests/raindrops/approaches/aggregate/expected_analysis.json index bdac2896..15a60b1b 100644 --- a/tests/raindrops/approaches/aggregate/expected_analysis.json +++ b/tests/raindrops/approaches/aggregate/expected_analysis.json @@ -5,33 +5,5 @@ "type": "informative", "params": {} } - ], - "tags": [ - "construct:add", - "construct:class", - "construct:field", - "construct:implicit-conversion", - "construct:initializer", - "construct:int", - "construct:integral-number", - "construct:invocation", - "construct:lambda", - "construct:linq", - "construct:method", - "construct:number", - "construct:parameter", - "construct:read-only", - "construct:return", - "construct:string", - "construct:ternary", - "construct:tuple", - "construct:using-directive", - "construct:variable", - "construct:visibility-modifiers", - "paradigm:functional", - "paradigm:object-oriented", - "technique:higher-order-functions", - "uses:Enumerable.Aggregate", - "uses:ValueTuple" ] } diff --git a/tests/raindrops/approaches/aggregate/expected_tags.json b/tests/raindrops/approaches/aggregate/expected_tags.json new file mode 100644 index 00000000..14042b64 --- /dev/null +++ b/tests/raindrops/approaches/aggregate/expected_tags.json @@ -0,0 +1,30 @@ +{ + "tags": [ + "construct:add", + "construct:class", + "construct:field", + "construct:implicit-conversion", + "construct:initializer", + "construct:int", + "construct:integral-number", + "construct:invocation", + "construct:lambda", + "construct:linq", + "construct:method", + "construct:number", + "construct:parameter", + "construct:read-only", + "construct:return", + "construct:string", + "construct:ternary", + "construct:tuple", + "construct:using-directive", + "construct:variable", + "construct:visibility-modifiers", + "paradigm:functional", + "paradigm:object-oriented", + "technique:higher-order-functions", + "uses:Enumerable.Aggregate", + "uses:ValueTuple" + ] +} diff --git a/tests/raindrops/approaches/if-statements/expected_analysis.json b/tests/raindrops/approaches/if-statements/expected_analysis.json index e30b63e7..a0d0268f 100644 --- a/tests/raindrops/approaches/if-statements/expected_analysis.json +++ b/tests/raindrops/approaches/if-statements/expected_analysis.json @@ -1,21 +1,3 @@ { - "comments": [], - "tags": [ - "construct:assignment", - "construct:class", - "construct:if", - "construct:int", - "construct:integral-number", - "construct:invocation", - "construct:method", - "construct:number", - "construct:parameter", - "construct:return", - "construct:string", - "construct:ternary", - "construct:variable", - "construct:visibility-modifiers", - "paradigm:imperative", - "paradigm:object-oriented" - ] + "comments": [] } diff --git a/tests/raindrops/approaches/if-statements/expected_tags.json b/tests/raindrops/approaches/if-statements/expected_tags.json new file mode 100644 index 00000000..a13c2e96 --- /dev/null +++ b/tests/raindrops/approaches/if-statements/expected_tags.json @@ -0,0 +1,20 @@ +{ + "tags": [ + "construct:assignment", + "construct:class", + "construct:if", + "construct:int", + "construct:integral-number", + "construct:invocation", + "construct:method", + "construct:number", + "construct:parameter", + "construct:return", + "construct:string", + "construct:ternary", + "construct:variable", + "construct:visibility-modifiers", + "paradigm:imperative", + "paradigm:object-oriented" + ] +} diff --git a/tests/reverse-string/approaches/array-reverse/expected_analysis.json b/tests/reverse-string/approaches/array-reverse/expected_analysis.json index ba6bb8fc..a0d0268f 100644 --- a/tests/reverse-string/approaches/array-reverse/expected_analysis.json +++ b/tests/reverse-string/approaches/array-reverse/expected_analysis.json @@ -1,18 +1,3 @@ { - "comments": [], - "tags": [ - "construct:array", - "construct:class", - "construct:constructor", - "construct:invocation", - "construct:method", - "construct:parameter", - "construct:return", - "construct:string", - "construct:using-directive", - "construct:variable", - "construct:visibility-modifiers", - "paradigm:object-oriented", - "uses:Array.Reverse" - ] + "comments": [] } diff --git a/tests/reverse-string/approaches/array-reverse/expected_tags.json b/tests/reverse-string/approaches/array-reverse/expected_tags.json new file mode 100644 index 00000000..424f6eae --- /dev/null +++ b/tests/reverse-string/approaches/array-reverse/expected_tags.json @@ -0,0 +1,17 @@ +{ + "tags": [ + "construct:array", + "construct:class", + "construct:constructor", + "construct:invocation", + "construct:method", + "construct:parameter", + "construct:return", + "construct:string", + "construct:using-directive", + "construct:variable", + "construct:visibility-modifiers", + "paradigm:object-oriented", + "uses:Array.Reverse" + ] +} diff --git a/tests/reverse-string/approaches/linq/expected_analysis.json b/tests/reverse-string/approaches/linq/expected_analysis.json index 03a1efdf..f8de6899 100644 --- a/tests/reverse-string/approaches/linq/expected_analysis.json +++ b/tests/reverse-string/approaches/linq/expected_analysis.json @@ -7,22 +7,5 @@ "name": "Reverse" } } - ], - "tags": [ - "construct:class", - "construct:constructor", - "construct:implicit-conversion", - "construct:invocation", - "construct:lambda", - "construct:linq", - "construct:method", - "construct:parameter", - "construct:return", - "construct:string", - "construct:using-directive", - "construct:visibility-modifiers", - "paradigm:functional", - "paradigm:object-oriented", - "technique:higher-order-functions" ] } diff --git a/tests/reverse-string/approaches/linq/expected_tags.json b/tests/reverse-string/approaches/linq/expected_tags.json new file mode 100644 index 00000000..6d0d9103 --- /dev/null +++ b/tests/reverse-string/approaches/linq/expected_tags.json @@ -0,0 +1,19 @@ +{ + "tags": [ + "construct:class", + "construct:constructor", + "construct:implicit-conversion", + "construct:invocation", + "construct:lambda", + "construct:linq", + "construct:method", + "construct:parameter", + "construct:return", + "construct:string", + "construct:using-directive", + "construct:visibility-modifiers", + "paradigm:functional", + "paradigm:object-oriented", + "technique:higher-order-functions" + ] +} diff --git a/tests/reverse-string/approaches/span/expected_analysis.json b/tests/reverse-string/approaches/span/expected_analysis.json index 5fe11ddd..a0d0268f 100644 --- a/tests/reverse-string/approaches/span/expected_analysis.json +++ b/tests/reverse-string/approaches/span/expected_analysis.json @@ -1,30 +1,3 @@ { - "comments": [], - "tags": [ - "construct:assignment", - "construct:class", - "construct:constructor", - "construct:for-loop", - "construct:indexer", - "construct:int", - "construct:integral-number", - "construct:lambda", - "construct:method", - "construct:number", - "construct:parameter", - "construct:return", - "construct:string", - "construct:subtract", - "construct:using-directive", - "construct:variable", - "construct:visibility-modifiers", - "paradigm:functional", - "paradigm:imperative", - "paradigm:object-oriented", - "technique:higher-order-functions", - "technique:looping", - "technique:memory-management", - "technique:performance", - "uses:Span" - ] + "comments": [] } diff --git a/tests/reverse-string/approaches/span/expected_tags.json b/tests/reverse-string/approaches/span/expected_tags.json new file mode 100644 index 00000000..6cf0157e --- /dev/null +++ b/tests/reverse-string/approaches/span/expected_tags.json @@ -0,0 +1,29 @@ +{ + "tags": [ + "construct:assignment", + "construct:class", + "construct:constructor", + "construct:for-loop", + "construct:indexer", + "construct:int", + "construct:integral-number", + "construct:lambda", + "construct:method", + "construct:number", + "construct:parameter", + "construct:return", + "construct:string", + "construct:subtract", + "construct:using-directive", + "construct:variable", + "construct:visibility-modifiers", + "paradigm:functional", + "paradigm:imperative", + "paradigm:object-oriented", + "technique:higher-order-functions", + "technique:looping", + "technique:memory-management", + "technique:performance", + "uses:Span" + ] +} diff --git a/tests/reverse-string/approaches/string-builder/expected_analysis.json b/tests/reverse-string/approaches/string-builder/expected_analysis.json index 1550e184..a0d0268f 100644 --- a/tests/reverse-string/approaches/string-builder/expected_analysis.json +++ b/tests/reverse-string/approaches/string-builder/expected_analysis.json @@ -1,24 +1,3 @@ { - "comments": [], - "tags": [ - "construct:class", - "construct:constructor", - "construct:for-loop", - "construct:indexer", - "construct:int", - "construct:integral-number", - "construct:invocation", - "construct:method", - "construct:number", - "construct:parameter", - "construct:return", - "construct:string", - "construct:subtract", - "construct:using-directive", - "construct:variable", - "construct:visibility-modifiers", - "paradigm:object-oriented", - "technique:looping", - "uses:StringBuilder" - ] + "comments": [] } diff --git a/tests/reverse-string/approaches/string-builder/expected_tags.json b/tests/reverse-string/approaches/string-builder/expected_tags.json new file mode 100644 index 00000000..a88bee9b --- /dev/null +++ b/tests/reverse-string/approaches/string-builder/expected_tags.json @@ -0,0 +1,23 @@ +{ + "tags": [ + "construct:class", + "construct:constructor", + "construct:for-loop", + "construct:indexer", + "construct:int", + "construct:integral-number", + "construct:invocation", + "construct:method", + "construct:number", + "construct:parameter", + "construct:return", + "construct:string", + "construct:subtract", + "construct:using-directive", + "construct:variable", + "construct:visibility-modifiers", + "paradigm:object-oriented", + "technique:looping", + "uses:StringBuilder" + ] +} diff --git a/tests/rna-transcription/approaches/dictionary/expected_analysis.json b/tests/rna-transcription/approaches/dictionary/expected_analysis.json index 7bdd53bc..a0d0268f 100644 --- a/tests/rna-transcription/approaches/dictionary/expected_analysis.json +++ b/tests/rna-transcription/approaches/dictionary/expected_analysis.json @@ -1,29 +1,3 @@ { - "comments": [], - "tags": [ - "construct:assignment", - "construct:char", - "construct:class", - "construct:dictionary", - "construct:expression-bodied-member", - "construct:field", - "construct:implicit-conversion", - "construct:indexer", - "construct:initializer", - "construct:invocation", - "construct:lambda", - "construct:linq", - "construct:method", - "construct:object-initializer", - "construct:parameter", - "construct:read-only", - "construct:using-directive", - "construct:variable", - "construct:visibility-modifiers", - "paradigm:functional", - "paradigm:imperative", - "paradigm:object-oriented", - "technique:higher-order-functions", - "uses:Dictionary" - ] + "comments": [] } diff --git a/tests/rna-transcription/approaches/dictionary/expected_tags.json b/tests/rna-transcription/approaches/dictionary/expected_tags.json new file mode 100644 index 00000000..1c567ca7 --- /dev/null +++ b/tests/rna-transcription/approaches/dictionary/expected_tags.json @@ -0,0 +1,28 @@ +{ + "tags": [ + "construct:assignment", + "construct:char", + "construct:class", + "construct:dictionary", + "construct:expression-bodied-member", + "construct:field", + "construct:implicit-conversion", + "construct:indexer", + "construct:initializer", + "construct:invocation", + "construct:lambda", + "construct:linq", + "construct:method", + "construct:object-initializer", + "construct:parameter", + "construct:read-only", + "construct:using-directive", + "construct:variable", + "construct:visibility-modifiers", + "paradigm:functional", + "paradigm:imperative", + "paradigm:object-oriented", + "technique:higher-order-functions", + "uses:Dictionary" + ] +} diff --git a/tests/rna-transcription/approaches/switch-expression/expected_analysis.json b/tests/rna-transcription/approaches/switch-expression/expected_analysis.json index cc7f34ef..a0d0268f 100644 --- a/tests/rna-transcription/approaches/switch-expression/expected_analysis.json +++ b/tests/rna-transcription/approaches/switch-expression/expected_analysis.json @@ -1,21 +1,3 @@ { - "comments": [], - "tags": [ - "construct:char", - "construct:class", - "construct:expression-bodied-member", - "construct:implicit-conversion", - "construct:invocation", - "construct:lambda", - "construct:linq", - "construct:method", - "construct:parameter", - "construct:pattern-matching", - "construct:switch-expression", - "construct:using-directive", - "construct:visibility-modifiers", - "paradigm:functional", - "paradigm:object-oriented", - "technique:higher-order-functions" - ] + "comments": [] } diff --git a/tests/rna-transcription/approaches/switch-expression/expected_tags.json b/tests/rna-transcription/approaches/switch-expression/expected_tags.json new file mode 100644 index 00000000..d926992f --- /dev/null +++ b/tests/rna-transcription/approaches/switch-expression/expected_tags.json @@ -0,0 +1,20 @@ +{ + "tags": [ + "construct:char", + "construct:class", + "construct:expression-bodied-member", + "construct:implicit-conversion", + "construct:invocation", + "construct:lambda", + "construct:linq", + "construct:method", + "construct:parameter", + "construct:pattern-matching", + "construct:switch-expression", + "construct:using-directive", + "construct:visibility-modifiers", + "paradigm:functional", + "paradigm:object-oriented", + "technique:higher-order-functions" + ] +} diff --git a/tests/series/approaches/for-loop/expected_analysis.json b/tests/series/approaches/for-loop/expected_analysis.json index a27a5ff8..a0d0268f 100644 --- a/tests/series/approaches/for-loop/expected_analysis.json +++ b/tests/series/approaches/for-loop/expected_analysis.json @@ -1,30 +1,3 @@ { - "comments": [], - "tags": [ - "construct:boolean", - "construct:class", - "construct:constructor", - "construct:for-loop", - "construct:if", - "construct:int", - "construct:integral-number", - "construct:invocation", - "construct:logical-or", - "construct:method", - "construct:number", - "construct:parameter", - "construct:return", - "construct:string", - "construct:subtract", - "construct:throw", - "construct:using-directive", - "construct:variable", - "construct:visibility-modifiers", - "construct:yield", - "paradigm:object-oriented", - "technique:boolean-logic", - "technique:exceptions", - "technique:laziness", - "technique:looping" - ] + "comments": [] } diff --git a/tests/series/approaches/for-loop/expected_tags.json b/tests/series/approaches/for-loop/expected_tags.json new file mode 100644 index 00000000..643bb6e3 --- /dev/null +++ b/tests/series/approaches/for-loop/expected_tags.json @@ -0,0 +1,29 @@ +{ + "tags": [ + "construct:boolean", + "construct:class", + "construct:constructor", + "construct:for-loop", + "construct:if", + "construct:int", + "construct:integral-number", + "construct:invocation", + "construct:logical-or", + "construct:method", + "construct:number", + "construct:parameter", + "construct:return", + "construct:string", + "construct:subtract", + "construct:throw", + "construct:using-directive", + "construct:variable", + "construct:visibility-modifiers", + "construct:yield", + "paradigm:object-oriented", + "technique:boolean-logic", + "technique:exceptions", + "technique:laziness", + "technique:looping" + ] +} diff --git a/tests/series/approaches/linq/expected_analysis.json b/tests/series/approaches/linq/expected_analysis.json index 0d0cf2e1..a0d0268f 100644 --- a/tests/series/approaches/linq/expected_analysis.json +++ b/tests/series/approaches/linq/expected_analysis.json @@ -1,30 +1,3 @@ { - "comments": [], - "tags": [ - "construct:add", - "construct:boolean", - "construct:class", - "construct:constructor", - "construct:if", - "construct:int", - "construct:integral-number", - "construct:invocation", - "construct:lambda", - "construct:linq", - "construct:logical-or", - "construct:method", - "construct:number", - "construct:parameter", - "construct:return", - "construct:string", - "construct:subtract", - "construct:throw", - "construct:using-directive", - "construct:visibility-modifiers", - "paradigm:functional", - "paradigm:object-oriented", - "technique:boolean-logic", - "technique:exceptions", - "technique:higher-order-functions" - ] + "comments": [] } diff --git a/tests/series/approaches/linq/expected_tags.json b/tests/series/approaches/linq/expected_tags.json new file mode 100644 index 00000000..079242af --- /dev/null +++ b/tests/series/approaches/linq/expected_tags.json @@ -0,0 +1,29 @@ +{ + "tags": [ + "construct:add", + "construct:boolean", + "construct:class", + "construct:constructor", + "construct:if", + "construct:int", + "construct:integral-number", + "construct:invocation", + "construct:lambda", + "construct:linq", + "construct:logical-or", + "construct:method", + "construct:number", + "construct:parameter", + "construct:return", + "construct:string", + "construct:subtract", + "construct:throw", + "construct:using-directive", + "construct:visibility-modifiers", + "paradigm:functional", + "paradigm:object-oriented", + "technique:boolean-logic", + "technique:exceptions", + "technique:higher-order-functions" + ] +} diff --git a/tests/sieve/approaches/bit-array/expected_analysis.json b/tests/sieve/approaches/bit-array/expected_analysis.json index 1a7b5467..a0d0268f 100644 --- a/tests/sieve/approaches/bit-array/expected_analysis.json +++ b/tests/sieve/approaches/bit-array/expected_analysis.json @@ -1,36 +1,3 @@ { - "comments": [], - "tags": [ - "construct:add", - "construct:assignment", - "construct:bit-array", - "construct:boolean", - "construct:class", - "construct:constructor", - "construct:continue", - "construct:for-loop", - "construct:if", - "construct:indexer", - "construct:int", - "construct:integral-number", - "construct:invocation", - "construct:lambda", - "construct:method", - "construct:multiply", - "construct:number", - "construct:parameter", - "construct:return", - "construct:throw", - "construct:using-directive", - "construct:variable", - "construct:visibility-modifiers", - "construct:yield", - "paradigm:functional", - "paradigm:imperative", - "paradigm:object-oriented", - "technique:exceptions", - "technique:higher-order-functions", - "technique:laziness", - "technique:looping" - ] + "comments": [] } diff --git a/tests/sieve/approaches/bit-array/expected_tags.json b/tests/sieve/approaches/bit-array/expected_tags.json new file mode 100644 index 00000000..7e7c9dee --- /dev/null +++ b/tests/sieve/approaches/bit-array/expected_tags.json @@ -0,0 +1,35 @@ +{ + "tags": [ + "construct:add", + "construct:assignment", + "construct:bit-array", + "construct:boolean", + "construct:class", + "construct:constructor", + "construct:continue", + "construct:for-loop", + "construct:if", + "construct:indexer", + "construct:int", + "construct:integral-number", + "construct:invocation", + "construct:lambda", + "construct:method", + "construct:multiply", + "construct:number", + "construct:parameter", + "construct:return", + "construct:throw", + "construct:using-directive", + "construct:variable", + "construct:visibility-modifiers", + "construct:yield", + "paradigm:functional", + "paradigm:imperative", + "paradigm:object-oriented", + "technique:exceptions", + "technique:higher-order-functions", + "technique:laziness", + "technique:looping" + ] +} diff --git a/tests/sieve/approaches/hash-set/expected_analysis.json b/tests/sieve/approaches/hash-set/expected_analysis.json index 89f6e36e..a0d0268f 100644 --- a/tests/sieve/approaches/hash-set/expected_analysis.json +++ b/tests/sieve/approaches/hash-set/expected_analysis.json @@ -1,31 +1,3 @@ { - "comments": [], - "tags": [ - "construct:assignment", - "construct:class", - "construct:constructor", - "construct:continue", - "construct:for-loop", - "construct:if", - "construct:int", - "construct:integral-number", - "construct:invocation", - "construct:method", - "construct:multiply", - "construct:number", - "construct:parameter", - "construct:return", - "construct:set", - "construct:throw", - "construct:using-directive", - "construct:variable", - "construct:visibility-modifiers", - "construct:yield", - "paradigm:imperative", - "paradigm:object-oriented", - "technique:exceptions", - "technique:laziness", - "technique:looping", - "uses:HashSet" - ] + "comments": [] } diff --git a/tests/sieve/approaches/hash-set/expected_tags.json b/tests/sieve/approaches/hash-set/expected_tags.json new file mode 100644 index 00000000..7738dc02 --- /dev/null +++ b/tests/sieve/approaches/hash-set/expected_tags.json @@ -0,0 +1,30 @@ +{ + "tags": [ + "construct:assignment", + "construct:class", + "construct:constructor", + "construct:continue", + "construct:for-loop", + "construct:if", + "construct:int", + "construct:integral-number", + "construct:invocation", + "construct:method", + "construct:multiply", + "construct:number", + "construct:parameter", + "construct:return", + "construct:set", + "construct:throw", + "construct:using-directive", + "construct:variable", + "construct:visibility-modifiers", + "construct:yield", + "paradigm:imperative", + "paradigm:object-oriented", + "technique:exceptions", + "technique:laziness", + "technique:looping", + "uses:HashSet" + ] +} diff --git a/tests/tags/constructs/comments/expected_analysis.json b/tests/tags/constructs/comments/expected_analysis.json index 43c9890b..e9caf438 100644 --- a/tests/tags/constructs/comments/expected_analysis.json +++ b/tests/tags/constructs/comments/expected_analysis.json @@ -5,16 +5,5 @@ "type": "essential", "params": {} } - ], - "tags": [ - "construct:class", - "construct:comment", - "construct:int", - "construct:integral-number", - "construct:method", - "construct:number", - "construct:variable", - "construct:visibility-modifiers", - "paradigm:object-oriented" ] } diff --git a/tests/tags/constructs/comments/expected_tags.json b/tests/tags/constructs/comments/expected_tags.json new file mode 100644 index 00000000..ee66891d --- /dev/null +++ b/tests/tags/constructs/comments/expected_tags.json @@ -0,0 +1,13 @@ +{ + "tags": [ + "construct:class", + "construct:comment", + "construct:int", + "construct:integral-number", + "construct:method", + "construct:number", + "construct:variable", + "construct:visibility-modifiers", + "paradigm:object-oriented" + ] +} diff --git a/tests/tags/constructs/custom-types/expected_analysis.json b/tests/tags/constructs/custom-types/expected_analysis.json index 20c1eeaa..a0d0268f 100644 --- a/tests/tags/constructs/custom-types/expected_analysis.json +++ b/tests/tags/constructs/custom-types/expected_analysis.json @@ -1,36 +1,3 @@ { - "comments": [], - "tags": [ - "construct:assignment", - "construct:attribute", - "construct:auto-implemented-property", - "construct:boolean", - "construct:class", - "construct:enum", - "construct:expression-bodied-member", - "construct:field", - "construct:file-scoped-namespace", - "construct:flags-enum", - "construct:getter", - "construct:int", - "construct:integral-number", - "construct:interface", - "construct:method", - "construct:namespace", - "construct:nested-type", - "construct:parameter", - "construct:property", - "construct:record", - "construct:return", - "construct:setter", - "construct:string", - "construct:struct", - "construct:using-directive", - "construct:variable", - "construct:visibility-modifiers", - "paradigm:functional", - "paradigm:imperative", - "paradigm:object-oriented", - "technique:inheritance" - ] + "comments": [] } diff --git a/tests/tags/constructs/custom-types/expected_tags.json b/tests/tags/constructs/custom-types/expected_tags.json new file mode 100644 index 00000000..75e3535d --- /dev/null +++ b/tests/tags/constructs/custom-types/expected_tags.json @@ -0,0 +1,35 @@ +{ + "tags": [ + "construct:assignment", + "construct:attribute", + "construct:auto-implemented-property", + "construct:boolean", + "construct:class", + "construct:enum", + "construct:expression-bodied-member", + "construct:field", + "construct:file-scoped-namespace", + "construct:flags-enum", + "construct:getter", + "construct:int", + "construct:integral-number", + "construct:interface", + "construct:method", + "construct:namespace", + "construct:nested-type", + "construct:parameter", + "construct:property", + "construct:record", + "construct:return", + "construct:setter", + "construct:string", + "construct:struct", + "construct:using-directive", + "construct:variable", + "construct:visibility-modifiers", + "paradigm:functional", + "paradigm:imperative", + "paradigm:object-oriented", + "technique:inheritance" + ] +} diff --git a/tests/tags/constructs/exceptions/expected_analysis.json b/tests/tags/constructs/exceptions/expected_analysis.json index 67e65268..a0d0268f 100644 --- a/tests/tags/constructs/exceptions/expected_analysis.json +++ b/tests/tags/constructs/exceptions/expected_analysis.json @@ -1,21 +1,3 @@ { - "comments": [], - "tags": [ - "construct:catch", - "construct:catch-filter", - "construct:class", - "construct:constructor", - "construct:finally", - "construct:invocation", - "construct:method", - "construct:string", - "construct:throw", - "construct:try", - "construct:user-defined-exception", - "construct:using-directive", - "construct:visibility-modifiers", - "paradigm:object-oriented", - "technique:exceptions", - "technique:inheritance" - ] + "comments": [] } diff --git a/tests/tags/constructs/exceptions/expected_tags.json b/tests/tags/constructs/exceptions/expected_tags.json new file mode 100644 index 00000000..3007d510 --- /dev/null +++ b/tests/tags/constructs/exceptions/expected_tags.json @@ -0,0 +1,20 @@ +{ + "tags": [ + "construct:catch", + "construct:catch-filter", + "construct:class", + "construct:constructor", + "construct:finally", + "construct:invocation", + "construct:method", + "construct:string", + "construct:throw", + "construct:try", + "construct:user-defined-exception", + "construct:using-directive", + "construct:visibility-modifiers", + "paradigm:object-oriented", + "technique:exceptions", + "technique:inheritance" + ] +} diff --git a/tests/tags/constructs/flow-control/expected_analysis.json b/tests/tags/constructs/flow-control/expected_analysis.json index 4d107743..e9caf438 100644 --- a/tests/tags/constructs/flow-control/expected_analysis.json +++ b/tests/tags/constructs/flow-control/expected_analysis.json @@ -5,24 +5,5 @@ "type": "essential", "params": {} } - ], - "tags": [ - "construct:break", - "construct:class", - "construct:continue", - "construct:file-scoped-namespace", - "construct:for-loop", - "construct:if", - "construct:int", - "construct:integral-number", - "construct:method", - "construct:namespace", - "construct:number", - "construct:return", - "construct:ternary", - "construct:variable", - "construct:visibility-modifiers", - "paradigm:object-oriented", - "technique:looping" ] } diff --git a/tests/tags/constructs/flow-control/expected_tags.json b/tests/tags/constructs/flow-control/expected_tags.json new file mode 100644 index 00000000..c641395d --- /dev/null +++ b/tests/tags/constructs/flow-control/expected_tags.json @@ -0,0 +1,21 @@ +{ + "tags": [ + "construct:break", + "construct:class", + "construct:continue", + "construct:file-scoped-namespace", + "construct:for-loop", + "construct:if", + "construct:int", + "construct:integral-number", + "construct:method", + "construct:namespace", + "construct:number", + "construct:return", + "construct:ternary", + "construct:variable", + "construct:visibility-modifiers", + "paradigm:object-oriented", + "technique:looping" + ] +} diff --git a/tests/tags/constructs/functional/expected_analysis.json b/tests/tags/constructs/functional/expected_analysis.json index bbe00302..d57e6f7d 100644 --- a/tests/tags/constructs/functional/expected_analysis.json +++ b/tests/tags/constructs/functional/expected_analysis.json @@ -7,28 +7,5 @@ "name": "FunctionParameter" } } - ], - "tags": [ - "construct:add", - "construct:class", - "construct:expression-bodied-member", - "construct:implicit-conversion", - "construct:initializer", - "construct:int", - "construct:integral-number", - "construct:invocation", - "construct:lambda", - "construct:linq", - "construct:local-function", - "construct:method", - "construct:number", - "construct:parameter", - "construct:return", - "construct:using-directive", - "construct:variable", - "construct:visibility-modifiers", - "paradigm:functional", - "paradigm:object-oriented", - "technique:higher-order-functions" ] } diff --git a/tests/tags/constructs/functional/expected_tags.json b/tests/tags/constructs/functional/expected_tags.json new file mode 100644 index 00000000..50e07d95 --- /dev/null +++ b/tests/tags/constructs/functional/expected_tags.json @@ -0,0 +1,25 @@ +{ + "tags": [ + "construct:add", + "construct:class", + "construct:expression-bodied-member", + "construct:implicit-conversion", + "construct:initializer", + "construct:int", + "construct:integral-number", + "construct:invocation", + "construct:lambda", + "construct:linq", + "construct:local-function", + "construct:method", + "construct:number", + "construct:parameter", + "construct:return", + "construct:using-directive", + "construct:variable", + "construct:visibility-modifiers", + "paradigm:functional", + "paradigm:object-oriented", + "technique:higher-order-functions" + ] +} diff --git a/tests/tags/constructs/methods/expected_analysis.json b/tests/tags/constructs/methods/expected_analysis.json index e22efe92..8bd6463e 100644 --- a/tests/tags/constructs/methods/expected_analysis.json +++ b/tests/tags/constructs/methods/expected_analysis.json @@ -7,24 +7,5 @@ "name": "Parameters" } } - ], - "tags": [ - "construct:add", - "construct:class", - "construct:file-scoped-namespace", - "construct:int", - "construct:integral-number", - "construct:invocation", - "construct:local-function", - "construct:method", - "construct:named-argument", - "construct:namespace", - "construct:number", - "construct:optional-parameter", - "construct:parameter", - "construct:return", - "construct:varargs", - "construct:visibility-modifiers", - "paradigm:object-oriented" ] } diff --git a/tests/tags/constructs/methods/expected_tags.json b/tests/tags/constructs/methods/expected_tags.json new file mode 100644 index 00000000..77d67afc --- /dev/null +++ b/tests/tags/constructs/methods/expected_tags.json @@ -0,0 +1,21 @@ +{ + "tags": [ + "construct:add", + "construct:class", + "construct:file-scoped-namespace", + "construct:int", + "construct:integral-number", + "construct:invocation", + "construct:local-function", + "construct:method", + "construct:named-argument", + "construct:namespace", + "construct:number", + "construct:optional-parameter", + "construct:parameter", + "construct:return", + "construct:varargs", + "construct:visibility-modifiers", + "paradigm:object-oriented" + ] +} diff --git a/tests/tags/constructs/resources/expected_analysis.json b/tests/tags/constructs/resources/expected_analysis.json index bae7f69b..a0d0268f 100644 --- a/tests/tags/constructs/resources/expected_analysis.json +++ b/tests/tags/constructs/resources/expected_analysis.json @@ -1,18 +1,3 @@ { - "comments": [], - "tags": [ - "construct:class", - "construct:file-scoped-namespace", - "construct:invocation", - "construct:method", - "construct:namespace", - "construct:string", - "construct:using-directive", - "construct:using-statement", - "construct:variable", - "construct:visibility-modifiers", - "paradigm:object-oriented", - "technique:inheritance", - "uses:IDisposable" - ] + "comments": [] } diff --git a/tests/tags/constructs/resources/expected_tags.json b/tests/tags/constructs/resources/expected_tags.json new file mode 100644 index 00000000..87611b25 --- /dev/null +++ b/tests/tags/constructs/resources/expected_tags.json @@ -0,0 +1,17 @@ +{ + "tags": [ + "construct:class", + "construct:file-scoped-namespace", + "construct:invocation", + "construct:method", + "construct:namespace", + "construct:string", + "construct:using-directive", + "construct:using-statement", + "construct:variable", + "construct:visibility-modifiers", + "paradigm:object-oriented", + "technique:inheritance", + "uses:IDisposable" + ] +} diff --git a/tests/tags/paradigms/reflective/expected_analysis.json b/tests/tags/paradigms/reflective/expected_analysis.json index 5d0ce7d3..a0d0268f 100644 --- a/tests/tags/paradigms/reflective/expected_analysis.json +++ b/tests/tags/paradigms/reflective/expected_analysis.json @@ -1,16 +1,3 @@ { - "comments": [], - "tags": [ - "construct:class", - "construct:int", - "construct:integral-number", - "construct:invocation", - "construct:method", - "construct:number", - "construct:using-directive", - "construct:variable", - "construct:visibility-modifiers", - "paradigm:object-oriented", - "paradigm:reflective" - ] + "comments": [] } diff --git a/tests/tags/paradigms/reflective/expected_tags.json b/tests/tags/paradigms/reflective/expected_tags.json new file mode 100644 index 00000000..650711f2 --- /dev/null +++ b/tests/tags/paradigms/reflective/expected_tags.json @@ -0,0 +1,15 @@ +{ + "tags": [ + "construct:class", + "construct:int", + "construct:integral-number", + "construct:invocation", + "construct:method", + "construct:number", + "construct:using-directive", + "construct:variable", + "construct:visibility-modifiers", + "paradigm:object-oriented", + "paradigm:reflective" + ] +} diff --git a/tests/tags/techniques/recursion/expected_analysis.json b/tests/tags/techniques/recursion/expected_analysis.json index af92bfbb..465ee35b 100644 --- a/tests/tags/techniques/recursion/expected_analysis.json +++ b/tests/tags/techniques/recursion/expected_analysis.json @@ -7,26 +7,5 @@ "name": "NonRecursiveMethod" } } - ], - "tags": [ - "construct:add", - "construct:class", - "construct:if", - "construct:int", - "construct:integral-number", - "construct:invocation", - "construct:lambda", - "construct:local-function", - "construct:method", - "construct:multiply", - "construct:number", - "construct:parameter", - "construct:return", - "construct:subtract", - "construct:visibility-modifiers", - "paradigm:functional", - "paradigm:object-oriented", - "technique:higher-order-functions", - "technique:recursion" ] } diff --git a/tests/tags/techniques/recursion/expected_tags.json b/tests/tags/techniques/recursion/expected_tags.json new file mode 100644 index 00000000..d0e13536 --- /dev/null +++ b/tests/tags/techniques/recursion/expected_tags.json @@ -0,0 +1,23 @@ +{ + "tags": [ + "construct:add", + "construct:class", + "construct:if", + "construct:int", + "construct:integral-number", + "construct:invocation", + "construct:lambda", + "construct:local-function", + "construct:method", + "construct:multiply", + "construct:number", + "construct:parameter", + "construct:return", + "construct:subtract", + "construct:visibility-modifiers", + "paradigm:functional", + "paradigm:object-oriented", + "technique:higher-order-functions", + "technique:recursion" + ] +} diff --git a/tests/tags/uses/types/basic/framework-types/expected_analysis.json b/tests/tags/uses/types/basic/framework-types/expected_analysis.json index be4159e4..a0d0268f 100644 --- a/tests/tags/uses/types/basic/framework-types/expected_analysis.json +++ b/tests/tags/uses/types/basic/framework-types/expected_analysis.json @@ -1,34 +1,3 @@ { - "comments": [], - "tags": [ - "construct:byte", - "construct:class", - "construct:constructor", - "construct:date-time", - "construct:decimal", - "construct:double", - "construct:float", - "construct:floating-point-number", - "construct:implicit-conversion", - "construct:int", - "construct:integral-number", - "construct:long", - "construct:method", - "construct:nint", - "construct:nuint", - "construct:number", - "construct:sbyte", - "construct:short", - "construct:string", - "construct:tuple", - "construct:uint", - "construct:ushort", - "construct:using-directive", - "construct:variable", - "construct:visibility-modifiers", - "paradigm:object-oriented", - "uses:DateTime", - "uses:Tuple", - "uses:ValueTuple" - ] + "comments": [] } diff --git a/tests/tags/uses/types/basic/framework-types/expected_tags.json b/tests/tags/uses/types/basic/framework-types/expected_tags.json new file mode 100644 index 00000000..7c261d2a --- /dev/null +++ b/tests/tags/uses/types/basic/framework-types/expected_tags.json @@ -0,0 +1,33 @@ +{ + "tags": [ + "construct:byte", + "construct:class", + "construct:constructor", + "construct:date-time", + "construct:decimal", + "construct:double", + "construct:float", + "construct:floating-point-number", + "construct:implicit-conversion", + "construct:int", + "construct:integral-number", + "construct:long", + "construct:method", + "construct:nint", + "construct:nuint", + "construct:number", + "construct:sbyte", + "construct:short", + "construct:string", + "construct:tuple", + "construct:uint", + "construct:ushort", + "construct:using-directive", + "construct:variable", + "construct:visibility-modifiers", + "paradigm:object-oriented", + "uses:DateTime", + "uses:Tuple", + "uses:ValueTuple" + ] +} diff --git a/tests/tags/uses/types/basic/language-types/expected_analysis.json b/tests/tags/uses/types/basic/language-types/expected_analysis.json index 10947654..a0d0268f 100644 --- a/tests/tags/uses/types/basic/language-types/expected_analysis.json +++ b/tests/tags/uses/types/basic/language-types/expected_analysis.json @@ -1,28 +1,3 @@ { - "comments": [], - "tags": [ - "construct:byte", - "construct:class", - "construct:decimal", - "construct:double", - "construct:float", - "construct:floating-point-number", - "construct:implicit-conversion", - "construct:int", - "construct:integral-number", - "construct:long", - "construct:method", - "construct:nint", - "construct:nuint", - "construct:number", - "construct:sbyte", - "construct:short", - "construct:string", - "construct:uint", - "construct:ulong", - "construct:ushort", - "construct:variable", - "construct:visibility-modifiers", - "paradigm:object-oriented" - ] + "comments": [] } diff --git a/tests/tags/uses/types/basic/language-types/expected_tags.json b/tests/tags/uses/types/basic/language-types/expected_tags.json new file mode 100644 index 00000000..035e7930 --- /dev/null +++ b/tests/tags/uses/types/basic/language-types/expected_tags.json @@ -0,0 +1,27 @@ +{ + "tags": [ + "construct:byte", + "construct:class", + "construct:decimal", + "construct:double", + "construct:float", + "construct:floating-point-number", + "construct:implicit-conversion", + "construct:int", + "construct:integral-number", + "construct:long", + "construct:method", + "construct:nint", + "construct:nuint", + "construct:number", + "construct:sbyte", + "construct:short", + "construct:string", + "construct:uint", + "construct:ulong", + "construct:ushort", + "construct:variable", + "construct:visibility-modifiers", + "paradigm:object-oriented" + ] +} diff --git a/tests/tags/uses/types/basic/literals/expected_analysis.json b/tests/tags/uses/types/basic/literals/expected_analysis.json index 47305a70..a0d0268f 100644 --- a/tests/tags/uses/types/basic/literals/expected_analysis.json +++ b/tests/tags/uses/types/basic/literals/expected_analysis.json @@ -1,21 +1,3 @@ { - "comments": [], - "tags": [ - "construct:class", - "construct:decimal", - "construct:double", - "construct:float", - "construct:floating-point-number", - "construct:int", - "construct:integral-number", - "construct:long", - "construct:method", - "construct:number", - "construct:string", - "construct:uint", - "construct:ulong", - "construct:variable", - "construct:visibility-modifiers", - "paradigm:object-oriented" - ] + "comments": [] } diff --git a/tests/tags/uses/types/basic/literals/expected_tags.json b/tests/tags/uses/types/basic/literals/expected_tags.json new file mode 100644 index 00000000..2717c453 --- /dev/null +++ b/tests/tags/uses/types/basic/literals/expected_tags.json @@ -0,0 +1,20 @@ +{ + "tags": [ + "construct:class", + "construct:decimal", + "construct:double", + "construct:float", + "construct:floating-point-number", + "construct:int", + "construct:integral-number", + "construct:long", + "construct:method", + "construct:number", + "construct:string", + "construct:uint", + "construct:ulong", + "construct:variable", + "construct:visibility-modifiers", + "paradigm:object-oriented" + ] +} diff --git a/tests/tags/uses/types/collections/framework-types/expected_analysis.json b/tests/tags/uses/types/collections/framework-types/expected_analysis.json index 9c870c61..a0d0268f 100644 --- a/tests/tags/uses/types/collections/framework-types/expected_analysis.json +++ b/tests/tags/uses/types/collections/framework-types/expected_analysis.json @@ -1,37 +1,3 @@ { - "comments": [], - "tags": [ - "construct:class", - "construct:constructor", - "construct:dictionary", - "construct:initializer", - "construct:int", - "construct:integral-number", - "construct:linked-list", - "construct:list", - "construct:method", - "construct:number", - "construct:queue", - "construct:set", - "construct:stack", - "construct:using-directive", - "construct:variable", - "construct:visibility-modifiers", - "paradigm:object-oriented", - "technique:immutability", - "technique:memory-management", - "technique:performance", - "technique:sorted-collection", - "technique:sorting", - "uses:Dictionary", - "uses:HashSet", - "uses:LinkedList", - "uses:List", - "uses:Memory", - "uses:Queue", - "uses:SortedDictionary", - "uses:SortedSet", - "uses:Span", - "uses:Stack" - ] + "comments": [] } diff --git a/tests/tags/uses/types/collections/framework-types/expected_tags.json b/tests/tags/uses/types/collections/framework-types/expected_tags.json new file mode 100644 index 00000000..f76e943d --- /dev/null +++ b/tests/tags/uses/types/collections/framework-types/expected_tags.json @@ -0,0 +1,36 @@ +{ + "tags": [ + "construct:class", + "construct:constructor", + "construct:dictionary", + "construct:initializer", + "construct:int", + "construct:integral-number", + "construct:linked-list", + "construct:list", + "construct:method", + "construct:number", + "construct:queue", + "construct:set", + "construct:stack", + "construct:using-directive", + "construct:variable", + "construct:visibility-modifiers", + "paradigm:object-oriented", + "technique:immutability", + "technique:memory-management", + "technique:performance", + "technique:sorted-collection", + "technique:sorting", + "uses:Dictionary", + "uses:HashSet", + "uses:LinkedList", + "uses:List", + "uses:Memory", + "uses:Queue", + "uses:SortedDictionary", + "uses:SortedSet", + "uses:Span", + "uses:Stack" + ] +} diff --git a/tests/two-bucket/approaches/graph-shortest-path/expected_analysis.json b/tests/two-bucket/approaches/graph-shortest-path/expected_analysis.json index 5bb9a9ed..a0d0268f 100644 --- a/tests/two-bucket/approaches/graph-shortest-path/expected_analysis.json +++ b/tests/two-bucket/approaches/graph-shortest-path/expected_analysis.json @@ -1,51 +1,3 @@ { - "comments": [], - "tags": [ - "construct:add", - "construct:assignment", - "construct:boolean", - "construct:class", - "construct:constructor", - "construct:continue", - "construct:dictionary", - "construct:enum", - "construct:field", - "construct:foreach", - "construct:if", - "construct:implicit-conversion", - "construct:indexer", - "construct:initializer", - "construct:int", - "construct:integral-number", - "construct:invocation", - "construct:lambda", - "construct:logical-and", - "construct:method", - "construct:named-argument", - "construct:number", - "construct:object-initializer", - "construct:parameter", - "construct:read-only", - "construct:record", - "construct:return", - "construct:string", - "construct:subtract", - "construct:ternary", - "construct:throw", - "construct:using-directive", - "construct:variable", - "construct:visibility-modifiers", - "construct:while-loop", - "construct:yield", - "paradigm:functional", - "paradigm:imperative", - "paradigm:object-oriented", - "technique:boolean-logic", - "technique:enumeration", - "technique:exceptions", - "technique:higher-order-functions", - "technique:laziness", - "technique:looping", - "uses:Dictionary" - ] + "comments": [] } diff --git a/tests/two-bucket/approaches/graph-shortest-path/expected_tags.json b/tests/two-bucket/approaches/graph-shortest-path/expected_tags.json new file mode 100644 index 00000000..d39c9902 --- /dev/null +++ b/tests/two-bucket/approaches/graph-shortest-path/expected_tags.json @@ -0,0 +1,50 @@ +{ + "tags": [ + "construct:add", + "construct:assignment", + "construct:boolean", + "construct:class", + "construct:constructor", + "construct:continue", + "construct:dictionary", + "construct:enum", + "construct:field", + "construct:foreach", + "construct:if", + "construct:implicit-conversion", + "construct:indexer", + "construct:initializer", + "construct:int", + "construct:integral-number", + "construct:invocation", + "construct:lambda", + "construct:logical-and", + "construct:method", + "construct:named-argument", + "construct:number", + "construct:object-initializer", + "construct:parameter", + "construct:read-only", + "construct:record", + "construct:return", + "construct:string", + "construct:subtract", + "construct:ternary", + "construct:throw", + "construct:using-directive", + "construct:variable", + "construct:visibility-modifiers", + "construct:while-loop", + "construct:yield", + "paradigm:functional", + "paradigm:imperative", + "paradigm:object-oriented", + "technique:boolean-logic", + "technique:enumeration", + "technique:exceptions", + "technique:higher-order-functions", + "technique:laziness", + "technique:looping", + "uses:Dictionary" + ] +} diff --git a/tests/two-fer/approaches/method-overloading/expected_analysis.json b/tests/two-fer/approaches/method-overloading/expected_analysis.json index 812a26d7..aec264b6 100644 --- a/tests/two-fer/approaches/method-overloading/expected_analysis.json +++ b/tests/two-fer/approaches/method-overloading/expected_analysis.json @@ -19,17 +19,5 @@ "name": "Speak" } } - ], - "tags": [ - "construct-string-interpolation", - "construct:class", - "construct:invocation", - "construct:method", - "construct:method-overloading", - "construct:parameter", - "construct:return", - "construct:string", - "construct:visibility-modifiers", - "paradigm:object-oriented" ] } diff --git a/tests/two-fer/approaches/method-overloading/expected_tags.json b/tests/two-fer/approaches/method-overloading/expected_tags.json new file mode 100644 index 00000000..a18a3d43 --- /dev/null +++ b/tests/two-fer/approaches/method-overloading/expected_tags.json @@ -0,0 +1,14 @@ +{ + "tags": [ + "construct-string-interpolation", + "construct:class", + "construct:invocation", + "construct:method", + "construct:method-overloading", + "construct:parameter", + "construct:return", + "construct:string", + "construct:visibility-modifiers", + "paradigm:object-oriented" + ] +} diff --git a/tests/two-fer/approaches/optional-parameter/expected_analysis.json b/tests/two-fer/approaches/optional-parameter/expected_analysis.json index 9aeae65b..8bd89bb1 100644 --- a/tests/two-fer/approaches/optional-parameter/expected_analysis.json +++ b/tests/two-fer/approaches/optional-parameter/expected_analysis.json @@ -7,16 +7,5 @@ "name": "Speak" } } - ], - "tags": [ - "construct-string-interpolation", - "construct:class", - "construct:method", - "construct:optional-parameter", - "construct:parameter", - "construct:return", - "construct:string", - "construct:visibility-modifiers", - "paradigm:object-oriented" ] } diff --git a/tests/two-fer/approaches/optional-parameter/expected_tags.json b/tests/two-fer/approaches/optional-parameter/expected_tags.json new file mode 100644 index 00000000..fb89abbc --- /dev/null +++ b/tests/two-fer/approaches/optional-parameter/expected_tags.json @@ -0,0 +1,13 @@ +{ + "tags": [ + "construct-string-interpolation", + "construct:class", + "construct:method", + "construct:optional-parameter", + "construct:parameter", + "construct:return", + "construct:string", + "construct:visibility-modifiers", + "paradigm:object-oriented" + ] +} diff --git a/tests/two-fer/concatenation/expected_analysis.json b/tests/two-fer/concatenation/expected_analysis.json index 021ff382..d01d4a3a 100644 --- a/tests/two-fer/concatenation/expected_analysis.json +++ b/tests/two-fer/concatenation/expected_analysis.json @@ -12,17 +12,5 @@ "type": "informative", "params": {} } - ], - "tags": [ - "construct:add", - "construct:class", - "construct:method", - "construct:optional-parameter", - "construct:parameter", - "construct:return", - "construct:string", - "construct:using-directive", - "construct:visibility-modifiers", - "paradigm:object-oriented" ] } diff --git a/tests/two-fer/concatenation/expected_tags.json b/tests/two-fer/concatenation/expected_tags.json new file mode 100644 index 00000000..f63cd51d --- /dev/null +++ b/tests/two-fer/concatenation/expected_tags.json @@ -0,0 +1,14 @@ +{ + "tags": [ + "construct:add", + "construct:class", + "construct:method", + "construct:optional-parameter", + "construct:parameter", + "construct:return", + "construct:string", + "construct:using-directive", + "construct:visibility-modifiers", + "paradigm:object-oriented" + ] +} diff --git a/tests/two-fer/if/expected_analysis.json b/tests/two-fer/if/expected_analysis.json index eecb940b..e659eb54 100644 --- a/tests/two-fer/if/expected_analysis.json +++ b/tests/two-fer/if/expected_analysis.json @@ -13,20 +13,5 @@ "type": "informative", "params": {} } - ], - "tags": [ - "construct:add", - "construct:class", - "construct:if", - "construct:method", - "construct:null", - "construct:nullability", - "construct:optional-parameter", - "construct:parameter", - "construct:return", - "construct:string", - "construct:using-directive", - "construct:visibility-modifiers", - "paradigm:object-oriented" ] } diff --git a/tests/two-fer/if/expected_tags.json b/tests/two-fer/if/expected_tags.json new file mode 100644 index 00000000..6fbe2319 --- /dev/null +++ b/tests/two-fer/if/expected_tags.json @@ -0,0 +1,17 @@ +{ + "tags": [ + "construct:add", + "construct:class", + "construct:if", + "construct:method", + "construct:null", + "construct:nullability", + "construct:optional-parameter", + "construct:parameter", + "construct:return", + "construct:string", + "construct:using-directive", + "construct:visibility-modifiers", + "paradigm:object-oriented" + ] +} diff --git a/tests/two-fer/interpolation/expected_analysis.json b/tests/two-fer/interpolation/expected_analysis.json index a939270a..8bd89bb1 100644 --- a/tests/two-fer/interpolation/expected_analysis.json +++ b/tests/two-fer/interpolation/expected_analysis.json @@ -7,17 +7,5 @@ "name": "Speak" } } - ], - "tags": [ - "construct-string-interpolation", - "construct:class", - "construct:method", - "construct:optional-parameter", - "construct:parameter", - "construct:return", - "construct:string", - "construct:using-directive", - "construct:visibility-modifiers", - "paradigm:object-oriented" ] } diff --git a/tests/two-fer/interpolation/expected_tags.json b/tests/two-fer/interpolation/expected_tags.json new file mode 100644 index 00000000..1f1e10d8 --- /dev/null +++ b/tests/two-fer/interpolation/expected_tags.json @@ -0,0 +1,14 @@ +{ + "tags": [ + "construct-string-interpolation", + "construct:class", + "construct:method", + "construct:optional-parameter", + "construct:parameter", + "construct:return", + "construct:string", + "construct:using-directive", + "construct:visibility-modifiers", + "paradigm:object-oriented" + ] +} diff --git a/tests/two-fer/invalid-default-value/expected_analysis.json b/tests/two-fer/invalid-default-value/expected_analysis.json index 002416c9..1a185df4 100644 --- a/tests/two-fer/invalid-default-value/expected_analysis.json +++ b/tests/two-fer/invalid-default-value/expected_analysis.json @@ -8,17 +8,5 @@ "value": "\"hi\"" } } - ], - "tags": [ - "construct-string-interpolation", - "construct:class", - "construct:expression-bodied-member", - "construct:method", - "construct:optional-parameter", - "construct:parameter", - "construct:string", - "construct:using-directive", - "construct:visibility-modifiers", - "paradigm:object-oriented" ] } diff --git a/tests/two-fer/invalid-default-value/expected_tags.json b/tests/two-fer/invalid-default-value/expected_tags.json new file mode 100644 index 00000000..9eb9cf48 --- /dev/null +++ b/tests/two-fer/invalid-default-value/expected_tags.json @@ -0,0 +1,14 @@ +{ + "tags": [ + "construct-string-interpolation", + "construct:class", + "construct:expression-bodied-member", + "construct:method", + "construct:optional-parameter", + "construct:parameter", + "construct:string", + "construct:using-directive", + "construct:visibility-modifiers", + "paradigm:object-oriented" + ] +} diff --git a/tests/two-fer/is-null-or-empty/expected_analysis.json b/tests/two-fer/is-null-or-empty/expected_analysis.json index 71ceb03c..1f5649ee 100644 --- a/tests/two-fer/is-null-or-empty/expected_analysis.json +++ b/tests/two-fer/is-null-or-empty/expected_analysis.json @@ -20,21 +20,5 @@ "name": "Speak" } } - ], - "tags": [ - "construct-string-interpolation", - "construct:class", - "construct:invocation", - "construct:method", - "construct:null", - "construct:nullability", - "construct:optional-parameter", - "construct:parameter", - "construct:return", - "construct:string", - "construct:ternary", - "construct:using-directive", - "construct:visibility-modifiers", - "paradigm:object-oriented" ] } diff --git a/tests/two-fer/is-null-or-empty/expected_tags.json b/tests/two-fer/is-null-or-empty/expected_tags.json new file mode 100644 index 00000000..8e297fe1 --- /dev/null +++ b/tests/two-fer/is-null-or-empty/expected_tags.json @@ -0,0 +1,18 @@ +{ + "tags": [ + "construct-string-interpolation", + "construct:class", + "construct:invocation", + "construct:method", + "construct:null", + "construct:nullability", + "construct:optional-parameter", + "construct:parameter", + "construct:return", + "construct:string", + "construct:ternary", + "construct:using-directive", + "construct:visibility-modifiers", + "paradigm:object-oriented" + ] +} diff --git a/tests/two-fer/is-null-or-white-space/expected_analysis.json b/tests/two-fer/is-null-or-white-space/expected_analysis.json index 10865a1d..222b494e 100644 --- a/tests/two-fer/is-null-or-white-space/expected_analysis.json +++ b/tests/two-fer/is-null-or-white-space/expected_analysis.json @@ -20,21 +20,5 @@ "name": "Speak" } } - ], - "tags": [ - "construct-string-interpolation", - "construct:class", - "construct:invocation", - "construct:method", - "construct:null", - "construct:nullability", - "construct:optional-parameter", - "construct:parameter", - "construct:return", - "construct:string", - "construct:ternary", - "construct:using-directive", - "construct:visibility-modifiers", - "paradigm:object-oriented" ] } diff --git a/tests/two-fer/is-null-or-white-space/expected_tags.json b/tests/two-fer/is-null-or-white-space/expected_tags.json new file mode 100644 index 00000000..8e297fe1 --- /dev/null +++ b/tests/two-fer/is-null-or-white-space/expected_tags.json @@ -0,0 +1,18 @@ +{ + "tags": [ + "construct-string-interpolation", + "construct:class", + "construct:invocation", + "construct:method", + "construct:null", + "construct:nullability", + "construct:optional-parameter", + "construct:parameter", + "construct:return", + "construct:string", + "construct:ternary", + "construct:using-directive", + "construct:visibility-modifiers", + "paradigm:object-oriented" + ] +} diff --git a/tests/two-fer/null-coalescing/expected_analysis.json b/tests/two-fer/null-coalescing/expected_analysis.json index e3b4d4b8..0c2d541e 100644 --- a/tests/two-fer/null-coalescing/expected_analysis.json +++ b/tests/two-fer/null-coalescing/expected_analysis.json @@ -15,19 +15,5 @@ "name": "Speak" } } - ], - "tags": [ - "construct-string-interpolation", - "construct:class", - "construct:method", - "construct:null", - "construct:nullability", - "construct:optional-parameter", - "construct:parameter", - "construct:return", - "construct:string", - "construct:using-directive", - "construct:visibility-modifiers", - "paradigm:object-oriented" ] } diff --git a/tests/two-fer/null-coalescing/expected_tags.json b/tests/two-fer/null-coalescing/expected_tags.json new file mode 100644 index 00000000..26d3008c --- /dev/null +++ b/tests/two-fer/null-coalescing/expected_tags.json @@ -0,0 +1,16 @@ +{ + "tags": [ + "construct-string-interpolation", + "construct:class", + "construct:method", + "construct:null", + "construct:nullability", + "construct:optional-parameter", + "construct:parameter", + "construct:return", + "construct:string", + "construct:using-directive", + "construct:visibility-modifiers", + "paradigm:object-oriented" + ] +} diff --git a/tests/two-fer/string.concat/expected_analysis.json b/tests/two-fer/string.concat/expected_analysis.json index d0dd0ce3..54507879 100644 --- a/tests/two-fer/string.concat/expected_analysis.json +++ b/tests/two-fer/string.concat/expected_analysis.json @@ -12,17 +12,5 @@ "name": "Speak" } } - ], - "tags": [ - "construct:class", - "construct:invocation", - "construct:method", - "construct:optional-parameter", - "construct:parameter", - "construct:return", - "construct:string", - "construct:using-directive", - "construct:visibility-modifiers", - "paradigm:object-oriented" ] } diff --git a/tests/two-fer/string.concat/expected_tags.json b/tests/two-fer/string.concat/expected_tags.json new file mode 100644 index 00000000..50831606 --- /dev/null +++ b/tests/two-fer/string.concat/expected_tags.json @@ -0,0 +1,14 @@ +{ + "tags": [ + "construct:class", + "construct:invocation", + "construct:method", + "construct:optional-parameter", + "construct:parameter", + "construct:return", + "construct:string", + "construct:using-directive", + "construct:visibility-modifiers", + "paradigm:object-oriented" + ] +} diff --git a/tests/two-fer/string.format/expected_analysis.json b/tests/two-fer/string.format/expected_analysis.json index 060780ab..2e512266 100644 --- a/tests/two-fer/string.format/expected_analysis.json +++ b/tests/two-fer/string.format/expected_analysis.json @@ -12,17 +12,5 @@ "name": "Speak" } } - ], - "tags": [ - "construct:class", - "construct:invocation", - "construct:method", - "construct:optional-parameter", - "construct:parameter", - "construct:return", - "construct:string", - "construct:using-directive", - "construct:visibility-modifiers", - "paradigm:object-oriented" ] } diff --git a/tests/two-fer/string.format/expected_tags.json b/tests/two-fer/string.format/expected_tags.json new file mode 100644 index 00000000..50831606 --- /dev/null +++ b/tests/two-fer/string.format/expected_tags.json @@ -0,0 +1,14 @@ +{ + "tags": [ + "construct:class", + "construct:invocation", + "construct:method", + "construct:optional-parameter", + "construct:parameter", + "construct:return", + "construct:string", + "construct:using-directive", + "construct:visibility-modifiers", + "paradigm:object-oriented" + ] +} diff --git a/tests/two-fer/string.join/expected_analysis.json b/tests/two-fer/string.join/expected_analysis.json index 1e853184..e284077b 100644 --- a/tests/two-fer/string.join/expected_analysis.json +++ b/tests/two-fer/string.join/expected_analysis.json @@ -13,22 +13,5 @@ "type": "actionable", "params": {} } - ], - "tags": [ - "construct:class", - "construct:initializer", - "construct:invocation", - "construct:method", - "construct:null", - "construct:nullability", - "construct:optional-parameter", - "construct:parameter", - "construct:return", - "construct:string", - "construct:ternary", - "construct:using-directive", - "construct:variable", - "construct:visibility-modifiers", - "paradigm:object-oriented" ] } diff --git a/tests/two-fer/string.join/expected_tags.json b/tests/two-fer/string.join/expected_tags.json new file mode 100644 index 00000000..f412d4a2 --- /dev/null +++ b/tests/two-fer/string.join/expected_tags.json @@ -0,0 +1,19 @@ +{ + "tags": [ + "construct:class", + "construct:initializer", + "construct:invocation", + "construct:method", + "construct:null", + "construct:nullability", + "construct:optional-parameter", + "construct:parameter", + "construct:return", + "construct:string", + "construct:ternary", + "construct:using-directive", + "construct:variable", + "construct:visibility-modifiers", + "paradigm:object-oriented" + ] +} diff --git a/tests/weighing-machine/backing-field-should-be-private/expected_analysis.json b/tests/weighing-machine/backing-field-should-be-private/expected_analysis.json index 585cea86..b7785425 100644 --- a/tests/weighing-machine/backing-field-should-be-private/expected_analysis.json +++ b/tests/weighing-machine/backing-field-should-be-private/expected_analysis.json @@ -12,40 +12,5 @@ "type": "informative", "params": {} } - ], - "tags": [ - "construct-string-interpolation", - "construct:add", - "construct:assignment", - "construct:auto-implemented-property", - "construct:class", - "construct:constructor", - "construct:double", - "construct:field", - "construct:floating-point-number", - "construct:getter", - "construct:if", - "construct:implicit-conversion", - "construct:int", - "construct:integral-number", - "construct:invocation", - "construct:lambda", - "construct:method", - "construct:number", - "construct:parameter", - "construct:property", - "construct:return", - "construct:setter", - "construct:string", - "construct:subtract", - "construct:throw", - "construct:using-directive", - "construct:variable", - "construct:visibility-modifiers", - "paradigm:functional", - "paradigm:imperative", - "paradigm:object-oriented", - "technique:exceptions", - "technique:higher-order-functions" ] } diff --git a/tests/weighing-machine/backing-field-should-be-private/expected_tags.json b/tests/weighing-machine/backing-field-should-be-private/expected_tags.json new file mode 100644 index 00000000..f75caf04 --- /dev/null +++ b/tests/weighing-machine/backing-field-should-be-private/expected_tags.json @@ -0,0 +1,37 @@ +{ + "tags": [ + "construct-string-interpolation", + "construct:add", + "construct:assignment", + "construct:auto-implemented-property", + "construct:class", + "construct:constructor", + "construct:double", + "construct:field", + "construct:floating-point-number", + "construct:getter", + "construct:if", + "construct:implicit-conversion", + "construct:int", + "construct:integral-number", + "construct:invocation", + "construct:lambda", + "construct:method", + "construct:number", + "construct:parameter", + "construct:property", + "construct:return", + "construct:setter", + "construct:string", + "construct:subtract", + "construct:throw", + "construct:using-directive", + "construct:variable", + "construct:visibility-modifiers", + "paradigm:functional", + "paradigm:imperative", + "paradigm:object-oriented", + "technique:exceptions", + "technique:higher-order-functions" + ] +} diff --git a/tests/weighing-machine/exemplar/expected_analysis.json b/tests/weighing-machine/exemplar/expected_analysis.json index 018429fc..a0d0268f 100644 --- a/tests/weighing-machine/exemplar/expected_analysis.json +++ b/tests/weighing-machine/exemplar/expected_analysis.json @@ -1,37 +1,3 @@ { - "comments": [], - "tags": [ - "construct-string-interpolation", - "construct:assignment", - "construct:auto-implemented-property", - "construct:class", - "construct:constructor", - "construct:double", - "construct:field", - "construct:floating-point-number", - "construct:getter", - "construct:if", - "construct:implicit-conversion", - "construct:int", - "construct:integral-number", - "construct:invocation", - "construct:lambda", - "construct:method", - "construct:number", - "construct:parameter", - "construct:property", - "construct:return", - "construct:setter", - "construct:string", - "construct:subtract", - "construct:throw", - "construct:using-directive", - "construct:variable", - "construct:visibility-modifiers", - "paradigm:functional", - "paradigm:imperative", - "paradigm:object-oriented", - "technique:exceptions", - "technique:higher-order-functions" - ] + "comments": [] } diff --git a/tests/weighing-machine/exemplar/expected_tags.json b/tests/weighing-machine/exemplar/expected_tags.json new file mode 100644 index 00000000..89c400b6 --- /dev/null +++ b/tests/weighing-machine/exemplar/expected_tags.json @@ -0,0 +1,36 @@ +{ + "tags": [ + "construct-string-interpolation", + "construct:assignment", + "construct:auto-implemented-property", + "construct:class", + "construct:constructor", + "construct:double", + "construct:field", + "construct:floating-point-number", + "construct:getter", + "construct:if", + "construct:implicit-conversion", + "construct:int", + "construct:integral-number", + "construct:invocation", + "construct:lambda", + "construct:method", + "construct:number", + "construct:parameter", + "construct:property", + "construct:return", + "construct:setter", + "construct:string", + "construct:subtract", + "construct:throw", + "construct:using-directive", + "construct:variable", + "construct:visibility-modifiers", + "paradigm:functional", + "paradigm:imperative", + "paradigm:object-oriented", + "technique:exceptions", + "technique:higher-order-functions" + ] +} diff --git a/tests/weighing-machine/is-not-auto-property/property-precision/expected_analysis.json b/tests/weighing-machine/is-not-auto-property/property-precision/expected_analysis.json index 7d9f6fb2..5fd433e4 100644 --- a/tests/weighing-machine/is-not-auto-property/property-precision/expected_analysis.json +++ b/tests/weighing-machine/is-not-auto-property/property-precision/expected_analysis.json @@ -12,40 +12,5 @@ "type": "informative", "params": {} } - ], - "tags": [ - "construct-string-interpolation", - "construct:add", - "construct:assignment", - "construct:auto-implemented-property", - "construct:class", - "construct:constructor", - "construct:double", - "construct:field", - "construct:floating-point-number", - "construct:getter", - "construct:if", - "construct:implicit-conversion", - "construct:int", - "construct:integral-number", - "construct:invocation", - "construct:lambda", - "construct:method", - "construct:number", - "construct:parameter", - "construct:property", - "construct:return", - "construct:setter", - "construct:string", - "construct:subtract", - "construct:throw", - "construct:using-directive", - "construct:variable", - "construct:visibility-modifiers", - "paradigm:functional", - "paradigm:imperative", - "paradigm:object-oriented", - "technique:exceptions", - "technique:higher-order-functions" ] } diff --git a/tests/weighing-machine/is-not-auto-property/property-precision/expected_tags.json b/tests/weighing-machine/is-not-auto-property/property-precision/expected_tags.json new file mode 100644 index 00000000..f75caf04 --- /dev/null +++ b/tests/weighing-machine/is-not-auto-property/property-precision/expected_tags.json @@ -0,0 +1,37 @@ +{ + "tags": [ + "construct-string-interpolation", + "construct:add", + "construct:assignment", + "construct:auto-implemented-property", + "construct:class", + "construct:constructor", + "construct:double", + "construct:field", + "construct:floating-point-number", + "construct:getter", + "construct:if", + "construct:implicit-conversion", + "construct:int", + "construct:integral-number", + "construct:invocation", + "construct:lambda", + "construct:method", + "construct:number", + "construct:parameter", + "construct:property", + "construct:return", + "construct:setter", + "construct:string", + "construct:subtract", + "construct:throw", + "construct:using-directive", + "construct:variable", + "construct:visibility-modifiers", + "paradigm:functional", + "paradigm:imperative", + "paradigm:object-oriented", + "technique:exceptions", + "technique:higher-order-functions" + ] +} diff --git a/tests/weighing-machine/is-not-auto-property/property-tare-adjustment/expected_analysis.json b/tests/weighing-machine/is-not-auto-property/property-tare-adjustment/expected_analysis.json index df677e2c..1cf1c19d 100644 --- a/tests/weighing-machine/is-not-auto-property/property-tare-adjustment/expected_analysis.json +++ b/tests/weighing-machine/is-not-auto-property/property-tare-adjustment/expected_analysis.json @@ -12,40 +12,5 @@ "type": "informative", "params": {} } - ], - "tags": [ - "construct-string-interpolation", - "construct:add", - "construct:assignment", - "construct:auto-implemented-property", - "construct:class", - "construct:constructor", - "construct:double", - "construct:field", - "construct:floating-point-number", - "construct:getter", - "construct:if", - "construct:implicit-conversion", - "construct:int", - "construct:integral-number", - "construct:invocation", - "construct:lambda", - "construct:method", - "construct:number", - "construct:parameter", - "construct:property", - "construct:return", - "construct:setter", - "construct:string", - "construct:subtract", - "construct:throw", - "construct:using-directive", - "construct:variable", - "construct:visibility-modifiers", - "paradigm:functional", - "paradigm:imperative", - "paradigm:object-oriented", - "technique:exceptions", - "technique:higher-order-functions" ] } diff --git a/tests/weighing-machine/is-not-auto-property/property-tare-adjustment/expected_tags.json b/tests/weighing-machine/is-not-auto-property/property-tare-adjustment/expected_tags.json new file mode 100644 index 00000000..f75caf04 --- /dev/null +++ b/tests/weighing-machine/is-not-auto-property/property-tare-adjustment/expected_tags.json @@ -0,0 +1,37 @@ +{ + "tags": [ + "construct-string-interpolation", + "construct:add", + "construct:assignment", + "construct:auto-implemented-property", + "construct:class", + "construct:constructor", + "construct:double", + "construct:field", + "construct:floating-point-number", + "construct:getter", + "construct:if", + "construct:implicit-conversion", + "construct:int", + "construct:integral-number", + "construct:invocation", + "construct:lambda", + "construct:method", + "construct:number", + "construct:parameter", + "construct:property", + "construct:return", + "construct:setter", + "construct:string", + "construct:subtract", + "construct:throw", + "construct:using-directive", + "construct:variable", + "construct:visibility-modifiers", + "paradigm:functional", + "paradigm:imperative", + "paradigm:object-oriented", + "technique:exceptions", + "technique:higher-order-functions" + ] +} diff --git a/tests/weighing-machine/precision-is-not-getter-only/expected_analysis.json b/tests/weighing-machine/precision-is-not-getter-only/expected_analysis.json index 9d4cb377..01950cca 100644 --- a/tests/weighing-machine/precision-is-not-getter-only/expected_analysis.json +++ b/tests/weighing-machine/precision-is-not-getter-only/expected_analysis.json @@ -12,40 +12,5 @@ "type": "informative", "params": {} } - ], - "tags": [ - "construct-string-interpolation", - "construct:add", - "construct:assignment", - "construct:auto-implemented-property", - "construct:class", - "construct:constructor", - "construct:double", - "construct:field", - "construct:floating-point-number", - "construct:getter", - "construct:if", - "construct:implicit-conversion", - "construct:int", - "construct:integral-number", - "construct:invocation", - "construct:lambda", - "construct:method", - "construct:number", - "construct:parameter", - "construct:property", - "construct:return", - "construct:setter", - "construct:string", - "construct:subtract", - "construct:throw", - "construct:using-directive", - "construct:variable", - "construct:visibility-modifiers", - "paradigm:functional", - "paradigm:imperative", - "paradigm:object-oriented", - "technique:exceptions", - "technique:higher-order-functions" ] } diff --git a/tests/weighing-machine/precision-is-not-getter-only/expected_tags.json b/tests/weighing-machine/precision-is-not-getter-only/expected_tags.json new file mode 100644 index 00000000..f75caf04 --- /dev/null +++ b/tests/weighing-machine/precision-is-not-getter-only/expected_tags.json @@ -0,0 +1,37 @@ +{ + "tags": [ + "construct-string-interpolation", + "construct:add", + "construct:assignment", + "construct:auto-implemented-property", + "construct:class", + "construct:constructor", + "construct:double", + "construct:field", + "construct:floating-point-number", + "construct:getter", + "construct:if", + "construct:implicit-conversion", + "construct:int", + "construct:integral-number", + "construct:invocation", + "construct:lambda", + "construct:method", + "construct:number", + "construct:parameter", + "construct:property", + "construct:return", + "construct:setter", + "construct:string", + "construct:subtract", + "construct:throw", + "construct:using-directive", + "construct:variable", + "construct:visibility-modifiers", + "paradigm:functional", + "paradigm:imperative", + "paradigm:object-oriented", + "technique:exceptions", + "technique:higher-order-functions" + ] +} diff --git a/tests/weighing-machine/round-method-called/expected_analysis.json b/tests/weighing-machine/round-method-called/expected_analysis.json index 8aa02c68..aad86fdf 100644 --- a/tests/weighing-machine/round-method-called/expected_analysis.json +++ b/tests/weighing-machine/round-method-called/expected_analysis.json @@ -10,37 +10,5 @@ "type": "informative", "params": {} } - ], - "tags": [ - "construct-string-interpolation", - "construct:add", - "construct:assignment", - "construct:auto-implemented-property", - "construct:class", - "construct:constructor", - "construct:double", - "construct:field", - "construct:floating-point-number", - "construct:getter", - "construct:if", - "construct:implicit-conversion", - "construct:int", - "construct:integral-number", - "construct:invocation", - "construct:method", - "construct:number", - "construct:parameter", - "construct:property", - "construct:return", - "construct:setter", - "construct:string", - "construct:subtract", - "construct:throw", - "construct:using-directive", - "construct:variable", - "construct:visibility-modifiers", - "paradigm:imperative", - "paradigm:object-oriented", - "technique:exceptions" ] } diff --git a/tests/weighing-machine/round-method-called/expected_tags.json b/tests/weighing-machine/round-method-called/expected_tags.json new file mode 100644 index 00000000..ced5800c --- /dev/null +++ b/tests/weighing-machine/round-method-called/expected_tags.json @@ -0,0 +1,34 @@ +{ + "tags": [ + "construct-string-interpolation", + "construct:add", + "construct:assignment", + "construct:auto-implemented-property", + "construct:class", + "construct:constructor", + "construct:double", + "construct:field", + "construct:floating-point-number", + "construct:getter", + "construct:if", + "construct:implicit-conversion", + "construct:int", + "construct:integral-number", + "construct:invocation", + "construct:method", + "construct:number", + "construct:parameter", + "construct:property", + "construct:return", + "construct:setter", + "construct:string", + "construct:subtract", + "construct:throw", + "construct:using-directive", + "construct:variable", + "construct:visibility-modifiers", + "paradigm:imperative", + "paradigm:object-oriented", + "technique:exceptions" + ] +} diff --git a/tests/weighing-machine/use-initializer/expected_analysis.json b/tests/weighing-machine/use-initializer/expected_analysis.json index f71180ee..3f8bc922 100644 --- a/tests/weighing-machine/use-initializer/expected_analysis.json +++ b/tests/weighing-machine/use-initializer/expected_analysis.json @@ -12,40 +12,5 @@ "type": "informative", "params": {} } - ], - "tags": [ - "construct-string-interpolation", - "construct:add", - "construct:assignment", - "construct:auto-implemented-property", - "construct:class", - "construct:constructor", - "construct:double", - "construct:field", - "construct:floating-point-number", - "construct:getter", - "construct:if", - "construct:implicit-conversion", - "construct:int", - "construct:integral-number", - "construct:invocation", - "construct:lambda", - "construct:method", - "construct:number", - "construct:parameter", - "construct:property", - "construct:return", - "construct:setter", - "construct:string", - "construct:subtract", - "construct:throw", - "construct:using-directive", - "construct:variable", - "construct:visibility-modifiers", - "paradigm:functional", - "paradigm:imperative", - "paradigm:object-oriented", - "technique:exceptions", - "technique:higher-order-functions" ] } diff --git a/tests/weighing-machine/use-initializer/expected_tags.json b/tests/weighing-machine/use-initializer/expected_tags.json new file mode 100644 index 00000000..f75caf04 --- /dev/null +++ b/tests/weighing-machine/use-initializer/expected_tags.json @@ -0,0 +1,37 @@ +{ + "tags": [ + "construct-string-interpolation", + "construct:add", + "construct:assignment", + "construct:auto-implemented-property", + "construct:class", + "construct:constructor", + "construct:double", + "construct:field", + "construct:floating-point-number", + "construct:getter", + "construct:if", + "construct:implicit-conversion", + "construct:int", + "construct:integral-number", + "construct:invocation", + "construct:lambda", + "construct:method", + "construct:number", + "construct:parameter", + "construct:property", + "construct:return", + "construct:setter", + "construct:string", + "construct:subtract", + "construct:throw", + "construct:using-directive", + "construct:variable", + "construct:visibility-modifiers", + "paradigm:functional", + "paradigm:imperative", + "paradigm:object-oriented", + "technique:exceptions", + "technique:higher-order-functions" + ] +} diff --git a/tests/yacht/approaches/linq/expected_analysis.json b/tests/yacht/approaches/linq/expected_analysis.json index a7c52626..a0d0268f 100644 --- a/tests/yacht/approaches/linq/expected_analysis.json +++ b/tests/yacht/approaches/linq/expected_analysis.json @@ -1,34 +1,3 @@ { - "comments": [], - "tags": [ - "construct:boolean", - "construct:class", - "construct:constructor", - "construct:enum", - "construct:expression-bodied-member", - "construct:implicit-conversion", - "construct:int", - "construct:integral-number", - "construct:invocation", - "construct:lambda", - "construct:linq", - "construct:logical-and", - "construct:method", - "construct:multiply", - "construct:number", - "construct:parameter", - "construct:pattern-matching", - "construct:string", - "construct:switch-expression", - "construct:ternary", - "construct:throw", - "construct:throw-expression", - "construct:using-directive", - "construct:visibility-modifiers", - "paradigm:functional", - "paradigm:object-oriented", - "technique:boolean-logic", - "technique:exceptions", - "technique:higher-order-functions" - ] + "comments": [] } diff --git a/tests/yacht/approaches/linq/expected_tags.json b/tests/yacht/approaches/linq/expected_tags.json new file mode 100644 index 00000000..ed433748 --- /dev/null +++ b/tests/yacht/approaches/linq/expected_tags.json @@ -0,0 +1,33 @@ +{ + "tags": [ + "construct:boolean", + "construct:class", + "construct:constructor", + "construct:enum", + "construct:expression-bodied-member", + "construct:implicit-conversion", + "construct:int", + "construct:integral-number", + "construct:invocation", + "construct:lambda", + "construct:linq", + "construct:logical-and", + "construct:method", + "construct:multiply", + "construct:number", + "construct:parameter", + "construct:pattern-matching", + "construct:string", + "construct:switch-expression", + "construct:ternary", + "construct:throw", + "construct:throw-expression", + "construct:using-directive", + "construct:visibility-modifiers", + "paradigm:functional", + "paradigm:object-oriented", + "technique:boolean-logic", + "technique:exceptions", + "technique:higher-order-functions" + ] +}