Fix tagreader test compile error with tagparser
This commit is contained in:
@@ -45,7 +45,9 @@ class TagReaderTest : public ::testing::Test {
|
|||||||
protected:
|
protected:
|
||||||
static void SetUpTestCase() {
|
static void SetUpTestCase() {
|
||||||
// Return something from uninteresting mock functions.
|
// Return something from uninteresting mock functions.
|
||||||
|
#if defined(USE_TAGLIB)
|
||||||
testing::DefaultValue<TagLib::String>::Set("foobarbaz");
|
testing::DefaultValue<TagLib::String>::Set("foobarbaz");
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
static Song ReadSongFromFile(const QString& filename) {
|
static Song ReadSongFromFile(const QString& filename) {
|
||||||
|
|||||||
Reference in New Issue
Block a user