Beispiel #1
0
        public void Export_Schema_Data()
        {
            TextContent news1 = new TextContent(repository.Name, newsSchema.Name, textFolder.FullName);

            news1["Title"] = "title1";
            news1["body"]  = "body1";
            provider.Add(news1);

            var news = provider.ExportSchemaData(newsSchema);


            Assert.IsTrue(news.Count() > 1);
        }
        public void Test_ExportSchemaData()
        {
            provider.Add(news1);
            provider.Add(category1);
            provider.AddCategories(news1, categories);

            var list = provider.ExportSchemaData(newsSchema);

            provider.DeleteCategories(news1, categories);
            provider.Delete(news1);
            provider.Delete(category1);

            Assert.IsNotNull(list);
        }
 public void TestExport()
 {
     var news         = textContentProvider.ExportSchemaData(newsSchema).ToArray();
     var categoryData = textContentProvider.ExportCategoryData(repository).ToArray();
 }