Adds a unit test framework based on shunit2
authorFelix <nbd@openwrt.org>
Sat, 23 Aug 2008 13:03:23 +0000 (15:03 +0200)
committerFelix <nbd@openwrt.org>
Sat, 23 Aug 2008 13:03:23 +0000 (15:03 +0200)
commita51c515dc1cdf93edb89484238259c941da8f3b6
treee338c20ddc8c2b6cb009a732bb5ff68ee0446dd8
parentc1684cd213ebc7b0064f9dfe536b5d5283a18ef4
Adds a unit test framework based on shunit2

Includes simple tests for :
- uci import
- uci export
- uci get
- uci set
- uci add

shunit2 :
http://code.google.com/p/shunit2/

Signed-off-by: Frédéric Moulins <ffrrrr@gmail.com>
21 files changed:
Makefile
test/Makefile [new file with mode: 0644]
test/README [new file with mode: 0644]
test/references/add_section.result [new file with mode: 0644]
test/references/export.data [new file with mode: 0644]
test/references/export.result [new file with mode: 0644]
test/references/get.data [new file with mode: 0644]
test/references/import.data [new file with mode: 0644]
test/references/import.result [new file with mode: 0644]
test/references/set_existing_option.data [new file with mode: 0644]
test/references/set_existing_option.result [new file with mode: 0644]
test/references/set_named_section.result [new file with mode: 0644]
test/references/set_nonexisting_option.data [new file with mode: 0644]
test/references/set_nonexisting_option.result [new file with mode: 0644]
test/shunit2/shunit2 [new file with mode: 0644]
test/tests.d/000_import [new file with mode: 0644]
test/tests.d/010_export [new file with mode: 0644]
test/tests.d/020_get [new file with mode: 0644]
test/tests.d/030_set [new file with mode: 0644]
test/tests.d/040_add [new file with mode: 0644]
test/tests.sh [new file with mode: 0644]