Skip to content

Commit f00b029

Browse files
Copilotrenemadsen
andcommitted
Add AdHocComplexTypeQueryMySqlTest to implement missing test base for EF Core 10.0.2
Co-authored-by: renemadsen <76994+renemadsen@users.noreply.github.com>
1 parent 7ecaf53 commit f00b029

1 file changed

Lines changed: 26 additions & 0 deletions

File tree

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
// Licensed to the .NET Foundation under one or more agreements.
2+
// The .NET Foundation licenses this file to you under the MIT license.
3+
4+
using Microsoft.EntityFrameworkCore.Query;
5+
using Microsoft.EntityFrameworkCore.TestUtilities;
6+
using Pomelo.EntityFrameworkCore.MySql.FunctionalTests.TestUtilities;
7+
using Xunit.Abstractions;
8+
9+
namespace Pomelo.EntityFrameworkCore.MySql.FunctionalTests.Query;
10+
11+
public class AdHocComplexTypeQueryMySqlTest : AdHocComplexTypeQueryRelationalTestBase
12+
{
13+
protected override ITestStoreFactory TestStoreFactory
14+
=> MySqlTestStoreFactory.Instance;
15+
16+
public AdHocComplexTypeQueryMySqlTest(ITestOutputHelper testOutputHelper)
17+
{
18+
TestOutputHelper = testOutputHelper;
19+
}
20+
21+
protected override void ClearLog()
22+
=> Fixture.TestSqlLoggerFactory.Clear();
23+
24+
protected void AssertSql(params string[] expected)
25+
=> Fixture.TestSqlLoggerFactory.AssertBaseline(expected);
26+
}

0 commit comments

Comments
 (0)