Skip to content

Commit

Permalink
Re-enable in-memory test for optional navigation access
Browse files Browse the repository at this point in the history
Resolves #18284
  • Loading branch information
smitpatel committed Nov 6, 2020
1 parent 0032742 commit 2ea841d
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 11 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.

using System;
using System.Threading.Tasks;
using Xunit;
using Xunit.Abstractions;
Expand Down Expand Up @@ -45,10 +46,6 @@ public override Task
=> base.Null_semantics_is_correctly_applied_for_function_comparisons_that_take_arguments_from_optional_navigation_complex(
async);

[ConditionalTheory(Skip = "issue #18284")]
public override Task GroupBy_with_boolean_groupin_key_thru_navigation_access(bool async)
=> GroupBy_with_boolean_groupin_key_thru_navigation_access(async);

[ConditionalTheory(Skip = "issue #17620")]
public override Task Select_subquery_projecting_single_constant_inside_anonymous(bool async)
=> base.Select_subquery_projecting_single_constant_inside_anonymous(async);
Expand All @@ -57,10 +54,6 @@ public override Task Select_subquery_projecting_single_constant_inside_anonymous
public override Task Group_by_on_StartsWith_with_null_parameter_as_argument(bool async)
=> base.Group_by_on_StartsWith_with_null_parameter_as_argument(async);

[ConditionalTheory(Skip = "issue #18284")]
public override Task Enum_closure_typed_as_underlying_type_generates_correct_parameter_type(bool async)
=> base.Enum_closure_typed_as_underlying_type_generates_correct_parameter_type(async);

[ConditionalTheory(Skip = "issue #17386")]
public override Task Client_member_and_unsupported_string_Equals_in_the_same_query(bool async)
=> base.Client_member_and_unsupported_string_Equals_in_the_same_query(async);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7534,7 +7534,7 @@ public virtual Task Enum_closure_typed_as_underlying_type_generates_correct_para

return AssertQuery(
async,
ss => ss.Set<Weapon>().Where(w => prm == (int)w.AmmunitionType),
ss => ss.Set<Weapon>().Where(w => prm == (int?)w.AmmunitionType),
ss => ss.Set<Weapon>().Where(w => w.AmmunitionType != null && prm == (int)w.AmmunitionType));
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6949,7 +6949,7 @@ public override async Task Enum_closure_typed_as_underlying_type_generates_corre
await base.Enum_closure_typed_as_underlying_type_generates_correct_parameter_type(async);

AssertSql(
@"@__prm_0='1'
@"@__prm_0='1' (Nullable = true)
SELECT [w].[Id], [w].[AmmunitionType], [w].[IsAutomatic], [w].[Name], [w].[OwnerFullName], [w].[SynergyWithId]
FROM [Weapons] AS [w]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8073,7 +8073,7 @@ public override async Task Enum_closure_typed_as_underlying_type_generates_corre
await base.Enum_closure_typed_as_underlying_type_generates_correct_parameter_type(async);

AssertSql(
@"@__prm_0='1'
@"@__prm_0='1' (Nullable = true)
SELECT [w].[Id], [w].[AmmunitionType], [w].[IsAutomatic], [w].[Name], [w].[OwnerFullName], [w].[SynergyWithId]
FROM [Weapons] AS [w]
Expand Down

0 comments on commit 2ea841d

Please sign in to comment.