Nit: Clean up duplicate tests
- lead to errors during test discovery in VS
This commit is contained in:
parent
6e68637af1
commit
89fd1abc58
|
|
@ -39,7 +39,6 @@ namespace Microsoft.AspNet.Mvc.OptionDescriptors
|
||||||
[Theory]
|
[Theory]
|
||||||
[InlineData(typeof(BaseType))]
|
[InlineData(typeof(BaseType))]
|
||||||
[InlineData(typeof(UnRelatedType))]
|
[InlineData(typeof(UnRelatedType))]
|
||||||
[InlineData(typeof(UnRelatedType))]
|
|
||||||
public void Add_RegisterDerivedType_BaseAndUnrealatedTypesAreNotExcluded(Type type)
|
public void Add_RegisterDerivedType_BaseAndUnrealatedTypesAreNotExcluded(Type type)
|
||||||
{
|
{
|
||||||
// Arrange
|
// Arrange
|
||||||
|
|
|
||||||
|
|
@ -592,16 +592,6 @@ namespace Microsoft.AspNet.Mvc.FunctionalTests
|
||||||
""
|
""
|
||||||
};
|
};
|
||||||
|
|
||||||
// Attribute Route, manId:int:min(10)? constraint
|
|
||||||
yield return new object[]
|
|
||||||
{
|
|
||||||
"InlineConstraints_Products",
|
|
||||||
"GetProductByManufacturerId",
|
|
||||||
"manId",
|
|
||||||
"1",
|
|
||||||
""
|
|
||||||
};
|
|
||||||
|
|
||||||
// Attribute Route, dateTime:datetime constraint
|
// Attribute Route, dateTime:datetime constraint
|
||||||
yield return new object[]
|
yield return new object[]
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -105,7 +105,6 @@ namespace Microsoft.AspNet.Mvc.Razor
|
||||||
[Theory]
|
[Theory]
|
||||||
[InlineData(10000)]
|
[InlineData(10000)]
|
||||||
[InlineData(11000)]
|
[InlineData(11000)]
|
||||||
[InlineData(10000)] // expected failure: same time and length
|
|
||||||
public void GetOrAdd_UsesFilesFromCache_IfTimestampDiffers_ButContentAndLengthAreTheSame(long fileTimeUTC)
|
public void GetOrAdd_UsesFilesFromCache_IfTimestampDiffers_ButContentAndLengthAreTheSame(long fileTimeUTC)
|
||||||
{
|
{
|
||||||
// Arrange
|
// Arrange
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue