Tested first run
This commit is contained in:
@ -172,8 +172,10 @@ public class UnitTestResize
|
||||
{
|
||||
// string sourceFileName = "IMG_0067.jpg";
|
||||
// string sourceDirectoryName = "Mackenzie Prom 2017";
|
||||
string sourceFileName = "Fall 2005 (113).jpg";
|
||||
string sourceDirectoryName = "=2005.3 Fall";
|
||||
// string sourceFileName = "Fall 2005 (113).jpg";
|
||||
// string sourceDirectoryName = "=2005.3 Fall";
|
||||
string sourceFileName = "12314542_10208270578946392_3555034423896018896_o.jpg";
|
||||
string sourceDirectoryName = "Other";
|
||||
Item item;
|
||||
Model? model = null;
|
||||
bool reverse = false;
|
||||
@ -242,10 +244,8 @@ public class UnitTestResize
|
||||
}
|
||||
(int _, metadataCollection) = metadata.GetMetadataCollection(bResultsFullGroupDirectory, subFileTuples, parseExceptions, item);
|
||||
imageResizeKeyValuePairs = resize.GetResizeKeyValuePairs(cResultsFullGroupDirectory, subFileTuples, parseExceptions, original, metadataCollection, item);
|
||||
FileHolder resizedFileHolder = new(Path.Combine(resize.AngleBracketCollection[0].Replace("<>", "()"), Path.GetFileName(item.ImageFileHolder.FullName)));
|
||||
item.SetResizedFileHolder(resize.FilenameExtension, resizedFileHolder);
|
||||
Assert.IsNotNull(item.ResizedFileHolder);
|
||||
resize.SaveResizedSubfile(outputResolution, cResultsFullGroupDirectory, subFileTuples, item, original, imageResizeKeyValuePairs);
|
||||
item.SetResizedFileHolder(resize.FilenameExtension, IFileHolder.Refresh(resizedFileHolder));
|
||||
}
|
||||
|
||||
}
|
Reference in New Issue
Block a user