public XMLFileCreator(string output, Encoding encode) { this.dataGenerator = new RandomDataGenerator(); this.catalogGenerator = new CatalogGenerator(this.dataGenerator); this.outputPath = output; encoding = encode; }
public void GenerateCatalogTest() { var testPath = "../../../TestData/CatalogFromRevit.json"; CatalogGenerator.FromUri(testPath, "../"); Assert.True(File.Exists("../SampleCatalog.g.cs")); Assert.Contains("public static List<ContentElement> All = new List<ContentElement>", File.ReadAllText("../SampleCatalog.g.cs")); }
public void GenerateCatalogTest() { var testPath = "../../../TestData/CatalogFromRevit.json"; CatalogGenerator.FromUri(testPath, "../../../"); }