Exemple #1
0
        public static void LaunchLogoAppOnPrimaryDevice(PlatformName platform)
        {
            new ConsoleLogger();
            AppInfo app = AppBuilderTestExtensions.TryGetAlreadyBuiltApp("LogoApp", platform);

            app.LaunchAppOnPrimaryDevice();
        }
Exemple #2
0
        public static void LaunchLogoAppOnEmulatorDevice(PlatformName platform)
        {
            new ConsoleLogger();
            AppInfo app      = AppBuilderTestExtensions.TryGetAlreadyBuiltApp("LogoApp", platform);
            Device  emulator = app.AvailableDevices.FirstOrDefault(device => device.IsEmulator);

            app.LaunchAppOnDevice(emulator);
        }
        public void RequestRequild()
        {
            int     numberOfRequests = service.NumberOfBuildRequests;
            AppInfo app = AppBuilderTestExtensions.TryGetAlreadyBuiltApp("LogoApp", PlatformName.Windows);

            app.SolutionFilePath = SolutionExtensions.GetSamplesSolutionFilePath();
            viewModel.AppListViewModel.RequestRebuild(app);
            Assert.AreEqual(numberOfRequests + 1, service.NumberOfBuildRequests);
        }
        public void ShowViewWithLogoAppForWindows()
        {
            var     listViewModel = new BuiltAppsListViewModel(new MockSettings());
            AppInfo app           = AppBuilderTestExtensions.TryGetAlreadyBuiltApp("LogoApp", PlatformName.Windows);

            listViewModel.AddApp(app);
            var window = CreateVerifiableWindowFromViewModel(listViewModel);

            window.ShowDialog();
        }