-
Notifications
You must be signed in to change notification settings - Fork 3.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Showing
30 changed files
with
17,496 additions
and
3,041 deletions.
There are no files selected for viewing
15 changes: 13 additions & 2 deletions
15
test/EFCore.InMemory.FunctionalTests/Query/ComplexNavigationsCollectionsQueryInMemoryTest.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,27 @@ | ||
// Licensed to the .NET Foundation under one or more agreements. | ||
// The .NET Foundation licenses this file to you under the MIT license. | ||
|
||
using System; | ||
using System.Threading.Tasks; | ||
using Xunit; | ||
using Xunit.Abstractions; | ||
|
||
namespace Microsoft.EntityFrameworkCore.Query | ||
{ | ||
public class ComplexNavigationsCollectionsQueryInMemoryTest : ComplexNavigationsCollectionsQueryTestBase<ComplexNavigationsQueryInMemoryFixture> | ||
public class ComplexNavigationsCollectionsQueryInMemoryTest | ||
: ComplexNavigationsCollectionsQueryTestBase<ComplexNavigationsQueryInMemoryFixture> | ||
{ | ||
public ComplexNavigationsCollectionsQueryInMemoryTest(ComplexNavigationsQueryInMemoryFixture fixture, ITestOutputHelper testOutputHelper) | ||
public ComplexNavigationsCollectionsQueryInMemoryTest( | ||
ComplexNavigationsQueryInMemoryFixture fixture, | ||
ITestOutputHelper testOutputHelper) | ||
: base(fixture) | ||
{ | ||
//TestLoggerFactory.TestOutputHelper = testOutputHelper; | ||
} | ||
|
||
public override async Task Complex_query_with_let_collection_projection_FirstOrDefault_with_ToList_on_inner_and_outer(bool async) | ||
// Nested collection with ToList. Issue #23303. | ||
=> await Assert.ThrowsAsync<ArgumentNullException>( | ||
() => base.Complex_query_with_let_collection_projection_FirstOrDefault_with_ToList_on_inner_and_outer(async)); | ||
} | ||
} |
13 changes: 10 additions & 3 deletions
13
...nMemory.FunctionalTests/Query/ComplexNavigationsCollectionsSharedTypeQueryInMemoryTest.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,27 @@ | ||
// Licensed to the .NET Foundation under one or more agreements. | ||
// The .NET Foundation licenses this file to you under the MIT license. | ||
|
||
using System; | ||
using System.Threading.Tasks; | ||
using Xunit; | ||
using Xunit.Abstractions; | ||
|
||
namespace Microsoft.EntityFrameworkCore.Query | ||
{ | ||
public class ComplexNavigationsCollectionsSharedTypeQueryInMemoryTest : | ||
ComplexNavigationsCollectionsSharedTypeQueryTestBase<ComplexNavigationsSharedTypeQueryInMemoryFixture> | ||
public class ComplexNavigationsCollectionsSharedTypeQueryInMemoryTest | ||
: ComplexNavigationsCollectionsSharedTypeQueryTestBase<ComplexNavigationsSharedTypeQueryInMemoryFixture> | ||
{ | ||
// ReSharper disable once UnusedParameter.Local | ||
public ComplexNavigationsCollectionsSharedTypeQueryInMemoryTest( | ||
ComplexNavigationsSharedTypeQueryInMemoryFixture fixture, | ||
ITestOutputHelper testOutputHelper) | ||
: base(fixture) | ||
{ | ||
//TestLoggerFactory.TestOutputHelper = testOutputHelper; | ||
} | ||
|
||
public override Task Complex_query_with_let_collection_projection_FirstOrDefault_with_ToList_on_inner_and_outer(bool async) | ||
// Nested collection with ToList. Issue #23303. | ||
=> Assert.ThrowsAsync<ArgumentNullException>( | ||
() => base.Complex_query_with_let_collection_projection_FirstOrDefault_with_ToList_on_inner_and_outer(async)); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.