protected void WipeDatabaseClean() { // delete records from all databases customerDatabase.DeleteAllTestRecords(customer_company_year); biroside.DeleteAllTestRecords(customer_company_year); creditsDatabase.DeleteAllRecordsFromDatabase(partner_sifra); pluginCacheLogic.DeleteAllRecords(); }
public void Start() { birokrat.DeleteAllTestRecords(company_year); biroside.DeleteAllTestRecords(company_year); SSlike[] oznake = birokrat.AddTestRecordsToDatabase(company_year, "Avansni Racun"); client.SetProcessAutomaticSwitch(false); client.SetUnlockedThreshold(180); StartRecordsHost(new string[1]); Thread.Sleep(60 * 1000); StartRecordsHost(new string[1]); // now verify that half the records get cleaned and half don't }