Add unit test for gettext parser.

This commit is contained in:
2019-05-24 00:28:41 +01:00
parent b56eb104dc
commit 11686ccd91
6 changed files with 4896 additions and 0 deletions

View File

@@ -0,0 +1,18 @@
using System.IO;
using System.Text;
using NUnit.Framework;
namespace Claunia.Localization.Test.gettext
{
[TestFixture]
public sealed class Test
{
[Test]
public void Parse()
{
var testPath = Path.Combine(".", "gettext","es_ES.po");
var localization = Claunia.Localization.Parsers.GetText.Parse(testPath, Encoding.GetEncoding("iso8859-1"));
}
}
}