Commit Graph

132 Commits

Author SHA1 Message Date
Joel Holdsworth 340bc0a429 Implemented Basic analog tests 2013-03-21 22:44:19 +00:00
Arkadiusz Miśkiewicz f64767a69b Added missing pthread linkage in tests 2013-03-11 20:41:35 +00:00
Uwe Hermann 9ba4ca3540 Minor whitespace fixes. 2013-03-03 17:20:00 +01:00
Joel Holdsworth c6013ca7dd Added Sixteen test case
This test case is a replica of sixteen.sr attached to the Bug #33
2013-01-13 19:24:31 +00:00
Joel Holdsworth 37fdce0ac5 Fixed LongPulses test packet setup
The length field is now populated with the number of bytes rather
than the number of samples
2013-01-13 13:42:50 +00:00
Alexandru Gagniuc 6092d96f5d tests: Add check for handling of wide data (16 probes)
The details of the test are explained in-source. This test is designed to
provide a test case for bug 33.

Signed-off-by: Alexandru Gagniuc <mr.nuke.me@gmail.com>
2013-01-08 14:18:37 -06:00
Joel Holdsworth 1b1ec77497 Moved data and snapshot classes into pv::data namespace 2012-12-24 15:26:08 +00:00
Uwe Hermann 333d5bbc0a Some smaller whitespace fixes. 2012-12-12 22:19:22 +01:00
Joel Holdsworth a322807e50 Moved unit test build commands into test/CMakeLists.txt 2012-10-21 15:56:46 +01:00
Joel Holdsworth fe48aaeba2 Removed uneeded statements in LogicDataSnapshot test 2012-10-20 18:29:25 +01:00
Joel Holdsworth 38f5609e63 Corrected more signed/unsigned inconsistencies in LogicDataSnapshot test 2012-10-20 18:29:25 +01:00
Joel Holdsworth 60b0c2daf2 Corrected signed/unsigned inconsistencies in LogicDataSnapshot 2012-10-20 18:29:24 +01:00
Alexandru Gagniuc fb746bcc3d Do not pass -DBOOST_TEST_DYN_LINK to pulseview
-DBOOST_TEST_DYN_LINK is meant to be passed only to pulseview-test,
not to pulseview. When test were enabled, this flag was defined
globally, and as a result, also passed to pulseview.

Create a CMakeLists.txt for test, and add test as a subdirectory
when tests are enabled. This way, -DBOOST_TEST_DYN_LINK is only
defined for our test app.

Signed-off-by: Alexandru Gagniuc <mr.nuke.me@gmail.com>
2012-10-13 15:02:59 +02:00
Joel Holdsworth cef18fc616 Made extdef.h a global include 2012-10-13 15:02:58 +02:00
Joel Holdsworth 51e77110d4 Moved all classes into the pv namespace 2012-10-12 22:41:01 +01:00
Joel Holdsworth b3f22de060 Corrected project name in header comments 2012-10-12 21:20:44 +01:00
Joel Holdsworth ac7aa63682 Added tests for low scale 2012-10-06 13:56:26 +01:00
Joel Holdsworth a126c277be Added LisMUsbHid test 2012-10-06 13:56:26 +01:00
Joel Holdsworth 4f767cf710 Made longpulses a 64-bit test 2012-10-06 13:56:26 +01:00
Joel Holdsworth ba3c4daeba Added missing delete to longpulses test 2012-10-06 13:56:26 +01:00
Joel Holdsworth 821f23af70 Added missing delete to pulses test 2012-10-06 13:56:26 +01:00
Joel Holdsworth 7d0d64f9c0 Fixes and optimizations to get_subsampled edges 2012-10-06 13:56:23 +01:00
Joel Holdsworth 910b16ec9f Added LongPulses test 2012-09-30 20:34:02 +01:00
Joel Holdsworth 3db297c4f9 Added Pulses test case for LogicDataSnapshot 2012-09-30 20:28:16 +01:00
Joel Holdsworth 39f6e56e9b Fixes to LargeData test checks 2012-09-30 20:27:59 +01:00
Joel Holdsworth b2bcbe51fe Added LogicDataSnapshot::get_subsample helper function 2012-09-16 11:23:08 +01:00
Joel Holdsworth 8743e7cba1 Added tests, and corrected behaviour of LogicDataSnapshot::pow2_ceil 2012-09-15 13:31:14 +01:00
Joel Holdsworth ecda6ca9b8 Added large data set tests for append_payload_to_mipmap 2012-09-03 14:00:03 +01:00
Joel Holdsworth 0b02e0578c Implemented O(log(N)) wave plotting 2012-09-03 14:00:03 +01:00
Joel Holdsworth 4ceab49abb Added subsampling for fast lookup 2012-09-03 14:00:02 +01:00
Joel Holdsworth 4780b4c82d Initial tests for LogicDataSnapshot 2012-09-03 14:00:02 +01:00
Joel Holdsworth f0fa92c6c4 Added empty unit testing framework 2012-09-03 13:59:56 +01:00