Clean up folders and test names

This commit is contained in:
Ryan Nowak 2015-11-30 09:36:07 -08:00
parent 123eaf2278
commit 4441fba4ee
7 changed files with 46 additions and 46 deletions

View File

@ -29,7 +29,7 @@ namespace Microsoft.AspNet.Routing.Tree
[InlineData("template/{parameter}", "template/{*parameter:int}")] [InlineData("template/{parameter}", "template/{*parameter:int}")]
[InlineData("template/{parameter}", "template/{*parameter}")] [InlineData("template/{parameter}", "template/{*parameter}")]
[InlineData("template/{*parameter:int}", "template/{*parameter}")] [InlineData("template/{*parameter:int}", "template/{*parameter}")]
public async Task AttributeRoute_RouteAsync_RespectsPrecedence( public async Task TreeRouter_RouteAsync_RespectsPrecedence(
string firstTemplate, string firstTemplate,
string secondTemplate) string secondTemplate)
{ {
@ -77,7 +77,7 @@ namespace Microsoft.AspNet.Routing.Tree
[InlineData("template/{parameter}", "template/{*parameter:int}")] [InlineData("template/{parameter}", "template/{*parameter:int}")]
[InlineData("template/{parameter}", "template/{*parameter}")] [InlineData("template/{parameter}", "template/{*parameter}")]
[InlineData("template/{*parameter:int}", "template/{*parameter}")] [InlineData("template/{*parameter:int}", "template/{*parameter}")]
public async Task AttributeRoute_RouteAsync_RespectsOrderOverPrecedence( public async Task TreeRouter_RouteAsync_RespectsOrderOverPrecedence(
string firstTemplate, string firstTemplate,
string secondTemplate) string secondTemplate)
{ {
@ -121,7 +121,7 @@ namespace Microsoft.AspNet.Routing.Tree
[InlineData("template/{parameter}")] [InlineData("template/{parameter}")]
[InlineData("template/{*parameter:int}")] [InlineData("template/{*parameter:int}")]
[InlineData("template/{*parameter}")] [InlineData("template/{*parameter}")]
public async Task AttributeRoute_RouteAsync_RespectsOrder(string template) public async Task TreeRouter_RouteAsync_RespectsOrder(string template)
{ {
// Arrange // Arrange
var expectedRouteGroup = string.Format("{0}&&{1}", 0, template); var expectedRouteGroup = string.Format("{0}&&{1}", 0, template);
@ -161,7 +161,7 @@ namespace Microsoft.AspNet.Routing.Tree
[InlineData("template/{first}", "template/{second}")] [InlineData("template/{first}", "template/{second}")]
[InlineData("template/{*first:int}", "template/{*second:int}")] [InlineData("template/{*first:int}", "template/{*second:int}")]
[InlineData("template/{*first}", "template/{*second}")] [InlineData("template/{*first}", "template/{*second}")]
public async Task AttributeRoute_RouteAsync_EnsuresStableOrdering(string first, string second) public async Task TreeRouter_RouteAsync_EnsuresStableOrdering(string first, string second)
{ {
// Arrange // Arrange
var expectedRouteGroup = string.Format("{0}&&{1}", 0, first); var expectedRouteGroup = string.Format("{0}&&{1}", 0, first);
@ -203,7 +203,7 @@ namespace Microsoft.AspNet.Routing.Tree
[InlineData("template/{parameter:int?}", "/template/5", true)] [InlineData("template/{parameter:int?}", "/template/5", true)]
[InlineData("template/{parameter:int?}", "/template", true)] [InlineData("template/{parameter:int?}", "/template", true)]
[InlineData("template/{parameter:int?}", "/template/qwer", false)] [InlineData("template/{parameter:int?}", "/template/qwer", false)]
public async Task AttributeRoute_WithOptionalInlineConstraint( public async Task TreeRouter_WithOptionalInlineConstraint(
string template, string template,
string request, string request,
bool expectedResult) bool expectedResult)
@ -267,7 +267,7 @@ namespace Microsoft.AspNet.Routing.Tree
[InlineData("{p1}.{p2?}/{p3}", "/foo.moo/bar", "foo", "moo", "bar")] [InlineData("{p1}.{p2?}/{p3}", "/foo.moo/bar", "foo", "moo", "bar")]
[InlineData("{p1}.{p2?}/{p3}", "/foo/bar", "foo", null, "bar")] [InlineData("{p1}.{p2?}/{p3}", "/foo/bar", "foo", null, "bar")]
[InlineData("{p1}.{p2?}/{p3}", "/.foo/bar", ".foo", null, "bar")] [InlineData("{p1}.{p2?}/{p3}", "/.foo/bar", ".foo", null, "bar")]
public async Task AttributeRoute_WithOptionalCompositeParameter_Valid( public async Task TreeRouter_WithOptionalCompositeParameter_Valid(
string template, string template,
string request, string request,
string p1, string p1,
@ -328,7 +328,7 @@ namespace Microsoft.AspNet.Routing.Tree
[InlineData("{p1}.{p2?}/{p3}", "/foo./bar")] [InlineData("{p1}.{p2?}/{p3}", "/foo./bar")]
[InlineData("moo/.{p2?}", "/moo/.")] [InlineData("moo/.{p2?}", "/moo/.")]
[InlineData("{p1}.{p2}/{p3}", "/.foo/bar")] [InlineData("{p1}.{p2}/{p3}", "/.foo/bar")]
public async Task AttributeRoute_WithOptionalCompositeParameter_Invalid( public async Task TreeRouter_WithOptionalCompositeParameter_Invalid(
string template, string template,
string request) string request)
{ {
@ -373,7 +373,7 @@ namespace Microsoft.AspNet.Routing.Tree
[InlineData("template/api", "template/{*url}", "/template/api?url=dingo&id=5")] [InlineData("template/api", "template/{*url}", "/template/api?url=dingo&id=5")]
[InlineData("template/api", "template/api{id}location", "/template/api?url=dingo&id=5")] [InlineData("template/api", "template/api{id}location", "/template/api?url=dingo&id=5")]
[InlineData("template/api{id}location", "template/{id:int}", "/template/api5location?url=dingo")] [InlineData("template/api{id}location", "template/{id:int}", "/template/api5location?url=dingo")]
public void AttributeRoute_GenerateLink(string firstTemplate, string secondTemplate, string expectedPath) public void TreeRouter_GenerateLink(string firstTemplate, string secondTemplate, string expectedPath)
{ {
// Arrange // Arrange
var expectedGroup = CreateRouteGroup(0, firstTemplate); var expectedGroup = CreateRouteGroup(0, firstTemplate);
@ -408,7 +408,7 @@ namespace Microsoft.AspNet.Routing.Tree
} }
[Fact] [Fact]
public void AttributeRoute_GenerateLink_LongerTemplateWithDefaultIsMoreSpecific() public void TreeRouter_GenerateLink_LongerTemplateWithDefaultIsMoreSpecific()
{ {
// Arrange // Arrange
var firstTemplate = "template"; var firstTemplate = "template";
@ -445,7 +445,7 @@ namespace Microsoft.AspNet.Routing.Tree
[InlineData("template/{parameter:int=5}", "template", "/template/5")] [InlineData("template/{parameter:int=5}", "template", "/template/5")]
[InlineData("template/{parameter}", "template", "/template/5")] [InlineData("template/{parameter}", "template", "/template/5")]
[InlineData("template/{parameter}/{id}", "template/{parameter}", "/template/5/1234")] [InlineData("template/{parameter}/{id}", "template/{parameter}", "/template/5/1234")]
public void AttributeRoute_GenerateLink_OrderingAgnostic( public void TreeRouter_GenerateLink_OrderingAgnostic(
string firstTemplate, string firstTemplate,
string secondTemplate, string secondTemplate,
string expectedPath) string expectedPath)
@ -486,7 +486,7 @@ namespace Microsoft.AspNet.Routing.Tree
[InlineData("template", "template/{parameter}", "/template/5")] [InlineData("template", "template/{parameter}", "/template/5")]
[InlineData("template/{parameter}", "template/{parameter}/{id}", "/template/5/1234")] [InlineData("template/{parameter}", "template/{parameter}/{id}", "/template/5/1234")]
[InlineData("template", "template/{parameter:int=5}", "/template/5")] [InlineData("template", "template/{parameter:int=5}", "/template/5")]
public void AttributeRoute_GenerateLink_UseAvailableVariables( public void TreeRouter_GenerateLink_UseAvailableVariables(
string firstTemplate, string firstTemplate,
string secondTemplate, string secondTemplate,
string expectedPath) string expectedPath)
@ -535,7 +535,7 @@ namespace Microsoft.AspNet.Routing.Tree
[InlineData("template/{parameter}", "template/{*parameter:int}")] [InlineData("template/{parameter}", "template/{*parameter:int}")]
[InlineData("template/{parameter}", "template/{*parameter}")] [InlineData("template/{parameter}", "template/{*parameter}")]
[InlineData("template/{*parameter:int}", "template/{*parameter}")] [InlineData("template/{*parameter:int}", "template/{*parameter}")]
public void AttributeRoute_GenerateLink_RespectsPrecedence(string firstTemplate, string secondTemplate) public void TreeRouter_GenerateLink_RespectsPrecedence(string firstTemplate, string secondTemplate)
{ {
// Arrange // Arrange
var expectedGroup = CreateRouteGroup(0, firstTemplate); var expectedGroup = CreateRouteGroup(0, firstTemplate);
@ -585,7 +585,7 @@ namespace Microsoft.AspNet.Routing.Tree
[InlineData("template/{parameter:int:range(1,20)?}", "/template", null)] [InlineData("template/{parameter:int:range(1,20)?}", "/template", null)]
[InlineData("template/{parameter:int:range(1,20)?}", "/template/5", 5)] [InlineData("template/{parameter:int:range(1,20)?}", "/template/5", 5)]
[InlineData("template/{parameter:int:range(1,20)?}", null, 21)] [InlineData("template/{parameter:int:range(1,20)?}", null, 21)]
public void AttributeRoute_GenerateLink_OptionalInlineParameter( public void TreeRouter_GenerateLink_OptionalInlineParameter(
string template, string template,
string expectedPath, string expectedPath,
object parameter) object parameter)
@ -649,7 +649,7 @@ namespace Microsoft.AspNet.Routing.Tree
[InlineData("template/{parameter}", "template/{*parameter:int}")] [InlineData("template/{parameter}", "template/{*parameter:int}")]
[InlineData("template/{parameter}", "template/{*parameter}")] [InlineData("template/{parameter}", "template/{*parameter}")]
[InlineData("template/{*parameter:int}", "template/{*parameter}")] [InlineData("template/{*parameter:int}", "template/{*parameter}")]
public void AttributeRoute_GenerateLink_RespectsOrderOverPrecedence(string firstTemplate, string secondTemplate) public void TreeRouter_GenerateLink_RespectsOrderOverPrecedence(string firstTemplate, string secondTemplate)
{ {
// Arrange // Arrange
var selectedGroup = CreateRouteGroup(0, secondTemplate); var selectedGroup = CreateRouteGroup(0, secondTemplate);
@ -695,7 +695,7 @@ namespace Microsoft.AspNet.Routing.Tree
[InlineData("template/{first}", "template/{second}")] [InlineData("template/{first}", "template/{second}")]
[InlineData("template/{*first:int}", "template/{*second:int}")] [InlineData("template/{*first:int}", "template/{*second:int}")]
[InlineData("template/{*first}", "template/{*second}")] [InlineData("template/{*first}", "template/{*second}")]
public void AttributeRoute_GenerateLink_RespectsOrder(string firstTemplate, string secondTemplate) public void TreeRouter_GenerateLink_RespectsOrder(string firstTemplate, string secondTemplate)
{ {
// Arrange // Arrange
var expectedGroup = CreateRouteGroup(0, secondTemplate); var expectedGroup = CreateRouteGroup(0, secondTemplate);
@ -740,7 +740,7 @@ namespace Microsoft.AspNet.Routing.Tree
[InlineData("first/{first}", "second/{second}")] [InlineData("first/{first}", "second/{second}")]
[InlineData("first/{*first:int}", "second/{*second:int}")] [InlineData("first/{*first:int}", "second/{*second:int}")]
[InlineData("first/{*first}", "second/{*second}")] [InlineData("first/{*first}", "second/{*second}")]
public void AttributeRoute_GenerateLink_EnsuresStableOrder(string firstTemplate, string secondTemplate) public void TreeRouter_GenerateLink_EnsuresStableOrder(string firstTemplate, string secondTemplate)
{ {
// Arrange // Arrange
var expectedGroup = CreateRouteGroup(0, firstTemplate); var expectedGroup = CreateRouteGroup(0, firstTemplate);
@ -812,7 +812,7 @@ namespace Microsoft.AspNet.Routing.Tree
[Theory] [Theory]
[MemberData(nameof(TreeRouterTest.NamedEntriesWithDifferentTemplates))] [MemberData(nameof(TreeRouterTest.NamedEntriesWithDifferentTemplates))]
public void AttributeRoute_CreateAttributeRoute_ThrowsIfDifferentEntriesHaveTheSameName( public void TreeRouter_CreateTreeRouter_ThrowsIfDifferentEntriesHaveTheSameName(
IEnumerable<TreeRouteLinkGenerationEntry> namedEntries) IEnumerable<TreeRouteLinkGenerationEntry> namedEntries)
{ {
// Arrange // Arrange
@ -873,7 +873,7 @@ namespace Microsoft.AspNet.Routing.Tree
[Theory] [Theory]
[MemberData(nameof(TreeRouterTest.NamedEntriesWithTheSameTemplate))] [MemberData(nameof(TreeRouterTest.NamedEntriesWithTheSameTemplate))]
public void AttributeRoute_GeneratesLink_ForMultipleNamedEntriesWithTheSameTemplate( public void TreeRouter_GeneratesLink_ForMultipleNamedEntriesWithTheSameTemplate(
IEnumerable<TreeRouteLinkGenerationEntry> namedEntries) IEnumerable<TreeRouteLinkGenerationEntry> namedEntries)
{ {
// Arrange // Arrange
@ -912,7 +912,7 @@ namespace Microsoft.AspNet.Routing.Tree
} }
[Fact] [Fact]
public void AttributeRoute_GenerateLink_WithName() public void TreeRouter_GenerateLink_WithName()
{ {
// Arrange // Arrange
string selectedGroup = null; string selectedGroup = null;
@ -951,7 +951,7 @@ namespace Microsoft.AspNet.Routing.Tree
} }
[Fact] [Fact]
public void AttributeRoute_DoesNotGenerateLink_IfThereIsNoRouteForAGivenName() public void TreeRouter_DoesNotGenerateLink_IfThereIsNoRouteForAGivenName()
{ {
// Arrange // Arrange
string selectedGroup = null; string selectedGroup = null;
@ -991,7 +991,7 @@ namespace Microsoft.AspNet.Routing.Tree
[InlineData("template/{parameter}", null)] [InlineData("template/{parameter}", null)]
[InlineData("template/{*parameter:int}", null)] [InlineData("template/{*parameter:int}", null)]
[InlineData("template/{*parameter:int}", "NaN")] [InlineData("template/{*parameter:int}", "NaN")]
public void AttributeRoute_DoesNotGenerateLink_IfValuesDoNotMatchNamedEntry(string template, string value) public void TreeRouter_DoesNotGenerateLink_IfValuesDoNotMatchNamedEntry(string template, string value)
{ {
// Arrange // Arrange
string selectedGroup = null; string selectedGroup = null;
@ -1032,7 +1032,7 @@ namespace Microsoft.AspNet.Routing.Tree
[InlineData("template/{parameter}", "5")] [InlineData("template/{parameter}", "5")]
[InlineData("template/{*parameter:int}", "5")] [InlineData("template/{*parameter:int}", "5")]
[InlineData("template/{*parameter}", "5")] [InlineData("template/{*parameter}", "5")]
public void AttributeRoute_GeneratesLink_IfValuesMatchNamedEntry(string template, string value) public void TreeRouter_GeneratesLink_IfValuesMatchNamedEntry(string template, string value)
{ {
// Arrange // Arrange
string selectedGroup = null; string selectedGroup = null;
@ -1075,7 +1075,7 @@ namespace Microsoft.AspNet.Routing.Tree
} }
[Fact] [Fact]
public void AttributeRoute_GenerateLink_NoRequiredValues() public void TreeRouter_GenerateLink_NoRequiredValues()
{ {
// Arrange // Arrange
var entry = CreateGenerationEntry("api/Store", new { }); var entry = CreateGenerationEntry("api/Store", new { });
@ -1094,7 +1094,7 @@ namespace Microsoft.AspNet.Routing.Tree
} }
[Fact] [Fact]
public void AttributeRoute_GenerateLink_Match() public void TreeRouter_GenerateLink_Match()
{ {
// Arrange // Arrange
var entry = CreateGenerationEntry("api/Store", new { action = "Index", controller = "Store" }); var entry = CreateGenerationEntry("api/Store", new { action = "Index", controller = "Store" });
@ -1113,7 +1113,7 @@ namespace Microsoft.AspNet.Routing.Tree
} }
[Fact] [Fact]
public void AttributeRoute_GenerateLink_NoMatch() public void TreeRouter_GenerateLink_NoMatch()
{ {
// Arrange // Arrange
var entry = CreateGenerationEntry("api/Store", new { action = "Details", controller = "Store" }); var entry = CreateGenerationEntry("api/Store", new { action = "Details", controller = "Store" });
@ -1129,7 +1129,7 @@ namespace Microsoft.AspNet.Routing.Tree
} }
[Fact] [Fact]
public void AttributeRoute_GenerateLink_Match_WithAmbientValues() public void TreeRouter_GenerateLink_Match_WithAmbientValues()
{ {
// Arrange // Arrange
var entry = CreateGenerationEntry("api/Store", new { action = "Index", controller = "Store" }); var entry = CreateGenerationEntry("api/Store", new { action = "Index", controller = "Store" });
@ -1148,7 +1148,7 @@ namespace Microsoft.AspNet.Routing.Tree
} }
[Fact] [Fact]
public void AttributeRoute_GenerateLink_Match_WithParameters() public void TreeRouter_GenerateLink_Match_WithParameters()
{ {
// Arrange // Arrange
var entry = CreateGenerationEntry("api/Store/{action}", new { action = "Index", controller = "Store" }); var entry = CreateGenerationEntry("api/Store/{action}", new { action = "Index", controller = "Store" });
@ -1167,7 +1167,7 @@ namespace Microsoft.AspNet.Routing.Tree
} }
[Fact] [Fact]
public void AttributeRoute_GenerateLink_Match_WithMoreParameters() public void TreeRouter_GenerateLink_Match_WithMoreParameters()
{ {
// Arrange // Arrange
var entry = CreateGenerationEntry( var entry = CreateGenerationEntry(
@ -1202,7 +1202,7 @@ namespace Microsoft.AspNet.Routing.Tree
} }
[Fact] [Fact]
public void AttributeRoute_GenerateLink_Match_WithDefault() public void TreeRouter_GenerateLink_Match_WithDefault()
{ {
// Arrange // Arrange
var entry = CreateGenerationEntry("api/Store/{action=Index}", new { action = "Index", controller = "Store" }); var entry = CreateGenerationEntry("api/Store/{action=Index}", new { action = "Index", controller = "Store" });
@ -1221,7 +1221,7 @@ namespace Microsoft.AspNet.Routing.Tree
} }
[Fact] [Fact]
public void AttributeRoute_GenerateLink_Match_WithConstraint() public void TreeRouter_GenerateLink_Match_WithConstraint()
{ {
// Arrange // Arrange
var entry = CreateGenerationEntry("api/Store/{action}/{id:int}", new { action = "Index", controller = "Store" }); var entry = CreateGenerationEntry("api/Store/{action}/{id:int}", new { action = "Index", controller = "Store" });
@ -1251,7 +1251,7 @@ namespace Microsoft.AspNet.Routing.Tree
} }
[Fact] [Fact]
public void AttributeRoute_GenerateLink_NoMatch_WithConstraint() public void TreeRouter_GenerateLink_NoMatch_WithConstraint()
{ {
// Arrange // Arrange
var entry = CreateGenerationEntry("api/Store/{action}/{id:int}", new { action = "Index", controller = "Store" }); var entry = CreateGenerationEntry("api/Store/{action}/{id:int}", new { action = "Index", controller = "Store" });
@ -1274,7 +1274,7 @@ namespace Microsoft.AspNet.Routing.Tree
} }
[Fact] [Fact]
public void AttributeRoute_GenerateLink_Match_WithMixedAmbientValues() public void TreeRouter_GenerateLink_Match_WithMixedAmbientValues()
{ {
// Arrange // Arrange
var entry = CreateGenerationEntry("api/Store", new { action = "Index", controller = "Store" }); var entry = CreateGenerationEntry("api/Store", new { action = "Index", controller = "Store" });
@ -1293,7 +1293,7 @@ namespace Microsoft.AspNet.Routing.Tree
} }
[Fact] [Fact]
public void AttributeRoute_GenerateLink_Match_WithQueryString() public void TreeRouter_GenerateLink_Match_WithQueryString()
{ {
// Arrange // Arrange
var entry = CreateGenerationEntry("api/Store", new { action = "Index", controller = "Store" }); var entry = CreateGenerationEntry("api/Store", new { action = "Index", controller = "Store" });
@ -1312,7 +1312,7 @@ namespace Microsoft.AspNet.Routing.Tree
} }
[Fact] [Fact]
public void AttributeRoute_GenerateLink_ForwardsRouteGroup() public void TreeRouter_GenerateLink_ForwardsRouteGroup()
{ {
// Arrange // Arrange
var entry = CreateGenerationEntry("api/Store", new { action = "Index", controller = "Store" }); var entry = CreateGenerationEntry("api/Store", new { action = "Index", controller = "Store" });
@ -1335,7 +1335,7 @@ namespace Microsoft.AspNet.Routing.Tree
} }
[Fact] [Fact]
public void AttributeRoute_GenerateLink_RejectedByFirstRoute() public void TreeRouter_GenerateLink_RejectedByFirstRoute()
{ {
// Arrange // Arrange
var entry1 = CreateGenerationEntry("api/Store", new { action = "Index", controller = "Store" }); var entry1 = CreateGenerationEntry("api/Store", new { action = "Index", controller = "Store" });
@ -1356,7 +1356,7 @@ namespace Microsoft.AspNet.Routing.Tree
} }
[Fact] [Fact]
public void AttributeRoute_GenerateLink_RejectedByHandler() public void TreeRouter_GenerateLink_RejectedByHandler()
{ {
// Arrange // Arrange
var entry1 = CreateGenerationEntry("api/Store", new { action = "Edit", controller = "Store" }); var entry1 = CreateGenerationEntry("api/Store", new { action = "Edit", controller = "Store" });
@ -1391,7 +1391,7 @@ namespace Microsoft.AspNet.Routing.Tree
} }
[Fact] [Fact]
public void AttributeRoute_GenerateLink_ToArea() public void TreeRouter_GenerateLink_ToArea()
{ {
// Arrange // Arrange
var entry1 = CreateGenerationEntry("Help/Store", new { area = "Help", action = "Edit", controller = "Store" }); var entry1 = CreateGenerationEntry("Help/Store", new { area = "Help", action = "Edit", controller = "Store" });
@ -1417,7 +1417,7 @@ namespace Microsoft.AspNet.Routing.Tree
} }
[Fact] [Fact]
public void AttributeRoute_GenerateLink_ToArea_PredecedenceReversed() public void TreeRouter_GenerateLink_ToArea_PredecedenceReversed()
{ {
// Arrange // Arrange
var entry1 = CreateGenerationEntry("Help/Store", new { area = "Help", action = "Edit", controller = "Store" }); var entry1 = CreateGenerationEntry("Help/Store", new { area = "Help", action = "Edit", controller = "Store" });
@ -1443,7 +1443,7 @@ namespace Microsoft.AspNet.Routing.Tree
} }
[Fact] [Fact]
public void AttributeRoute_GenerateLink_ToArea_WithAmbientValues() public void TreeRouter_GenerateLink_ToArea_WithAmbientValues()
{ {
// Arrange // Arrange
var entry1 = CreateGenerationEntry("Help/Store", new { area = "Help", action = "Edit", controller = "Store" }); var entry1 = CreateGenerationEntry("Help/Store", new { area = "Help", action = "Edit", controller = "Store" });
@ -1471,7 +1471,7 @@ namespace Microsoft.AspNet.Routing.Tree
} }
[Fact] [Fact]
public void AttributeRoute_GenerateLink_OutOfArea_IgnoresAmbientValue() public void TreeRouter_GenerateLink_OutOfArea_IgnoresAmbientValue()
{ {
// Arrange // Arrange
var entry1 = CreateGenerationEntry("Help/Store", new { area = "Help", action = "Edit", controller = "Store" }); var entry1 = CreateGenerationEntry("Help/Store", new { area = "Help", action = "Edit", controller = "Store" });
@ -1569,7 +1569,7 @@ namespace Microsoft.AspNet.Routing.Tree
[Theory] [Theory]
[MemberData("OptionalParamValues")] [MemberData("OptionalParamValues")]
public void AttributeRoute_GenerateLink_Match_WithOptionalParameters( public void TreeRouter_GenerateLink_Match_WithOptionalParameters(
string template, string template,
object ambientValues, object ambientValues,
object values, object values,
@ -1592,7 +1592,7 @@ namespace Microsoft.AspNet.Routing.Tree
} }
[Fact] [Fact]
public async Task AttributeRoute_CreatesNewRouteData() public async Task TreeRouter_CreatesNewRouteData()
{ {
// Arrange // Arrange
RouteData nestedRouteData = null; RouteData nestedRouteData = null;
@ -1631,7 +1631,7 @@ namespace Microsoft.AspNet.Routing.Tree
} }
[Fact] [Fact]
public async Task AttributeRoute_ReplacesExistingRouteValues_IfNotNull() public async Task TreeRouter_ReplacesExistingRouteValues_IfNotNull()
{ {
// Arrange // Arrange
var router = new Mock<IRouter>(); var router = new Mock<IRouter>();
@ -1659,7 +1659,7 @@ namespace Microsoft.AspNet.Routing.Tree
} }
[Fact] [Fact]
public async Task AttributeRoute_DoesNotReplaceExistingRouteValues_IfNull() public async Task TreeRouter_DoesNotReplaceExistingRouteValues_IfNull()
{ {
// Arrange // Arrange
var router = new Mock<IRouter>(); var router = new Mock<IRouter>();
@ -1687,7 +1687,7 @@ namespace Microsoft.AspNet.Routing.Tree
} }
[Fact] [Fact]
public async Task AttributeRoute_CreatesNewRouteData_ResetsWhenNotMatched() public async Task TreeRouter_CreatesNewRouteData_ResetsWhenNotMatched()
{ {
// Arrange // Arrange
RouteData nestedRouteData = null; RouteData nestedRouteData = null;
@ -1730,7 +1730,7 @@ namespace Microsoft.AspNet.Routing.Tree
} }
[Fact] [Fact]
public async Task AttributeRoute_CreatesNewRouteData_ResetsWhenThrows() public async Task TreeRouter_CreatesNewRouteData_ResetsWhenThrows()
{ {
// Arrange // Arrange
RouteData nestedRouteData = null; RouteData nestedRouteData = null;