Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -365,7 +365,6 @@ public void IgnoreColumnEmptyNamespace()
}

[ConditionalFact(typeof(PlatformDetection), nameof(PlatformDetection.DataSetXmlSerializationIsSupported))]
[ActiveIssue("https://github.com/dotnet/runtime/issues/134954", typeof(PlatformDetection), nameof(PlatformDetection.IsWasi), nameof(PlatformDetection.IsReadyToRunCompiled))]
public void SerializeDataSet()
{
// see GetReady() for current culture
Expand All @@ -386,7 +385,6 @@ public void SerializeDataSet()
}

[ConditionalFact(typeof(PlatformDetection), nameof(PlatformDetection.DataSetXmlSerializationIsSupported))]
[ActiveIssue("https://github.com/dotnet/runtime/issues/134954", typeof(PlatformDetection), nameof(PlatformDetection.IsWasi), nameof(PlatformDetection.IsReadyToRunCompiled))]
public void SerializeDataSet2()
{
DataSet quota = new DataSet("Quota");
Expand Down Expand Up @@ -478,7 +476,6 @@ public void SerializeDataSet3()
}

[ConditionalFact(typeof(PlatformDetection), nameof(PlatformDetection.DataSetXmlSerializationIsSupported))]
[ActiveIssue("https://github.com/dotnet/runtime/issues/134954", typeof(PlatformDetection), nameof(PlatformDetection.IsWasi), nameof(PlatformDetection.IsReadyToRunCompiled))]
public void DeserializeDataSet()
{
string xml = @"<DataSet>
Expand Down Expand Up @@ -1359,7 +1356,6 @@ public void WriteXmlModeSchema1()
}

[ConditionalFact(typeof(PlatformDetection), nameof(PlatformDetection.DataSetXmlSerializationIsSupported))]
[ActiveIssue("https://github.com/dotnet/runtime/issues/134954", typeof(PlatformDetection), nameof(PlatformDetection.IsWasi), nameof(PlatformDetection.IsReadyToRunCompiled))]
public void DeserializeModifiedDataSet()
{
// Serialization begins
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,6 @@ public static IEnumerable<object[]> ForbiddenTypes()
}

[ConditionalTheory(typeof(PlatformDetection), nameof(PlatformDetection.DataSetXmlSerializationIsSupported))]
[ActiveIssue("https://github.com/dotnet/runtime/issues/134954", typeof(PlatformDetection), nameof(PlatformDetection.IsWasi), nameof(PlatformDetection.IsReadyToRunCompiled))]
[MemberData(nameof(AllowedTypes))]
public void DataTable_ReadXml_AllowsKnownTypes(Type type)
{
Expand All @@ -147,7 +146,6 @@ public void DataTable_ReadXml_AllowsKnownTypes(Type type)
}

[ConditionalTheory(typeof(PlatformDetection), nameof(PlatformDetection.DataSetXmlSerializationIsSupported))]
[ActiveIssue("https://github.com/dotnet/runtime/issues/134954", typeof(PlatformDetection), nameof(PlatformDetection.IsWasi), nameof(PlatformDetection.IsReadyToRunCompiled))]
[MemberData(nameof(ForbiddenTypes))]
public void DataTable_ReadXml_ForbidsUnknownTypes(Type type)
{
Expand Down Expand Up @@ -207,7 +205,6 @@ public void DataTable_ReadXmlSchema_AllowsUnknownTypes(Type type)
}

[ConditionalFact(typeof(PlatformDetection), nameof(PlatformDetection.DataSetXmlSerializationIsSupported))]
[ActiveIssue("https://github.com/dotnet/runtime/issues/134954", typeof(PlatformDetection), nameof(PlatformDetection.IsWasi), nameof(PlatformDetection.IsReadyToRunCompiled))]
public void DataTable_HonorsGloballyDefinedAllowList()
{
// Arrange
Expand Down Expand Up @@ -299,7 +296,6 @@ public void DataTable_HonorsGloballyDefinedAllowListForSqlTypes()
}

