Exemple #1
0
        public void HomeAbout_Template_NullParameter_Test()
        {
            var template = new HomeAbout(null);
            var output   = template.TransformText();

            Assert.NotNull(output);
            Assert.NotEmpty(output);
        }
Exemple #2
0
        public void HomeAbout_Template_Test()
        {
            var template = new HomeAbout(new SmartAppInfo {
                Id = ApplicationId
            });
            var output = template.TransformText();

            Assert.NotNull(output);
            Assert.NotEmpty(output);
        }
Exemple #3
0
        private void TransformViewsHomeHomeAbout(SmartAppInfo manifest)
        {
            var template = new HomeAbout(manifest);

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