Files
Aaru/Aaru.Tests/Issues/257.cs

31 lines
1.6 KiB
C#
Raw Normal View History

2021-03-07 18:23:36 +00:00
using System.Collections.Generic;
2023-10-05 01:05:23 +01:00
using System.Diagnostics.CodeAnalysis;
2021-03-07 18:23:36 +00:00
using System.IO;
using Aaru.CommonTypes.Interfaces;
using Aaru.Images;
2021-03-07 18:23:36 +00:00
namespace Aaru.Tests.Issues;
2022-03-06 13:29:38 +00:00
/* SilasLaspada commented on Nov 23, 2019
*
* Trying to convert an NRG image to various images formats fails in various ways. Converting it to ISO prints
* "Converting sectors X to Y in track 1 (XX.XX% done)Error Writing sectors with tags is not supported. writing
* sector X, continuing..." several times. Converting to MDS doesn't result in any visible errors in the log, but
* DIC is unable to identify the file system in the resulting image. Converting to DICF prints "Converting sectors
* 0 to 64 in track 1 (0.00% done)Error Incorrect data size writing sector 0, not continuing..." once before
* stopping. DIC is able to extract the files from the original image so it seems to be good.
*/
2021-03-07 18:23:36 +00:00
2022-03-06 13:29:38 +00:00
// 20200311 CLAUNIA: Fixed in f4a1c28feabb50a43036944cf7f6c028eb6f8b93
// 20200621 CLAUNIA: Fixed in c80baa5efb4ea8a9e4347278086b2414469ae4c6
2023-10-05 01:05:23 +01:00
[SuppressMessage("ReSharper", "UnusedType.Global")]
2022-03-06 13:29:38 +00:00
public class _257 : OpticalImageConvertIssueTest
{
2022-03-07 07:36:44 +00:00
public override Dictionary<string, string> ParsedOptions => new();
2022-11-13 05:48:58 +00:00
public override string DataFolder => Path.Combine(Consts.TestFilesRoot, "Issues", "Fixed", "issue257");
2022-03-06 13:29:38 +00:00
public override string InputPath => "TempImage.nrg.xz";
public override string SuggestedOutputFilename => "AaruIssue257Output.iso";
public override IWritableImage OutputFormat => new ZZZRawImage();
public override string Md5 => "51303b30b4e4896c01d47af9b5c0d5b5";
public override bool UseLong => false;
2021-03-07 18:23:36 +00:00
}