unittests/alias-bad.test

Fri, 18 Sep 2020 23:51:45 +0300

author
Teemu Piippo <teemu@hecknology.net>
date
Fri, 18 Sep 2020 23:51:45 +0300
changeset 145
fde18c4d6784
parent 141
5f5498abef0c
child 152
5e347a96869a
permissions
-rw-r--r--

refactoring: moved context-dependant data to new class LDrawContext. ldcheck no longer writes the config file, and looks for it in sensible locations like ~/.config and /etc. LDraw libraries can now be specified on the command line.

141
5f5498abef0c added alias tests
Teemu Piippo <teemu@hecknology.net>
parents:
diff changeset
1 0 Testing: alias-bad-colour alias-not-prefixed-with-equals alias-with-polygon
5f5498abef0c added alias tests
Teemu Piippo <teemu@hecknology.net>
parents:
diff changeset
2 0 Expecting: alias-bad-colour:8 alias-not-prefixed-with-equals:1 alias-with-polygon:9
5f5498abef0c added alias tests
Teemu Piippo <teemu@hecknology.net>
parents:
diff changeset
3 0 Test part
5f5498abef0c added alias tests
Teemu Piippo <teemu@hecknology.net>
parents:
diff changeset
4 0 Name: 1234.dat
5f5498abef0c added alias tests
Teemu Piippo <teemu@hecknology.net>
parents:
diff changeset
5 0 Author: Me
5f5498abef0c added alias tests
Teemu Piippo <teemu@hecknology.net>
parents:
diff changeset
6 0 !LDRAW_ORG Unofficial_Part Alias
5f5498abef0c added alias tests
Teemu Piippo <teemu@hecknology.net>
parents:
diff changeset
7 0 !LICENSE Redistributable under CCAL version 2.0 : see CAreadme.txt
5f5498abef0c added alias tests
Teemu Piippo <teemu@hecknology.net>
parents:
diff changeset
8
5f5498abef0c added alias tests
Teemu Piippo <teemu@hecknology.net>
parents:
diff changeset
9 0 // Alias of 2345
5f5498abef0c added alias tests
Teemu Piippo <teemu@hecknology.net>
parents:
diff changeset
10 1 4 0 0 0 1 0 0 0 1 0 0 0 1 2345.dat
5f5498abef0c added alias tests
Teemu Piippo <teemu@hecknology.net>
parents:
diff changeset
11 3 16 0 0 0 1 0 0 1 0 1

mercurial