Remove Complex Navigations Shared classes from the tests. The table structure is too complex for Jet and goes over its limits. Not able to make work

pull/179/head
Christopher Jolly 2 years ago
parent 1c29984574
commit 472f6b4665

@ -12,14 +12,26 @@ namespace EntityFrameworkCore.Jet.FunctionalTests
protected override ICollection<Type> IgnoredTestBases { get; } = new HashSet<Type>
{
//No spatial type support in Jet
typeof(SpatialQueryRelationalTestBase<>),
typeof(SpatialQueryTestBase<>),
typeof(SpatialTestBase<>),
//Only very limited support for primitive collections.
//Can read/write the whole field at a time but any query that needs access to a specific element will fail.
typeof(NonSharedPrimitiveCollectionsQueryTestBase),
typeof(NonSharedPrimitiveCollectionsQueryRelationalTestBase),
//No Json query support in Jet
typeof(JsonQueryTestBase<>),
typeof(JsonQueryAdHocTestBase),
typeof(JsonUpdateTestBase<>)
typeof(JsonUpdateTestBase<>),
//Too complex table structure for Jet/MS Access. Too many indexes on table.
//Caused by having too many navs (foreign keys) on a single table.
//Also having a primary key (and its related foreign keys) being over more than 14 fields.
typeof(ComplexNavigationsSharedTypeQueryRelationalTestBase<>),
typeof(ComplexNavigationsSharedTypeQueryTestBase<>),
typeof(ComplexNavigationsCollectionsSharedTypeQueryRelationalTestBase<>),
typeof(ComplexNavigationsCollectionsSharedTypeQueryTestBase<>),
typeof(ComplexNavigationsCollectionsSplitSharedTypeQueryRelationalTestBase<>)
};
protected override Assembly TargetAssembly { get; } = typeof(JetComplianceTest).Assembly;

@ -1,20 +0,0 @@
// 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.Query;
using Xunit.Abstractions;
namespace EntityFrameworkCore.Jet.FunctionalTests.Query;
public class ComplexNavigationsCollectionsSplitSharedTypeQueryJetTest
: ComplexNavigationsCollectionsSplitSharedTypeQueryRelationalTestBase<ComplexNavigationsSharedTypeQueryJetFixture>
{
public ComplexNavigationsCollectionsSplitSharedTypeQueryJetTest(
ComplexNavigationsSharedTypeQueryJetFixture fixture,
ITestOutputHelper testOutputHelper)
: base(fixture)
{
Fixture.TestSqlLoggerFactory.Clear();
Fixture.TestSqlLoggerFactory.SetTestOutputHelper(testOutputHelper);
}
}
Loading…
Cancel
Save