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
@ -19,6 +19,8 @@ using DecoderException = System.Text.DecoderFallbackException;
|
||||
|
||||
using AssertType = NUnit.Framework.Assert;
|
||||
|
||||
using MonoTests.Helpers;
|
||||
|
||||
namespace MonoTests.System.Text
|
||||
{
|
||||
[TestFixture]
|
||||
@ -1043,9 +1045,7 @@ namespace MonoTests.System.Text
|
||||
[Category ("MobileNotWorking")]
|
||||
public void Bug415628 ()
|
||||
{
|
||||
DirectoryInfo bcl_output_dir = Directory.GetParent (Path.GetDirectoryName (Assembly.GetExecutingAssembly ().Location)).Parent;
|
||||
string namespace_dir = Path.Combine (bcl_output_dir.Parent.FullName, "corlib");
|
||||
using (var f = File.Open (Path.Combine (namespace_dir, "Test/resources/415628.bin"), FileMode.Open)) {
|
||||
using (var f = File.Open (TestResourceHelper.GetFullPathOfResource ("Test/resources/415628.bin"), FileMode.Open)) {
|
||||
BinaryReader br = new BinaryReader (f);
|
||||
byte [] buf = br.ReadBytes (8000);
|
||||
Encoding.UTF8.GetString(buf);
|
||||
|
Reference in New Issue
Block a user