From 86e0d985ef9ff3a7eea0d0fab45899eff6679909 Mon Sep 17 00:00:00 2001 From: Keivan Beigi Date: Tue, 16 Apr 2013 14:55:36 -0700 Subject: [PATCH] works for me! --- NzbDrone.App.Test/ContainerFixture.cs | 33 ++++++++++++++++++++++ NzbDrone.App.Test/NzbDrone.App.Test.csproj | 7 +++++ 2 files changed, 40 insertions(+) create mode 100644 NzbDrone.App.Test/ContainerFixture.cs diff --git a/NzbDrone.App.Test/ContainerFixture.cs b/NzbDrone.App.Test/ContainerFixture.cs new file mode 100644 index 000000000..731f8ec30 --- /dev/null +++ b/NzbDrone.App.Test/ContainerFixture.cs @@ -0,0 +1,33 @@ +using System.Collections.Generic; +using NUnit.Framework; +using NzbDrone.Common.Eventing; +using NzbDrone.Core.Download; +using NzbDrone.Core.Indexers; +using NzbDrone.Test.Common; +using FluentAssertions; + +namespace NzbDrone.App.Test +{ + [TestFixture] + public class ContainerFixture : TestBase + { + [Test] + public void should_be_able_to_resolve_event_handlers() + { + ContainerBuilder.Instance.Resolve>().Should().NotBeEmpty(); + } + + + [Test] + public void should_be_able_to_resolve_indexers() + { + ContainerBuilder.Instance.Resolve>().Should().NotBeEmpty(); + } + + [Test] + public void should_be_able_to_resolve_downlodclients() + { + ContainerBuilder.Instance.Resolve>().Should().NotBeEmpty(); + } + } +} \ No newline at end of file diff --git a/NzbDrone.App.Test/NzbDrone.App.Test.csproj b/NzbDrone.App.Test/NzbDrone.App.Test.csproj index 3eee2d4f3..8fb756cb1 100644 --- a/NzbDrone.App.Test/NzbDrone.App.Test.csproj +++ b/NzbDrone.App.Test/NzbDrone.App.Test.csproj @@ -86,6 +86,7 @@ + @@ -114,6 +115,12 @@ NzbDrone + + + sqlite3.dll + Always + +