Skip to content

Commit 9390bc1

Browse files
committed
Updated test methods for consistency
This may not be the best naming convention, but it's the one that's currently established for `Ignia.Topics.Tests`. Until we're ready to refactor these as a whole, we should keep them consistent.
1 parent 48b9a43 commit 9390bc1

1 file changed

Lines changed: 7 additions & 7 deletions

File tree

Ignia.Topics.Tests/TopicControllerTest.cs

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ public TopicControllerTest() {
5858
/// Triggers the <see cref="ErrorController{T}.Error(string)" /> action.
5959
/// </summary>
6060
[TestMethod]
61-
public void ErrorController_Error() {
61+
public void ErrorController_ErrorTest() {
6262

6363
var controller = new ErrorController<PageTopicViewModel>();
6464
var result = controller.Error("ErrorPage") as ViewResult;
@@ -76,7 +76,7 @@ public void ErrorController_Error() {
7676
/// Triggers the <see cref="ErrorController{T}.NotFound(string)" /> action.
7777
/// </summary>
7878
[TestMethod]
79-
public void ErrorController_NotFound() {
79+
public void ErrorController_NotFoundTest() {
8080

8181
var controller = new ErrorController<PageTopicViewModel>();
8282
var result = controller.Error("NotFoundPage") as ViewResult;
@@ -94,7 +94,7 @@ public void ErrorController_NotFound() {
9494
/// Triggers the <see cref="ErrorController{T}.InternalServer(string)" /> action.
9595
/// </summary>
9696
[TestMethod]
97-
public void ErrorController_InternalServer() {
97+
public void ErrorController_InternalServerTest() {
9898

9999
var controller = new ErrorController<PageTopicViewModel>();
100100
var result = controller.Error("InternalServer") as ViewResult;
@@ -112,7 +112,7 @@ public void ErrorController_InternalServer() {
112112
/// Triggers the <see cref="FallbackController.Index()" /> action.
113113
/// </summary>
114114
[TestMethod]
115-
public void FallbackController_Index() {
115+
public void FallbackController_IndexTest() {
116116

117117
var controller = new FallbackController();
118118
var result = controller.Index() as HttpNotFoundResult;
@@ -130,7 +130,7 @@ public void FallbackController_Index() {
130130
/// Triggers the <see cref="FallbackController.Index()" /> action.
131131
/// </summary>
132132
[TestMethod]
133-
public void RedirectController_TopicRedirect() {
133+
public void RedirectController_TopicRedirectTest() {
134134

135135
var controller = new RedirectController(_topicRepository);
136136
var result = controller.TopicRedirect(11110) as RedirectResult;
@@ -154,7 +154,7 @@ public void RedirectController_TopicRedirect() {
154154
/// </remarks>
155155
[TestMethod]
156156
[ExpectedException(typeof(NullReferenceException), AllowDerivedTypes=false)]
157-
public void SitemapController_Index() {
157+
public void SitemapController_IndexTest() {
158158

159159
var controller = new SitemapController(_topicRepository);
160160
var result = controller.Index() as ViewResult;
@@ -174,7 +174,7 @@ public void SitemapController_Index() {
174174
/// Triggers the <see cref="FallbackController.Index()" /> action.
175175
/// </summary>
176176
[TestMethod]
177-
public void LayoutController_Menu() {
177+
public void LayoutController_MenuTest() {
178178

179179
var routes = new RouteData();
180180
var uri = new Uri("http://localhost/Web/Web_0/Web_0_1/Web_0_1_1");

0 commit comments

Comments
 (0)