Working on new method
This commit is contained in:
@@ -2,6 +2,7 @@ using System;
|
||||
using System.IO;
|
||||
using System.Linq;
|
||||
using Microsoft.VisualStudio.TestTools.UnitTesting;
|
||||
using PhotoRenamer.Base;
|
||||
|
||||
namespace PhotoRenamer.Test
|
||||
{
|
||||
@@ -13,7 +14,7 @@ namespace PhotoRenamer.Test
|
||||
public FilesTest()
|
||||
{
|
||||
var path = Path.Combine(AppDomain.CurrentDomain.BaseDirectory, "Assets");
|
||||
_files = Base.FilesHelper.FindSupportedFilesRecursively(path).ToArray();
|
||||
_files = FilesHelper.FindSupportedFilesRecursively(path).ToArray();
|
||||
}
|
||||
|
||||
[TestMethod, Priority(0)]
|
||||
@@ -27,7 +28,8 @@ namespace PhotoRenamer.Test
|
||||
[TestMethod, Priority(1)]
|
||||
public void GetMetaData()
|
||||
{
|
||||
|
||||
var expected = new[] {new MediaFile("r", DateTime.Now), new MediaFile("r", DateTime.Now)};
|
||||
var actual = FilesHelper.GetMediaFiles(_files);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user