Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .github/workflows/pull_request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ env:
DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true
DOTNET_CLI_TELEMETRY_OPTOUT: true
DOTNET_NOLOGO: true
PIPELINE_WORKSPACE: true
checkoutFetchDepth: 2
buildConfiguration: 'Debug'
skipTests: false
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ env:
DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true
DOTNET_CLI_TELEMETRY_OPTOUT: true
DOTNET_NOLOGO: true
PIPELINE_WORKSPACE: true
checkoutFetchDepth: 1
buildConfiguration: 'Debug'
skipTests: false
Expand Down
217 changes: 32 additions & 185 deletions test/EFCore.Jet.FunctionalTests/GreenTests/ace_2010_odbc_x86.txt

Large diffs are not rendered by default.

231 changes: 46 additions & 185 deletions test/EFCore.Jet.FunctionalTests/GreenTests/ace_2010_oledb_x86.txt

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@

namespace EntityFrameworkCore.Jet.FunctionalTests.Migrations;

[JetCondition(JetCondition.IsNotCI)]
public class MigrationsJetTest : MigrationsTestBase<MigrationsJetTest.MigrationsJetFixture>
{
protected static string EOL
Expand Down
18 changes: 12 additions & 6 deletions test/EFCore.Jet.FunctionalTests/Query/TPCGearsOfWarQueryJetTest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -11932,15 +11932,21 @@ public override async Task Where_DateOnly_FromDateTime_compared_to_property(bool

public override async Task Where_DateOnly_FromDateTime_compared_to_constant_and_parameter(bool async)
{
await base.Where_DateOnly_FromDateTime_compared_to_constant_and_parameter(async);
//await base.Where_DateOnly_FromDateTime_compared_to_constant_and_parameter(async);

var prm = new DateOnly(102, 10, 11);

await AssertQuery(
async,
ss => ss.Set<CogTag>().Where(x => new[] { prm, new DateOnly(115, 3, 7) }.Contains(DateOnly.FromDateTime(x.IssueDate))));

AssertSql(
"""
@__prm_0='10/11/0002' (DbType = Date)
$"""
@__prm_0='0102-10-11T00:00:00.0000000' (DbType = Date)

SELECT [t].[Id], [t].[GearNickName], [t].[GearSquadId], [t].[IssueDate], [t].[Note]
FROM [Tags] AS [t]
WHERE CAST([t].[IssueDate] AS date) IN (@__prm_0, '0015-03-07')
SELECT `t`.`Id`, `t`.`GearNickName`, `t`.`GearSquadId`, `t`.`IssueDate`, `t`.`Note`
FROM `Tags` AS `t`
WHERE `t`.`IssueDate` IN ({AssertSqlHelper.Parameter("@__prm_0")}, #0115-03-07#)
""");
}

Expand Down
18 changes: 12 additions & 6 deletions test/EFCore.Jet.FunctionalTests/Query/TPTGearsOfWarQueryJetTest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -9625,15 +9625,21 @@ public override async Task Where_DateOnly_FromDateTime_compared_to_property(bool

public override async Task Where_DateOnly_FromDateTime_compared_to_constant_and_parameter(bool async)
{
await base.Where_DateOnly_FromDateTime_compared_to_constant_and_parameter(async);
//await base.Where_DateOnly_FromDateTime_compared_to_constant_and_parameter(async);

var prm = new DateOnly(102, 10, 11);

await AssertQuery(
async,
ss => ss.Set<CogTag>().Where(x => new[] { prm, new DateOnly(115, 3, 7) }.Contains(DateOnly.FromDateTime(x.IssueDate))));

AssertSql(
"""
@__prm_0='10/11/0002' (DbType = Date)
$"""
@__prm_0='0102-10-11T00:00:00.0000000' (DbType = Date)

SELECT [t].[Id], [t].[GearNickName], [t].[GearSquadId], [t].[IssueDate], [t].[Note]
FROM [Tags] AS [t]
WHERE CAST([t].[IssueDate] AS date) IN (@__prm_0, '0015-03-07')
SELECT `t`.`Id`, `t`.`GearNickName`, `t`.`GearSquadId`, `t`.`IssueDate`, `t`.`Note`
FROM `Tags` AS `t`
WHERE `t`.`IssueDate` IN ({AssertSqlHelper.Parameter("@__prm_0")}, #0115-03-07#)
""");
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ public ValueTask<bool> IsMetAsync()
isMet &= !TestEnvironment.IsCI;
}

return new ValueTask<bool>(isMet);
return ValueTask.FromResult(isMet);
}

public string SkipReason =>
Expand Down