/
dev-npgsql
/
npgsql
Обзор
Документация
Войти
/
dev-npgsql
/
npgsql
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
Безопасность
test-logs
test/Npgsql.Specification.Tests/NpgsqlConnectionTests.cs
20 строк
942 B
Brian Pursley
Enable Npgsql.Specification.Tests in the build pipeline (#6504)
19 мар 2026, 09:46
Не верифицирован
19 мар 2026, 09:46
ba83963
Код
Авторство
О чём код?
using System.Threading.Tasks; using AdoNet.Specification.Tests; using Xunit; namespace Npgsql.Specification.Tests; public sealed class NpgsqlConnectionTests(NpgsqlDbFactoryFixture fixture) : ConnectionTestBase<NpgsqlDbFactoryFixture>(fixture) { // Skipped tests mark places where Npgsql currently diverges from AdoNet.Specification.Tests expectations. // Some divergences may be by design; others may indicate compatibility gaps worth investigating. [Fact(Skip = "NpgsqlConnection does not support the Disposed event")] public override void Dispose_raises_Disposed() {} [Fact(Skip = "NpgsqlConnection does not support the Disposed event")] public override Task DisposeAsync_raises_Disposed() => Task.CompletedTask; [Fact(Skip = "NpgsqlConnection.OpenAsync() does not throw OperationCanceledException when a canceled token is passed")] public override Task OpenAsync_is_canceled() => Task.CompletedTask; }