Skip to content

System.ComponentModel.Primitives.Tests Fails on Android #50881

Closed

Description

@mdh1418

System.ComponentModel.Primitives.Tests
System.ComponentModel.Tests.InvalidEnumArgumentExceptionTests.Ctor_SerializationInfo_StreamingContext
System.ComponentModel.Tests.InvalidAsynchronousStateExceptionTests.Ctor_SerializationInfo_StreamingContext
System.ComponentModel.Tests.CategoryAttributeTests.Equals_Object_ReturnsExpected
System.ComponentModel.Tests.CategoryAttributeTests.Ctor_Default
System.ComponentModel.Tests.CategoryAttributeTests.GetLocalizedString_InvokeNoSuchValue_ReturnsNull
System.ComponentModel.Tests.CategoryAttributeTests.Ctor_String
System.ComponentModel.Tests.CategoryAttributeTests.Properties_Get_ReturnsExpected


System.ComponentModel.Primitives.Tests.dll   Failed: 25

Test collection for System.ComponentModel.Tests.InvalidEnumArgumentExceptionTests
System.ComponentModel.Tests.InvalidEnumArgumentExceptionTests.Ctor_SerializationInfo_StreamingContext
    System.NotSupportedException : BinaryFormatter_SerializationDisallowed

Test collection for System.ComponentModel.Tests.InvalidAsynchronousStateExceptionTests
System.ComponentModel.Tests.InvalidAsynchronousStateExceptionTests.Ctor_SerializationInfo_StreamingContext
    System.NotSupportedException : BinaryFormatter_SerializationDisallowed

