Skip to content

Commit ff3c24c

Browse files
committed
Fixed test names
1 parent 82da181 commit ff3c24c

File tree

8 files changed

+23
-23
lines changed

8 files changed

+23
-23
lines changed

test/MyTested.AspNetCore.Mvc.Caching.Test/BuildersTests/DataTests/MemoryCacheEntryTestBuilderTests.cs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ public void WithValidShouldNotThrowExceptionWithCorrectValue()
3535
}
3636

3737
[Fact]
38-
public void WithValidShouldThrowExceptionWithInvorrectValue()
38+
public void WithValidShouldThrowExceptionWithIncorrectValue()
3939
{
4040
Test.AssertException<DataProviderAssertionException>(
4141
() =>
@@ -72,7 +72,7 @@ public void WithAbsoluteExpirationShouldNotThrowExceptionWithCorrectValue()
7272
}
7373

7474
[Fact]
75-
public void WithAbsoluteExpirationShouldThrowExceptionWithInvorrectValue()
75+
public void WithAbsoluteExpirationShouldThrowExceptionWithIncorrectValue()
7676
{
7777
Test.AssertException<DataProviderAssertionException>(
7878
() =>
@@ -109,7 +109,7 @@ public void WithAbsoluteExpirationRelativeToNowShouldNotThrowExceptionWithCorrec
109109
}
110110

111111
[Fact]
112-
public void WithAbsoluteExpirationRelativeToNowShouldThrowExceptionWithInvorrectValue()
112+
public void WithAbsoluteExpirationRelativeToNowShouldThrowExceptionWithIncorrectValue()
113113
{
114114
Test.AssertException<DataProviderAssertionException>(
115115
() =>
@@ -146,7 +146,7 @@ public void WithPriorityShouldNotThrowExceptionWithCorrectValue()
146146
}
147147

148148
[Fact]
149-
public void WithPriorityShouldThrowExceptionWithInvorrectValue()
149+
public void WithPriorityShouldThrowExceptionWithIncorrectValue()
150150
{
151151
Test.AssertException<DataProviderAssertionException>(
152152
() =>
@@ -183,7 +183,7 @@ public void WithSlidingExpirationShouldNotThrowExceptionWithCorrectValue()
183183
}
184184

185185
[Fact]
186-
public void WithSlidingExpirationShouldThrowExceptionWithInvorrectValue()
186+
public void WithSlidingExpirationShouldThrowExceptionWithIncorrectValue()
187187
{
188188
Test.AssertException<DataProviderAssertionException>(
189189
() =>

test/MyTested.AspNetCore.Mvc.Caching.Test/ServicesTests.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
public class ServicesTests
1818
{
1919
[Fact]
20-
public void MockMemoryCacheShouldBeRegistedWithAddedCaching()
20+
public void MockMemoryCacheShouldBeRegisteredWithAddedCaching()
2121
{
2222
MyApplication
2323
.StartsFrom<DefaultStartup>()

test/MyTested.AspNetCore.Mvc.Controllers.ActionResults.Test/BuildersTests/ActionResultsTests/RedirectTests/RedirectTestBuilderTests.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ public void ToUrlPassingShouldThrowExceptionWithInvalidPredicate()
109109
}
110110

111111
[Fact]
112-
public void ToUrlPassingShouldNotThrowExceptionWithValidaAssertions()
112+
public void ToUrlPassingShouldNotThrowExceptionWithValidAssertions()
113113
{
114114
MyController<MvcController>
115115
.Instance()

test/MyTested.AspNetCore.Mvc.Controllers.Test/BuildersTests/ActionsTests/ShouldHaveTests/ShouldHaveActionAttributesTests.cs

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ public void NoActionAttributesShouldThrowExceptionWithVoidActionContainingAttrib
5858
}
5959

6060
[Fact]
61-
public void ActionAttributesShouldNotThrowEceptionWithActionContainingAttributes()
61+
public void ActionAttributesShouldNotThrowExceptionWithActionContainingAttributes()
6262
{
6363
MyController<MvcController>
6464
.Instance()
@@ -68,7 +68,7 @@ public void ActionAttributesShouldNotThrowEceptionWithActionContainingAttributes
6868
}
6969

7070
[Fact]
71-
public void ActionAttributesShouldThrowEceptionWithActionContainingNoAttributes()
71+
public void ActionAttributesShouldThrowExceptionWithActionContainingNoAttributes()
7272
{
7373
Test.AssertException<AttributeAssertionException>(
7474
() =>
@@ -83,7 +83,7 @@ public void ActionAttributesShouldThrowEceptionWithActionContainingNoAttributes(
8383
}
8484

8585
[Fact]
86-
public void ActionAttributesShouldNotThrowEceptionWithVoidActionContainingAttributes()
86+
public void ActionAttributesShouldNotThrowExceptionWithVoidActionContainingAttributes()
8787
{
8888
MyController<MvcController>
8989
.Instance()
@@ -93,7 +93,7 @@ public void ActionAttributesShouldNotThrowEceptionWithVoidActionContainingAttrib
9393
}
9494

9595
[Fact]
96-
public void ActionAttributesShouldThrowEceptionWithVoidActionContainingNoAttributes()
96+
public void ActionAttributesShouldThrowExceptionWithVoidActionContainingNoAttributes()
9797
{
9898
Test.AssertException<AttributeAssertionException>(
9999
() =>
@@ -108,7 +108,7 @@ public void ActionAttributesShouldThrowEceptionWithVoidActionContainingNoAttribu
108108
}
109109

110110
[Fact]
111-
public void ActionAttributesShouldNotThrowEceptionWithActionContainingNumberOfAttributes()
111+
public void ActionAttributesShouldNotThrowExceptionWithActionContainingNumberOfAttributes()
112112
{
113113
MyController<MvcController>
114114
.Instance()
@@ -118,7 +118,7 @@ public void ActionAttributesShouldNotThrowEceptionWithActionContainingNumberOfAt
118118
}
119119

120120
[Fact]
121-
public void ActionAttributesShouldThrowEceptionWithActionContainingNumberOfAttributes()
121+
public void ActionAttributesShouldThrowExceptionWithActionContainingNumberOfAttributes()
122122
{
123123
Test.AssertException<AttributeAssertionException>(
124124
() =>
@@ -133,7 +133,7 @@ public void ActionAttributesShouldThrowEceptionWithActionContainingNumberOfAttri
133133
}
134134

135135
[Fact]
136-
public void ActionAttributesShouldThrowEceptionWithActionContainingNumberOfAttributesTestingWithOne()
136+
public void ActionAttributesShouldThrowExceptionWithActionContainingNumberOfAttributesTestingWithOne()
137137
{
138138
Test.AssertException<AttributeAssertionException>(
139139
() =>

test/MyTested.AspNetCore.Mvc.Controllers.Views.ActionResults.Test/BuildersTests/ActionsTests/ShouldReturnTests/ShouldReturnViewTests.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,7 @@ public void ShouldReturnPartialViewShouldThrowExceptionWithNullViewName()
185185
}
186186

187187
[Fact]
188-
public void ShouldReturnParrtialViewShouldThrowExceptionWithIncorrectViewResult()
188+
public void ShouldReturnPartialViewShouldThrowExceptionWithIncorrectViewResult()
189189
{
190190
Test.AssertException<InvocationResultAssertionException>(
191191
() =>

test/MyTested.AspNetCore.Mvc.EntityFrameworkCore.Test/BuildersTests/ViewComponentsTests/ViewComponentBuilderTests.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
public class ViewComponentBuilderTests
1111
{
1212
[Fact]
13-
public void WithEntitesShouldSetupDbContext()
13+
public void WithEntitiesShouldSetupDbContext()
1414
{
1515
MyApplication
1616
.StartsFrom<DefaultStartup>()

test/MyTested.AspNetCore.Mvc.ViewComponents.Test/BuildersTests/ViewComponentsTests/ViewComponentTestBuilderTests.cs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -29,15 +29,15 @@ public void NoAttributesShouldThrowExceptionWithControllerContainingAttributes()
2929
}
3030

3131
[Fact]
32-
public void AttributesShouldNotThrowEceptionWithControllerContainingAttributes()
32+
public void AttributesShouldNotThrowExceptionWithControllerContainingAttributes()
3333
{
3434
MyViewComponent<AttributesComponent>
3535
.ShouldHave()
3636
.Attributes();
3737
}
3838

3939
[Fact]
40-
public void AttributesShouldThrowEceptionWithControllerContainingNoAttributes()
40+
public void AttributesShouldThrowExceptionWithControllerContainingNoAttributes()
4141
{
4242
Test.AssertException<AttributeAssertionException>(
4343
() =>
@@ -50,15 +50,15 @@ public void AttributesShouldThrowEceptionWithControllerContainingNoAttributes()
5050
}
5151

5252
[Fact]
53-
public void AttributesShouldNotThrowEceptionWithControllerContainingNumberOfAttributes()
53+
public void AttributesShouldNotThrowExceptionWithControllerContainingNumberOfAttributes()
5454
{
5555
MyViewComponent<AttributesComponent>
5656
.ShouldHave()
5757
.Attributes(withTotalNumberOf: 2);
5858
}
5959

6060
[Fact]
61-
public void AttributesShouldThrowEceptionWithControllerContainingNumberOfAttributes()
61+
public void AttributesShouldThrowExceptionWithControllerContainingNumberOfAttributes()
6262
{
6363
Test.AssertException<AttributeAssertionException>(
6464
() =>
@@ -71,7 +71,7 @@ public void AttributesShouldThrowEceptionWithControllerContainingNumberOfAttribu
7171
}
7272

7373
[Fact]
74-
public void AttributesShouldThrowEceptionWithControllerContainingNumberOfAttributesTestingWithOne()
74+
public void AttributesShouldThrowExceptionWithControllerContainingNumberOfAttributesTestingWithOne()
7575
{
7676
Test.AssertException<AttributeAssertionException>(
7777
() =>

test/MyTested.AspNetCore.Mvc.ViewFeatures.Test/BuildersTests/ModelsTests/ModelErrorDetailsTestBuilderTests.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ public void BeginningWithShouldThrowExceptionWhenProvidedMessageIsValid()
9090
}
9191

9292
[Fact]
93-
public void EngingWithShouldNotThrowExceptionWhenProvidedMessageIsValid()
93+
public void EndingWithShouldNotThrowExceptionWhenProvidedMessageIsValid()
9494
{
9595
var requestModelWithErrors = TestObjectFactory.GetRequestModelWithErrors();
9696

@@ -105,7 +105,7 @@ public void EngingWithShouldNotThrowExceptionWhenProvidedMessageIsValid()
105105
}
106106

107107
[Fact]
108-
public void EngingWithShouldThrowExceptionWhenProvidedMessageIsValid()
108+
public void EndingWithShouldThrowExceptionWhenProvidedMessageIsValid()
109109
{
110110
var requestModelWithErrors = TestObjectFactory.GetRequestModelWithErrors();
111111

0 commit comments

Comments
 (0)