From 64218c88b662d5313d7891f37f91764fe4a90f87 Mon Sep 17 00:00:00 2001 From: Huck Boles Date: Mon, 15 May 2023 19:12:02 -0500 Subject: [PATCH] better test site --- files/site/pattern/body/default.meta | 5 ----- files/site/pattern/body/variables.meta | 3 --- files/site/pattern/footer/default.meta | 1 - files/site/pattern/header/bench.meta | 11 ---------- files/site/pattern/header/default.meta | 1 - files/site/pattern/header/list.meta | 4 ---- files/site/pattern/link/bold.meta | 1 - files/site/pattern/link/default.meta | 1 - files/site/pattern/list/default.meta | 3 --- files/site/pattern/list/item/bench.meta | 1 - files/site/pattern/list/item/default.meta | 1 - files/site/source/dir1/dir.meta | 9 --------- .../site/source/dir1/sub_dir1/deep1/deep.meta | 6 ------ .../site/source/dir1/sub_dir1/deep2/deep.meta | 2 -- files/site/source/dir1/sub_dir1/sub_dir.meta | 14 ------------- files/site/source/dir1/sub_dir2/sub_dir.meta | 8 -------- files/site/source/dir1/sub_dir3/sub_dir.meta | 11 ---------- files/site/source/dir2/dir.meta | 20 ------------------- files/site/source/root.meta | 2 -- .../pattern/base/bare.meta} | 0 .../pattern/base/default.meta | 2 +- .../pattern/bench/footer/default.meta} | 1 + .../pattern/bench/header/default.meta | 1 + .../pattern/body/bench.meta | 4 ++-- files/test_site/pattern/body/default.meta | 1 + .../test_site/pattern/test/blank/default.meta | 1 + files/test_site/pattern/test/blank_arr.meta | 1 + .../pattern/test/blank_variable.meta | 1 + files/test_site/pattern/test/default.meta | 1 + files/test_site/pattern/test/default/bad.meta | 1 + .../pattern/test/default/default.meta | 1 + .../pattern/test/expand/default.meta | 1 + files/test_site/pattern/test/expand_arr.meta | 1 + files/test_site/pattern/test/expand_pat.meta | 2 ++ files/test_site/pattern/test/expand_var.meta | 1 + .../pattern/test/global/default.meta | 1 + files/test_site/pattern/test/global/good.meta | 1 + .../pattern/test/local_global/default.meta | 1 + .../pattern/test/local_global/good.meta | 1 + files/test_site/pattern/test/override.meta | 1 + .../test_site/pattern/test/override/bad.meta | 1 + .../pattern/test/override/default.meta | 1 + .../test_site/pattern/test/override/good.meta | 1 + .../{site => test_site}/source/benchmark.meta | 4 +--- .../source/unit_tests/blank/blank_array.meta | 3 +++ .../unit_tests/blank/blank_pattern.meta | 1 + .../unit_tests/blank/blank_variable.meta | 3 +++ .../source/unit_tests/blank/comment.meta | 1 + .../unit_tests/blank/inline_comment.meta | 1 + .../test_site/source/unit_tests/default.meta | 12 +++++++++++ .../unit_tests/expand/array_in_pattern.meta | 2 ++ .../unit_tests/expand/array_in_source.meta | 3 +++ .../unit_tests/expand/pattern_in_pattern.meta | 1 + .../unit_tests/expand/pattern_in_source.meta | 3 +++ .../expand/variable_in_pattern.meta | 3 +++ .../unit_tests/expand/variable_in_source.meta | 3 +++ .../source/unit_tests/find_dest.meta | 1 + .../source/unit_tests/global/default.meta | 3 +++ .../source/unit_tests/global/pattern.meta | 4 ++++ .../source/unit_tests/global/variable.meta | 4 ++++ .../source/unit_tests/override/pattern.meta | 5 +++++ .../source/unit_tests/override/variable.meta | 3 +++ 62 files changed, 82 insertions(+), 110 deletions(-) delete mode 100644 files/site/pattern/body/default.meta delete mode 100644 files/site/pattern/body/variables.meta delete mode 100644 files/site/pattern/footer/default.meta delete mode 100644 files/site/pattern/header/bench.meta delete mode 100644 files/site/pattern/header/default.meta delete mode 100644 files/site/pattern/header/list.meta delete mode 100644 files/site/pattern/link/bold.meta delete mode 100644 files/site/pattern/link/default.meta delete mode 100644 files/site/pattern/list/default.meta delete mode 100644 files/site/pattern/list/item/bench.meta delete mode 100644 files/site/pattern/list/item/default.meta delete mode 100644 files/site/source/dir1/dir.meta delete mode 100644 files/site/source/dir1/sub_dir1/deep1/deep.meta delete mode 100644 files/site/source/dir1/sub_dir1/deep2/deep.meta delete mode 100644 files/site/source/dir1/sub_dir1/sub_dir.meta delete mode 100644 files/site/source/dir1/sub_dir2/sub_dir.meta delete mode 100644 files/site/source/dir1/sub_dir3/sub_dir.meta delete mode 100644 files/site/source/dir2/dir.meta delete mode 100644 files/site/source/root.meta rename files/{site/pattern/base/text.meta => test_site/pattern/base/bare.meta} (100%) rename files/{site => test_site}/pattern/base/default.meta (55%) rename files/{site/pattern/footer/bench.meta => test_site/pattern/bench/footer/default.meta} (90%) create mode 100644 files/test_site/pattern/bench/header/default.meta rename files/{site => test_site}/pattern/body/bench.meta (55%) create mode 100644 files/test_site/pattern/body/default.meta create mode 100644 files/test_site/pattern/test/blank/default.meta create mode 100644 files/test_site/pattern/test/blank_arr.meta create mode 100644 files/test_site/pattern/test/blank_variable.meta create mode 100644 files/test_site/pattern/test/default.meta create mode 100644 files/test_site/pattern/test/default/bad.meta create mode 100644 files/test_site/pattern/test/default/default.meta create mode 100644 files/test_site/pattern/test/expand/default.meta create mode 100644 files/test_site/pattern/test/expand_arr.meta create mode 100644 files/test_site/pattern/test/expand_pat.meta create mode 100644 files/test_site/pattern/test/expand_var.meta create mode 100644 files/test_site/pattern/test/global/default.meta create mode 100644 files/test_site/pattern/test/global/good.meta create mode 100644 files/test_site/pattern/test/local_global/default.meta create mode 100644 files/test_site/pattern/test/local_global/good.meta create mode 100644 files/test_site/pattern/test/override.meta create mode 100644 files/test_site/pattern/test/override/bad.meta create mode 100644 files/test_site/pattern/test/override/default.meta create mode 100644 files/test_site/pattern/test/override/good.meta rename files/{site => test_site}/source/benchmark.meta (86%) create mode 100644 files/test_site/source/unit_tests/blank/blank_array.meta create mode 100644 files/test_site/source/unit_tests/blank/blank_pattern.meta create mode 100644 files/test_site/source/unit_tests/blank/blank_variable.meta create mode 100644 files/test_site/source/unit_tests/blank/comment.meta create mode 100644 files/test_site/source/unit_tests/blank/inline_comment.meta create mode 100644 files/test_site/source/unit_tests/default.meta create mode 100644 files/test_site/source/unit_tests/expand/array_in_pattern.meta create mode 100644 files/test_site/source/unit_tests/expand/array_in_source.meta create mode 100644 files/test_site/source/unit_tests/expand/pattern_in_pattern.meta create mode 100644 files/test_site/source/unit_tests/expand/pattern_in_source.meta create mode 100644 files/test_site/source/unit_tests/expand/variable_in_pattern.meta create mode 100644 files/test_site/source/unit_tests/expand/variable_in_source.meta create mode 100644 files/test_site/source/unit_tests/find_dest.meta create mode 100644 files/test_site/source/unit_tests/global/default.meta create mode 100644 files/test_site/source/unit_tests/global/pattern.meta create mode 100644 files/test_site/source/unit_tests/global/variable.meta create mode 100644 files/test_site/source/unit_tests/override/pattern.meta create mode 100644 files/test_site/source/unit_tests/override/variable.meta diff --git a/files/site/pattern/body/default.meta b/files/site/pattern/body/default.meta deleted file mode 100644 index 4ee24b7..0000000 --- a/files/site/pattern/body/default.meta +++ /dev/null @@ -1,5 +0,0 @@ -&{header} - - &{SOURCE} - -&{footer} diff --git a/files/site/pattern/body/variables.meta b/files/site/pattern/body/variables.meta deleted file mode 100644 index 982fba0..0000000 --- a/files/site/pattern/body/variables.meta +++ /dev/null @@ -1,3 +0,0 @@ - - ${variable} - diff --git a/files/site/pattern/footer/default.meta b/files/site/pattern/footer/default.meta deleted file mode 100644 index fcf2c2a..0000000 --- a/files/site/pattern/footer/default.meta +++ /dev/null @@ -1 +0,0 @@ - diff --git a/files/site/pattern/header/bench.meta b/files/site/pattern/header/bench.meta deleted file mode 100644 index 80351bf..0000000 --- a/files/site/pattern/header/bench.meta +++ /dev/null @@ -1,11 +0,0 @@ -@{ - link.url = ['a.com','a.com','a.com','a.com','a.com','a.com','a.com','a.com','a.com','a.com'] - link.title = ['a','a','a','a','a','a','a','a','a','a'] -} - -&{ - list.item = 'bench' -} - -&{list} - diff --git a/files/site/pattern/header/default.meta b/files/site/pattern/header/default.meta deleted file mode 100644 index 8d0f674..0000000 --- a/files/site/pattern/header/default.meta +++ /dev/null @@ -1 +0,0 @@ -
HEADER
diff --git a/files/site/pattern/header/list.meta b/files/site/pattern/header/list.meta deleted file mode 100644 index 47db5db..0000000 --- a/files/site/pattern/header/list.meta +++ /dev/null @@ -1,4 +0,0 @@ -
-

