static public async Task ClassInit(TestContext context) #endif { if (app==null) { app = new KZApplication(Constants.MarketplaceUrl, Constants.AppName); await app.Initialize(); var user = await app.Authenticate(Constants.User, Constants.Password, Constants.Provider); } if (queryDataSrc == null) { queryDataSrc = app.DataSource["test-query"]; } if (invokeDataSrc == null) { invokeDataSrc = app.DataSource["test-operation"]; } EnqueueTestComplete(); }
static public async Task ClassInit(TestContext context) #endif { if (app == null) { app = new KZApplication(Constants.MarketplaceUrl, Constants.AppName); await app.Initialize(); var user = await app.Authenticate(Constants.User, Constants.Password, Constants.Provider); } if (queryDataSrc == null) { queryDataSrc = app.DataSource["test-query"]; } if (invokeDataSrc == null) { invokeDataSrc = app.DataSource["test-operation"]; } EnqueueTestComplete(); }