public void TestThatPreCompileExecutesSuccessfully()
        {
            var operation = new PreCompileOperation("MyWebApp", @"C:\temp\MyWebApp", @"C:\temp\MyWebAppCompiled", _buildManager.Object);

            var status = new StatusReporter();
            operation.Execute(status, _settingsDefault, _token);

            Assert.That(status.HasErrors, Is.False);
            _buildManager.Verify(manager => manager.PrecompileApplication(It.IsAny<PreCompileCallback>()));
        }
Ejemplo n.º 2
0
        public void TestThatPreCompileExecutesSuccessfully()
        {
            var operation = new PreCompileOperation("MyWebApp", @"C:\temp\MyWebApp", @"C:\temp\MyWebAppCompiled", _buildManager.Object);

            var status = new StatusReporter();
            operation.Execute(status, new ConDepConfig(), new ConDepOptions(false, "", false, false, false, false, null));

            Assert.That(status.HasErrors, Is.False);
            _buildManager.Verify(manager => manager.PrecompileApplication(It.IsAny<PreCompileCallback>()));
        }