Example #1
0
        public void LongImportTest(string importName)
        {
            string             fileName = CombineWithDataPath(importName);
            MyEntityContext    ctx      = Application.Context;
            ImportFromAtlcomru import   = new ImportFromAtlcomru()
            {
                FileName = fileName
            };

            import.Import();
            Assert.True(true);
        }
Example #2
0
        public void ImportTest(string importName)
        {
            string fileName = CombineWithDataPath(importName);

            ImportFromAtlcomru import = new ImportFromAtlcomru()
            {
                FileName = fileName
            };

            import.Import(onlyLoad: true);
            Assert.True(true);
        }
Example #3
0
        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);
        }