Skip to content

Commit

Permalink
tests: update xunit tests for shortened names
Browse files Browse the repository at this point in the history
  • Loading branch information
Dynge committed Oct 7, 2024
1 parent c4e5c8b commit c4f7a6f
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 13 deletions.
8 changes: 4 additions & 4 deletions tests/xunit/discover_positions/classdata_attribute_spec.lua
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ describe("discover_positions", function()
framework = "xunit",
id = "./tests/xunit/specs/classdata.cs::ClassDataTests::Theory_With_Class_Data_Test",
is_class = false,
name = "XUnitSamples.ClassDataTests.Theory_With_Class_Data_Test",
name = "Theory_With_Class_Data_Test",
path = "./tests/xunit/specs/classdata.cs",
range = { 8, 1, 14, 2 },
running_id = "./tests/xunit/specs/classdata.cs::ClassDataTests::Theory_With_Class_Data_Test",
Expand All @@ -78,7 +78,7 @@ describe("discover_positions", function()
framework = "xunit",
id = "./tests/xunit/specs/classdata.cs::XUnitSamples::ClassDataTests::Theory_With_Class_Data_Test(v1: 1, v2: 2)",
is_class = false,
name = "XUnitSamples.ClassDataTests.Theory_With_Class_Data_Test(v1: 1, v2: 2)",
name = "Theory_With_Class_Data_Test(v1: 1, v2: 2)",
path = "./tests/xunit/specs/classdata.cs",
range = { 9, 1, 9, 2 },
running_id = "./tests/xunit/specs/classdata.cs::ClassDataTests::Theory_With_Class_Data_Test",
Expand All @@ -90,7 +90,7 @@ describe("discover_positions", function()
framework = "xunit",
id = "./tests/xunit/specs/classdata.cs::XUnitSamples::ClassDataTests::Theory_With_Class_Data_Test(v1: -4, v2: 6)",
is_class = false,
name = "XUnitSamples.ClassDataTests.Theory_With_Class_Data_Test(v1: -4, v2: 6)",
name = "Theory_With_Class_Data_Test(v1: -4, v2: 6)",
path = "./tests/xunit/specs/classdata.cs",
range = { 10, 1, 10, 2 },
running_id = "./tests/xunit/specs/classdata.cs::ClassDataTests::Theory_With_Class_Data_Test",
Expand All @@ -102,7 +102,7 @@ describe("discover_positions", function()
framework = "xunit",
id = "./tests/xunit/specs/classdata.cs::XUnitSamples::ClassDataTests::Theory_With_Class_Data_Test(v1: -2, v2: 2)",
is_class = false,
name = "XUnitSamples.ClassDataTests.Theory_With_Class_Data_Test(v1: -2, v2: 2)",
name = "Theory_With_Class_Data_Test(v1: -2, v2: 2)",
path = "./tests/xunit/specs/classdata.cs",
range = { 11, 1, 11, 2 },
running_id = "./tests/xunit/specs/classdata.cs::ClassDataTests::Theory_With_Class_Data_Test",
Expand Down
8 changes: 4 additions & 4 deletions tests/xunit/discover_positions/fact_attribute_spec.lua
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ describe("discover_positions", function()
framework = "xunit",
id = spec_file .. "::UnitTest1::Test1",
is_class = false,
name = "XUnitSamples.UnitTest1.Test1",
name = "Test1",
path = spec_file,
range = { 4, 1, 9, 2 },
running_id = "./tests/xunit/specs/fact_and_trait.cs::UnitTest1::Test1",
Expand Down Expand Up @@ -147,7 +147,7 @@ describe("discover_positions", function()
framework = "xunit",
id = spec_file .. "::UnitTest1::Test1",
is_class = false,
name = "XUnitSamples.UnitTest1.Test1",
name = "Test1",
path = spec_file,
range = { 6, 1, 10, 2 },
running_id = "./tests/xunit/specs/nested_class.cs::UnitTest1::Test1",
Expand All @@ -169,7 +169,7 @@ describe("discover_positions", function()
framework = "xunit",
id = spec_file .. "::UnitTest1+NestedClass::Test1",
is_class = false,
name = "XUnitSamples.UnitTest1+NestedClass.Test1",
name = "Test1",
path = spec_file,
range = { 14, 2, 18, 3 },
running_id = "./tests/xunit/specs/nested_class.cs::UnitTest1+NestedClass::Test1",
Expand All @@ -181,7 +181,7 @@ describe("discover_positions", function()
framework = "xunit",
id = spec_file .. "::UnitTest1+NestedClass::Test2",
is_class = false,
name = "XUnitSamples.UnitTest1+NestedClass.Test2",
name = "Test2",
path = spec_file,
range = { 20, 2, 24, 3 },
running_id = "./tests/xunit/specs/nested_class.cs::UnitTest1+NestedClass::Test2",
Expand Down
10 changes: 5 additions & 5 deletions tests/xunit/discover_positions/theory_attribute_spec.lua
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ describe("discover_positions", function()
framework = "xunit",
id = "./tests/xunit/specs/theory_and_fact_mixed.cs::UnitTest1::Test1",
is_class = false,
name = "xunit.testproj1.UnitTest1.Test1",
name = "Test1",
path = "./tests/xunit/specs/theory_and_fact_mixed.cs",
range = { 4, 1, 8, 2 },
running_id = "./tests/xunit/specs/theory_and_fact_mixed.cs::UnitTest1::Test1",
Expand All @@ -156,7 +156,7 @@ describe("discover_positions", function()
framework = "xunit",
id = "./tests/xunit/specs/theory_and_fact_mixed.cs::UnitTest1::Test2",
is_class = false,
name = "xunit.testproj1.UnitTest1.Test2",
name = "Test2",
path = "./tests/xunit/specs/theory_and_fact_mixed.cs",
range = { 10, 1, 16, 2 },
running_id = "./tests/xunit/specs/theory_and_fact_mixed.cs::UnitTest1::Test2",
Expand All @@ -167,7 +167,7 @@ describe("discover_positions", function()
framework = "xunit",
id = "./tests/xunit/specs/theory_and_fact_mixed.cs::xunit::testproj1::UnitTest1::Test2(a: 1)",
is_class = false,
name = "xunit.testproj1.UnitTest1.Test2(a: 1)",
name = "Test2(a: 1)",
path = "./tests/xunit/specs/theory_and_fact_mixed.cs",
range = { 11, 1, 11, 2 },
running_id = "./tests/xunit/specs/theory_and_fact_mixed.cs::UnitTest1::Test2",
Expand All @@ -179,7 +179,7 @@ describe("discover_positions", function()
framework = "xunit",
id = "./tests/xunit/specs/theory_and_fact_mixed.cs::xunit::testproj1::UnitTest1::Test2(a: 2)",
is_class = false,
name = "xunit.testproj1.UnitTest1.Test2(a: 2)",
name = "Test2(a: 2)",
path = "./tests/xunit/specs/theory_and_fact_mixed.cs",
range = { 12, 1, 12, 2 },
running_id = "./tests/xunit/specs/theory_and_fact_mixed.cs::UnitTest1::Test2",
Expand Down Expand Up @@ -231,7 +231,7 @@ describe("discover_positions", function()
framework = "xunit",
id = "./tests/xunit/specs/block_scoped_namespace.cs::xunit.testproj1::UnitTest1::Test1",
is_class = false,
name = "xunit.testproj1.UnitTest1.Test1",
name = "Test1",
path = "./tests/xunit/specs/block_scoped_namespace.cs",
range = { 4, 2, 8, 3 },
running_id = "./tests/xunit/specs/block_scoped_namespace.cs::xunit.testproj1::UnitTest1::Test1",
Expand Down

0 comments on commit c4f7a6f

Please sign in to comment.