Added IFileSystem

Fixed issue with last merge
This commit is contained in:
Matt@MBP13-PC
2012-08-13 10:04:31 -01:00
parent f6e59e0264
commit d2ac9158c6
9 changed files with 411 additions and 3 deletions

View File

@@ -0,0 +1,25 @@
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using NUnit.Framework;
using Umbraco.Core.IO;
using Umbraco.Tests.BusinessLogic;
namespace Umbraco.Tests.IO
{
[TestFixture]
internal class PhysicalFileSystemTests : AbstractFileSystemTests
{
public PhysicalFileSystemTests()
: base(new PhysicalFileSystem(AppDomain.CurrentDomain.BaseDirectory,
"/Media/"))
{ }
protected override string ConstructUrl(string path)
{
return "/Media/" + path;
}
}
}