Skip to content

Commit

Permalink
Fix typos
Browse files Browse the repository at this point in the history
  • Loading branch information
Evangelink committed Dec 12, 2022
1 parent 4d1d4a0 commit 8b0b6d0
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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()
{
Expand All @@ -28,7 +28,7 @@ public DummyDataRowAttribute()

public override string GetDisplayName(MethodInfo methodInfo, object[] data)
{
return "Overrided DisplayName";
return "Overridden DisplayName";
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down Expand Up @@ -187,7 +187,7 @@ public DummyDataRowAttribute()

public override string GetDisplayName(MethodInfo methodInfo, object[] data)
{
return "Overrided DisplayName";
return "Overridden DisplayName";
}
}
}

0 comments on commit 8b0b6d0

Please sign in to comment.