Web: Tests: Added Md5Hash property

This commit is contained in:
Alexey Safronov 2021-12-21 16:12:37 +03:00
parent 15f412e1a8
commit 649e1b420a

View File

@ -5,7 +5,7 @@ namespace Frontend.Translations.Tests
{
public class TranslationFile
{
public TranslationFile(string path, List<TranslationItem> translations)
public TranslationFile(string path, List<TranslationItem> translations, string md5hash = null)
{
FilePath = path.Replace("/", "\\");
@ -14,6 +14,8 @@ namespace Frontend.Translations.Tests
Language = Directory.GetParent(FilePath).Name; //FilePath.Substring(FilePath.IndexOf("locales\\") + 8, 2);
Translations = translations;
Md5Hash = md5hash;
}
public string FilePath { get; }
@ -23,5 +25,7 @@ namespace Frontend.Translations.Tests
public string Language { get; }
public List<TranslationItem> Translations { get; }
public string Md5Hash { get; }
}
}