You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
30 lines
1007 B
C#
30 lines
1007 B
C#
|
6 years ago
|
// 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 EntityFrameworkCore.Jet.FunctionalTests.Query;
|
||
|
|
using Microsoft.EntityFrameworkCore;
|
||
|
|
using Microsoft.EntityFrameworkCore.Query;
|
||
|
|
using Microsoft.EntityFrameworkCore.TestModels.Northwind;
|
||
|
|
using Microsoft.EntityFrameworkCore.TestUtilities;
|
||
|
|
using Xunit;
|
||
|
|
|
||
|
|
namespace EntityFrameworkCore.Jet.FunctionalTests
|
||
|
|
{
|
||
|
|
public class ConcurrencyDetectorJetTest : ConcurrencyDetectorRelationalTestBase<
|
||
|
|
NorthwindQueryJetFixture<NoopModelCustomizer>>
|
||
|
|
{
|
||
|
|
public ConcurrencyDetectorJetTest(NorthwindQueryJetFixture<NoopModelCustomizer> fixture)
|
||
|
|
: base(fixture)
|
||
|
|
{
|
||
|
|
}
|
||
|
|
|
||
|
|
protected override async Task ConcurrencyDetectorTest(Func<NorthwindContext, Task> test)
|
||
|
|
{
|
||
|
|
await base.ConcurrencyDetectorTest(test);
|
||
|
|
|
||
|
|
Assert.Empty(Fixture.TestSqlLoggerFactory.SqlStatements);
|
||
|
|
}
|
||
|
|
}
|
||
|
|
}
|