[banshee] MediaEngineTests: fix warnings



commit 793a6bbc216682bd785de2133f771a4b02d01d07
Author: Andrés G. Aragoneses <knocte gmail com>
Date:   Sun Feb 16 23:40:36 2014 +0100

    MediaEngineTests: fix warnings

 .../Banshee.Services/Banshee.MediaEngine/Tests.cs  |    9 +++------
 1 files changed, 3 insertions(+), 6 deletions(-)
---
diff --git a/src/Core/Banshee.Services/Banshee.MediaEngine/Tests.cs 
b/src/Core/Banshee.Services/Banshee.MediaEngine/Tests.cs
index 28bf2af..cb5b861 100644
--- a/src/Core/Banshee.Services/Banshee.MediaEngine/Tests.cs
+++ b/src/Core/Banshee.Services/Banshee.MediaEngine/Tests.cs
@@ -140,11 +140,8 @@ namespace Banshee.MediaEngine
         {
             WaitUntil (PlayerState.Idle, StopEngine);
 
-            var a_valid_track1 = "A_boy.ogg";
-            var a_valid_uri1 = new SafeUri (Paths.Combine (TestsDir, "data", a_valid_track1));
-
-            var a_valid_track2 = "A_girl.ogg";
-            var a_valid_uri2 = new SafeUri (Paths.Combine (TestsDir, "data", a_valid_track2));
+            var a_valid_track = "A_boy.ogg";
+            var a_valid_uri = new SafeUri (Paths.Combine (TestsDir, "data", a_valid_track));
 
             var ignore_all_except_reqnext_and_idle = new Func<PlayerState?, PlayerEvent?, bool> ((s, e) => {
                 bool is_req_or_idle = PlayerEvent.RequestNextTrack.Equals (e.Value) ||
@@ -153,7 +150,7 @@ namespace Banshee.MediaEngine
             });
 
             System.Action action = () => {
-                service.Open (a_valid_uri1);
+                service.Open (a_valid_uri);
                 service.Play ();
             };
             WaitUntil (PlayerState.Playing,


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]