A list called: ${list_name}

-&{list} -
diff --git a/files/site/pattern/link/bold.meta b/files/site/pattern/link/bold.meta deleted file mode 100644 index e6acc5a..0000000 --- a/files/site/pattern/link/bold.meta +++ /dev/null @@ -1 +0,0 @@ -@{title} diff --git a/files/site/pattern/link/default.meta b/files/site/pattern/link/default.meta deleted file mode 100644 index d88cfe0..0000000 --- a/files/site/pattern/link/default.meta +++ /dev/null @@ -1 +0,0 @@ -@{title} diff --git a/files/site/pattern/list/default.meta b/files/site/pattern/list/default.meta deleted file mode 100644 index e9e730c..0000000 --- a/files/site/pattern/list/default.meta +++ /dev/null @@ -1,3 +0,0 @@ - diff --git a/files/site/pattern/list/item/bench.meta b/files/site/pattern/list/item/bench.meta deleted file mode 100644 index b4259e0..0000000 --- a/files/site/pattern/list/item/bench.meta +++ /dev/null @@ -1 +0,0 @@ -
  • &{link}
  • diff --git a/files/site/pattern/list/item/default.meta b/files/site/pattern/list/item/default.meta deleted file mode 100644 index 22b704c..0000000 --- a/files/site/pattern/list/item/default.meta +++ /dev/null @@ -1 +0,0 @@ -
  • @{items}
  • diff --git a/files/site/source/dir1/dir.meta b/files/site/source/dir1/dir.meta deleted file mode 100644 index b051e39..0000000 --- a/files/site/source/dir1/dir.meta +++ /dev/null @@ -1,9 +0,0 @@ -@{ - list.item.items = ['A', 'Single','Word','Per','Item'] -} - -# LIST - -This is to test using arrays as lists. - -&{list} diff --git a/files/site/source/dir1/sub_dir1/deep1/deep.meta b/files/site/source/dir1/sub_dir1/deep1/deep.meta deleted file mode 100644 index 2c4e4d2..0000000 --- a/files/site/source/dir1/sub_dir1/deep1/deep.meta +++ /dev/null @@ -1,6 +0,0 @@ -${ var = 'GOOD' } -&{ base = 'text' } - -# SIMPLE SUBSTITUTION - -variable: ${var} diff --git a/files/site/source/dir1/sub_dir1/deep2/deep.meta b/files/site/source/dir1/sub_dir1/deep2/deep.meta deleted file mode 100644 index ad3f829..0000000 --- a/files/site/source/dir1/sub_dir1/deep2/deep.meta +++ /dev/null @@ -1,2 +0,0 @@ -${ variable = 'GOOD' } -&{ body = 'variables' } diff --git a/files/site/source/dir1/sub_dir1/sub_dir.meta b/files/site/source/dir1/sub_dir1/sub_dir.meta deleted file mode 100644 index c0fb1fe..0000000 --- a/files/site/source/dir1/sub_dir1/sub_dir.meta +++ /dev/null @@ -1,14 +0,0 @@ -@{ - link.url = [ 'a.com', 'b.net', 'c.org'] - link.title = [ 'A Website', 'B Place', 'C Dest' ] -} - -&{ - link = 'bold' -} - -# LINKS - -This should create a group of bold links - -&{link} diff --git a/files/site/source/dir1/sub_dir2/sub_dir.meta b/files/site/source/dir1/sub_dir2/sub_dir.meta deleted file mode 100644 index e64533a..0000000 --- a/files/site/source/dir1/sub_dir2/sub_dir.meta +++ /dev/null @@ -1,8 +0,0 @@ -&{ - header = BLANK - footer = BLANK -} - -# BLANK - -This should have no header or footer diff --git a/files/site/source/dir1/sub_dir3/sub_dir.meta b/files/site/source/dir1/sub_dir3/sub_dir.meta deleted file mode 100644 index c9ea33d..0000000 --- a/files/site/source/dir1/sub_dir3/sub_dir.meta +++ /dev/null @@ -1,11 +0,0 @@ -${ - list_name = "A BIG LIST" -} - -@{ - list.item.items = ['item1','item2','item3','item4'] -} - -# HEADER LIST - -This should have a list in the header diff --git a/files/site/source/dir2/dir.meta b/files/site/source/dir2/dir.meta deleted file mode 100644 index ca713e7..0000000 --- a/files/site/source/dir2/dir.meta +++ /dev/null @@ -1,20 +0,0 @@ -&{ - base = "text" -} - -# MARKDOWN - -## Header -This is a test for how various markdown elements translate - -### Small Header -- Lists -- With -- Items - -#### tiny header -*Fancy* **Text** __With__ _Adornments_ - -

    Inline HTML

    - -[a link](https://example.org) diff --git a/files/site/source/root.meta b/files/site/source/root.meta deleted file mode 100644 index 3af0ab7..0000000 --- a/files/site/source/root.meta +++ /dev/null @@ -1,2 +0,0 @@ -&{ base = 'text' } -TEST diff --git a/files/site/pattern/base/text.meta b/files/test_site/pattern/base/bare.meta similarity index 100% rename from files/site/pattern/base/text.meta rename to files/test_site/pattern/base/bare.meta diff --git a/files/site/pattern/base/default.meta b/files/test_site/pattern/base/default.meta similarity index 55% rename from files/site/pattern/base/default.meta rename to files/test_site/pattern/base/default.meta index c47271e..4578074 100644 --- a/files/site/pattern/base/default.meta +++ b/files/test_site/pattern/base/default.meta @@ -1,3 +1,3 @@ - &{body} +&{body} diff --git a/files/site/pattern/footer/bench.meta b/files/test_site/pattern/bench/footer/default.meta similarity index 90% rename from files/site/pattern/footer/bench.meta rename to files/test_site/pattern/bench/footer/default.meta index c8f73d7..bed4e57 100644 --- a/files/site/pattern/footer/bench.meta +++ b/files/test_site/pattern/bench/footer/default.meta @@ -1 +1,2 @@ @{array} + diff --git a/files/test_site/pattern/bench/header/default.meta b/files/test_site/pattern/bench/header/default.meta new file mode 100644 index 0000000..2305a29 --- /dev/null +++ b/files/test_site/pattern/bench/header/default.meta @@ -0,0 +1 @@ +
  • ${inline}
  • diff --git a/files/site/pattern/body/bench.meta b/files/test_site/pattern/body/bench.meta similarity index 55% rename from files/site/pattern/body/bench.meta rename to files/test_site/pattern/body/bench.meta index 8c1e1fa..e8ce4d4 100644 --- a/files/site/pattern/body/bench.meta +++ b/files/test_site/pattern/body/bench.meta @@ -1,6 +1,6 @@ - &{header} + &{bench.header} ${bench_variable} &{SOURCE} - &{footer} + &{bench.footer} diff --git a/files/test_site/pattern/body/default.meta b/files/test_site/pattern/body/default.meta new file mode 100644 index 0000000..5dc2429 --- /dev/null +++ b/files/test_site/pattern/body/default.meta @@ -0,0 +1 @@ +&{test} diff --git a/files/test_site/pattern/test/blank/default.meta b/files/test_site/pattern/test/blank/default.meta new file mode 100644 index 0000000..7b3a785 --- /dev/null +++ b/files/test_site/pattern/test/blank/default.meta @@ -0,0 +1 @@ +BAD diff --git a/files/test_site/pattern/test/blank_arr.meta b/files/test_site/pattern/test/blank_arr.meta new file mode 100644 index 0000000..ef3bb1d --- /dev/null +++ b/files/test_site/pattern/test/blank_arr.meta @@ -0,0 +1 @@ +@{arr} diff --git a/files/test_site/pattern/test/blank_variable.meta b/files/test_site/pattern/test/blank_variable.meta new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/files/test_site/pattern/test/blank_variable.meta @@ -0,0 +1 @@ + diff --git a/files/test_site/pattern/test/default.meta b/files/test_site/pattern/test/default.meta new file mode 100644 index 0000000..8b9ce1f --- /dev/null +++ b/files/test_site/pattern/test/default.meta @@ -0,0 +1 @@ +&{SOURCE} diff --git a/files/test_site/pattern/test/default/bad.meta b/files/test_site/pattern/test/default/bad.meta new file mode 100644 index 0000000..7b3a785 --- /dev/null +++ b/files/test_site/pattern/test/default/bad.meta @@ -0,0 +1 @@ +BAD diff --git a/files/test_site/pattern/test/default/default.meta b/files/test_site/pattern/test/default/default.meta new file mode 100644 index 0000000..f49b816 --- /dev/null +++ b/files/test_site/pattern/test/default/default.meta @@ -0,0 +1 @@ +GOOD diff --git a/files/test_site/pattern/test/expand/default.meta b/files/test_site/pattern/test/expand/default.meta new file mode 100644 index 0000000..f49b816 --- /dev/null +++ b/files/test_site/pattern/test/expand/default.meta @@ -0,0 +1 @@ +GOOD diff --git a/files/test_site/pattern/test/expand_arr.meta b/files/test_site/pattern/test/expand_arr.meta new file mode 100644 index 0000000..ef3bb1d --- /dev/null +++ b/files/test_site/pattern/test/expand_arr.meta @@ -0,0 +1 @@ +@{arr} diff --git a/files/test_site/pattern/test/expand_pat.meta b/files/test_site/pattern/test/expand_pat.meta new file mode 100644 index 0000000..5508ceb --- /dev/null +++ b/files/test_site/pattern/test/expand_pat.meta @@ -0,0 +1,2 @@ +GOOD +&{test.expand} diff --git a/files/test_site/pattern/test/expand_var.meta b/files/test_site/pattern/test/expand_var.meta new file mode 100644 index 0000000..dd04342 --- /dev/null +++ b/files/test_site/pattern/test/expand_var.meta @@ -0,0 +1 @@ +${var} diff --git a/files/test_site/pattern/test/global/default.meta b/files/test_site/pattern/test/global/default.meta new file mode 100644 index 0000000..7b3a785 --- /dev/null +++ b/files/test_site/pattern/test/global/default.meta @@ -0,0 +1 @@ +BAD diff --git a/files/test_site/pattern/test/global/good.meta b/files/test_site/pattern/test/global/good.meta new file mode 100644 index 0000000..f49b816 --- /dev/null +++ b/files/test_site/pattern/test/global/good.meta @@ -0,0 +1 @@ +GOOD diff --git a/files/test_site/pattern/test/local_global/default.meta b/files/test_site/pattern/test/local_global/default.meta new file mode 100644 index 0000000..7b3a785 --- /dev/null +++ b/files/test_site/pattern/test/local_global/default.meta @@ -0,0 +1 @@ +BAD diff --git a/files/test_site/pattern/test/local_global/good.meta b/files/test_site/pattern/test/local_global/good.meta new file mode 100644 index 0000000..f49b816 --- /dev/null +++ b/files/test_site/pattern/test/local_global/good.meta @@ -0,0 +1 @@ +GOOD diff --git a/files/test_site/pattern/test/override.meta b/files/test_site/pattern/test/override.meta new file mode 100644 index 0000000..014f771 --- /dev/null +++ b/files/test_site/pattern/test/override.meta @@ -0,0 +1 @@ +&{test.override} &{test.default} diff --git a/files/test_site/pattern/test/override/bad.meta b/files/test_site/pattern/test/override/bad.meta new file mode 100644 index 0000000..7b3a785 --- /dev/null +++ b/files/test_site/pattern/test/override/bad.meta @@ -0,0 +1 @@ +BAD diff --git a/files/test_site/pattern/test/override/default.meta b/files/test_site/pattern/test/override/default.meta new file mode 100644 index 0000000..7b3a785 --- /dev/null +++ b/files/test_site/pattern/test/override/default.meta @@ -0,0 +1 @@ +BAD diff --git a/files/test_site/pattern/test/override/good.meta b/files/test_site/pattern/test/override/good.meta new file mode 100644 index 0000000..f49b816 --- /dev/null +++ b/files/test_site/pattern/test/override/good.meta @@ -0,0 +1 @@ +GOOD diff --git a/files/site/source/benchmark.meta b/files/test_site/source/benchmark.meta similarity index 86% rename from files/site/source/benchmark.meta rename to files/test_site/source/benchmark.meta index 68eec32..3f0eda6 100644 --- a/files/site/source/benchmark.meta +++ b/files/test_site/source/benchmark.meta @@ -18,13 +18,11 @@ ${ @{ single = ['single value arrays'] - footer.array = ['1','2','3','4','5','6','7','8','9','10'] + bench.footer.array = ['1','2','3','4','5','6','7','8','9','10'] } &{ body = 'bench' - header = 'bench' - footer = 'bench' } # THIS IS THE BENCHMARK FILE FOR METAFORGE diff --git a/files/test_site/source/unit_tests/blank/blank_array.meta b/files/test_site/source/unit_tests/blank/blank_array.meta new file mode 100644 index 0000000..b4fdce6 --- /dev/null +++ b/files/test_site/source/unit_tests/blank/blank_array.meta @@ -0,0 +1,3 @@ +@{ test.arr = BLANK } + +&{ test = 'blank_arr' } diff --git a/files/test_site/source/unit_tests/blank/blank_pattern.meta b/files/test_site/source/unit_tests/blank/blank_pattern.meta new file mode 100644 index 0000000..4d3970c --- /dev/null +++ b/files/test_site/source/unit_tests/blank/blank_pattern.meta @@ -0,0 +1 @@ +&{base = BLANK} diff --git a/files/test_site/source/unit_tests/blank/blank_variable.meta b/files/test_site/source/unit_tests/blank/blank_variable.meta new file mode 100644 index 0000000..9597170 --- /dev/null +++ b/files/test_site/source/unit_tests/blank/blank_variable.meta @@ -0,0 +1,3 @@ +${ variable = BLANK } + +&{ test = 'blank_variable' } diff --git a/files/test_site/source/unit_tests/blank/comment.meta b/files/test_site/source/unit_tests/blank/comment.meta new file mode 100644 index 0000000..7f7b013 --- /dev/null +++ b/files/test_site/source/unit_tests/blank/comment.meta @@ -0,0 +1 @@ +-{ this is a comment } diff --git a/files/test_site/source/unit_tests/blank/inline_comment.meta b/files/test_site/source/unit_tests/blank/inline_comment.meta new file mode 100644 index 0000000..d122a3d --- /dev/null +++ b/files/test_site/source/unit_tests/blank/inline_comment.meta @@ -0,0 +1 @@ +inline -{ comment } comment diff --git a/files/test_site/source/unit_tests/default.meta b/files/test_site/source/unit_tests/default.meta new file mode 100644 index 0000000..473421f --- /dev/null +++ b/files/test_site/source/unit_tests/default.meta @@ -0,0 +1,12 @@ +${ + override = 'BAD' + global = 'GOOD' +} + +&{ + base = 'bare' + test.override = 'bad' + test.default = 'bad' + test.blank = 'bad' + test.global = 'good' +} diff --git a/files/test_site/source/unit_tests/expand/array_in_pattern.meta b/files/test_site/source/unit_tests/expand/array_in_pattern.meta new file mode 100644 index 0000000..348fb9a --- /dev/null +++ b/files/test_site/source/unit_tests/expand/array_in_pattern.meta @@ -0,0 +1,2 @@ +@{ test.arr = ['1','2','3','4','5']} +&{ test = 'expand_arr' } diff --git a/files/test_site/source/unit_tests/expand/array_in_source.meta b/files/test_site/source/unit_tests/expand/array_in_source.meta new file mode 100644 index 0000000..45c171f --- /dev/null +++ b/files/test_site/source/unit_tests/expand/array_in_source.meta @@ -0,0 +1,3 @@ +@{ arr = [ '1','2','3','4','5'] } + +@{arr} diff --git a/files/test_site/source/unit_tests/expand/pattern_in_pattern.meta b/files/test_site/source/unit_tests/expand/pattern_in_pattern.meta new file mode 100644 index 0000000..d35ba73 --- /dev/null +++ b/files/test_site/source/unit_tests/expand/pattern_in_pattern.meta @@ -0,0 +1 @@ +&{ test = 'expand_pat' } diff --git a/files/test_site/source/unit_tests/expand/pattern_in_source.meta b/files/test_site/source/unit_tests/expand/pattern_in_source.meta new file mode 100644 index 0000000..a8e641c --- /dev/null +++ b/files/test_site/source/unit_tests/expand/pattern_in_source.meta @@ -0,0 +1,3 @@ +&{ base = 'bare' } + +&{test.expand} diff --git a/files/test_site/source/unit_tests/expand/variable_in_pattern.meta b/files/test_site/source/unit_tests/expand/variable_in_pattern.meta new file mode 100644 index 0000000..4fd7652 --- /dev/null +++ b/files/test_site/source/unit_tests/expand/variable_in_pattern.meta @@ -0,0 +1,3 @@ +${ var = 'GOOD' } + +&{ test = 'expand_var' } diff --git a/files/test_site/source/unit_tests/expand/variable_in_source.meta b/files/test_site/source/unit_tests/expand/variable_in_source.meta new file mode 100644 index 0000000..cca8be4 --- /dev/null +++ b/files/test_site/source/unit_tests/expand/variable_in_source.meta @@ -0,0 +1,3 @@ +${ variable = 'GOOD' } + +${variable} diff --git a/files/test_site/source/unit_tests/find_dest.meta b/files/test_site/source/unit_tests/find_dest.meta new file mode 100644 index 0000000..b27622f --- /dev/null +++ b/files/test_site/source/unit_tests/find_dest.meta @@ -0,0 +1 @@ +#{ skip = 'true' } diff --git a/files/test_site/source/unit_tests/global/default.meta b/files/test_site/source/unit_tests/global/default.meta new file mode 100644 index 0000000..f3e22b5 --- /dev/null +++ b/files/test_site/source/unit_tests/global/default.meta @@ -0,0 +1,3 @@ +${ local_global = 'GOOD' } + +&{ test.local_global = 'good' } diff --git a/files/test_site/source/unit_tests/global/pattern.meta b/files/test_site/source/unit_tests/global/pattern.meta new file mode 100644 index 0000000..de568bf --- /dev/null +++ b/files/test_site/source/unit_tests/global/pattern.meta @@ -0,0 +1,4 @@ +&{ base = 'bare' } + +&{test.global} +&{test.local_global} diff --git a/files/test_site/source/unit_tests/global/variable.meta b/files/test_site/source/unit_tests/global/variable.meta new file mode 100644 index 0000000..d953e32 --- /dev/null +++ b/files/test_site/source/unit_tests/global/variable.meta @@ -0,0 +1,4 @@ +&{base = 'bare'} + +${local_global} +${global} diff --git a/files/test_site/source/unit_tests/override/pattern.meta b/files/test_site/source/unit_tests/override/pattern.meta new file mode 100644 index 0000000..f50d47d --- /dev/null +++ b/files/test_site/source/unit_tests/override/pattern.meta @@ -0,0 +1,5 @@ +&{ + test = 'override' + test.override = 'good' + test.default = DEFAULT +} diff --git a/files/test_site/source/unit_tests/override/variable.meta b/files/test_site/source/unit_tests/override/variable.meta new file mode 100644 index 0000000..a832d8e --- /dev/null +++ b/files/test_site/source/unit_tests/override/variable.meta @@ -0,0 +1,3 @@ +${ override = 'GOOD' } + +${override} -- 2.45.2