[banshee] Banshee.Services: shorten some lines via using clauses
- From: AndrÃs Aragoneses <aaragoneses src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [banshee] Banshee.Services: shorten some lines via using clauses
- Date: Mon, 12 Sep 2011 22:33:19 +0000 (UTC)
commit c8fbf37a65170e9a9aaec5c3be86906e4e51f7ea
Author: AndrÃs G. Aragoneses <knocte gmail com>
Date: Mon Sep 12 23:22:30 2011 +0100
Banshee.Services: shorten some lines via using clauses
.../Banshee.Query/Tests/BansheeQueryTests.cs | 13 +++++++------
1 files changed, 7 insertions(+), 6 deletions(-)
---
diff --git a/src/Core/Banshee.Services/Banshee.Query/Tests/BansheeQueryTests.cs b/src/Core/Banshee.Services/Banshee.Query/Tests/BansheeQueryTests.cs
index 88073f2..e4a9cad 100644
--- a/src/Core/Banshee.Services/Banshee.Query/Tests/BansheeQueryTests.cs
+++ b/src/Core/Banshee.Services/Banshee.Query/Tests/BansheeQueryTests.cs
@@ -27,6 +27,7 @@
using System;
using System.Text.RegularExpressions;
using NUnit.Framework;
+using Banshee.Configuration.Schema;
namespace Banshee.Query.Tests
{
@@ -53,16 +54,16 @@ namespace Banshee.Query.Tests
[TestFixtureSetUp]
public void SetSortAlbumByYearOff ()
{
- original_sort_album_by_year = Banshee.Configuration.Schema.LibrarySchema.SortByAlbumYear.Get ();
+ original_sort_album_by_year = LibrarySchema.SortByAlbumYear.Get ();
if (original_sort_album_by_year) {
- Banshee.Configuration.Schema.LibrarySchema.SortByAlbumYear.Set (false);
+ LibrarySchema.SortByAlbumYear.Set (false);
}
}
[TestFixtureTearDown]
public void RecoverSortAlbumByYearSetting ()
{
- Banshee.Configuration.Schema.LibrarySchema.SortByAlbumYear.Set (original_sort_album_by_year);
+ LibrarySchema.SortByAlbumYear.Set (original_sort_album_by_year);
}
[Test]
@@ -874,16 +875,16 @@ namespace Banshee.Query.Tests
[TestFixtureSetUp]
public void SetSortAlbumByYearOn ()
{
- original_sort_album_by_year = Banshee.Configuration.Schema.LibrarySchema.SortByAlbumYear.Get ();
+ original_sort_album_by_year = LibrarySchema.SortByAlbumYear.Get ();
if (!original_sort_album_by_year) {
- Banshee.Configuration.Schema.LibrarySchema.SortByAlbumYear.Set (true);
+ LibrarySchema.SortByAlbumYear.Set (true);
}
}
[TestFixtureTearDown]
public void RecoverSortAlbumByYearSetting ()
{
- Banshee.Configuration.Schema.LibrarySchema.SortByAlbumYear.Set (original_sort_album_by_year);
+ LibrarySchema.SortByAlbumYear.Set (original_sort_album_by_year);
}
[Test]
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]