diff options
author | Max Kellermann <max@musicpd.org> | 2019-08-15 17:57:20 +0200 |
---|---|---|
committer | Max Kellermann <max@musicpd.org> | 2019-08-15 17:57:20 +0200 |
commit | f909615b14379da2c281d8c3727ca302793a59b5 (patch) | |
tree | b094fb4684f859172cf71a87d4bb3b18c8910965 /test | |
parent | 92c89f0c86b27d2e48f753a68d63ef3c1aad6105 (diff) |
include cleanups (powered by iwyu)
Diffstat (limited to 'test')
-rw-r--r-- | test/read_mixer.cxx | 4 | ||||
-rw-r--r-- | test/run_encoder.cxx | 2 | ||||
-rw-r--r-- | test/run_output.cxx | 2 | ||||
-rw-r--r-- | test/test_vorbis_encoder.cxx | 2 |
4 files changed, 3 insertions, 7 deletions
diff --git a/test/read_mixer.cxx b/test/read_mixer.cxx index c9d1496a5..603660c3b 100644 --- a/test/read_mixer.cxx +++ b/test/read_mixer.cxx @@ -21,15 +21,11 @@ #include "mixer/MixerControl.hxx" #include "mixer/MixerList.hxx" #include "filter/FilterRegistry.hxx" -#include "pcm/Volume.hxx" -#include "Main.hxx" #include "event/Loop.hxx" #include "config/Block.hxx" #include "util/PrintException.hxx" #include <assert.h> -#include <string.h> -#include <unistd.h> #include <stdlib.h> const FilterPlugin * diff --git a/test/run_encoder.cxx b/test/run_encoder.cxx index 41a6e5c49..5f567ad75 100644 --- a/test/run_encoder.cxx +++ b/test/run_encoder.cxx @@ -27,11 +27,11 @@ #include "fs/io/StdioOutputStream.hxx" #include "util/PrintException.hxx" +#include <exception> #include <memory> #include <stdio.h> #include <stdlib.h> -#include <stddef.h> #include <unistd.h> int main(int argc, char **argv) diff --git a/test/run_output.cxx b/test/run_output.cxx index 2a31c001a..bbefaa1ad 100644 --- a/test/run_output.cxx +++ b/test/run_output.cxx @@ -24,7 +24,7 @@ #include "event/Thread.hxx" #include "fs/Path.hxx" #include "AudioParser.hxx" -#include "pcm/Convert.hxx" +#include "AudioFormat.hxx" #include "util/StringBuffer.hxx" #include "util/RuntimeError.hxx" #include "util/ScopeExit.hxx" diff --git a/test/test_vorbis_encoder.cxx b/test/test_vorbis_encoder.cxx index 62ac660d3..496466a54 100644 --- a/test/test_vorbis_encoder.cxx +++ b/test/test_vorbis_encoder.cxx @@ -30,8 +30,8 @@ #include <memory> +#include <assert.h> #include <stddef.h> -#include <unistd.h> static uint8_t zero[256]; |