Skip to content

Shorten test names to avoid hitting Windows path length limits #30250

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
1 commit merged into from
Feb 17, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -3153,7 +3153,7 @@ public class MyComponent<TItem> : ComponentBase
}

[Fact]
public void ChildComponent_Generic_Explicit_Cascaded()
public void CascadingGenericInference_Explicit()
{
// Arrange
AdditionalSyntaxTrees.Add(Parse(@"
Expand Down Expand Up @@ -3185,7 +3185,7 @@ public class Column<TItem> : ComponentBase
}

[Fact]
public void ChildComponent_Generic_Explicit_OverrideCascade()
public void CascadingGenericInference_ExplicitOverride()
{
// Arrange
AdditionalSyntaxTrees.Add(Parse(@"
Expand Down Expand Up @@ -3217,7 +3217,7 @@ public class Column<TItem> : ComponentBase
}

[Fact]
public void ChildComponent_Generic_Explicit_NotCascaded()
public void CascadingGenericInference_NotCascaded_Explicit()
{
// The point of this test is to show that, without [CascadingTypeParameter], we don't cascade

Expand Down Expand Up @@ -3252,7 +3252,7 @@ public class Column<TItem> : ComponentBase
}

[Fact]
public void ChildComponent_Generic_TypeInference_Cascaded()
public void CascadingGenericInference_NotCascaded_Inferred()
{
// Arrange
AdditionalSyntaxTrees.Add(Parse(@"
Expand Down Expand Up @@ -3284,7 +3284,7 @@ public class Column<TItem> : ComponentBase
}

[Fact]
public void ChildComponent_Generic_TypeInference_Cascaded_PartialCreatesDiagnostic()
public void CascadingGenericInference_Partial_CreatesError()
{
// Arrange
AdditionalSyntaxTrees.Add(Parse(@"
Expand Down Expand Up @@ -3318,7 +3318,7 @@ public class Column<TItem, TChildOther> : ComponentBase
}

[Fact]
public void ChildComponent_Generic_TypeInference_Cascaded_WithSplatAndKey()
public void CascadingGenericInference_WithSplatAndKey()
{
// This is an integration test to show that our type inference code doesn't
// have bad interactions with some of the other more complicated transformations
Expand Down Expand Up @@ -3358,7 +3358,7 @@ public class Column<TItem> : ComponentBase
}

[Fact]
public void ChildComponent_Generic_TypeInference_MultiLayerCascaded()
public void CascadingGenericInference_Multilayer()
{
// Arrange
AdditionalSyntaxTrees.Add(Parse(@"
Expand Down Expand Up @@ -3395,7 +3395,7 @@ public class Child<TItem> : ComponentBase
}

[Fact]
public void ChildComponent_Generic_TypeInference_MultiLayerOverrideCascade()
public void CascadingGenericInference_Override_Multilayer()
{
// Arrange
AdditionalSyntaxTrees.Add(Parse(@"
Expand Down Expand Up @@ -3430,7 +3430,7 @@ public class TreeNode<TItem> : ComponentBase
}

[Fact]
public void ChildComponent_Generic_TypeInference_OverrideCascade()
public void CascadingGenericInference_Override()
{
// This test is to show that, even if an ancestor is trying to cascade its generic types,
// a descendant can still override that through inference
Expand Down Expand Up @@ -3466,7 +3466,7 @@ public class Column<TItem> : ComponentBase
}

[Fact]
public void ChildComponent_Generic_TypeInference_NotCascaded()
public void CascadingGenericInference_NotCascaded_CreatesError()
{
// Arrange
AdditionalSyntaxTrees.Add(Parse(@"
Expand Down Expand Up @@ -3499,7 +3499,7 @@ public class Column<TItem> : ComponentBase
}

[Fact]
public void ChildComponent_Generic_TypeInference_CascadedWithGenericChildContent()
public void CascadingGenericInference_GenericChildContent()
{
// Arrange
AdditionalSyntaxTrees.Add(Parse(@"
Expand Down Expand Up @@ -3532,7 +3532,7 @@ public class Column<TItem> : ComponentBase
}

[Fact]
public void ChildComponent_Generic_TypeInference_CascadedWithLambda()
public void CascadingGenericInference_GenericLambda()
{
// Arrange
AdditionalSyntaxTrees.Add(Parse(@"
Expand Down Expand Up @@ -3565,7 +3565,7 @@ public class Column<TItem, TOutput> : ComponentBase
}

[Fact]
public void ChildComponent_Generic_TypeInference_CascadedWithMultipleTypes()
public void CascadingGenericInference_MultipleTypes()
{

// Arrange
Expand Down Expand Up @@ -3605,7 +3605,7 @@ public class Child<TOther, TValue, TKey, TChildOnly> : ComponentBase
}

[Fact]
public void ChildComponent_Generic_TypeInference_CascadedWithUnrelatedGenericType_CreatesDiagnostic()
public void CascadingGenericInference_WithUnrelatedType_CreatesError()
{
// It would succeed if you changed this to Column<TItem, TUnrelated>, or if the Grid took a parameter
// whose type included TItem and not TUnrelated. It just doesn't work if the only inference parameters
Expand Down Expand Up @@ -3647,7 +3647,7 @@ public class Column<TItem> : ComponentBase
}

[Fact]
public void ChildComponent_Generic_TypeInference_CascadedCombiningMultipleAncestors()
public void CascadingGenericInference_CombiningMultipleAncestors()
{

// Arrange
Expand Down