billiob pushed a commit to branch master.

http://git.enlightenment.org/apps/terminology.git/commit/?id=77bacdac37ed8edb965bb1968cf1e360757d17c4

commit 77bacdac37ed8edb965bb1968cf1e360757d17c4
Author: Boris Faure <[email protected]>
Date:   Mon Nov 26 21:08:42 2018 +0100

    tests: add test on invalid DECFRA/DECERA and absent parameters
---
 tests/decera-decfra-extra.sh | 31 +++++++++++++++++++++++++++++++
 tests/tests.results          |  1 +
 2 files changed, 32 insertions(+)

diff --git a/tests/decera-decfra-extra.sh b/tests/decera-decfra-extra.sh
new file mode 100755
index 0000000..15cb633
--- /dev/null
+++ b/tests/decera-decfra-extra.sh
@@ -0,0 +1,31 @@
+#!/bin/sh
+
+
+# fill space with E
+printf '\033#8'
+# set color
+printf '\033[46;31;3m'
+# goto 80;25 (CUP) and back to 0;0
+printf '\033[26;80HZ'
+printf '\033[H'
+
+#DECFRA
+printf '\033[64;10;10;;$x'
+printf '\033[65;;;8;8;$x'
+printf '\033[66;6;;150;3$x'
+printf '\033[67;;6;9;150$x'
+# invalid coordinates
+printf '\033[68;30;20;10;10$x'
+# invalid characters
+printf '\033[;10;10;20;20$x'
+printf '\033[31;10;10;20;20$x'
+printf '\033[127;10;10;20;20$x'
+printf '\033[159;10;10;20;20$x'
+
+#DECERA
+printf '\033[15;15;;$z'
+printf '\033[;;3;3$z'
+printf '\033[6;;150;3$z'
+printf '\033[3;20;;150$z'
+# invalid coordinates
+printf '\033[30;20;10;10$z'
diff --git a/tests/tests.results b/tests/tests.results
index aa28bab..092adab 100644
--- a/tests/tests.results
+++ b/tests/tests.results
@@ -2,4 +2,5 @@ decfra-no-restrict-cursor.sh 236d1c32fe49c8762ad204510117b1da
 decfra-restrict-cursor.sh 898682203275b186e6c81424b93b1b79
 decera-no-restrict-cursor.sh d92d38dfe6fd6b4100e3f0dac0e0a405
 decera-restrict-cursor.sh baae3f0eef7e6f0032ba74f11ee306f6
+decera-decfra-extra.sh 53d28f0d90c30aefd0b9176572c47f63
 cursor-movements.sh 7ebb03610346e8fa56e171c55e7e2ec5

-- 


Reply via email to