Max Kellermann
|
1a5e0ef7c9
|
test/test_archive_iso9660.sh: use an odd chunk size to trigger bug
This makes the unit test fail. D'oh!
|
2020-09-07 20:53:46 +02:00 |
|
Max Kellermann
|
979a7a1dcc
|
test/run_input: add option --chunk-size
|
2020-09-07 20:52:37 +02:00 |
|
Max Kellermann
|
962cf32ba7
|
test/run_input: pass FileDescriptor to dump_input_stream()
|
2020-09-07 20:14:39 +02:00 |
|
Max Kellermann
|
ae23682372
|
system/FileDescriptor: add method FullWrite()
|
2020-09-07 20:13:43 +02:00 |
|
Max Kellermann
|
540919f256
|
*: use nullptr instead of NULL
|
2020-09-07 20:08:27 +02:00 |
|
Max Kellermann
|
398281cd76
|
io/FileDescriptor: add method FullRead()
|
2020-09-07 20:07:47 +02:00 |
|
Max Kellermann
|
88446ccde9
|
test/run_filter: use Filter::Flush()
|
2020-09-07 20:07:40 +02:00 |
|
Max Kellermann
|
6238cc0734
|
test/run_filter: pass ConstBuffer<void> to FullWrite()
|
2020-09-07 20:07:33 +02:00 |
|
Max Kellermann
|
fd4823c507
|
test/run_filter: fix error message
|
2020-09-07 20:07:29 +02:00 |
|
Max Kellermann
|
68bcfd8bf0
|
test/run_filter: check for partial writes
|
2020-09-07 20:07:24 +02:00 |
|
Max Kellermann
|
1d332746af
|
test/run_filter: move code to WriteOrThrow()
|
2020-09-07 20:07:18 +02:00 |
|
Max Kellermann
|
f3e133c617
|
test/run_filter: use class FileDescriptor
|
2020-09-07 20:07:13 +02:00 |
|
Max Kellermann
|
1678a6eb59
|
test/run_filter: ensure that partial frames will not get passed to the filter
|
2020-09-07 20:07:08 +02:00 |
|
Max Kellermann
|
b4dc2c07d5
|
test/run_filter: move the buffer into the loop
|
2020-09-07 20:07:03 +02:00 |
|
Max Kellermann
|
d7838950d8
|
test/run_input: use WithBufferedOutputStream()
|
2020-09-07 20:04:13 +02:00 |
|
Max Kellermann
|
2e93a83dd5
|
test/run_input: convert pointer to reference
|
2020-09-07 20:02:12 +02:00 |
|
Max Kellermann
|
2bdf1b2284
|
test/meson.build: add explicit dependency from run_output on libevent.a
We could exclude that feature if neither ALSA nor httpd are enabled,
but that's too complicated for this small debug program.
|
2020-08-14 14:40:39 +02:00 |
|
Max Kellermann
|
36e6079c57
|
Log: make LogLevel the first parameter
Prepare for templated functions.
|
2020-07-06 21:07:26 +02:00 |
|
Max Kellermann
|
c4efc37ad8
|
system/ByteOrder: move to util/
|
2020-07-01 17:49:57 +02:00 |
|
Max Kellermann
|
a689b881d3
|
test/meson.build: work around linker failure due to statically linked CURL
|
2020-04-02 17:16:05 +02:00 |
|
Max Kellermann
|
bad829509e
|
test/ShutdownHandler: add inline to work around Windows linker problems
|
2020-04-02 17:16:05 +02:00 |
|
Max Kellermann
|
9c66b0414a
|
test/*: fix Windows build using class FromNarrowPath
|
2020-04-02 17:16:05 +02:00 |
|
Max Kellermann
|
62229f14da
|
test/time: add test for LocalTime(), GmTime()
|
2020-04-01 16:21:29 +02:00 |
|
Max Kellermann
|
a4c925c8d7
|
test/meson.build: move TestTime to time/
|
2020-04-01 16:12:01 +02:00 |
|
Max Kellermann
|
60610e90b1
|
test/net/TestIPv[46]Address: fix Windows build errors
|
2020-04-01 16:09:24 +02:00 |
|
Max Kellermann
|
42eb69f46f
|
test/meson.build: restore -Wno-missing-declarations for GTest
This is still needed for GTest 1.8.0 (Travis / Ubuntu Bionic).
|
2020-02-04 22:06:51 +01:00 |
|
Max Kellermann
|
f1ad21d2bf
|
test/meson.build: add -Wno-unused-command-line-argument for clang 9+
|
2020-02-04 16:35:44 +01:00 |
|
Max Kellermann
|
535a099a27
|
test/meson.build: drop obsolete gtest warning suppressions
|
2020-02-04 16:32:13 +01:00 |
|
Max Kellermann
|
54d57fdcc2
|
test/DumpDecoderClient: dump the seekable flag
|
2020-01-25 20:07:09 +01:00 |
|
Max Kellermann
|
087874620f
|
test/RunCurl: new debug program
|
2019-12-23 14:26:56 +01:00 |
|
Max Kellermann
|
7bfe6a3304
|
test/run_storage: add command "stat"
|
2019-12-22 19:54:31 +01:00 |
|
Max Kellermann
|
15ce8eb487
|
time/ISO8601: support omitting field separators
Closes https://github.com/MusicPlayerDaemon/MPD/issues/685
|
2019-12-16 23:31:29 +01:00 |
|
Max Kellermann
|
63c5d66016
|
time/ISO8601: support omitting minutes
|
2019-12-16 23:24:43 +01:00 |
|
Max Kellermann
|
d09bd9178f
|
time/ISO8601: support omitting seconds
|
2019-12-16 23:24:43 +01:00 |
|
Max Kellermann
|
7d8b1860c3
|
time/ISO8601: support time zone offset
|
2019-12-16 23:24:43 +01:00 |
|
Max Kellermann
|
b06825829b
|
time/ISO8601: allow omitting the "Z" suffix
And allow "Z" suffix after date.
|
2019-12-16 23:24:43 +01:00 |
|
Max Kellermann
|
ba4cd47fd8
|
time/ISO8601: allow omitting the time of day
|
2019-12-16 23:24:43 +01:00 |
|
Max Kellermann
|
bbe403f141
|
test/TestISO8601: unit test for time/ISO8601
|
2019-12-16 23:24:43 +01:00 |
|
Max Kellermann
|
e9af692973
|
util/Time*: move to time/
|
2019-12-16 23:02:14 +01:00 |
|
Max Kellermann
|
90ea3bf985
|
playlist/Song: support backslash in relative URIs
Closes https://github.com/MusicPlayerDaemon/MPD/issues/607
|
2019-07-29 09:58:53 +02:00 |
|
Max Kellermann
|
83b0871248
|
test/test_translate_song: remove unused variable "s1"
|
2019-07-29 09:52:57 +02:00 |
|
Max Kellermann
|
d8aec4b2dc
|
test/run_decoder: catch StopDecoder
This exception is usually thrown by class DecoderBridge, but the Opus
plugin (ab)uses it as well, so we need to catch it.
|
2019-07-12 17:49:12 +02:00 |
|
Max Kellermann
|
6bab3bcfea
|
test/RunChromaprint: add missing override
|
2019-03-20 13:30:13 +01:00 |
|
Max Kellermann
|
52ce39dc3e
|
test/TestSongFilter: unit test for song filters
A few of those tests fail due to bugs.
|
2019-03-16 13:23:02 +01:00 |
|
Max Kellermann
|
7a3e15d8e5
|
test/meson.build: add section for filter tests
|
2019-03-16 13:23:02 +01:00 |
|
Max Kellermann
|
cf66a60c60
|
test/MakeTag: add noexcept
|
2019-03-16 13:23:02 +01:00 |
|
Max Kellermann
|
9b26d451e4
|
test/MakeTag: remove static
|
2019-03-16 13:23:02 +01:00 |
|
Max Kellermann
|
137ffba1b4
|
test/test_translate_song: move MakeTag() to header
|
2019-03-16 13:23:02 +01:00 |
|
Max Kellermann
|
6c28adbcd2
|
db/Plugin: use std::unique_ptr<> to manage Database pointers
|
2019-02-20 20:43:31 +01:00 |
|
Max Kellermann
|
e9c45a9140
|
playlist/Registry: add RAII class
|
2019-02-05 23:03:29 +01:00 |
|