}
[Test]
+ [Category ("StaticLinkedAotNotWorking")] // Native MPH loading issues
[ExpectedException (typeof (ArgumentNullException))]
public void Constructor_Null ()
{
}
[Test]
+ [Category ("StaticLinkedAotNotWorking")] // Native MPH loading issues
[ExpectedException (typeof (ArgumentException))]
public void Constructor_InvalidCompressionMode ()
{
}
[Test]
+ [Category ("StaticLinkedAotNotWorking")] // Native MPH loading issues
public void CheckCompressDecompress ()
{
byte [] data = new byte[100000];
}
[Test]
+ [Category ("StaticLinkedAotNotWorking")] // Native MPH loading issues
public void CheckDecompress ()
{
byte [] data = {0x1f, 0x8b, 0x08, 0x08, 0x70, 0xbb, 0x5d, 0x41, 0x00, 0x03, 0x74, 0x65, 0x73, 0x74, 0x00, 0xf3, 0x48, 0xcd, 0xc9, 0xc9, 0xe7, 0x02, 0x00, 0x16, 0x35, 0x96, 0x31, 0x06, 0x00, 0x00, 0x00 };
}
[Test]
+ [Category ("StaticLinkedAotNotWorking")] // Native MPH loading issues
[ExpectedException (typeof (ArgumentNullException))]
public void CheckNullRead ()
{
}
[Test]
+ [Category ("StaticLinkedAotNotWorking")] // Native MPH loading issues
[ExpectedException (typeof (InvalidOperationException))]
public void CheckCompressingRead ()
{
}
[Test]
+ [Category ("StaticLinkedAotNotWorking")] // Native MPH loading issues
[ExpectedException (typeof (ArgumentException))]
public void CheckRangeRead ()
{
#if !MOBILE
[Test]
+ [Category ("StaticLinkedAotNotWorking")] // Native MPH loading issues
[Category("NotWorking")]
public void CheckInvalidDataRead ()
{
#endif
[Test]
+ [Category ("StaticLinkedAotNotWorking")] // Native MPH loading issues
public void CheckClosedRead ()
{
byte [] dummy = new byte[20];
}
[Test]
+ [Category ("StaticLinkedAotNotWorking")] // Native MPH loading issues
[ExpectedException (typeof (ObjectDisposedException))]
public void CheckClosedFlush ()
{
}
[Test]
+ [Category ("StaticLinkedAotNotWorking")] // Native MPH loading issues
[ExpectedException (typeof (NotSupportedException))]
public void CheckSeek ()
{
}
[Test]
+ [Category ("StaticLinkedAotNotWorking")] // Native MPH loading issues
[ExpectedException (typeof (NotSupportedException))]
public void CheckSetLength ()
{
}
[Test]
+ [Category ("StaticLinkedAotNotWorking")] // Native MPH loading issues
public void CheckGetCanSeekProp ()
{
MemoryStream backing = new MemoryStream (compressed_data);
}
[Test]
+ [Category ("StaticLinkedAotNotWorking")] // Native MPH loading issues
public void CheckGetCanReadProp ()
{
MemoryStream backing = new MemoryStream (compressed_data);
}
[Test]
+ [Category ("StaticLinkedAotNotWorking")] // Native MPH loading issues
public void CheckGetCanWriteProp ()
{
MemoryStream backing = new MemoryStream (compressed_data);
}
[Test]
+ [Category ("StaticLinkedAotNotWorking")] // Native MPH loading issues
[ExpectedException (typeof (NotSupportedException))]
public void CheckSetLengthProp ()
{
}
[Test]
+ [Category ("StaticLinkedAotNotWorking")] // Native MPH loading issues
[ExpectedException (typeof (NotSupportedException))]
public void CheckGetLengthProp ()
{
}
[Test]
+ [Category ("StaticLinkedAotNotWorking")] // Native MPH loading issues
[ExpectedException (typeof (NotSupportedException))]
public void CheckGetPositionProp ()
{
}
[Test]
+ [Category ("StaticLinkedAotNotWorking")] // Native MPH loading issues
public void DisposeTest ()
{
MemoryStream backing = new MemoryStream (compressed_data);
}
[Test]
+ [Category ("StaticLinkedAotNotWorking")] // Native MPH loading issues
public void DisposeOrderTest ()
{
var fs = new MemoryStream();
}
[Test]
+ [Category ("StaticLinkedAotNotWorking")] // Native MPH loading issues
public void CheckNet45Overloads () // Xambug #21982
{
MemoryStream dataStream = GenerateStreamFromString("Hello");