updated indexerfixture to create cross platform paths.

This commit is contained in:
kay.one 2013-02-17 20:01:59 -08:00
commit 3cf527bfa2
3 changed files with 27 additions and 20 deletions

View file

@ -1,4 +1,5 @@
using System;
using System.IO;
using NUnit.Framework;
using NzbDrone.Core.Model.Notification;
using NzbDrone.Test.Common;
@ -19,6 +20,12 @@ namespace NzbDrone.Core.Test.Framework
{
throw new ApplicationException("This is a message for test exception");
}
protected FileStream OpenRead(params string[] path)
{
return File.OpenRead(Path.Combine(path));
}
}
public abstract class CoreTest<TSubject> : CoreTest