summaryrefslogtreecommitdiff
path: root/testsuite/sanei/README
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff-webhosting.net>2014-10-06 14:00:40 +0200
committerJörg Frings-Fürst <debian@jff-webhosting.net>2014-10-06 14:00:40 +0200
commit6e9c41a892ed0e0da326e0278b3221ce3f5713b8 (patch)
tree2e301d871bbeeb44aa57ff9cc070fcf3be484487 /testsuite/sanei/README
Initial import of sane-backends version 1.0.24-1.2
Diffstat (limited to 'testsuite/sanei/README')
-rw-r--r--testsuite/sanei/README40
1 files changed, 40 insertions, 0 deletions
diff --git a/testsuite/sanei/README b/testsuite/sanei/README
new file mode 100644
index 0000000..247d191
--- /dev/null
+++ b/testsuite/sanei/README
@@ -0,0 +1,40 @@
+SANEI test suite
+================
+
+This directory contains test programs for sanei functions. They are compiled
+and run by 'make check'.
+
+sanei_usb_test
+---------------
+ Tests sanei_usb_* functions. No USB scanner needs to be plugged,
+but in this case less code is covered (open/close and claim/release
+of real devices).
+Function currently tested are:
+ - sanei_usb_init()
+ - sanei_usb_open(): valid, invalid devname, already opened
+ - sanei_usb_get_vendor_product_byname(): valid and invalid devname
+ - sanei_usb_get_vendor_product(): valid and invalid devname
+ - sanei_usb_close()
+ - sanei_usb_exit()
+ - store_device()
+
+
+sanei_constrain_test
+--------------------
+ Tests for sanei_constrain_* functions
+Function currently tested are:
+ - sanei_constrain_value()
+
+
+sanei_check_test
+----------------
+ Tests for sanei_check_* functions
+Function currently tested are:
+ - sanei_check_value()
+
+
+sanei_config_test
+-----------------
+ Tests for sanei_configure_* functions
+Function currently tested are:
+ - sanei_configure_attach()