• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..03-May-2022-

README.mdH A D22-Jan-2021521 149

common.hH A D22-Jan-20213.1 KiB146113

test_audio.cppH A D22-Jan-20216.1 KiB245184

test_callback_ret.cppH A D22-Jan-20216.5 KiB208155

test_deadlock.cppH A D22-Jan-20218.5 KiB261145

test_device_changed_callback.cppH A D22-Jan-20213.4 KiB11079

test_devices.cppH A D22-Jan-20217.8 KiB255201

test_duplex.cppH A D22-Jan-20215.6 KiB182136

test_latency.cppH A D22-Jan-20211.2 KiB4839

test_loopback.cppH A D22-Jan-202122.1 KiB579437

test_overload_callback.cppH A D22-Jan-20212.4 KiB9369

test_record.cppH A D22-Jan-20213 KiB11784

test_resampler.cppH A D22-Jan-202138.4 KiB1,082825

test_ring_array.cppH A D22-Jan-20212.2 KiB7459

test_ring_buffer.cppH A D22-Jan-20215.8 KiB228173

test_sanity.cppH A D22-Jan-202119.2 KiB752569

test_tone.cppH A D22-Jan-20213.1 KiB12279

test_utils.cppH A D22-Jan-20211.4 KiB7353

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