New conversion complete
This commit is contained in:
@@ -1,6 +1,4 @@
|
||||
using System;
|
||||
using System.IO;
|
||||
using LeafWeb.Core.Charter;
|
||||
using LeafWeb.Core.CharterOld;
|
||||
using NUnit.Framework;
|
||||
|
||||
namespace LeafWeb.Core.Tests.Parsers
|
||||
@@ -8,18 +6,12 @@ namespace LeafWeb.Core.Tests.Parsers
|
||||
[TestFixture]
|
||||
public class CurveDataListTests
|
||||
{
|
||||
protected const string ContentDirectory = @"Services\LeafOutputData\";
|
||||
|
||||
private static FileInfo GetContentFile(string fileName)
|
||||
{
|
||||
var path = Path.Combine(AppDomain.CurrentDomain.BaseDirectory, ContentDirectory);
|
||||
return new FileInfo(path + fileName);
|
||||
}
|
||||
private const string ContentDirectory = @"Parsers\LeafOutputData\";
|
||||
|
||||
[Test]
|
||||
public void Parse_Valid()
|
||||
{
|
||||
var fileInfo = GetContentFile("cntrlcomparison_Wild Capsicum.csv");
|
||||
var fileInfo = FileUtility.GetContentFile(ContentDirectory, "cntrlcomparison_Wild Capsicum.csv");
|
||||
var cntrlComparison = new CurveDataList();
|
||||
using (var reader = fileInfo.OpenText())
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user