[banshee] [tests] Fix Mono.Media and Banshee.Services targets
- From: Gabriel Burt <gburt src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [banshee] [tests] Fix Mono.Media and Banshee.Services targets
- Date: Fri, 19 Mar 2010 19:23:40 +0000 (UTC)
commit 1e90d76032f0bd16b2e12bc4c6a2ea5ef7e56b44
Author: Gabriel Burt <gabriel burt gmail com>
Date: Fri Mar 19 12:22:01 2010 -0700
[tests] Fix Mono.Media and Banshee.Services targets
They had directories in tests/ that made the 'make %' target not work
(and therefore the 'make test' target within their src/ dirs also did not
work). Fixed by moving the data in those tests/ subdirs into tests/data
.../Tests/PlaylistFormatTests.cs | 2 +-
.../Media.Playlists.Xspf/Tests/XspfTests.cs | 4 ++--
.../playlist-data/extended.asx | 0
.../playlist-data/extended.m3u | 0
.../playlist-data/extended.pls | 0
.../playlist-data/reference_local.asx | 0
.../playlist-data/reference_remote.asx | 0
.../playlist-data/simple.asx | 0
.../playlist-data/simple.m3u | 0
.../playlist-data/simple.pls | 0
tests/{Mono.Media => data}/xspf/complete.xml | 0
tests/{Mono.Media => data}/xspf/xspf-1_0.2.xsd | 0
12 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/src/Core/Banshee.Services/Banshee.Playlists.Formats/Tests/PlaylistFormatTests.cs b/src/Core/Banshee.Services/Banshee.Playlists.Formats/Tests/PlaylistFormatTests.cs
index 1fa23f3..41a3eef 100644
--- a/src/Core/Banshee.Services/Banshee.Playlists.Formats/Tests/PlaylistFormatTests.cs
+++ b/src/Core/Banshee.Services/Banshee.Playlists.Formats/Tests/PlaylistFormatTests.cs
@@ -56,7 +56,7 @@ namespace Banshee.Playlists.Formats.Tests
{
Mono.Addins.AddinManager.Initialize (BinDir);
- playlists_dir = Path.Combine (TestsDir, "Banshee.Services/playlist-data");
+ playlists_dir = Path.Combine (TestsDir, "data/playlist-data");
IPlaylistFormat playlist = LoadPlaylist (new M3uPlaylistFormat (), "extended.m3u");
foreach (Dictionary<string, object> element in playlist.Elements) {
elements.Add (element);
diff --git a/src/Libraries/Mono.Media/Media.Playlists.Xspf/Tests/XspfTests.cs b/src/Libraries/Mono.Media/Media.Playlists.Xspf/Tests/XspfTests.cs
index 1e07c07..45b5b4a 100644
--- a/src/Libraries/Mono.Media/Media.Playlists.Xspf/Tests/XspfTests.cs
+++ b/src/Libraries/Mono.Media/Media.Playlists.Xspf/Tests/XspfTests.cs
@@ -41,8 +41,8 @@ namespace Media.Playlists.Xspf.Tests
[TestFixture]
public class XspfTest
{
- private const string complete_path = "../tests/Mono.Media/xspf/complete.xml";
- private const string xsd_path = "../tests/Mono.Media/xspf/xspf-1_0.2.xsd";
+ private const string complete_path = "../tests/data/xspf/complete.xml";
+ private const string xsd_path = "../tests/data/xspf/xspf-1_0.2.xsd";
[Test]
public void Load ()
diff --git a/tests/Banshee.Services/playlist-data/extended.asx b/tests/data/playlist-data/extended.asx
similarity index 100%
rename from tests/Banshee.Services/playlist-data/extended.asx
rename to tests/data/playlist-data/extended.asx
diff --git a/tests/Banshee.Services/playlist-data/extended.m3u b/tests/data/playlist-data/extended.m3u
similarity index 100%
rename from tests/Banshee.Services/playlist-data/extended.m3u
rename to tests/data/playlist-data/extended.m3u
diff --git a/tests/Banshee.Services/playlist-data/extended.pls b/tests/data/playlist-data/extended.pls
similarity index 100%
rename from tests/Banshee.Services/playlist-data/extended.pls
rename to tests/data/playlist-data/extended.pls
diff --git a/tests/Banshee.Services/playlist-data/reference_local.asx b/tests/data/playlist-data/reference_local.asx
similarity index 100%
rename from tests/Banshee.Services/playlist-data/reference_local.asx
rename to tests/data/playlist-data/reference_local.asx
diff --git a/tests/Banshee.Services/playlist-data/reference_remote.asx b/tests/data/playlist-data/reference_remote.asx
similarity index 100%
rename from tests/Banshee.Services/playlist-data/reference_remote.asx
rename to tests/data/playlist-data/reference_remote.asx
diff --git a/tests/Banshee.Services/playlist-data/simple.asx b/tests/data/playlist-data/simple.asx
similarity index 100%
rename from tests/Banshee.Services/playlist-data/simple.asx
rename to tests/data/playlist-data/simple.asx
diff --git a/tests/Banshee.Services/playlist-data/simple.m3u b/tests/data/playlist-data/simple.m3u
similarity index 100%
rename from tests/Banshee.Services/playlist-data/simple.m3u
rename to tests/data/playlist-data/simple.m3u
diff --git a/tests/Banshee.Services/playlist-data/simple.pls b/tests/data/playlist-data/simple.pls
similarity index 100%
rename from tests/Banshee.Services/playlist-data/simple.pls
rename to tests/data/playlist-data/simple.pls
diff --git a/tests/Mono.Media/xspf/complete.xml b/tests/data/xspf/complete.xml
similarity index 100%
rename from tests/Mono.Media/xspf/complete.xml
rename to tests/data/xspf/complete.xml
diff --git a/tests/Mono.Media/xspf/xspf-1_0.2.xsd b/tests/data/xspf/xspf-1_0.2.xsd
similarity index 100%
rename from tests/Mono.Media/xspf/xspf-1_0.2.xsd
rename to tests/data/xspf/xspf-1_0.2.xsd
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]