Exemplo n.º 1
0
		public void ImportReferencesTest ()
		{
			var gen = new DummyTemplateGenerator ();
			string tmp = null;
			gen.ProcessTemplate (null, "<#@ assembly name=\"System.dll\" #>\n<#@ assembly name=\"System.Core.dll\" #>", ref tmp, out tmp);
			Assert.AreEqual (0, gen.Errors.Count, "ImportReferencesTest");
		}
Exemplo n.º 2
0
		public void TemplateGeneratorTest ()
		{
			var gen = new DummyTemplateGenerator ();
			string tmp = null;
			gen.ProcessTemplate (null, "<#@ template language=\"C#\" #>", ref tmp, out tmp);
			Assert.AreEqual (0, gen.Errors.Count, "ProcessTemplate");
		}