Commit Graph

18 Commits

Author SHA1 Message Date
Nirosharn Amarasinghe c56f546670 tests: Bluetooth: controller: Disabled ISO-AL Unit Tests
Tests will be restructured in a future commit. Temporarily disabled to
partition the changes to allow tests to be a separate PR.

Signed-off-by: Nirosharn Amarasinghe <niag@demant.com>
2022-10-03 13:22:13 +02:00
Michał Barnaś dae8efa692 ztest: remove the obsolete NULL appended to zassert macros
This commit removes the usage of NULL parameter as message in
zassert_* macros after making it optional

Signed-off-by: Michał Barnaś <mb@semihalf.com>
2022-09-09 07:05:38 -04:00
Yuval Peress 000bdb16c7 test: BT: ctrl_isoal: run clang-format
Run clang-format on the ctrl_isoal test's main.c

Signed-off-by: Yuval Peress <peress@google.com>
2022-08-03 21:20:40 +02:00
Yuval Peress 4659524374 ztest: mock: Remove ztest mock from BT ctrl_isoal
Remove use of ztest mock Kconfig from BT ctrl_isoal tests.

Signed-off-by: Yuval Peress <peress@google.com>
2022-08-03 21:20:40 +02:00
Yuval Peress fb5fabc3fb ztest: mock: Update BT ctrl_isoal allocation to use fff
Remove references to ztest mock used in `sink_sdu_emit_test`.

Signed-off-by: Yuval Peress <peress@google.com>
2022-08-03 21:20:40 +02:00
Yuval Peress 926830e546 ztest: mock: Update BT ctrl_isoal allocation to use fff
Remove references to ztest mock used in `sink_sdu_write_test`.

Signed-off-by: Yuval Peress <peress@google.com>
2022-08-03 21:20:40 +02:00
Yuval Peress 8589e34a50 ztest: mock: Update BT ctrl_isoal allocation to use fff
Remove references to ztest mock used in `sink_sdu_alloc_test`.

Signed-off-by: Yuval Peress <peress@google.com>
2022-08-03 21:20:40 +02:00
Fabio Baltieri def230187b test: fix more legacy #include paths
Add a bunch of missing "zephyr/" prefixes to #include statements in
various test and test framework files.

Signed-off-by: Fabio Baltieri <fabiobaltieri@google.com>
2022-08-02 16:41:41 +01:00
Carles Cufi 8e8cc7e490 tests: bluetooth: ctrl_isoal: Remove unnecessary test_main
With thew new ztest API, test_main() is not required anymore, so get rid
of it.

Signed-off-by: Carles Cufi <carles.cufi@nordicsemi.no>
2022-07-07 10:47:23 +02:00
Reto Schneider 7a6c5710ff cmake: Update cmake_minimum_required to 3.20.0
As Zephyr currently requires CMake version 3.20.0, update all
occurrences of cmake_minimum_required.

Signed-off-by: Reto Schneider <reto.schneider@husqvarnagroup.com>
2022-07-04 10:18:45 +02:00
Nirosharn Amarasinghe 64c9a521d4 tests: bluetooth: Reworked ISO-AL RX unit tests
Fixes incorrect use of the test framework and updates tests according
to the new test API.

Signed-off-by: Nirosharn Amarasinghe <niag@demant.com>
2022-06-22 12:21:16 +02:00
Anas Nashif 09d565e72c tests: bluetooth: define testcases in yaml file
Define testcases in yaml to workaround inconsistencies in parsing.

Signed-off-by: Anas Nashif <anas.nashif@intel.com>
2022-05-13 12:16:57 -04:00
Morten Priess 112c38e757 tests: bluetooth: Updates for ISOAL unittest
Minor adjustments due to implementation changes.

Signed-off-by: Morten Priess <mtpr@oticon.com>
2022-05-06 11:32:30 +02:00
Vinayak Kariappa Chettimada 683fc11f3a tests: Bluetooth: Fix ctrl_iso unit test to include dependencies
Fix ctrl_iso ISOAL unit tests to include mockup Kconfig
dependency options.

Signed-off-by: Vinayak Kariappa Chettimada <vich@nordicsemi.no>
2022-03-25 12:52:11 +01:00
Nirosharn Amarasinghe 3cdaf72d9d bluetooth: controller: Add ISO-AL TX unframed fragmentation
- Implemented ISO-AL TX interface functions for fragmentation of
  unframed PDUs
- Implemented ISO-AL source construct and its creation for an input
  data path

Signed-off-by: Nirosharn Amarasinghe <niag@demant.com>
2022-03-21 19:03:56 +01:00
Nazar Kazakov f483b1bc4c everywhere: fix typos
Fix a lot of typos

Signed-off-by: Nazar Kazakov <nazar.kazakov.work@gmail.com>
2022-03-18 13:24:08 -04:00
Carlo Caione e3d2306334 tests: bluetooth: controller: s/STACKSIZE/STACK_SIZE/
Otherwise CI complains.

Signed-off-by: Carlo Caione <ccaione@baylibre.com>
2022-03-02 13:20:52 +01:00
Nirosharn Amarasinghe 0f8d9b430b tests: bluetooth: controller: Add ISO AL unit test
Ztest based unit test of ISO adaptation layer.
Testing of unframed case, single SDU, recombined from
one and two PDUs.

Signed-off-by: Nirosharn Amarasinghe <niag@demant.com>
2022-03-02 11:22:33 +01:00