Exemplo n.º 1
0
 protected AbstractTemplate(string begin, string end)
 {
     _begin  = begin;
     _end    = end;
     _engine = TemplateEngine.CreateInstance();
 }
Exemplo n.º 2
0
        public void TestPathDefault()
        {
            TemplateEngine engine = TemplateEngine.CreateInstance();

            Assert.IsTrue(engine.Path.EndsWith(@"\Services\UnitTest.Template\bin\Debug", StringComparison.OrdinalIgnoreCase));
        }
Exemplo n.º 3
0
        public void TestPathAssigned()
        {
            TemplateEngine engine = TemplateEngine.CreateInstance(@"..\..\Examples");

            Assert.IsTrue(engine.Path.EndsWith(@"\Services\UnitTest.Template\Examples", StringComparison.OrdinalIgnoreCase));
        }
Exemplo n.º 4
0
 public void SetUp()
 {
     _engine = TemplateEngine.CreateInstance(@"..\..\Examples");
 }