sane-project-backends/testsuite/sanei
Peter Marschall ffff088641 spelling fixes for testsuite 2020-08-29 09:18:04 +02:00
..
data .editorconfig: trim trailing whitespace 2017-05-29 21:14:29 +09:00
Makefile.am testsuite: Add missing libs to `make check` programs 2019-06-30 22:18:11 +03:00
README .editorconfig: trim trailing whitespace 2017-05-29 21:14:29 +09:00
sanei_check_test.c .editorconfig: trim trailing whitespace 2017-05-29 21:14:29 +09:00
sanei_config_test.c respect 'local_only' parameter of sane_get_devices() 2020-08-12 12:29:38 +02:00
sanei_constrain_test.c .editorconfig: trim trailing whitespace 2017-05-29 21:14:29 +09:00
sanei_usb_test.c spelling fixes for testsuite 2020-08-29 09:18:04 +02:00
test_wire.c Fix unused parameter compiler warnings in check tools 2017-05-14 19:47:31 +09:00

README

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()