private static void RunAsyncTests() { var tester = new TestsAsync(); Console.Write("Running TableNameAsync"); Task.WaitAll(tester.TableNameAsync()); Console.WriteLine(" - OK!"); Console.Write("Running TestSimpleGetAsync"); Task.WaitAll(tester.TestSimpleGetAsync()); Console.WriteLine(" - OK!"); Console.Write("Running InsertGetUpdateAsync"); Task.WaitAll(tester.InsertGetUpdateAsync()); Console.WriteLine(" - OK!"); Console.Write("Running InsertCheckKeyAsync"); Task.WaitAll(tester.InsertCheckKeyAsync()); Console.WriteLine(" - OK!"); Console.Write("Running BuilderSelectClauseAsync"); Task.WaitAll(tester.BuilderSelectClauseAsync()); Console.WriteLine(" - OK!"); Console.Write("Running BuilderTemplateWOCompositionAsync"); Task.WaitAll(tester.BuilderTemplateWOCompositionAsync()); Console.WriteLine(" - OK!"); Console.Write("Running InsertFieldWithReservedNameAsync"); Task.WaitAll(tester.InsertFieldWithReservedNameAsync()); Console.WriteLine(" - OK!"); Console.Write("Running DeleteAllAsync"); Task.WaitAll(tester.DeleteAllAsync()); Console.WriteLine(" - OK!"); }
private static void RunAsyncTests() { var tester = new TestsAsync(); Console.Write("Running TableNameAsync"); Task.WaitAll(tester.TableNameAsync()); Console.WriteLine(" - OK!"); Console.Write("Running TestSimpleGetAsync"); Task.WaitAll(tester.TestSimpleGetAsync()); Console.WriteLine(" - OK!"); Console.Write("Running InsertGetUpdateAsync"); Task.WaitAll(tester.InsertGetUpdateAsync()); Console.WriteLine(" - OK!"); Console.Write("Running InsertCheckKeyAsync"); Task.WaitAll(tester.InsertCheckKeyAsync()); Console.WriteLine(" - OK!"); Console.Write("Running BuilderSelectClauseAsync"); Task.WaitAll(tester.BuilderSelectClauseAsync()); Console.WriteLine(" - OK!"); Console.Write("Running BuilderTemplateWOCompositionAsync"); Task.WaitAll(tester.BuilderTemplateWOCompositionAsync()); Console.WriteLine(" - OK!"); Console.Write("Running InsertFieldWithReservedNameAsync"); Task.WaitAll(tester.InsertFieldWithReservedNameAsync()); Console.WriteLine(" - OK!"); Console.Write("Running DeleteAllAsync"); Task.WaitAll(tester.DeleteAllAsync()); Console.WriteLine(" - OK!"); }