public async Task TestSqLiteAsync() { await TestBase.StoreTests.RunAll(async() => { const string filePath = "test.db"; if (File.Exists(filePath)) { File.Delete(filePath); } var db = new SqLiteAnalyticStore($"Data Source = {filePath}"); return(db); }, async() => { const string filePath = "testGeo.db"; if (File.Exists(filePath)) { File.Delete(filePath); } var db = new SqliteGeoIpResolver(filePath); await db.PurgeGeoIpAsync(); return(db); }); }
public async Task TestSqLiteAsync() { await TestBase.StoreTests.RunAll(async() => { const string filePath = "test.db"; var db = new SqLiteAnalyticStore(filePath); await db.PurgeRequestAsync(); await db.PurgeGeoIpAsync(); return(db); }); }