Name | Date | Size | #Lines | LOC | ||
---|---|---|---|---|---|---|
.. | 03-May-2022 | - | ||||
README.md | H A D | 22-Jan-2021 | 521 | 14 | 9 | |
common.h | H A D | 22-Jan-2021 | 3.1 KiB | 146 | 113 | |
test_audio.cpp | H A D | 22-Jan-2021 | 6.1 KiB | 245 | 184 | |
test_callback_ret.cpp | H A D | 22-Jan-2021 | 6.5 KiB | 208 | 155 | |
test_deadlock.cpp | H A D | 22-Jan-2021 | 8.5 KiB | 261 | 145 | |
test_device_changed_callback.cpp | H A D | 22-Jan-2021 | 3.4 KiB | 110 | 79 | |
test_devices.cpp | H A D | 22-Jan-2021 | 7.8 KiB | 255 | 201 | |
test_duplex.cpp | H A D | 22-Jan-2021 | 5.6 KiB | 182 | 136 | |
test_latency.cpp | H A D | 22-Jan-2021 | 1.2 KiB | 48 | 39 | |
test_loopback.cpp | H A D | 22-Jan-2021 | 22.1 KiB | 579 | 437 | |
test_overload_callback.cpp | H A D | 22-Jan-2021 | 2.4 KiB | 93 | 69 | |
test_record.cpp | H A D | 22-Jan-2021 | 3 KiB | 117 | 84 | |
test_resampler.cpp | H A D | 22-Jan-2021 | 38.4 KiB | 1,082 | 825 | |
test_ring_array.cpp | H A D | 22-Jan-2021 | 2.2 KiB | 74 | 59 | |
test_ring_buffer.cpp | H A D | 22-Jan-2021 | 5.8 KiB | 228 | 173 | |
test_sanity.cpp | H A D | 22-Jan-2021 | 19.2 KiB | 752 | 569 | |
test_tone.cpp | H A D | 22-Jan-2021 | 3.1 KiB | 122 | 79 | |
test_utils.cpp | H A D | 22-Jan-2021 | 1.4 KiB | 73 | 53 |
README.md
1Notes on writing tests. 2 3The googletest submodule is currently at 1.6 rather than the latest, and should 4only be updated to track the version used in Gecko to make test compatibility 5easier. 6 7Always #include "gtest/gtest.h" before *anything* else. 8 9All tests should be part of the "cubeb" test case, e.g. TEST(cubeb, my_test). 10 11Tests are built stand-alone in cubeb, but built as a single unit in Gecko, so 12you must use unique names for globally visible items in each test, e.g. rather 13than state_cb use state_cb_my_test. 14