[ConditionalFact(typeof(PlatformDetection), nameof(PlatformDetection.DataSetXmlSerializationIsSupported))]
[ActiveIssue("https://github.com/dotnet/runtime/issues/134954", typeof(PlatformDetection), nameof(PlatformDetection.IsWasi), nameof(PlatformDetection.IsReadyToRunCompiled))]
public void DataColumn_ConvertExpression_SubjectToAllowList_Success()
{
// Arrange
Expand Down Expand Up @@ -347,7 +343,6 @@ public void DataColumn_ConvertExpression_SubjectToAllowList_Failure()
}

[ConditionalTheory(typeof(PlatformDetection), nameof(PlatformDetection.DataSetXmlSerializationIsSupported))]
[ActiveIssue("https://github.com/dotnet/runtime/issues/134954", typeof(PlatformDetection), nameof(PlatformDetection.IsWasi), nameof(PlatformDetection.IsReadyToRunCompiled))]
[MemberData(nameof(AllowedTypes))]
public void DataSet_ReadXml_AllowsKnownTypes(Type type)
{
Expand Down Expand Up @@ -378,7 +373,6 @@ public void DataSet_ReadXml_AllowsKnownTypes(Type type)
}

[ConditionalTheory(typeof(PlatformDetection), nameof(PlatformDetection.DataSetXmlSerializationIsSupported))]
[ActiveIssue("https://github.com/dotnet/runtime/issues/134954", typeof(PlatformDetection), nameof(PlatformDetection.IsWasi), nameof(PlatformDetection.IsReadyToRunCompiled))]
[MemberData(nameof(ForbiddenTypes))]
public void DataSet_ReadXml_ForbidsUnknownTypes(Type type)
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ namespace System.Diagnostics.Tests
public class ActivityTests : IDisposable
{
[Fact]
[ActiveIssue("https://github.com/dotnet/runtime/issues/134954", TestPlatforms.Wasi)]
public void ActivityIdNonHierarchicalOverflow()
{
// find out Activity Id length on this platform in this AppDomain
Expand Down Expand Up @@ -81,7 +80,6 @@ public void IdGenerationInternalParent()
}

[Fact]
[ActiveIssue("https://github.com/dotnet/runtime/issues/134954", TestPlatforms.Wasi)]
public void IdFormat_HierarchicalIsDefault()
{
Activity activity = new Activity("activity1");
Expand All @@ -90,7 +88,6 @@ public void IdFormat_HierarchicalIsDefault()
}

[Fact]
[ActiveIssue("https://github.com/dotnet/runtime/issues/134954", TestPlatforms.Wasi)]
public void IdFormat_ZeroTraceIdAndSpanIdWithHierarchicalFormat()
{
Activity activity = new Activity("activity");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3695,7 +3695,6 @@ public static void DCS_BasicPerSerializerRoundTripAndCompare_SampleTypes()
}

[ConditionalFact(typeof(PlatformDetection), nameof(PlatformDetection.DataSetXmlSerializationIsSupported))]
[ActiveIssue("https://github.com/dotnet/runtime/issues/134954", typeof(PlatformDetection), nameof(PlatformDetection.IsWasi), nameof(PlatformDetection.IsReadyToRunCompiled))]
public static void DCS_BasicPerSerializerRoundTripAndCompare_DataSet()
{

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ public static class CalendarTests
{
[Fact]
[SkipOnPlatform(TestPlatforms.Android, "Doesn't throw on mobile")]
[ActiveIssue("https://github.com/dotnet/runtime/issues/134954", TestPlatforms.Wasi)]
public static void TestJapaneseCalendarDateParsing()
{
CultureInfo ciJapanese = new CultureInfo("ja-JP") { DateTimeFormat = { Calendar = new JapaneseCalendar() } };
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ namespace System.Tests
public static partial class TimeZoneInfoTests
{
[Fact]
[ActiveIssue("https://github.com/dotnet/runtime/issues/134954", TestPlatforms.Wasi)]
public static void IsInvariant()
{
Assert.True(GetInvariant(null));
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,6 @@ public static void GetEncodingsTest()

[Theory]
[MemberData(nameof(Encoding_TestData))]
[ActiveIssue("https://github.com/dotnet/runtime/issues/134954", TestPlatforms.Wasi)]
public static void VerifyCodePageAttributes(int codepage, string name, string bodyName, string headerName, bool isBrowserDisplay,
bool isBrowserSave, bool isMailNewsDisplay, bool isMailNewsSave, int windowsCodePage)
{
Expand All @@ -83,7 +82,6 @@ public static void VerifyCodePageAttributes(int codepage, string name, string bo

[Theory]
[MemberData(nameof(Normalization_TestData))]
[ActiveIssue("https://github.com/dotnet/runtime/issues/134954", TestPlatforms.Wasi)]
public static void NormalizationTest(int codepage, bool normalized, bool normalizedC, bool normalizedD, bool normalizedKC, bool normalizedKD)
{
Encoding encoding = Encoding.GetEncoding(codepage);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,6 @@ public CodePageMapping(string name, int codepage)
};

[Fact]
[ActiveIssue("https://github.com/dotnet/runtime/issues/134954", TestPlatforms.Wasi)]
public void TestEncodingNameAndCopdepageNumber()
{
foreach (var map in s_mapping)
Expand All @@ -103,7 +102,6 @@ public void TestEncodingNameAndCopdepageNumber()
}

[Fact]
[ActiveIssue("https://github.com/dotnet/runtime/issues/134954", TestPlatforms.Wasi)]
public void GetEncoding_EncodingName()
{
using (new ThreadCultureChange(CultureInfo.InvariantCulture))
Expand All @@ -123,7 +121,6 @@ public void GetEncoding_EncodingName()
}

[Fact]
[ActiveIssue("https://github.com/dotnet/runtime/issues/134954", TestPlatforms.Wasi)]
public void GetEncoding_WebName()
{
foreach (var mapping in s_codePageToWebNameMappings)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,6 @@ public static IEnumerable<object[]> Encode_Basic_TestData()

[Theory]
[MemberData(nameof(Encode_Basic_TestData))]
[ActiveIssue("https://github.com/dotnet/runtime/issues/134954", TestPlatforms.Wasi)]
public void Encode_Basic(string source, int index, int count, byte[] expected)
{
Encode_Advanced(true, source, index, count, expected);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,39 +54,34 @@ public static IEnumerable<object[]> Encodings_TestData()

[Theory]
[MemberData(nameof(Encodings_TestData))]
[ActiveIssue("https://github.com/dotnet/runtime/issues/134954", TestPlatforms.Wasi)]
public void WebName(UTF7Encoding encoding)
{
Assert.Equal("utf-7", encoding.WebName);
}

[Theory]
[MemberData(nameof(Encodings_TestData))]
[ActiveIssue("https://github.com/dotnet/runtime/issues/134954", TestPlatforms.Wasi)]
public void CodePage(UTF7Encoding encoding)
{
Assert.Equal(65000, encoding.CodePage);
}

[Theory]
[MemberData(nameof(Encodings_TestData))]
[ActiveIssue("https://github.com/dotnet/runtime/issues/134954", TestPlatforms.Wasi)]
public void EncodingName(UTF7Encoding encoding)
{
Assert.NotEmpty(encoding.EncodingName); // Unicode (UTF-7) in en-US
}

[Theory]
[MemberData(nameof(Encodings_TestData))]
[ActiveIssue("https://github.com/dotnet/runtime/issues/134954", TestPlatforms.Wasi)]
public void IsSingleByte(UTF7Encoding encoding)
{
Assert.False(encoding.IsSingleByte);
}

[Theory]
[MemberData(nameof(Encodings_TestData))]
[ActiveIssue("https://github.com/dotnet/runtime/issues/134954", TestPlatforms.Wasi)]
public void Clone(UTF7Encoding encoding)
{
UTF7Encoding clone = (UTF7Encoding)encoding.Clone();
Expand Down Expand Up @@ -120,7 +115,6 @@ public static IEnumerable<object[]> Equals_TestData()

[Theory]
[MemberData(nameof(Equals_TestData))]
[ActiveIssue("https://github.com/dotnet/runtime/issues/134954", TestPlatforms.Wasi)]
public void EqualsTest(UTF7Encoding encoding, object value, bool expected)
{
Assert.Equal(expected, encoding.Equals(value));
Expand Down
Loading