unittests/license-nonca.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 128
a24cfbaf885f
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.

128
a24cfbaf885f added license tests
Teemu Piippo <teemu@hecknology.net>
parents:
diff changeset
1 0 Testing: no-license-set non-ca-license
a24cfbaf885f added license tests
Teemu Piippo <teemu@hecknology.net>
parents:
diff changeset
2 0 Expecting: non-ca-license:5
a24cfbaf885f added license tests
Teemu Piippo <teemu@hecknology.net>
parents:
diff changeset
3 0 Example part
a24cfbaf885f added license tests
Teemu Piippo <teemu@hecknology.net>
parents:
diff changeset
4 0 Name: 1234.dat
a24cfbaf885f added license tests
Teemu Piippo <teemu@hecknology.net>
parents:
diff changeset
5 0 Author: Me
a24cfbaf885f added license tests
Teemu Piippo <teemu@hecknology.net>
parents:
diff changeset
6 0 !LDRAW_ORG Unofficial_Part
a24cfbaf885f added license tests
Teemu Piippo <teemu@hecknology.net>
parents:
diff changeset
7 0 !LICENSE Not redistributable

mercurial