aboutsummaryrefslogtreecommitdiffstats
path: root/test/test_translate_song.cxx (follow)
Commit message (Collapse)AuthorAgeFilesLines
* DetachedSong: move code from Update() to LoadFile()Max Kellermann2015-10-201-2/+2
| | | | Avoid duplicate AllocatedPath::FromUTF8() invocations in two callers.
* test/test_translate_song: use PATH_LITERAL()Max Kellermann2015-06-221-1/+1
|
* Tag: use SignedSongTime for the song durationMax Kellermann2014-08-291-3/+6
|
* DetachedSong: use std::chrono::duration for start_ms and end_msMax Kellermann2014-08-281-4/+4
|
* Tag: add class const_iterator and methods begin(), end()Max Kellermann2014-07-121-2/+1
| | | | Enables using range-based "for".
* storage/local: remove utf8 path from constructorMax Kellermann2014-02-071-3/+4
| | | | Build the UTF-8 version of the path automatically in the constructor.
* StoragePlugin: add method MapToRelativeUTF8()Max Kellermann2014-02-071-16/+8
| | | | Replaces map_to_relative_path() from Mapper.cxx.
* Mapper: move map_song_detach() to db/DatabaseSong.cxxMax Kellermann2014-02-071-6/+16
| | | | Use Storage::MapUTF8() internally, don't use global variables.
* Instance: add Database attributeMax Kellermann2014-02-041-2/+9
| | | | Move from db/DatabaseGlue.cxx, eliminating global variable.
* db/DatabasePlaylist: pass Database reference aroundMax Kellermann2014-02-041-4/+6
| | | | Reduce global variable usage, move to frontend code.
* SongLoader: new class that merges duplicate codeMax Kellermann2014-02-031-10/+41
| | | | | There was quite a lot of duplicate code for loading DetachedSong objects, with different semantics for "securely" loading local files.
* Database*: move to db/Max Kellermann2014-01-241-1/+1
|
* playlist/*: move to playlist/plugins/Max Kellermann2014-01-231-1/+1
|
* PlaylistSong: modify the given song object in-placeMax Kellermann2014-01-211-48/+31
| | | | Reduce bloat.
* test: add unit test for playlist_check_translate_song()Max Kellermann2014-01-211-0/+290