|
| 1 | +/* |
| 2 | + * The contents of this file are subject to the Initial |
| 3 | + * Developer's Public License Version 1.0 (the "License"); |
| 4 | + * you may not use this file except in compliance with the |
| 5 | + * License. You may obtain a copy of the License at |
| 6 | + * https://github.com/FirebirdSQL/NETProvider/raw/master/license.txt. |
| 7 | + * |
| 8 | + * Software distributed under the License is distributed on |
| 9 | + * an "AS IS" basis, WITHOUT WARRANTY OF ANY KIND, either |
| 10 | + * express or implied. See the License for the specific |
| 11 | + * language governing rights and limitations under the License. |
| 12 | + * |
| 13 | + * All Rights Reserved. |
| 14 | + */ |
| 15 | + |
| 16 | +//$Authors = Jiri Cincura ([email protected]) |
| 17 | + |
| 18 | +using System; |
| 19 | +using System.Collections.Generic; |
| 20 | +using System.Reflection; |
| 21 | + |
| 22 | +namespace FirebirdSql.EntityFrameworkCore.Firebird.FunctionalTests; |
| 23 | + |
| 24 | +public class ComplianceFbTest : Microsoft.EntityFrameworkCore.RelationalComplianceTestBase |
| 25 | +{ |
| 26 | + protected override ICollection<Type> IgnoredTestBases { get; } = |
| 27 | + [ |
| 28 | + typeof(Microsoft.EntityFrameworkCore.ApiConsistencyTestBase<>), |
| 29 | + typeof(Microsoft.EntityFrameworkCore.BadDataJsonDeserializationTestBase), |
| 30 | + typeof(Microsoft.EntityFrameworkCore.BuiltInDataTypesTestBase<>), |
| 31 | + typeof(Microsoft.EntityFrameworkCore.ComplexTypesTrackingTestBase<>), |
| 32 | + typeof(Microsoft.EntityFrameworkCore.CompositeKeyEndToEndTestBase<>), |
| 33 | + typeof(Microsoft.EntityFrameworkCore.ConcurrencyDetectorDisabledTestBase<>), |
| 34 | + typeof(Microsoft.EntityFrameworkCore.ConcurrencyDetectorEnabledTestBase<>), |
| 35 | + typeof(Microsoft.EntityFrameworkCore.ConcurrencyDetectorTestBase<>), |
| 36 | + typeof(Microsoft.EntityFrameworkCore.ConferencePlannerTestBase<>), |
| 37 | + typeof(Microsoft.EntityFrameworkCore.ConvertToProviderTypesTestBase<>), |
| 38 | + typeof(Microsoft.EntityFrameworkCore.CustomConvertersTestBase<>), |
| 39 | + typeof(Microsoft.EntityFrameworkCore.DataAnnotationTestBase<>), |
| 40 | + typeof(Microsoft.EntityFrameworkCore.DataBindingTestBase<>), |
| 41 | + typeof(Microsoft.EntityFrameworkCore.EntityFrameworkServiceCollectionExtensionsTestBase), |
| 42 | + typeof(Microsoft.EntityFrameworkCore.FieldMappingTestBase<>), |
| 43 | + typeof(Microsoft.EntityFrameworkCore.FieldsOnlyLoadTestBase<>), |
| 44 | + typeof(Microsoft.EntityFrameworkCore.FindTestBase<>), |
| 45 | + typeof(Microsoft.EntityFrameworkCore.GraphUpdatesTestBase<>), |
| 46 | + typeof(Microsoft.EntityFrameworkCore.ProxyGraphUpdatesTestBase<>), |
| 47 | + typeof(Microsoft.EntityFrameworkCore.InterceptionTestBase), |
| 48 | + typeof(Microsoft.EntityFrameworkCore.JsonTypesTestBase), |
| 49 | + typeof(Microsoft.EntityFrameworkCore.KeysWithConvertersTestBase<>), |
| 50 | + typeof(Microsoft.EntityFrameworkCore.LazyLoadProxyTestBase<>), |
| 51 | + typeof(Microsoft.EntityFrameworkCore.LoadTestBase<>), |
| 52 | + typeof(Microsoft.EntityFrameworkCore.LoggingTestBase), |
| 53 | + typeof(Microsoft.EntityFrameworkCore.ManyToManyFieldsLoadTestBase<>), |
| 54 | + typeof(Microsoft.EntityFrameworkCore.ManyToManyLoadTestBase<>), |
| 55 | + typeof(Microsoft.EntityFrameworkCore.ManyToManyTrackingTestBase<>), |
| 56 | + typeof(Microsoft.EntityFrameworkCore.MaterializationInterceptionTestBase<>), |
| 57 | + typeof(Microsoft.EntityFrameworkCore.ModelBuilding101TestBase), |
| 58 | + typeof(Microsoft.EntityFrameworkCore.MonsterFixupTestBase<>), |
| 59 | + typeof(Microsoft.EntityFrameworkCore.MusicStoreTestBase<>), |
| 60 | + typeof(Microsoft.EntityFrameworkCore.NotificationEntitiesTestBase<>), |
| 61 | + typeof(Microsoft.EntityFrameworkCore.OptimisticConcurrencyTestBase<,>), |
| 62 | + typeof(Microsoft.EntityFrameworkCore.OverzealousInitializationTestBase<>), |
| 63 | + typeof(Microsoft.EntityFrameworkCore.PropertyValuesTestBase<>), |
| 64 | + typeof(Microsoft.EntityFrameworkCore.QueryExpressionInterceptionTestBase), |
| 65 | + typeof(Microsoft.EntityFrameworkCore.AdHocManyToManyQueryTestBase), |
| 66 | + typeof(Microsoft.EntityFrameworkCore.SaveChangesInterceptionTestBase), |
| 67 | + typeof(Microsoft.EntityFrameworkCore.SeedingTestBase), |
| 68 | + typeof(Microsoft.EntityFrameworkCore.SerializationTestBase<>), |
| 69 | + typeof(Microsoft.EntityFrameworkCore.SingletonInterceptorsTestBase<>), |
| 70 | + typeof(Microsoft.EntityFrameworkCore.SpatialTestBase<>), |
| 71 | + typeof(Microsoft.EntityFrameworkCore.StoreGeneratedFixupTestBase<>), |
| 72 | + typeof(Microsoft.EntityFrameworkCore.StoreGeneratedTestBase<>), |
| 73 | + typeof(Microsoft.EntityFrameworkCore.ValueConvertersEndToEndTestBase<>), |
| 74 | + typeof(Microsoft.EntityFrameworkCore.WithConstructorsTestBase<>), |
| 75 | + typeof(Microsoft.EntityFrameworkCore.CommandInterceptionTestBase), |
| 76 | + typeof(Microsoft.EntityFrameworkCore.ConcurrencyDetectorDisabledRelationalTestBase<>), |
| 77 | + typeof(Microsoft.EntityFrameworkCore.ConcurrencyDetectorEnabledRelationalTestBase<>), |
| 78 | + typeof(Microsoft.EntityFrameworkCore.ConnectionInterceptionTestBase), |
| 79 | + typeof(Microsoft.EntityFrameworkCore.DataAnnotationRelationalTestBase<>), |
| 80 | + typeof(Microsoft.EntityFrameworkCore.DesignTimeTestBase<>), |
| 81 | + typeof(Microsoft.EntityFrameworkCore.EntitySplittingTestBase), |
| 82 | + typeof(Microsoft.EntityFrameworkCore.JsonTypesRelationalTestBase), |
| 83 | + typeof(Microsoft.EntityFrameworkCore.LoggingRelationalTestBase<,>), |
| 84 | + typeof(Microsoft.EntityFrameworkCore.ManyToManyTrackingRelationalTestBase<>), |
| 85 | + typeof(Microsoft.EntityFrameworkCore.ModelBuilding101RelationalTestBase), |
| 86 | + typeof(Microsoft.EntityFrameworkCore.OptimisticConcurrencyRelationalTestBase<,>), |
| 87 | + typeof(Microsoft.EntityFrameworkCore.RelationalServiceCollectionExtensionsTestBase), |
| 88 | + typeof(Microsoft.EntityFrameworkCore.StoreGeneratedFixupRelationalTestBase<>), |
| 89 | + typeof(Microsoft.EntityFrameworkCore.TableSplittingTestBase), |
| 90 | + typeof(Microsoft.EntityFrameworkCore.TPTTableSplittingTestBase), |
| 91 | + typeof(Microsoft.EntityFrameworkCore.TransactionInterceptionTestBase), |
| 92 | + typeof(Microsoft.EntityFrameworkCore.TransactionTestBase<>), |
| 93 | + typeof(Microsoft.EntityFrameworkCore.TwoDatabasesTestBase), |
| 94 | + |
| 95 | + typeof(Microsoft.EntityFrameworkCore.ModelBuilding.ModelBuilderTest.ComplexTypeTestBase), |
| 96 | + typeof(Microsoft.EntityFrameworkCore.ModelBuilding.ModelBuilderTest.ModelBuilderTestBase), |
| 97 | + typeof(Microsoft.EntityFrameworkCore.ModelBuilding.ModelBuilderTest.InheritanceTestBase), |
| 98 | + typeof(Microsoft.EntityFrameworkCore.ModelBuilding.ModelBuilderTest.ManyToManyTestBase), |
| 99 | + typeof(Microsoft.EntityFrameworkCore.ModelBuilding.ModelBuilderTest.ManyToOneTestBase), |
| 100 | + typeof(Microsoft.EntityFrameworkCore.ModelBuilding.ModelBuilderTest.NonRelationshipTestBase), |
| 101 | + typeof(Microsoft.EntityFrameworkCore.ModelBuilding.ModelBuilderTest.OneToManyTestBase), |
| 102 | + typeof(Microsoft.EntityFrameworkCore.ModelBuilding.ModelBuilderTest.OneToOneTestBase), |
| 103 | + typeof(Microsoft.EntityFrameworkCore.ModelBuilding.ModelBuilderTest.OwnedTypesTestBase), |
| 104 | + typeof(Microsoft.EntityFrameworkCore.ModelBuilding.RelationalModelBuilderTest.RelationalNonRelationshipTestBase), |
| 105 | + typeof(Microsoft.EntityFrameworkCore.ModelBuilding.RelationalModelBuilderTest.RelationalComplexTypeTestBase), |
| 106 | + typeof(Microsoft.EntityFrameworkCore.ModelBuilding.RelationalModelBuilderTest.RelationalInheritanceTestBase), |
| 107 | + typeof(Microsoft.EntityFrameworkCore.ModelBuilding.RelationalModelBuilderTest.RelationalOneToManyTestBase), |
| 108 | + typeof(Microsoft.EntityFrameworkCore.ModelBuilding.RelationalModelBuilderTest.RelationalManyToOneTestBase), |
| 109 | + typeof(Microsoft.EntityFrameworkCore.ModelBuilding.RelationalModelBuilderTest.RelationalOneToOneTestBase), |
| 110 | + typeof(Microsoft.EntityFrameworkCore.ModelBuilding.RelationalModelBuilderTest.RelationalManyToManyTestBase), |
| 111 | + typeof(Microsoft.EntityFrameworkCore.ModelBuilding.RelationalModelBuilderTest.RelationalOwnedTypesTestBase), |
| 112 | + |
| 113 | + typeof(Microsoft.EntityFrameworkCore.BulkUpdates.BulkUpdatesTestBase<>), |
| 114 | + typeof(Microsoft.EntityFrameworkCore.BulkUpdates.ComplexTypeBulkUpdatesTestBase<>), |
| 115 | + typeof(Microsoft.EntityFrameworkCore.BulkUpdates.FiltersInheritanceBulkUpdatesTestBase<>), |
| 116 | + typeof(Microsoft.EntityFrameworkCore.BulkUpdates.InheritanceBulkUpdatesTestBase<>), |
| 117 | + typeof(Microsoft.EntityFrameworkCore.BulkUpdates.NonSharedModelBulkUpdatesTestBase), |
| 118 | + typeof(Microsoft.EntityFrameworkCore.BulkUpdates.NorthwindBulkUpdatesTestBase<>), |
| 119 | + typeof(Microsoft.EntityFrameworkCore.BulkUpdates.ComplexTypeBulkUpdatesRelationalTestBase<>), |
| 120 | + typeof(Microsoft.EntityFrameworkCore.BulkUpdates.FiltersInheritanceBulkUpdatesRelationalTestBase<>), |
| 121 | + typeof(Microsoft.EntityFrameworkCore.BulkUpdates.InheritanceBulkUpdatesRelationalTestBase<>), |
| 122 | + typeof(Microsoft.EntityFrameworkCore.BulkUpdates.NonSharedModelBulkUpdatesRelationalTestBase), |
| 123 | + typeof(Microsoft.EntityFrameworkCore.BulkUpdates.NorthwindBulkUpdatesRelationalTestBase<>), |
| 124 | + typeof(Microsoft.EntityFrameworkCore.BulkUpdates.TPCFiltersInheritanceBulkUpdatesTestBase<>), |
| 125 | + typeof(Microsoft.EntityFrameworkCore.BulkUpdates.TPCInheritanceBulkUpdatesTestBase<>), |
| 126 | + typeof(Microsoft.EntityFrameworkCore.BulkUpdates.TPHInheritanceBulkUpdatesTestBase<>), |
| 127 | + typeof(Microsoft.EntityFrameworkCore.BulkUpdates.TPTFiltersInheritanceBulkUpdatesTestBase<>), |
| 128 | + typeof(Microsoft.EntityFrameworkCore.BulkUpdates.TPTInheritanceBulkUpdatesTestBase<>), |
| 129 | + |
| 130 | + typeof(Microsoft.EntityFrameworkCore.Update.JsonUpdateTestBase<>), |
| 131 | + typeof(Microsoft.EntityFrameworkCore.Update.NonSharedModelUpdatesTestBase), |
| 132 | + typeof(Microsoft.EntityFrameworkCore.Update.StoredProcedureUpdateTestBase), |
| 133 | + typeof(Microsoft.EntityFrameworkCore.Update.StoreValueGenerationTestBase<>), |
| 134 | + typeof(Microsoft.EntityFrameworkCore.Update.UpdateSqlGeneratorTestBase), |
| 135 | + |
| 136 | + typeof(Microsoft.EntityFrameworkCore.Scaffolding.CompiledModelTestBase), |
| 137 | + typeof(Microsoft.EntityFrameworkCore.Scaffolding.CompiledModelRelationalTestBase), |
| 138 | + |
| 139 | + typeof(Microsoft.EntityFrameworkCore.Migrations.MigrationsInfrastructureTestBase<>), |
| 140 | + typeof(Microsoft.EntityFrameworkCore.Migrations.MigrationsSqlGeneratorTestBase), |
| 141 | + |
| 142 | + // JSON not supported on FB |
| 143 | + typeof(Microsoft.EntityFrameworkCore.Query.JsonQueryTestBase<>), |
| 144 | + typeof(Microsoft.EntityFrameworkCore.Query.JsonQueryRelationalTestBase<>), |
| 145 | + typeof(Microsoft.EntityFrameworkCore.Query.AdHocJsonQueryTestBase), |
| 146 | + |
| 147 | + // Spatial not supported on FB |
| 148 | + typeof(Microsoft.EntityFrameworkCore.Query.SpatialQueryTestBase<>), |
| 149 | + typeof(Microsoft.EntityFrameworkCore.Query.SpatialQueryRelationalTestBase<>), |
| 150 | + |
| 151 | + // Uses some JSON |
| 152 | + typeof(Microsoft.EntityFrameworkCore.Query.AdHocPrecompiledQueryRelationalTestBase), |
| 153 | + typeof(Microsoft.EntityFrameworkCore.Query.PrecompiledQueryRelationalTestBase), |
| 154 | + typeof(Microsoft.EntityFrameworkCore.Query.PrecompiledSqlPregenerationQueryRelationalTestBase), |
| 155 | + ]; |
| 156 | + |
| 157 | + protected override Assembly TargetAssembly { get; } = typeof(ComplianceFbTest).Assembly; |
| 158 | +} |
0 commit comments