added category unit tests

Fri, 18 Sep 2020 21:53:08 +0300

author
Teemu Piippo <teemu@hecknology.net>
date
Fri, 18 Sep 2020 21:53:08 +0300
changeset 142
27364f36877b
parent 141
5f5498abef0c
child 143
d1bed5f4b21a

added category unit tests

unittests/category-2.test file | annotate | diff | comparison | revisions
unittests/category-3.test file | annotate | diff | comparison | revisions
unittests/category.test file | annotate | diff | comparison | revisions
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/unittests/category-2.test	Fri Sep 18 21:53:08 2020 +0300
@@ -0,0 +1,11 @@
+0 Testing: bad-header bad-category bad-category-in-description
+0 Expecting: bad-category:9
+0 Test part
+0 Name: 3002.dat
+0 Author: Me
+0 !LDRAW_ORG Unofficial_Part
+0 !LICENSE Redistributable under CCAL version 2.0 : see CAreadme.txt
+
+0 BFC CERTIFY CCW
+
+0 !CATEGORY Brix
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/unittests/category-3.test	Fri Sep 18 21:53:08 2020 +0300
@@ -0,0 +1,9 @@
+0 Testing: bad-header bad-category bad-category-in-description
+0 Expecting: bad-category-in-description:1
+0 Minifig Accessory Test
+0 Name: 3002.dat
+0 Author: Me
+0 !LDRAW_ORG Unofficial_Part
+0 !LICENSE Redistributable under CCAL version 2.0 : see CAreadme.txt
+
+0 BFC CERTIFY CCW
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/unittests/category.test	Fri Sep 18 21:53:08 2020 +0300
@@ -0,0 +1,11 @@
+0 Testing: bad-header bad-category bad-category-in-description
+0 Expecting: none
+0 Test part
+0 Name: 3002.dat
+0 Author: Me
+0 !LDRAW_ORG Unofficial_Part
+0 !LICENSE Redistributable under CCAL version 2.0 : see CAreadme.txt
+
+0 BFC CERTIFY CCW
+
+0 !CATEGORY Brick

mercurial