summaryrefslogtreecommitdiff
path: root/test
AgeCommit message (Collapse)Author
2016-11-24test/FakeDecoderAPI: move code to DumpReplayGainTuple()Max Kellermann
2016-11-23filter/Plugin: rename with CamelCaseMax Kellermann
2016-11-22decoder/DecoderPlugin: container_scan() returns forward_list<DetachedSong>Max Kellermann
Speed up container_scan() again, by eliminating the need to call scan_file() for each item.
2016-11-22test/ContainerScan: new debug programMax Kellermann
2016-11-21decoder/Client: add virtual method Read()Max Kellermann
2016-11-18decoder/Client: add OpenUri(), replacing decoder_open_uri()Max Kellermann
2016-11-18decoder/Client: add Submit methodsMax Kellermann
Replaces decoder_data() and others.
2016-11-18decoder/Client: add DecoderCommand/seek virtual methodsMax Kellermann
2016-11-18decoder/Client: add virtual method Ready()Max Kellermann
Replaces decoder_initialized().
2016-11-18decoder/Client: new interface which wraps struct DecoderMax Kellermann
Prepare for a Decoder API redesign based on an abstract class with virtual methods.
2016-11-18Compiler.h: drop gcc_alignas(), use plain C++11 alignas()Max Kellermann
2016-11-10util/Error: remove obsolete classMax Kellermann
2016-11-10test/run_gzip: migrate from class Error to C++ exceptionsMax Kellermann
2016-11-09output/Plugin: remove 'Error&' parameters, use C++ exceptions onlyMax Kellermann
2016-11-07encoder: migrate from class Error to C++ exceptionsMax Kellermann
2016-10-29db/Interface: migrate visitor methods from class Error to C++ exceptionsMax Kellermann
2016-10-29db/Visitor: remove the Error parameterMax Kellermann
Implementations shall use exceptions instead.
2016-10-28db/Plugin: migrate from class Error to C++ exceptionsMax Kellermann
2016-10-28AudioParser: throw exception on errorMax Kellermann
2016-10-28encoder/Plugin: migrate from class Error to C++ exceptionsMax Kellermann
2016-10-28event/ServerSocket: migrate from class Error to C++ exceptionsMax Kellermann
2016-10-28db/update/InotifySource: migrate from class Error to C++ exceptionsMax Kellermann
2016-10-27LocateUri: migrate from class Error to C++ exceptionsMax Kellermann
2016-10-27storage: migrate from class Error to C++ exceptionsMax Kellermann
2016-10-26Instance: remove Error parameter from GetDatabase()Max Kellermann
2016-09-16input/InputStream: migrate from class Error to C++ exceptionsMax Kellermann
2016-09-09archive/Plugin: migrate open() from class Error to C++ exceptionsMax Kellermann
2016-09-09input/Plugin: migrate open() from class Error to C++ exceptionsMax Kellermann
2016-09-09input/Plugin: migrate init() from class Error to C++ exceptionsMax Kellermann
2016-09-09mixer: migrate to C++ exceptionsMax Kellermann
2016-09-09pcm/Convert: migrate from class Error to C++ exceptionsMax Kellermann
2016-09-05neighbor/Plugin: migrate from class Error to C++ exceptionsMax Kellermann
2016-09-04Filter/Plugin: migrate from class Error to C++ exceptionsMax Kellermann
2016-09-04Filter/Internal: migrate from class Error to C++ exceptionsMax Kellermann
2016-07-11test/run_decoder: catch and print C++ exceptionsMax Kellermann
2016-07-04test/*: add missing includes for fprintf()Max Kellermann
2016-07-02test/WriteFile: add missing include for fprintf()Max Kellermann
2016-07-02test/WriteFile: add missing include for EXIT_{SUCCESS,FAILURE}Max Kellermann
2016-07-01filter/FilterInternal: split class Filter, add class PreparedFilterMax Kellermann
For easier state management inside filter plugins.
2016-06-20event/SignalMonitor: use BoundMethod instead of raw function pointerMax Kellermann
2016-06-10util/MimeType: add ParseMimeTypeParameters()Max Kellermann
2016-06-10TagStream, decoder/Thread, ...: ignore MIME type parameters for matching pluginsMax Kellermann
2016-05-04test/run_encoder: use std::unique_ptrMax Kellermann
2016-05-04encoder/Interface: convert PreparedEncoder to abstract classMax Kellermann
2016-05-04encoder/Interface: move instance methods to abstract classMax Kellermann
Rename struct Encoder to PreparedEncoder, and add a new (abstract) class Encoder which represents one encoder instance.
2016-05-02test/{run_input,dump_text_file}: use class ScopeLockMax Kellermann
2016-04-30Merge tag 'v0.19.15'Max Kellermann
release v0.19.15
2016-04-30test/test_byte_reverse: use gcc_alignas() for gcc<4.8 compatibilityMax Kellermann
2016-04-28Bug#822848: mpd FTBFS on Alpha; misaligned arrays in the test suiteMichael Cree
Source: mpd Version: 0.19.14-2 Severity: important Justification: fails to build form source (but built in the past) Tags: patch User: debian-alpha@lists.debian.org Usertags: alpha mpd FTBFS on Alpha with a failure in the test suite [1]: FAIL: test/test_byte_reverse ============================ .F... !!!FAILURES!!! Test Results: Run: 4 Failures: 1 Errors: 0 1) test: ByteReverseTest::TestByteReverse2 (F) line: 58 test/test_byte_reverse.cxx assertion failed - Expression: strcmp(result, (const char *)dest) == 0 This occurs because the test suite (in test/test_byte_reversal.cxx) allocates static char arrays and passes the char arrays to functions whose respective arguments were declared to be uint16_t *, etc., in the main code. This is in the realm of undefined behaviour on architectures with strict memory alignment requirements. Although the test only fails on Alpha (because Alpha has a particular CPU load instruction that gcc likes to use to add bugs ..., ahem, optimise the code on the assumption of alignment) it is potentially a latent bug for other architectures with strict alignment requirements. Since the code is compiled with the c++11 standard I attach a patch that modifies the test suite to align the non-compliant strings with the alignas() attribute. The test suite now passes on Alpha with that patch. Cheers Michael [1] https://buildd.debian.org/status/fetch.php?pkg=mpd&arch=alpha&ver=0.19.14-2&stamp=1461542099
2016-04-21lib/icu/Converter: throw exception on errorMax Kellermann