diff options
author | Laria Carolin Chabowski <laria@laria.me> | 2020-09-13 21:35:16 +0200 |
---|---|---|
committer | Laria Carolin Chabowski <laria@laria.me> | 2020-09-13 21:35:16 +0200 |
commit | 4e2bfed23c17929795f2082d6e77937170caeaa9 (patch) | |
tree | 4d9f66596c80af8081e4279580a3bbb4721ef184 /tests/test_mktag | |
parent | 5ee6bbbf3002daf075fa77007daccf4d2af25241 (diff) | |
download | ste-4e2bfed23c17929795f2082d6e77937170caeaa9.tar.gz ste-4e2bfed23c17929795f2082d6e77937170caeaa9.tar.bz2 ste-4e2bfed23c17929795f2082d6e77937170caeaa9.zip |
Turn our functional tests into PhpUnit tests
Diffstat (limited to 'tests/test_mktag')
-rw-r--r-- | tests/test_mktag/.gitignore | 3 | ||||
-rw-r--r-- | tests/test_mktag/code.php | 5 | ||||
-rw-r--r-- | tests/test_mktag/test.tpl | 11 | ||||
-rw-r--r-- | tests/test_mktag/want | 11 |
4 files changed, 0 insertions, 30 deletions
diff --git a/tests/test_mktag/.gitignore b/tests/test_mktag/.gitignore deleted file mode 100644 index de2a41b..0000000 --- a/tests/test_mktag/.gitignore +++ /dev/null @@ -1,3 +0,0 @@ -have -*.ast -*.transc.php diff --git a/tests/test_mktag/code.php b/tests/test_mktag/code.php deleted file mode 100644 index 25e7f00..0000000 --- a/tests/test_mktag/code.php +++ /dev/null @@ -1,5 +0,0 @@ -<?php - -function test_func($ste) -{ -} diff --git a/tests/test_mktag/test.tpl b/tests/test_mktag/test.tpl deleted file mode 100644 index c446206..0000000 --- a/tests/test_mktag/test.tpl +++ /dev/null @@ -1,11 +0,0 @@ -<ste:mktag name="double"><ste:calc>2 * <ste:tagcontent /></ste:calc></ste:mktag> -<ste:mktag name="foo" mandatory="a|b"> - <ste:for counter="i" start="0" stop="$_tag_parameters[a]"> - <ste:if> - <ste:even>$i</ste:even> - <ste:then><ste:double>$i</ste:double></ste:then> - <ste:else>$_tag_parameters[b]</ste:else> - </ste:if> - </ste:for> -</ste:mktag> -<ste:foo a="10" b="-" />
\ No newline at end of file diff --git a/tests/test_mktag/want b/tests/test_mktag/want deleted file mode 100644 index 3e2351c..0000000 --- a/tests/test_mktag/want +++ /dev/null @@ -1,11 +0,0 @@ -0 -- -4 -- -8 -- -12 -- -16 -- -20 |