Exemplo n.º 1
0
        public void ValidationScriptsPartial_Template_NullParameter_Test()
        {
            var template = new ValidationScriptsPartial(null);
            var output   = template.TransformText();

            Assert.NotNull(output);
            Assert.NotEmpty(output);
        }
Exemplo n.º 2
0
        private void TransformViewsSharedValidationScriptsPartial(SmartAppInfo manifest)
        {
            var template = new ValidationScriptsPartial(manifest);

            _writingService.WriteFile(Path.Combine(_context.BasePath, template.OutputPath), template.TransformText());
        }