Test project cleanup

pull/4/head
kay.one 14 years ago
parent f33c2c4939
commit a4f8947d90

@ -1,4 +1,4 @@
using System;
// ReSharper disable RedundantUsingDirective
using System.Linq;
using System.Collections.Generic;
using System.Threading;

@ -1,3 +1,4 @@
// ReSharper disable RedundantUsingDirective
using System;
using System.IO;
using MbUnit.Framework;

@ -1,3 +1,4 @@
// ReSharper disable RedundantUsingDirective
using System;
using System.Collections.Generic;
using System.Linq;

@ -1,7 +1,8 @@
using System;
// ReSharper disable RedundantUsingDirective
using AutoMoq;
using MbUnit.Framework;
using Moq;
using System;
namespace NzbDrone.Core.Test
{

@ -1,4 +1,5 @@
using System;
// ReSharper disable RedundantUsingDirective
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;

@ -1,4 +1,5 @@
using System;
// ReSharper disable RedundantUsingDirective
using System;
using System.Collections.Generic;
using Microsoft.Practices.Unity;
using Microsoft.Practices.Unity.ObjectBuilder;

@ -1,4 +1,5 @@
using System;
// ReSharper disable RedundantUsingDirective
using System;
using System.Linq;
using System.Collections.Generic;
using NLog;

@ -1,4 +1,5 @@
using System;
// ReSharper disable RedundantUsingDirective
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;

@ -3,6 +3,7 @@
namespace NzbDrone.Core.Test.Framework
{
public class TestBase
// ReSharper disable InconsistentNaming
{
[SetUp]

@ -1,4 +1,5 @@
using System;
// ReSharper disable RedundantUsingDirective
using System;
using System.Collections.Generic;
using System.Linq;
using AutoMoq;
@ -26,7 +27,6 @@ namespace NzbDrone.Core.Test
AirDate = DateTime.Today.AddDays(-1),
EpisodeId = 1234,
EpisodeNumber = 5,
Language = "English",
Overview = "This is an Overview",
SeasonNumber = 1,
SeasonId = 4321,
@ -107,7 +107,6 @@ namespace NzbDrone.Core.Test
AirDate = DateTime.Today.AddDays(-1),
EpisodeId = 1234,
EpisodeNumber = 5,
Language = "English",
Overview = "This is an Overview",
SeasonNumber = 1,
SeasonId = 4321,
@ -137,13 +136,12 @@ namespace NzbDrone.Core.Test
//Todo: This test fails... Moq Setup doesn't return the expected value
//Setup
var season = new Season { SeasonId = 4321, SeasonNumber = 1, SeriesId = 5656, Monitored = true };
var season = new Season { SeasonId = 4321, SeasonNumber = 1, SeriesId = 5656, Monitored = true };
var episode = new Episode
{
AirDate = DateTime.Today.AddDays(-1),
EpisodeId = 1234,
EpisodeNumber = 5,
Language = "English",
Overview = "This is an Overview",
SeasonNumber = 1,
SeasonId = 4321,

@ -1,4 +1,4 @@
using System;
// ReSharper disable RedundantUsingDirective
using System.Linq;
using System.Collections.Generic;
using System.Threading;
@ -11,6 +11,7 @@ using NzbDrone.Core.Providers;
using NzbDrone.Core.Providers.Jobs;
using NzbDrone.Core.Repository;
using NzbDrone.Core.Test.Framework;
using System;
namespace NzbDrone.Core.Test
{

@ -1,4 +1,5 @@
using System;
// ReSharper disable RedundantUsingDirective
using System;
using System.Collections.Generic;
using System.IO;
using System.Net;

@ -1,4 +1,5 @@
using System;
// ReSharper disable RedundantUsingDirective
using System;
using System.Collections.Generic;
using System.IO;
using System.Net;

@ -1,4 +1,5 @@
using System;
// ReSharper disable RedundantUsingDirective
using System;
using System.Collections.Generic;
using System.Threading;
using AutoMoq;

@ -1,4 +1,5 @@
using System;
// ReSharper disable RedundantUsingDirective
using System;
using System.Collections.Generic;
using System.Linq.Expressions;
using System.Linq;

@ -1,4 +1,5 @@
using System;
// ReSharper disable RedundantUsingDirective
using System;
using MbUnit.Framework;
using NzbDrone.Core.Repository.Quality;
using NzbDrone.Core.Test.Framework;

@ -1,3 +1,4 @@
// ReSharper disable RedundantUsingDirective
using System;
using System.Collections.Generic;
using System.Linq;

@ -1,4 +1,5 @@
using System;
// ReSharper disable RedundantUsingDirective
using System;
using System.Linq;
using FizzWare.NBuilder;
using MbUnit.Framework;

@ -1,4 +1,5 @@
using System;
// ReSharper disable RedundantUsingDirective
using System;
using System.Linq;
using AutoMoq;
using MbUnit.Framework;

@ -1,4 +1,5 @@
using System;
// ReSharper disable RedundantUsingDirective
using System;
using System.IO;
using System.Linq;
using AutoMoq;

@ -1,4 +1,5 @@
using System;
// ReSharper disable RedundantUsingDirective
using System;
using MbUnit.Framework;
using NzbDrone.Core.Providers;
using NzbDrone.Core.Test.Framework;

Loading…
Cancel
Save