示例#1
0
        public void Program_Template_NullParameter_Test()
        {
            var template = new ProgramTemplate(null);

            Assert.Throws <NullReferenceException>(() => template.TransformText());
        }
示例#2
0
        private void TransformProgramTemplate(SmartAppInfo manifest)
        {
            var template = new ProgramTemplate(manifest);

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