-
Notifications
You must be signed in to change notification settings - Fork 3.1k
/
NorthwindIncludeQuerySqliteTest.cs
34 lines (28 loc) · 1.71 KB
/
NorthwindIncludeQuerySqliteTest.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
using Microsoft.EntityFrameworkCore.Sqlite.Internal;
namespace Microsoft.EntityFrameworkCore.Query;
public class NorthwindIncludeQuerySqliteTest(NorthwindQuerySqliteFixture<NoopModelCustomizer> fixture)
: NorthwindIncludeQueryRelationalTestBase<NorthwindQuerySqliteFixture<NoopModelCustomizer>>(fixture)
{
public override async Task Include_collection_with_cross_apply_with_filter(bool async)
=> Assert.Equal(
SqliteStrings.ApplyNotSupported,
(await Assert.ThrowsAsync<InvalidOperationException>(
() => base.Include_collection_with_cross_apply_with_filter(async))).Message);
public override async Task Include_collection_with_outer_apply_with_filter(bool async)
=> Assert.Equal(
SqliteStrings.ApplyNotSupported,
(await Assert.ThrowsAsync<InvalidOperationException>(
() => base.Include_collection_with_outer_apply_with_filter(async))).Message);
public override async Task Filtered_include_with_multiple_ordering(bool async)
=> Assert.Equal(
SqliteStrings.ApplyNotSupported,
(await Assert.ThrowsAsync<InvalidOperationException>(
() => base.Filtered_include_with_multiple_ordering(async))).Message);
public override async Task Include_collection_with_outer_apply_with_filter_non_equality(bool async)
=> Assert.Equal(
SqliteStrings.ApplyNotSupported,
(await Assert.ThrowsAsync<InvalidOperationException>(
() => base.Include_collection_with_outer_apply_with_filter_non_equality(async))).Message);
}