Skip to content

Commit

Permalink
Miscellaneous query test fixes
Browse files Browse the repository at this point in the history
resolves #14550
resolves #15164
resolves #15994

added regression tests for #14671
added regression test for #17852
converted remaining tests in Gears of War into AssertQuery pattern (part of #12501)
  • Loading branch information
maumar committed Oct 2, 2019
1 parent d005f54 commit 81c1411
Show file tree
Hide file tree
Showing 8 changed files with 1,278 additions and 1,225 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.

using System;
using System.Collections.Generic;
using System.Linq;
using System.Linq.Expressions;
using System.Reflection;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,5 +20,11 @@ public override Task Complex_query_with_optional_navigations_and_client_side_eva
{
return base.Complex_query_with_optional_navigations_and_client_side_evaluation(isAsync);
}

[ConditionalFact(Skip = "issue #18194")]
public override void Member_pushdown_chain_3_levels_deep_entity()
{
base.Member_pushdown_chain_3_levels_deep_entity();
}
}
}
241 changes: 134 additions & 107 deletions test/EFCore.Specification.Tests/Query/ComplexNavigationsQueryTestBase.cs

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -81,31 +81,27 @@ public override Task Multiple_SelectMany_with_nested_navigations_and_explicit_De
}

[ConditionalTheory(Skip = "issue #13560")]
public override Task SelectMany_with_nested_navigations_explicit_DefaultIfEmpty_and_additional_joins_outside_of_SelectMany(
bool isAsync)
public override Task SelectMany_with_nested_navigations_explicit_DefaultIfEmpty_and_additional_joins_outside_of_SelectMany(bool isAsync)
{
return base.SelectMany_with_nested_navigations_explicit_DefaultIfEmpty_and_additional_joins_outside_of_SelectMany(isAsync);
}

[ConditionalTheory(Skip = "issue #13560")]
public override Task SelectMany_with_nested_navigations_explicit_DefaultIfEmpty_and_additional_joins_outside_of_SelectMany2(
bool isAsync)
public override Task SelectMany_with_nested_navigations_explicit_DefaultIfEmpty_and_additional_joins_outside_of_SelectMany2(bool isAsync)
{
return base.SelectMany_with_nested_navigations_explicit_DefaultIfEmpty_and_additional_joins_outside_of_SelectMany2(isAsync);
}

[ConditionalFact(Skip = "issue #13560")]
public override void SelectMany_with_nested_navigations_and_additional_joins_outside_of_SelectMany()
[ConditionalTheory(Skip = "issue #13560")]
public override Task SelectMany_with_nested_navigations_and_additional_joins_outside_of_SelectMany(bool isAsync)
{
base.SelectMany_with_nested_navigations_and_additional_joins_outside_of_SelectMany();
return base.SelectMany_with_nested_navigations_and_additional_joins_outside_of_SelectMany(isAsync);
}

[ConditionalTheory(Skip = "issue #13560")]
public override Task
Complex_SelectMany_with_nested_navigations_and_explicit_DefaultIfEmpty_with_other_query_operators_composed_on_top(bool isAsync)
public override Task Complex_SelectMany_with_nested_navigations_and_explicit_DefaultIfEmpty_with_other_query_operators_composed_on_top(bool isAsync)
{
return base.Complex_SelectMany_with_nested_navigations_and_explicit_DefaultIfEmpty_with_other_query_operators_composed_on_top(
isAsync);
return base.Complex_SelectMany_with_nested_navigations_and_explicit_DefaultIfEmpty_with_other_query_operators_composed_on_top(isAsync);
}

[ConditionalTheory(Skip = "Issue#16752")]
Expand Down Expand Up @@ -165,12 +161,18 @@ public override void Member_pushdown_chain_3_levels_deep()
{
}

public override void Member_pushdown_chain_3_levels_deep_entity()
{
}

public override void Member_pushdown_with_collection_navigation_in_the_middle()
{
}

public override void Include_inside_subquery()
[ConditionalTheory(Skip = "Issue#16752")]
public override Task Include_inside_subquery(bool isAsync)
{
return base.Include_inside_subquery(isAsync);
}
}
}
Loading

0 comments on commit 81c1411

Please sign in to comment.