You've already forked linux-packaging-mono
Imported Upstream version 5.10.0.47
Former-commit-id: d0813289fa2d35e1f8ed77530acb4fb1df441bc0
This commit is contained in:
parent
88ff76fe28
commit
e46a49ecf1
@ -46,6 +46,7 @@ namespace MonoTests.System.IO.Compression
|
||||
|
||||
[Test]
|
||||
[ExpectedException (typeof (ArgumentNullException))]
|
||||
[Category ("StaticLinkedAotNotWorking")] // Native MPH loading issues
|
||||
public void Constructor_Null ()
|
||||
{
|
||||
DeflateStream ds = new DeflateStream (null, CompressionMode.Compress);
|
||||
@ -53,12 +54,14 @@ namespace MonoTests.System.IO.Compression
|
||||
|
||||
[Test]
|
||||
[ExpectedException (typeof (ArgumentException))]
|
||||
[Category ("StaticLinkedAotNotWorking")] // Native MPH loading issues
|
||||
public void Constructor_InvalidCompressionMode ()
|
||||
{
|
||||
DeflateStream ds = new DeflateStream (new MemoryStream (), (CompressionMode)Int32.MinValue);
|
||||
}
|
||||
|
||||
[Test]
|
||||
[Category ("StaticLinkedAotNotWorking")] // Native MPH loading issues
|
||||
public void CheckCompressDecompress ()
|
||||
{
|
||||
byte [] data = new byte[100000];
|
||||
@ -81,6 +84,7 @@ namespace MonoTests.System.IO.Compression
|
||||
}
|
||||
|
||||
[Test]
|
||||
[Category ("StaticLinkedAotNotWorking")] // Native MPH loading issues
|
||||
public void CheckDecompress ()
|
||||
{
|
||||
MemoryStream backing = new MemoryStream (compressed_data);
|
||||
@ -92,6 +96,7 @@ namespace MonoTests.System.IO.Compression
|
||||
|
||||
// https://bugzilla.xamarin.com/show_bug.cgi?id=22346
|
||||
[Test]
|
||||
[Category ("StaticLinkedAotNotWorking")] // Native MPH loading issues
|
||||
public void CheckEmptyRead ()
|
||||
{
|
||||
byte [] dummy = new byte[1];
|
||||
@ -102,6 +107,7 @@ namespace MonoTests.System.IO.Compression
|
||||
}
|
||||
|
||||
[Test]
|
||||
[Category ("StaticLinkedAotNotWorking")] // Native MPH loading issues
|
||||
[ExpectedException (typeof (ArgumentNullException))]
|
||||
public void CheckNullRead ()
|
||||
{
|
||||
@ -111,6 +117,7 @@ namespace MonoTests.System.IO.Compression
|
||||
}
|
||||
|
||||
[Test]
|
||||
[Category ("StaticLinkedAotNotWorking")] // Native MPH loading issues
|
||||
[ExpectedException (typeof (InvalidOperationException))]
|
||||
public void CheckCompressingRead ()
|
||||
{
|
||||
@ -121,6 +128,7 @@ namespace MonoTests.System.IO.Compression
|
||||
}
|
||||
|
||||
[Test]
|
||||
[Category ("StaticLinkedAotNotWorking")] // Native MPH loading issues
|
||||
[ExpectedException (typeof (ArgumentException))]
|
||||
public void CheckRangeRead ()
|
||||
{
|
||||
@ -132,6 +140,7 @@ namespace MonoTests.System.IO.Compression
|
||||
|
||||
#if !MOBILE
|
||||
[Test]
|
||||
[Category ("StaticLinkedAotNotWorking")] // Native MPH loading issues
|
||||
[Category("NotWorking")]
|
||||
[ExpectedException (typeof (InvalidDataException))]
|
||||
public void CheckInvalidDataRead ()
|
||||
@ -145,6 +154,7 @@ namespace MonoTests.System.IO.Compression
|
||||
#endif
|
||||
|
||||
[Test]
|
||||
[Category ("StaticLinkedAotNotWorking")] // Native MPH loading issues
|
||||
[ExpectedException (typeof (ObjectDisposedException))]
|
||||
public void CheckClosedRead ()
|
||||
{
|
||||
@ -156,6 +166,7 @@ namespace MonoTests.System.IO.Compression
|
||||
}
|
||||
|
||||
[Test]
|
||||
[Category ("StaticLinkedAotNotWorking")] // Native MPH loading issues
|
||||
[ExpectedException (typeof (ObjectDisposedException))]
|
||||
public void CheckClosedFlush ()
|
||||
{
|
||||
@ -166,6 +177,7 @@ namespace MonoTests.System.IO.Compression
|
||||
}
|
||||
|
||||
[Test]
|
||||
[Category ("StaticLinkedAotNotWorking")] // Native MPH loading issues
|
||||
[ExpectedException (typeof (NotSupportedException))]
|
||||
public void CheckSeek ()
|
||||
{
|
||||
@ -175,6 +187,7 @@ namespace MonoTests.System.IO.Compression
|
||||
}
|
||||
|
||||
[Test]
|
||||
[Category ("StaticLinkedAotNotWorking")] // Native MPH loading issues
|
||||
[ExpectedException (typeof (NotSupportedException))]
|
||||
public void CheckSetLength ()
|
||||
{
|
||||
@ -184,6 +197,7 @@ namespace MonoTests.System.IO.Compression
|
||||
}
|
||||
|
||||
[Test]
|
||||
[Category ("StaticLinkedAotNotWorking")] // Native MPH loading issues
|
||||
public void CheckGetCanSeekProp ()
|
||||
{
|
||||
MemoryStream backing = new MemoryStream (compressed_data);
|
||||
@ -204,6 +218,7 @@ namespace MonoTests.System.IO.Compression
|
||||
}
|
||||
|
||||
[Test]
|
||||
[Category ("StaticLinkedAotNotWorking")] // Native MPH loading issues
|
||||
public void CheckGetCanReadProp ()
|
||||
{
|
||||
MemoryStream backing = new MemoryStream (compressed_data);
|
||||
@ -224,6 +239,7 @@ namespace MonoTests.System.IO.Compression
|
||||
}
|
||||
|
||||
[Test]
|
||||
[Category ("StaticLinkedAotNotWorking")] // Native MPH loading issues
|
||||
public void CheckGetCanWriteProp ()
|
||||
{
|
||||
MemoryStream backing = new MemoryStream ();
|
||||
@ -244,6 +260,7 @@ namespace MonoTests.System.IO.Compression
|
||||
}
|
||||
|
||||
[Test]
|
||||
[Category ("StaticLinkedAotNotWorking")] // Native MPH loading issues
|
||||
[ExpectedException (typeof (NotSupportedException))]
|
||||
public void CheckSetLengthProp ()
|
||||
{
|
||||
@ -253,6 +270,7 @@ namespace MonoTests.System.IO.Compression
|
||||
}
|
||||
|
||||
[Test]
|
||||
[Category ("StaticLinkedAotNotWorking")] // Native MPH loading issues
|
||||
[ExpectedException (typeof (NotSupportedException))]
|
||||
public void CheckGetLengthProp ()
|
||||
{
|
||||
@ -262,6 +280,7 @@ namespace MonoTests.System.IO.Compression
|
||||
}
|
||||
|
||||
[Test]
|
||||
[Category ("StaticLinkedAotNotWorking")] // Native MPH loading issues
|
||||
[ExpectedException (typeof (NotSupportedException))]
|
||||
public void CheckGetPositionProp ()
|
||||
{
|
||||
@ -271,6 +290,7 @@ namespace MonoTests.System.IO.Compression
|
||||
}
|
||||
|
||||
[Test]
|
||||
[Category ("StaticLinkedAotNotWorking")] // Native MPH loading issues
|
||||
public void DisposeTest ()
|
||||
{
|
||||
MemoryStream backing = new MemoryStream (compressed_data);
|
||||
@ -284,6 +304,7 @@ namespace MonoTests.System.IO.Compression
|
||||
|
||||
|
||||
[Test]
|
||||
[Category ("StaticLinkedAotNotWorking")] // Native MPH loading issues
|
||||
public void JunkAtTheEnd ()
|
||||
{
|
||||
// Write a deflated stream, then some additional data...
|
||||
@ -330,6 +351,7 @@ namespace MonoTests.System.IO.Compression
|
||||
}
|
||||
|
||||
[Test]
|
||||
[Category ("StaticLinkedAotNotWorking")] // Native MPH loading issues
|
||||
public void Bug19313 ()
|
||||
{
|
||||
byte [] buffer = new byte [512];
|
||||
@ -344,6 +366,7 @@ namespace MonoTests.System.IO.Compression
|
||||
}
|
||||
|
||||
[Test]
|
||||
[Category ("StaticLinkedAotNotWorking")] // Native MPH loading issues
|
||||
public void CheckNet45Overloads () // Xambug #21982
|
||||
{
|
||||
MemoryStream dataStream = GenerateStreamFromString("Hello");
|
||||
@ -362,6 +385,7 @@ namespace MonoTests.System.IO.Compression
|
||||
}
|
||||
|
||||
[Test]
|
||||
[Category ("StaticLinkedAotNotWorking")] // Native MPH loading issues
|
||||
[ExpectedException (typeof (ArgumentException))]
|
||||
public void CheckBufferOverrun ()
|
||||
{
|
||||
@ -374,6 +398,7 @@ namespace MonoTests.System.IO.Compression
|
||||
}
|
||||
|
||||
[Test]
|
||||
[Category ("StaticLinkedAotNotWorking")] // Native MPH loading issues
|
||||
public void Bug28777_EmptyFlush ()
|
||||
{
|
||||
MemoryStream backing = new MemoryStream ();
|
||||
@ -384,6 +409,7 @@ namespace MonoTests.System.IO.Compression
|
||||
}
|
||||
|
||||
[Test]
|
||||
[Category ("StaticLinkedAotNotWorking")] // Native MPH loading issues
|
||||
public void Bug28777_DoubleFlush ()
|
||||
{
|
||||
byte[] buffer = new byte [4096];
|
||||
@ -397,6 +423,7 @@ namespace MonoTests.System.IO.Compression
|
||||
}
|
||||
|
||||
[Test]
|
||||
[Category ("StaticLinkedAotNotWorking")] // Native MPH loading issues
|
||||
public void Bug34916_Inflate ()
|
||||
{
|
||||
var base64String = @"H4sIAAAAAAAAA6yVu27bQBBF/4VtZGHeD3ZJmhTp5C5IIUiEIcCWDEUugiD/nmEQwYRNURFAsuFwd2exZ++d+farud89davT+um5aRsC1DuEO+R7lJayRV9m5gegFqBZNB83m5fjevOzadGWUPHjaXd62XYVEy3Z04wiMTKIX0dfV0G/6FO3Pu72D/+iL916W9GbOV/X58SaS6zEKKyoGUA1eNg/nLfF2jUEBBNMtT4Wzeq567Z9HkZkE1Osf93msN/+WO32m+7zsavsh30/BUU8fy+uUCC+QIHpPQW1RAXkEGWUmSnUy2iUYSMYOGpARYViiIHcqY5kExS8rg2vY8gLGEjeYsClBVE4ORQHz3kxsEF4iS01xzBIZkgYQcYQQ7C54LQaIrxWn5+4ioT1BiRQN8Fh6MrOPjOS9Eh3M8YRJJQMZioJkUODFA8RNJ9AYuYBNyGJW5D0oi3/EpZ3dWYk5X5PN81RJGJgDATMQ5X02nFS1imVlMGvu0XwBg5/K1hY1U8tecxcNDy1/FAnG+OAQSi9PliHRaNUiuoxQYFB6T8oyAUKEu9LJ6oipbr1spyZArhWX6qbi7EOUrs7SCAoDNVgzKagMlUz+q6DQ4N8/yM=";
|
||||
@ -415,6 +442,7 @@ namespace MonoTests.System.IO.Compression
|
||||
}
|
||||
|
||||
[Test]
|
||||
[Category ("StaticLinkedAotNotWorking")] // Native MPH loading issues
|
||||
public void Bug44994_Inflate()
|
||||
{
|
||||
var base64String = @"7cWxCQAgDACwpeBjgqsgXiHU0fd9QzBLErX1EQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADepcxcuU/atm3btm3btm3btm3btm3btm3btm3btm3btm3btm3btm3btm3btm3btm3btm3btm3btm3btm3btm3btm3btm3btm3btm3btm3btm3btm3btm3btm3btm3btm37zy8=";
|
||||
@ -434,6 +462,7 @@ namespace MonoTests.System.IO.Compression
|
||||
}
|
||||
|
||||
[Test]
|
||||
[Category ("StaticLinkedAotNotWorking")] // Native MPH loading issues
|
||||
[Category ("MobileNotWorking")]
|
||||
public void Bug44994_InflateByteByByte()
|
||||
{
|
||||
|
Reference in New Issue
Block a user