test/playlist: unit tests for the playlist plugins

Only "pls" for now.
This commit is contained in:
Max Kellermann
2025-03-10 14:13:52 +01:00
parent 2d3271859f
commit 898e0a2bc4
6 changed files with 189 additions and 0 deletions

View File

@@ -0,0 +1,15 @@
// SPDX-License-Identifier: GPL-2.0-or-later
// Copyright The Music Player Daemon Project
#pragma once
#include <memory>
#include <string>
class SongEnumerator;
std::unique_ptr<SongEnumerator>
ParsePlaylist(const char *uri, std::string_view contents);
std::string
ToString(SongEnumerator &e);