Esempio n. 1
0
        public void VfsIntegrationTest()
        {
            // Arrange
            string appName = "VfsIntegrationTest";

            ApplicationManager.Run(appName, appManager =>
            {
                VfsControllerBaseTest suite = new VfsControllerBaseTest(appManager.VfsManager, testConflictingUpdates: false);

                // Act + Assert
                suite.RunIntegrationTest().Wait();
            });
        }
        public void VfsScmIntegrationTest()
        {
            // Arrange
            string appName = KuduUtils.GetRandomWebsiteName("VfsScmIntegrationTest");

            ApplicationManager.Run(appName, appManager =>
            {
                VfsControllerBaseTest suite = new VfsControllerBaseTest(appManager.LiveScmVfsManager, testConflictingUpdates: true);

                // Act + Assert
                suite.RunIntegrationTest();
            });
        }
        public async Task VfsScmIntegrationTest()
        {
            // Arrange
            string appName = "VfsScmIntegrationTest";

            await ApplicationManager.RunAsync(appName, async appManager =>
            {
                VfsControllerBaseTest suite = new VfsControllerBaseTest(appManager.LiveScmVfsManager, testConflictingUpdates: true, deploymentClient: appManager.VfsManager);

                // Act + Assert
                await suite.RunIntegrationTest();
            });
        }