Skip to content

System.Configuration tests fail on Android #37071

Closed

Description

@mdh1418

Several tests from System.Configuration fail on Android

System.Configuration.ConfigurationManager.Tests:

  • GetDirectoryOrRootName_GettingDirectoryFromAFilePath
<test name="System.ConfigurationTests.UrlPathTests.GetDirectoryOrRootName_GettingDirectoryFromAFilePath" type="System.ConfigurationTests.UrlPathTests" method="GetDirectoryOrRootName_GettingDirectoryFromAFilePath" time="0.010435" result="Fail">
        <failure exception-type="Xunit.Sdk.EqualException">
          <message><![CDATA[Assert.Equal() Failure\n                                 ↓ (pos 68)\nExpected: ···urationManager.Tests/file\nActual:   ···urationManager.Tests\n                                 ↑ (pos 68)]]></message>
          <stack-trace><![CDATA[   at System.ConfigurationTests.UrlPathTests.GetDirectoryOrRootName_GettingDirectoryFromAFilePath() in /Users/mdhwang/runtime/src/libraries/System.Configuration.ConfigurationManager/tests/System/Configuration/UrlPathTests.cs:line 39
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture) in /Users/mdhwang/runtime/src/mono/netcore/System.Private.CoreLib/src/System/Reflection/RuntimeMethodInfo.cs:line 359]]></stack-trace>
        </failure>
      </test>```

Activity

  1. added
    untriaged
    on May 27, 2020
  2. added this to the 6.0.0 milestone on Jun 24, 2020
  3. removed
    untriaged
    on Jun 24, 2020
  4. MaximLipnin commented on Jul 28, 2021

    @MaximLipnin
    Contributor

    Is System.Configuration.ConfigurationManager supported on Android?

    For example, for Browser it's marked as unsupported
    https://github.com/dotnet/runtime/blob/main/src/libraries/System.Configuration.ConfigurationManager/Directory.Build.props#L6
    and the respective tests are ignored for CI.

  5. self-assigned this
    on Jul 29, 2021
  6. ghost added
    in-pr
    on Jul 29, 2021
  7. ghost removed
    in-pr
    on Jul 30, 2021
  8. ghost locked as resolved and limited conversation to collaborators on Aug 29, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions