diff --git a/test/E2ETests/Smoke.E2E.Tests/Parameterized tests/DataRowTests.cs b/test/E2ETests/Smoke.E2E.Tests/Parameterized tests/DataRowTests.cs index 38cdf8cde7..e6fba05246 100644 --- a/test/E2ETests/Smoke.E2E.Tests/Parameterized tests/DataRowTests.cs +++ b/test/E2ETests/Smoke.E2E.Tests/Parameterized tests/DataRowTests.cs @@ -27,10 +27,10 @@ public void ExecuteOnlyDerivedClassDataRowsWhenBothBaseAndDerivedClassHasDataRow public void GetDisplayName_AfterOverriding_GetsTheNewDisplayname() { - InvokeVsTestForExecution(new string[] { TestAssembly }, testCaseFilter: "TestCategory~OverridedGetDiplayName"); + InvokeVsTestForExecution(new string[] { TestAssembly }, testCaseFilter: "TestCategory~OverriddenGetDisplayName"); ValidatePassedTestsContain( - "Overrided DisplayName"); + "Overridden DisplayName"); ValidatePassedTestsCount(1); } diff --git a/test/E2ETests/TestAssets/DataRowTestProject/DataRowTests_OverrideGetDisplayName.cs b/test/E2ETests/TestAssets/DataRowTestProject/DataRowTests_OverriddenGetDisplayName.cs similarity index 80% rename from test/E2ETests/TestAssets/DataRowTestProject/DataRowTests_OverrideGetDisplayName.cs rename to test/E2ETests/TestAssets/DataRowTestProject/DataRowTests_OverriddenGetDisplayName.cs index 2f57ef3c4e..303d14c65a 100644 --- a/test/E2ETests/TestAssets/DataRowTestProject/DataRowTests_OverrideGetDisplayName.cs +++ b/test/E2ETests/TestAssets/DataRowTestProject/DataRowTests_OverriddenGetDisplayName.cs @@ -9,10 +9,10 @@ namespace DataRowAttributeTestProject; [TestClass] -public class DataRowTests_OverrideGetDisplayName +public class DataRowTests_OverriddenGetDisplayName { - [TestCategory("OverridedGetDiplayName")] - [DummyDataRowAttribute] + [TestCategory("OverriddenGetDisplayName")] + [DummyDataRow] [TestMethod] public void TestMethod() { @@ -28,7 +28,7 @@ public DummyDataRowAttribute() public override string GetDisplayName(MethodInfo methodInfo, object[] data) { - return "Overrided DisplayName"; + return "Overridden DisplayName"; } } } diff --git a/test/UnitTests/TestFramework.UnitTests/Attributes/DataRowAttributeTests.cs b/test/UnitTests/TestFramework.UnitTests/Attributes/DataRowAttributeTests.cs index d352c9a46c..66dae05d6b 100644 --- a/test/UnitTests/TestFramework.UnitTests/Attributes/DataRowAttributeTests.cs +++ b/test/UnitTests/TestFramework.UnitTests/Attributes/DataRowAttributeTests.cs @@ -133,7 +133,7 @@ public void GetDisplayName_AfterOverriding_GetsTheNewDisplayName() var displayName = dataRow.GetDisplayName(methodInfoMock.Object, dataRow.Data); // Assert - Verify(displayName == "Overrided DisplayName"); + Verify(displayName == "Overridden DisplayName"); } public void GetDisplayNameForArrayOfMultipleItems() @@ -187,7 +187,7 @@ public DummyDataRowAttribute() public override string GetDisplayName(MethodInfo methodInfo, object[] data) { - return "Overrided DisplayName"; + return "Overridden DisplayName"; } } }