Skip to content

Some tests in parseTest are never run. #96679

@kzrnm

Description

@kzrnm

Description

Type t = typeof(BigInteger).Assembly.GetType("System.Numerics.BigNumber");

System.Numerics.BigNumber has been removed so this will be null.

Therefore, tests that use RunWithFakeThreshold will not be executed.

BigNumberTools.Utils.RunWithFakeThreshold("s_naiveThreshold", 0, Test);

Reproduction Steps

cd src/libraries/System.Runtime.Numerics/tests
dotnet build /t:Test /p:XUnitOptions="-class System.Numerics.Tests.parseTest"

Expected behavior

Tests that use RunWithFakeThreshold will be executed.

Actual behavior

Tests that use RunWithFakeThreshold will not be executed.

Regression?

#85978

Known Workarounds

No response

Configuration

No response

Other information

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions