aboutsummaryrefslogtreecommitdiffstats
path: root/tests/tests.c
Commit message (Expand)AuthorAgeFilesLines
* tests/chip: Add non-aligned write within a region unit-testEdward O'Callaghan2023-01-171-0/+1
* tests: Detect llvm coverage run and redirect to real I/O functionsEvan Benn2022-12-091-0/+2
* tests: Detect gcov run and redirect to real I/O functionsEvan Benn2022-12-091-0/+2
* tests: Add fwrite and fdopen to io_mockEvan Benn2022-12-091-0/+4
* tests: Mock the mode_t variant of openEvan Benn2022-12-091-8/+29
* tests: Add selfcheck to unit testsEvan Benn2022-12-051-0/+9
* tests: add probe lifecycle test for ch341a_spiAlexander Goncharov2022-11-291-0/+1
* tests: add basic lifecycle test for ch341a_spiAlexander Goncharov2022-11-291-0/+1
* tests: Add prefix to io_mock functions not to clash with macrosAnastasia Klimchuk2022-11-081-20/+20
* tests: Undefine _FORTIFY_SOURCE for unit tests to avoid _chk variantsAnastasia Klimchuk2022-11-071-16/+0
* tests: Add unit test for initialisation with NULL programmer paramAnastasia Klimchuk2022-09-201-0/+1
* tests: Add workaround to allow tests mock fileno on FreeBSDAnastasia Klimchuk2022-09-161-0/+11
* tests: Use MOCK_FD instead of NON_ZERO for file operationsAnastasia Klimchuk2022-09-121-2/+2
* tree: Fix drivers to pass programmer_cfg to pcidev_init()Edward O'Callaghan2022-09-071-1/+1
* tests: Add tests to cover unhandled programmer params pathsAnastasia Klimchuk2022-09-041-0/+3
* tests: Test allow_brick is required for i2c programmers initAnastasia Klimchuk2022-08-101-0/+3
* tests: Add basic lifecycle test for mediatek_i2c_spiAnastasia Klimchuk2022-08-081-0/+1
* tests: Add basic lifecycle test for parade_lspconAnastasia Klimchuk2022-08-081-0/+1
* tests/test.c: Allow filtering of tests using cmocka APIEvan Benn2022-08-021-1/+4
* tests: Add dummyflasher unit tests for opaque programmerAnastasia Klimchuk2022-06-281-0/+1
* tests: Use regular cmocka wraps for hwaccess functionsAnastasia Klimchuk2022-06-211-6/+6
* libflashrom: Return progress state to the library userRichard Hughes2022-05-251-0/+1
* tests: test write protectionSergii Dmytruk2022-05-121-0/+10
* tests: Add and include headers with function prototypesAnastasia Klimchuk2022-04-291-0/+1
* tests: assert pathname and flags when calling open()Daniel Campello2022-04-061-8/+23
* tests: use MOCK_FD instead of NON_ZERODaniel Campello2022-04-061-3/+3
* tests: add more mock wrappersDaniel Campello2022-03-211-0/+24
* tests: Upgrade linux_spi test to run probe lifecycleAnastasia Klimchuk2022-03-201-1/+1
* tests: Upgrade linux_mtd test to run probe lifecycleAnastasia Klimchuk2022-03-201-1/+1
* tests: Add run_probe_lifecycle and add dummyflasher probe testAnastasia Klimchuk2022-03-201-0/+1
* tests: Rename run_lifecycle into run_basic_lifecycleAnastasia Klimchuk2022-03-101-7/+7
* tests: Rename init_shutdown.c into lifecycle.cAnastasia Klimchuk2022-03-101-2/+2
* tests: Add tests for verify operationAnastasia Klimchuk2022-02-181-0/+2
* tests: add fprintf() mock with redirection to io_mockNikolai Artemiev2022-02-141-0/+14
* tests: Add init-shutdown test for raiden_debug_spiAnastasia Klimchuk2021-11-291-0/+1
* tests: Add wraps for __xstat/__fxstat variants of stat/fstatAnastasia Klimchuk2021-11-171-0/+24
* tests: Add tests to write on chipAnastasia Klimchuk2021-11-081-0/+8
* tests: Fix fread wrap to return success by defaultAnastasia Klimchuk2021-10-191-3/+3
* tests: Extract libusb wraps into separate fileAnastasia Klimchuk2021-10-181-46/+0
* tests: Move current_io to io_mock.c be visible across testsAnastasia Klimchuk2021-10-181-41/+34
* tests: Move LOG_ME to include/tests.h to be available everywhereAnastasia Klimchuk2021-10-181-3/+0
* tests: Add NON_ZERO macro and not_null function instead of MOCK_HANDLEAnastasia Klimchuk2021-10-181-10/+14
* tests: Add tests to read from chipAnastasia Klimchuk2021-10-011-0/+38
* mec1308: remove MEC1308 EC programmerVictor Ding2021-09-221-1/+0
* ene_lpc: remove ENE LPC programmerVictor Ding2021-09-221-1/+0
* tests: Mock file i/o for linux_mtd and linux_spi testsAnastasia Klimchuk2021-08-301-1/+65
* tests: Add tests to erase a chipAnastasia Klimchuk2021-08-191-0/+6
* tests: add init_shutdown test for realtek_mst_i2c_spiPeter Marheine2021-08-191-0/+29
* tests: Add init-shutdown test for nicrealtekAnastasia Klimchuk2021-08-091-0/+17
* tests: Add unit tests for layout sanity checksAnastasia Klimchuk2021-07-221-0/+3