public void LongImportTest(string importName) { string fileName = CombineWithDataPath(importName); MyEntityContext ctx = Application.Context; ImportFromAtlcomru import = new ImportFromAtlcomru() { FileName = fileName }; import.Import(); Assert.True(true); }
public void ImportTest(string importName) { string fileName = CombineWithDataPath(importName); ImportFromAtlcomru import = new ImportFromAtlcomru() { FileName = fileName }; import.Import(onlyLoad: true); Assert.True(true); }
public void LongImportTest(string importName) { string fileName = CombineWithDataPath(importName); Console.WriteLine("Importing : " + fileName); MyEntityContext ctx = Application.Context; ImportFromAtlcomru import = new ImportFromAtlcomru() // Сделать импорт данных { FileName = fileName }; if (DO_REAL_IMPORT) { import.Import(); } else { Console.WriteLine("Doing FAKE import"); } Assert.True(true); }