summaryrefslogtreecommitdiff
path: root/test
AgeCommit message (Collapse)Author
2021-01-01copyright year 2021Max Kellermann
2020-10-28protocol/Ack: remove unused variable `ack_domain`Max Kellermann
2020-10-05playlist/cue/parser: pass StringView to Feed()Max Kellermann
2020-10-05test/fuzzer: a simple fuzzer using libFuzzerMax Kellermann
This commit adds some basic infrastructure for fuzzers, and adds a fuzzer for the CUE sheet parser.
2020-09-22meson.build: add -Wdouble-promotionMax Kellermann
2020-09-21decoder/plugin: add method protocols()Max Kellermann
Similar to commit 4e2a551f30c1e1db13933d15c44d9186a2f37959 but for decoder plugins. This is tailored for the FFmpeg decoder plugin which implements some protocols (e.g. RTSP) as demuxer plugin.
2020-09-07Merge branch 'v0.21.x' into masterMax Kellermann
2020-09-07test/test_archive_iso9660.sh: use an odd chunk size to trigger bugMax Kellermann
This makes the unit test fail. D'oh!
2020-09-07test/run_input: add option --chunk-sizeMax Kellermann
2020-09-07Merge branch 'v0.21.x' into masterMax Kellermann
2020-09-07test/run_input: pass FileDescriptor to dump_input_stream()Max Kellermann
2020-09-07system/FileDescriptor: add method FullWrite()Max Kellermann
2020-09-07*: use nullptr instead of NULLMax Kellermann
2020-09-07io/FileDescriptor: add method FullRead()Max Kellermann
2020-09-07test/run_filter: use Filter::Flush()Max Kellermann
2020-09-07test/run_filter: pass ConstBuffer<void> to FullWrite()Max Kellermann
2020-09-07test/run_filter: fix error messageMax Kellermann
2020-09-07test/run_filter: check for partial writesMax Kellermann
2020-09-07test/run_filter: move code to WriteOrThrow()Max Kellermann
2020-09-07test/run_filter: use class FileDescriptorMax Kellermann
2020-09-07test/run_filter: ensure that partial frames will not get passed to the filterMax Kellermann
2020-09-07test/run_filter: move the buffer into the loopMax Kellermann
2020-09-07test/run_input: use WithBufferedOutputStream()Max Kellermann
2020-09-07test/run_input: convert pointer to referenceMax Kellermann
2020-08-14test/meson.build: add explicit dependency from run_output on libevent.aMax Kellermann
We could exclude that feature if neither ALSA nor httpd are enabled, but that's too complicated for this small debug program.
2020-07-06Log: make LogLevel the first parameterMax Kellermann
Prepare for templated functions.
2020-07-01system/ByteOrder: move to util/Max Kellermann
2020-07-01test/meson.build: add explicit dependency from run_output on libevent.aMax Kellermann
We could exclude that feature if neither ALSA nor httpd are enabled, but that's too complicated for this small debug program.
2020-06-04test/meson.build: install GTest from fallback Meson wrapMax Kellermann
2020-06-04test/meson.build: disable GTest warning "ScopedTrace was marked unused but ↵Max Kellermann
was used"
2020-05-26test/test_pcm_export: eliminate zero-length arraysMax Kellermann
C++ doesn't allow that. Closes https://github.com/MusicPlayerDaemon/MPD/issues/875
2020-05-05system/FileDescriptor: move to io/Max Kellermann
2020-04-02Merge tag 'v0.21.22'Max Kellermann
release v0.21.22
2020-04-02test/meson.build: work around linker failure due to statically linked CURLMax Kellermann
2020-04-02test/ShutdownHandler: add `inline` to work around Windows linker problemsMax Kellermann
2020-04-02test/*: fix Windows build using class FromNarrowPathMax Kellermann
2020-04-01test/time: add test for LocalTime(), GmTime()Max Kellermann
2020-04-01test/meson.build: move TestTime to time/Max Kellermann
2020-04-01test/net/TestIPv[46]Address: fix Windows build errorsMax Kellermann
2020-03-16test: fix double promotionRosen Penev
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-03-16remove gcc_unusedRosen Penev
[[maybe_unused]] (introduced in C++17) is standard C++. https://clang.llvm.org/docs/AttributeReference.html#maybe-unused-unused says that this is equivalent to the GNU unused attribute. Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-03-13playlist/PlaylistSong: pass std::string_viewMax Kellermann
2020-03-12change errno.h to cerrnoRosen Penev
The former is deprecated by C++14. It's also functionally the same. From the standard: 19.4 The header<cerrno>is described in Table 43. Its contents are the same as the POSIX header<errno.h>,except that errno shall be defined as a macro. [Note: The intent is to remain in close alignment with the POSIX standard.] A separate errno value shall be provided for each thread. Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-03-12replace assert.h with cassertRosen Penev
The former was deprecated with C++14. According to the C++11 and C++17 standards, both files are identical. Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-03-12test/run_convert: add option --configMax Kellermann
2020-03-12test/run_convert: add option --verboseMax Kellermann
2020-03-12test/run_convert: move code to ParseCommandLine()Max Kellermann
2020-02-16Merge tag 'v0.21.20'Max Kellermann
release v0.21.20
2020-02-04test/run_decoder: add option --seekMax Kellermann
2020-02-04test/meson.build: restore -Wno-missing-declarations for GTestMax Kellermann
This is still needed for GTest 1.8.0 (Travis / Ubuntu Bionic).