fix(localdb): DI review fixes — onReady leak guard, BusyTimeoutMs ctor guard, shared allow-list
This commit is contained in:
@@ -141,6 +141,13 @@ public sealed class SqliteLocalDbTests : IDisposable
|
||||
Assert.Throws<ArgumentException>(() => new SqliteLocalDb(new LocalDbOptions { Path = " " }));
|
||||
}
|
||||
|
||||
[Fact]
|
||||
public void Ctor_NonPositiveBusyTimeout_Throws()
|
||||
{
|
||||
Assert.Throws<ArgumentException>(() =>
|
||||
new SqliteLocalDb(new LocalDbOptions { Path = _path, BusyTimeoutMs = 0 }));
|
||||
}
|
||||
|
||||
[Fact]
|
||||
public void Ctor_InvalidSynchronous_Throws()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user