🎨Converted all plugin types to interfaces.

This commit is contained in:
2017-12-26 06:05:12 +00:00
parent a002253fa4
commit f66a0bdd42
295 changed files with 9499 additions and 10414 deletions

View File

@@ -198,9 +198,9 @@ namespace DiscImageChef.Tests.Partitions
for(int i = 0; i < testfiles.Length; i++)
{
string location = Path.Combine(Consts.TestFilesRoot, "partitions", "vtoc", testfiles[i]);
Filter filter = new LZip();
IFilter filter = new LZip();
filter.Open(location);
ImagePlugin image = new Vdi();
IMediaImage image = new Vdi();
Assert.AreEqual(true, image.OpenImage(filter), testfiles[i]);
List<Partition> partitions = Core.Partitions.GetAll(image);
Assert.AreEqual(wanted[i].Length, partitions.Count, testfiles[i]);