Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
mpd
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Иван Мажукин
mpd
Commits
ab99a579
Commit
ab99a579
authored
Nov 12, 2022
by
Max Kellermann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
test/meson.build: reduce test_translate_song. dependencies
parent
c8ebaf35
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
2 deletions
+10
-2
meson.build
src/storage/meson.build
+0
-1
meson.build
test/meson.build
+2
-1
test_translate_song.cxx
test/test_translate_song.cxx
+8
-0
No files found.
src/storage/meson.build
View file @
ab99a579
...
@@ -31,4 +31,3 @@ storage_glue_dep = declare_dependency(
...
@@ -31,4 +31,3 @@ storage_glue_dep = declare_dependency(
storage_plugins_dep,
storage_plugins_dep,
],
],
)
)
test/meson.build
View file @
ab99a579
...
@@ -288,7 +288,8 @@ if enable_database
...
@@ -288,7 +288,8 @@ if enable_database
dependencies: [
dependencies: [
log_dep,
log_dep,
tag_dep,
tag_dep,
storage_glue_dep,
fs_dep,
storage_plugins_dep,
gtest_dep,
gtest_dep,
],
],
),
),
...
...
test/test_translate_song.cxx
View file @
ab99a579
...
@@ -14,6 +14,7 @@
...
@@ -14,6 +14,7 @@
#include "ls.hxx"
#include "ls.hxx"
#include "Log.hxx"
#include "Log.hxx"
#include "db/DatabaseSong.hxx"
#include "db/DatabaseSong.hxx"
#include "storage/Registry.hxx"
#include "storage/StorageInterface.hxx"
#include "storage/StorageInterface.hxx"
#include "storage/plugins/LocalStorage.hxx"
#include "storage/plugins/LocalStorage.hxx"
#include "Mapper.hxx"
#include "Mapper.hxx"
...
@@ -36,6 +37,13 @@ uri_supported_scheme(const char *uri) noexcept
...
@@ -36,6 +37,13 @@ uri_supported_scheme(const char *uri) noexcept
return
strncmp
(
uri
,
"http://"
,
7
)
==
0
;
return
strncmp
(
uri
,
"http://"
,
7
)
==
0
;
}
}
const
StoragePlugin
*
GetStoragePluginByUri
(
const
char
*
)
noexcept
{
// dummy symbol
return
nullptr
;
}
static
constexpr
auto
music_directory
=
PATH_LITERAL
(
"/music"
);
static
constexpr
auto
music_directory
=
PATH_LITERAL
(
"/music"
);
static
Storage
*
storage
;
static
Storage
*
storage
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment