You've already forked linux-packaging-mono
Imported Upstream version 5.20.0.180
Former-commit-id: ff953ca879339fe1e1211f7220f563e1342e66cb
This commit is contained in:
parent
0e2d47d1c8
commit
0510252385
@@ -1,3 +1,4 @@
|
||||
../../../test-helpers/TestResourceHelper.cs
|
||||
../../EncodingTestBase.cs
|
||||
I18N.Rare.EncodingTest.cs
|
||||
I18N.Rare.Test.cs
|
||||
|
||||
@@ -8,7 +8,10 @@ KEYFILE = ../../mono.pub
|
||||
LOCAL_MCS_FLAGS = /unsafe
|
||||
TEST_LIB_REFS = I18N
|
||||
|
||||
TEST_RESOURCE_FILES = $(wildcard Test/texts/*.txt)
|
||||
TEST_MCS_FLAGS = $(foreach r, $(TEST_RESOURCE_FILES), -resource:$(r),$(r))
|
||||
|
||||
EXTRA_DISTFILES = $(wildcard *.ucm) \
|
||||
$(wildcard Test/texts/*.txt)
|
||||
$(TEST_RESOURCE_FILES)
|
||||
|
||||
include ../../../build/library.make
|
||||
|
||||
@@ -31,6 +31,8 @@ using System.IO;
|
||||
using System.Text;
|
||||
using NUnit.Framework;
|
||||
|
||||
using MonoTests.Helpers;
|
||||
|
||||
namespace MonoTests.I18N.Rare
|
||||
{
|
||||
[TestFixture]
|
||||
@@ -68,7 +70,7 @@ namespace MonoTests.I18N.Rare
|
||||
[TestCaseSource (nameof (cps))]
|
||||
public void Ascii_Test_All(int cp)
|
||||
{
|
||||
AssertDecode("Test/texts/ascii-test.txt", "Test/texts/ascii-test.txt", cp);
|
||||
AssertDecode(TestResourceHelper.GetFullPathOfResource ("Test/texts/ascii-test.txt"), TestResourceHelper.GetFullPathOfResource ("Test/texts/ascii-test.txt"), cp);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user