Esempio n. 1
0
 public void SetUpClass()
 {
     // Using FileSystemTemplateCache in this tests
     string cacheFolder = Path.Combine(Path.GetDirectoryName(Assembly.GetExecutingAssembly().Location), "Template Cache");
     if (!Directory.Exists(cacheFolder))
     {
         Directory.CreateDirectory(cacheFolder);
     }
     cache = new FileSystemTemplateCache(cacheFolder, true, typeof(TALDefineTests).Name + "_{key}.dll");
 }
 public void SetUpClass()
 {
     // Using MemoryTemplateCache in this tests
     cache = new MemoryTemplateCache();
 }