added license tests

Fri, 18 Sep 2020 21:01:49 +0300

author
Teemu Piippo <teemu@hecknology.net>
date
Fri, 18 Sep 2020 21:01:49 +0300
changeset 128
a24cfbaf885f
parent 127
97de6058109e
child 129
3285fe600111

added license tests

unittests/license-ca.test file | annotate | diff | comparison | revisions
unittests/license-nonca.test file | annotate | diff | comparison | revisions
unittests/license-none.test file | annotate | diff | comparison | revisions
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/unittests/license-ca.test	Fri Sep 18 21:01:49 2020 +0300
@@ -0,0 +1,7 @@
+0 Testing: no-license-set non-ca-license
+0 Expecting: none
+0 Example part
+0 Name: 1234.dat
+0 Author: Me
+0 !LDRAW_ORG Unofficial_Part
+0 !LICENSE Redistributable under CCAL version 2.0 : see CAreadme.txt
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/unittests/license-nonca.test	Fri Sep 18 21:01:49 2020 +0300
@@ -0,0 +1,7 @@
+0 Testing: no-license-set non-ca-license
+0 Expecting: non-ca-license:5
+0 Example part
+0 Name: 1234.dat
+0 Author: Me
+0 !LDRAW_ORG Unofficial_Part
+0 !LICENSE Not redistributable
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/unittests/license-none.test	Fri Sep 18 21:01:49 2020 +0300
@@ -0,0 +1,6 @@
+0 Testing: no-license-set non-ca-license
+0 Expecting: no-license-set:1
+0 Example part
+0 Name: 1234.dat
+0 Author: Me
+0 !LDRAW_ORG Unofficial_Part

mercurial