예제 #1
0
        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();
        }
예제 #2
0
        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();
        }