summaryrefslogtreecommitdiff
path: root/tests/test_getset
diff options
context:
space:
mode:
authorLaria Carolin Chabowski <laria@laria.me>2020-09-13 21:35:16 +0200
committerLaria Carolin Chabowski <laria@laria.me>2020-09-13 21:35:16 +0200
commit4e2bfed23c17929795f2082d6e77937170caeaa9 (patch)
tree4d9f66596c80af8081e4279580a3bbb4721ef184 /tests/test_getset
parent5ee6bbbf3002daf075fa77007daccf4d2af25241 (diff)
downloadste-4e2bfed23c17929795f2082d6e77937170caeaa9.tar.gz
ste-4e2bfed23c17929795f2082d6e77937170caeaa9.tar.bz2
ste-4e2bfed23c17929795f2082d6e77937170caeaa9.zip
Turn our functional tests into PhpUnit tests
Diffstat (limited to 'tests/test_getset')
-rw-r--r--tests/test_getset/.gitignore3
-rw-r--r--tests/test_getset/code.php6
-rw-r--r--tests/test_getset/test.tpl5
-rw-r--r--tests/test_getset/want4
4 files changed, 0 insertions, 18 deletions
diff --git a/tests/test_getset/.gitignore b/tests/test_getset/.gitignore
deleted file mode 100644
index de2a41b..0000000
--- a/tests/test_getset/.gitignore
+++ /dev/null
@@ -1,3 +0,0 @@
-have
-*.ast
-*.transc.php
diff --git a/tests/test_getset/code.php b/tests/test_getset/code.php
deleted file mode 100644
index 722af1e..0000000
--- a/tests/test_getset/code.php
+++ /dev/null
@@ -1,6 +0,0 @@
-<?php
-
-function test_func($ste)
-{
- $ste->vars["foo"] = "bar";
-}
diff --git a/tests/test_getset/test.tpl b/tests/test_getset/test.tpl
deleted file mode 100644
index 06f865a..0000000
--- a/tests/test_getset/test.tpl
+++ /dev/null
@@ -1,5 +0,0 @@
-\$foo = $foo
-\$foo = <ste:get var="foo" />
-<ste:set var="foo">baz</ste:set>
-\$foo = $foo
-\$foo = <ste:get var="foo" />
diff --git a/tests/test_getset/want b/tests/test_getset/want
deleted file mode 100644
index 567c753..0000000
--- a/tests/test_getset/want
+++ /dev/null
@@ -1,4 +0,0 @@
-$foo = bar
-$foo = bar
-$foo = baz
-$foo = baz