You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
System.Text.RegularExpressions failures on android #36848
@steveisok The tests skipped with IsSupported are still being skipped with IsSupported and looking at the tests, theyre decorated with [ConditionalFact(typeof(RemoteExecutor), nameof(RemoteExecutor.IsSupported))]
@steveisok Though those are not supported, there are still 2 actual failures here RegexCultureTests.TurkishI_Is_Differently_LowerUpperCased_In_Turkish_Culture System.Text.RegularExpressions.Tests.RegexGroupTests.Groups
Stil fail for
Test collection for System.Text.RegularExpressions.Tests.RegexGroupTests
System.Text.RegularExpressions.Tests.RegexGroupTests.Groups(cultureName: \"tr-TR\", pattern: \"ı\", input: \"I\", options: IgnoreCase, expectedGroups: [\"I\"])
Assert.True() Failure\nExpected: True\nActual: False
System.Text.RegularExpressions.Tests.RegexGroupTests.Groups(cultureName: \"az-Latn-AZ\", pattern: \"ı\", input: \"I\", options: IgnoreCase, expectedGroups: [\"I\"])
Assert.True() Failure\nExpected: True\nActual: False
Test collection for System.Text.RegularExpressions.Tests.RegexCultureTests
System.Text.RegularExpressions.Tests.RegexCultureTests.TurkishI_Is_Differently_LowerUpperCased_In_Turkish_Culture(length: 2)
Assert.All() Failure: 2 out of 2 items in the collection did not pass.\n[1]: Item: Iıİi\n Xunit.Sdk.FalseException: Assert.False() Failure\n Expected: False\n Actual: True\n at Xunit.Assert.False(Nullable`1 condition, String userMessage) in xunit.assert.dll:token 0x600000d+0x19\n at Xunit.Assert.False(Boolean condition) in xunit.assert.dll:token 0x600000a+0x6\n at System.Text.RegularExpressions.Tests.RegexCultureTests.<>c__DisplayClass2_0.<TurkishI_Is_Differently_LowerUpperCased_In_Turkish_Culture>b__1(Regex rex) in /Users/mdhwang/runtime_droid/src/libraries/System.Text.RegularExpressions/tests/RegexCultureTests.cs:line 90\n at Xunit.Assert.All[Regex](IEnumerable`1 collection, Action`1 action) in xunit.assert.dll:token 0x6000012+0x28\n[0]: Item: Iıİi\n Xunit.Sdk.FalseException: Assert.False() Failure\n Expected: False\n Actual: True\n at Xunit.Assert.False(Nullable`1 condition, String userMessage) in xunit.assert.dll:token 0x600000d+0x19\n at Xunit.Assert.False(Boolean condition) in xunit.assert.dll:token 0x600000a+0x6\n at System.Text.RegularExpressions.Tests.RegexCultureTests.<>c__DisplayClass2_0.<TurkishI_Is_Differently_LowerUpperCased_In_Turkish_Culture>b__1(Regex rex) in /Users/mdhwang/runtime_droid/src/libraries/System.Text.RegularExpressions/tests/RegexCultureTests.cs:line 90\n at Xunit.Assert.All[Regex](IEnumerable`1 collection, Action`1 action) in xunit.assert.dll:token 0x6000012+0x28
System.Text.RegularExpressions.Tests.RegexCultureTests.TurkishI_Is_Differently_LowerUpperCased_In_Turkish_Culture(length: 256)
Assert.All() Failure: 2 out of 2 items in the collection did not pass.\n[1]: Item: IıİiIıİiIıİiIıİiIıİiIıİiIıİiIıİiIıİiIıİiIıİiIıİiIıİiIıİiIıİiIıİiIıİiIıİiIıİiIıİiIıİiIıİiIıİiIıİiIıİiIıİiIıİiIıİiIıİiIıİiIıİiIıİiIıİiIıİiIıİiIıİiIıİiIıİiIıİiIıİiIıİiIıİiIıİiIıİiIıİiIıİiIıİiIıİiIıİiIıİiIıİiIıİiIıİiIıİiIıİiIıİiIıİiIıİiIıİiIıİiIıİiIıİiIıİiIıİiIıİiIıİiIıİiIıİiIıİiIıİiIıİiIıİiIıİiIıİiIıİiIıİiIıİiIıİiIıİiIıİiIıİiIıİiIıİiIıİiIıİiIıİiIıİiIıİiIıİiIıİiIıİiIıİiIıİiIıİiIıİiIıİiIıİiIıİiIıİiIıİiIıİiIıİiIıİiIıİiIıİiIıİiIıİiIıİiIıİiIıİiIıİiIıİiIıİiIıİiIıİiIıİiIıİiIıİiIıİiIıİiIıİiIıİiIıİiIıİiIıİiIıİiIıİiIıİi\n Xunit.Sdk.FalseException: Assert.False() Failure\n Expected: False\n Actual: True\n at Xunit.Assert.False(Nullable`1 condition, String userMessage) in xunit.assert.dll:token 0x600000d+0x19\n at Xunit.Assert.False(Boolean condition) in xunit.assert.dll:token 0x600000a+0x6\n at System.Text.RegularExpressions.Tests.RegexCultureTests.<>c__DisplayClass2_0.<TurkishI_Is_Differently_LowerUpperCased_In_Turkish_Culture>b__1(Regex rex) in /Users/mdhwang/runtime_droid/src/libraries/System.Text.RegularExpressions/tests/RegexCultureTests.cs:line 90\n at Xunit.Assert.All[Regex](IEnumerable`1 collection, Action`1 action) in xunit.assert.dll:token 0x6000012+0x28\n[0]: Item: IıİiIıİiIıİiIıİiIıİiIıİiIıİiIıİiIıİiIıİiIıİiIıİiIıİiIıİiIıİiIıİiIıİiIıİiIıİiIıİiIıİiIıİiIıİiIıİiIıİiIıİiIıİiIıİiIıİiIıİiIıİiIıİiIıİiIıİiIıİiIıİiIıİiIıİiIıİiIıİiIıİiIıİiIıİiIıİiIıİiIıİiIıİiIıİiIıİiIıİiIıİiIıİiIıİiIıİiIıİiIıİiIıİiIıİiIıİiIıİiIıİiIıİiIıİiIıİiIıİiIıİiIıİiIıİiIıİiIıİiIıİiIıİiIıİiIıİiIıİiIıİiIıİiIıİiIıİiIıİiIıİiIıİiIıİiIıİiIıİiIıİiIıİiIıİiIıİiIıİiIıİiIıİiIıİiIıİiIıİiIıİiIıİiIıİiIıİiIıİiIıİiIıİiIıİiIıİiIıİiIıİiIıİiIıİiIıİiIıİiIıİiIıİiIıİiIıİiIıİiIıİiIıİiIıİiIıİiIıİiIıİiIıİiIıİiIıİiIıİiIıİiIıİiIıİi\n Xunit.Sdk.FalseException: Assert.False() Failure\n Expected: False\n Actual: True\n at Xunit.Assert.False(Nullable`1 condition, String userMessage) in xunit.assert.dll:token 0x600000d+0x19\n at Xunit.Assert.False(Boolean condition) in xunit.assert.dll:token 0x600000a+0x6\n at System.Text.RegularExpressions.Tests.RegexCultureTests.<>c__DisplayClass2_0.<TurkishI_Is_Differently_LowerUpperCased_In_Turkish_Culture>b__1(Regex rex) in /Users/mdhwang/runtime_droid/src/libraries/System.Text.RegularExpressions/tests/RegexCultureTests.cs:line 90\n at Xunit.Assert.All[Regex](IEnumerable`1 collection, Action`1 action) in xunit.assert.dll:token 0x6000012+0x28
Currently they're marked with ActiveIssues linked to this issue. I'm curious what is inherent from these tests that prevent them from passing on Android, and when we find out, should some PlatformNotSupportedException error then be generated for this case. That way, we can use SkipOnPlatform and provide the inherent reason. In any case, it seems like it can be investigated more in 7.0
ghost locked as resolved and limited conversation to collaborators on Aug 26, 2021
Activity
danmoseley commentedon Jul 26, 2021
This is basically the same as #36900. You might want to close one.
steveisok commentedon Jul 26, 2021
re: the Android failures, the
tr-TRdoes not return the results we expect as it pertains to case and a few other scenarios.@mdh1418 can you re-run the
IsSupportedtests as I suspect this may be feature flag related.mdh1418 commentedon Jul 27, 2021
@steveisok The tests skipped with
IsSupportedare still being skipped withIsSupportedand looking at the tests, theyre decorated with[ConditionalFact(typeof(RemoteExecutor), nameof(RemoteExecutor.IsSupported))]steveisok commentedon Jul 27, 2021
Ok, that's expected. I think we can close this issue.
mdh1418 commentedon Jul 27, 2021
@steveisok Though those are not supported, there are still 2 actual failures here
RegexCultureTests.TurkishI_Is_Differently_LowerUpperCased_In_Turkish_CultureSystem.Text.RegularExpressions.Tests.RegexGroupTests.GroupsStil fail for
steveisok commentedon Jul 27, 2021
Yeah, I don't believe there is anything we can do to make them pass on Android.
mdh1418 commentedon Jul 27, 2021
Currently they're marked with ActiveIssues linked to this issue. I'm curious what is inherent from these tests that prevent them from passing on Android, and when we find out, should some PlatformNotSupportedException error then be generated for this case. That way, we can use
SkipOnPlatformand provide the inherent reason. In any case, it seems like it can be investigated more in 7.0