banshee r5080 - in trunk/banshee: . src/Core/Banshee.Core/Banshee.Base/Tests tests tests/data



Author: blorentz
Date: Fri Feb 27 13:34:01 2009
New Revision: 5080
URL: http://svn.gnome.org/viewvc/banshee?rev=5080&view=rev

Log:
2009-02-27  Bertrand Lorentz  <bertrand lorentz gmail com>

	* src/Core/Banshee.Core/Banshee.Base/Tests/TaglibReadWriteTests.cs:
	Initialize the AddinManager before running tests. Original patch by
	John Millikin (BGO #568046).

	* tests/data/test.mp3: Add a sample mp3 file required by the taglib-sharp
	tests.

	* tests/Makefile.am: Run nunit-console2 with -noshadow so that tests
	can find the sample mp3 file.



Added:
   trunk/banshee/tests/data/
   trunk/banshee/tests/data/test.mp3   (contents, props changed)
Modified:
   trunk/banshee/ChangeLog
   trunk/banshee/src/Core/Banshee.Core/Banshee.Base/Tests/TaglibReadWriteTests.cs
   trunk/banshee/tests/Makefile.am

Modified: trunk/banshee/src/Core/Banshee.Core/Banshee.Base/Tests/TaglibReadWriteTests.cs
==============================================================================
--- trunk/banshee/src/Core/Banshee.Core/Banshee.Base/Tests/TaglibReadWriteTests.cs	(original)
+++ trunk/banshee/src/Core/Banshee.Core/Banshee.Base/Tests/TaglibReadWriteTests.cs	Fri Feb 27 13:34:01 2009
@@ -51,6 +51,8 @@
         [TestFixtureSetUp]
         public void Setup ()
         {
+            Mono.Addins.AddinManager.Initialize (BinDir);
+            
             files = new string [] {
                 BinDir + "/../tests/data/test.mp3",
             };

Modified: trunk/banshee/tests/Makefile.am
==============================================================================
--- trunk/banshee/tests/Makefile.am	(original)
+++ trunk/banshee/tests/Makefile.am	Fri Feb 27 13:34:01 2009
@@ -11,7 +11,7 @@
 	Banshee.Dap.Mtp.dll
 
 ENV_OPTIONS = TZ=America/Chicago LC_ALL=it_IT LANG=it_IT
-RUNNER = for asm in $${TEST_ASSEMBLIES}; do echo -e "\033[1mRunning tests on $${asm}...\033[0m"; $(ENV_OPTIONS) nunit-console2 /nologo $$asm; done
+RUNNER = for asm in $${TEST_ASSEMBLIES}; do echo -e "\033[1mRunning tests on $${asm}...\033[0m"; $(ENV_OPTIONS) nunit-console2 -nologo -noshadow $$asm; done
 
 test:
 	@pushd $(DIR_BIN) &>/dev/null; \

Added: trunk/banshee/tests/data/test.mp3
==============================================================================
Binary file. No diff available.



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