Test collection for System.ComponentModel.Tests.CategoryAttributeTests
System.ComponentModel.Tests.CategoryAttributeTests.Equals_Object_ReturnsExpected(attribute: CategoryAttribute { Category = \"PropertyCategory\", TypeId = typeof(System.ComponentModel.CategoryAttribute) }, other: CategoryAttribute { Category = \"PropertyCategory\", TypeId = typeof(System.ComponentModel.CategoryAttribute) }, expected: False)
    Assert.Equal() Failure\nExpected: False\nActual:   True
System.ComponentModel.Tests.CategoryAttributeTests.Ctor_Default
    Assert.Equal() Failure\n          ↓ (pos 0)\nExpected: Misc\nActual:   PropertyCategoryDefault\n          ↑ (pos 0)
System.ComponentModel.Tests.CategoryAttributeTests.GetLocalizedString_InvokeNoSuchValue_ReturnsNull(value: null)
    Assert.Null() Failure\nExpected: (null)\nActual:   PropertyCategory
System.ComponentModel.Tests.CategoryAttributeTests.GetLocalizedString_InvokeNoSuchValue_ReturnsNull(value: \"value\")
    Assert.Null() Failure\nExpected: (null)\nActual:   PropertyCategoryvalue
System.ComponentModel.Tests.CategoryAttributeTests.GetLocalizedString_InvokeNoSuchValue_ReturnsNull(value: \"\")
    Assert.Null() Failure\nExpected: (null)\nActual:   PropertyCategory
System.ComponentModel.Tests.CategoryAttributeTests.Ctor_String(category: null, expectedIsDefaultAttribute: False)
    Assert.Equal() Failure\nExpected: (null)\nActual:   PropertyCategory
System.ComponentModel.Tests.CategoryAttributeTests.Ctor_String(category: \"category\", expectedIsDefaultAttribute: False)
    Assert.Equal() Failure\n          ↓ (pos 0)\nExpected: category\nActual:   PropertyCategorycategory\n          ↑ (pos 0)
System.ComponentModel.Tests.CategoryAttributeTests.Ctor_String(category: \"misc\", expectedIsDefaultAttribute: False)
    Assert.Equal() Failure\n          ↓ (pos 0)\nExpected: misc\nActual:   PropertyCategorymisc\n          ↑ (pos 0)
System.ComponentModel.Tests.CategoryAttributeTests.Ctor_String(category: \"\", expectedIsDefaultAttribute: False)
    Assert.Equal() Failure\n          ↓ (pos 0)\nExpected: \nActual:   PropertyCategory\n          ↑ (pos 0)
System.ComponentModel.Tests.CategoryAttributeTests.Ctor_String(category: \"Misc\", expectedIsDefaultAttribute: True)
    Assert.Equal() Failure\n          ↓ (pos 0)\nExpected: Misc\nActual:   PropertyCategoryMisc\n          ↑ (pos 0)
System.ComponentModel.Tests.CategoryAttributeTests.Properties_Get_ReturnsExpected(attributeThunk: Func`1 { Method = System.ComponentModel.CategoryAttribute <Properties_TestData>b__4_0(), Target = <>c { } }, expectedCategory: \"Appearance\")
    Assert.Equal() Failure\n          ↓ (pos 0)\nExpected: Appearance\nActual:   PropertyCategoryAppearance\n          ↑ (pos 0)
System.ComponentModel.Tests.CategoryAttributeTests.Properties_Get_ReturnsExpected(attributeThunk: Func`1 { Method = System.ComponentModel.CategoryAttribute <Properties_TestData>b__4_1(), Target = <>c { } }, expectedCategory: \"Asynchronous\")
    Assert.Equal() Failure\n          ↓ (pos 0)\nExpected: Asynchronous\nActual:   PropertyCategoryAsynchronous\n          ↑ (pos 0)
System.ComponentModel.Tests.CategoryAttributeTests.Properties_Get_ReturnsExpected(attributeThunk: Func`1 { Method = System.ComponentModel.CategoryAttribute <Properties_TestData>b__4_2(), Target = <>c { } }, expectedCategory: \"Behavior\")
    Assert.Equal() Failure\n          ↓ (pos 0)\nExpected: Behavior\nActual:   PropertyCategoryBehavior\n          ↑ (pos 0)
System.ComponentModel.Tests.CategoryAttributeTests.Properties_Get_ReturnsExpected(attributeThunk: Func`1 { Method = System.ComponentModel.CategoryAttribute <Properties_TestData>b__4_3(), Target = <>c { } }, expectedCategory: \"Data\")
    Assert.Equal() Failure\n          ↓ (pos 0)\nExpected: Data\nActual:   PropertyCategoryData\n          ↑ (pos 0)
System.ComponentModel.Tests.CategoryAttributeTests.Properties_Get_ReturnsExpected(attributeThunk: Func`1 { Method = System.ComponentModel.CategoryAttribute <Properties_TestData>b__4_4(), Target = <>c { } }, expectedCategory: \"Misc\")
    Assert.Equal() Failure\n          ↓ (pos 0)\nExpected: Misc\nActual:   PropertyCategoryDefault\n          ↑ (pos 0)
System.ComponentModel.Tests.CategoryAttributeTests.Properties_Get_ReturnsExpected(attributeThunk: Func`1 { Method = System.ComponentModel.CategoryAttribute <Properties_TestData>b__4_5(), Target = <>c { } }, expectedCategory: \"Design\")
    Assert.Equal() Failure\n          ↓ (pos 0)\nExpected: Design\nActual:   PropertyCategoryDesign\n          ↑ (pos 0)
System.ComponentModel.Tests.CategoryAttributeTests.Properties_Get_ReturnsExpected(attributeThunk: Func`1 { Method = System.ComponentModel.CategoryAttribute <Properties_TestData>b__4_6(), Target = <>c { } }, expectedCategory: \"Drag Drop\")
    Assert.Equal() Failure\n          ↓ (pos 0)\nExpected: Drag Drop\nActual:   PropertyCategoryDragDrop\n          ↑ (pos 0)
System.ComponentModel.Tests.CategoryAttributeTests.Properties_Get_ReturnsExpected(attributeThunk: Func`1 { Method = System.ComponentModel.CategoryAttribute <Properties_TestData>b__4_7(), Target = <>c { } }, expectedCategory: \"Focus\")
    Assert.Equal() Failure\n          ↓ (pos 0)\nExpected: Focus\nActual:   PropertyCategoryFocus\n          ↑ (pos 0)
System.ComponentModel.Tests.CategoryAttributeTests.Properties_Get_ReturnsExpected(attributeThunk: Func`1 { Method = System.ComponentModel.CategoryAttribute <Properties_TestData>b__4_8(), Target = <>c { } }, expectedCategory: \"Format\")
    Assert.Equal() Failure\n          ↓ (pos 0)\nExpected: Format\nActual:   PropertyCategoryFormat\n          ↑ (pos 0)
System.ComponentModel.Tests.CategoryAttributeTests.Properties_Get_ReturnsExpected(attributeThunk: Func`1 { Method = System.ComponentModel.CategoryAttribute <Properties_TestData>b__4_9(), Target = <>c { } }, expectedCategory: \"Key\")
    Assert.Equal() Failure\n          ↓ (pos 0)\nExpected: Key\nActual:   PropertyCategoryKey\n          ↑ (pos 0)
System.ComponentModel.Tests.CategoryAttributeTests.Properties_Get_ReturnsExpected(attributeThunk: Func`1 { Method = System.ComponentModel.CategoryAttribute <Properties_TestData>b__4_10(), Target = <>c { } }, expectedCategory: \"Layout\")
    Assert.Equal() Failure\n          ↓ (pos 0)\nExpected: Layout\nActual:   PropertyCategoryLayout\n          ↑ (pos 0)
System.ComponentModel.Tests.CategoryAttributeTests.Properties_Get_ReturnsExpected(attributeThunk: Func`1 { Method = System.ComponentModel.CategoryAttribute <Properties_TestData>b__4_11(), Target = <>c { } }, expectedCategory: \"Mouse\")
    Assert.Equal() Failure\n          ↓ (pos 0)\nExpected: Mouse\nActual:   PropertyCategoryMouse\n          ↑ (pos 0)
System.ComponentModel.Tests.CategoryAttributeTests.Properties_Get_ReturnsExpected(attributeThunk: Func`1 { Method = System.ComponentModel.CategoryAttribute <Properties_TestData>b__4_12(), Target = <>c { } }, expectedCategory: \"Window Style\")
    Assert.Equal() Failure\n          ↓ (pos 0)\nExpected: Window Style\nActual:   PropertyCategoryWindowStyle\n          ↑ (pos 0)

Activity

  1. added this to the 6.0.0 milestone on Apr 7, 2021
  2. ghost added
    untriaged
    on Apr 7, 2021
  3. changed the title [-]System.Collections.NonGeneric.Tests Fails on Android[/-] [+]System.ComponentModel.Primitives.Tests Fails on Android[/+] on Apr 7, 2021
  4. removed
    untriaged
    on Apr 8, 2021
  5. steveisok commented on Jul 30, 2021

    @steveisok
    Member

    @mdh1418 The binaryformatter failures will be skipped and the other failures will now pass. Please re-enable the tests.

  6. modified the milestones: 6.0.0, 7.0.0 on Jul 30, 2021
  7. ghost added
    in-pr
    on Jul 30, 2021
  8. added a commit that references this issue on Jul 30, 2021
    dcacebb
  9. ghost removed
    in-pr
    on Jul 30, 2021
  10. 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

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions