]> git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/commit
add a simple (yet unused) unit test framework.
authorRudolf Polzer <divVerent@xonotic.org>
Wed, 12 Jun 2013 11:52:57 +0000 (13:52 +0200)
committerRudolf Polzer <divVerent@xonotic.org>
Wed, 12 Jun 2013 11:52:57 +0000 (13:52 +0200)
commitdf3016ae09ceb806fa1a87d1422f7ed0bfb98331
tree9319a0a9c6f9a363a62c42c171840d38021d0080
parente557ad1d2eaf0e18be5931c5548049aa4cfecb39
add a simple (yet unused) unit test framework.

Functions starting with _TEST_ are unit tests, shall call TEST_OK() at the end, and TEST_Check(condition) to test conditions.
qcsrc/client/progs.src
qcsrc/common/command/generic.qc
qcsrc/common/test.qc [new file with mode: 0644]
qcsrc/common/test.qh [new file with mode: 0644]
qcsrc/menu/progs.src
qcsrc/server/progs.src