Exemple #1
0
        public void Test_SIE_ExportData()
        {
            var connector = new SIEConnector();

            var data = connector.ExportSIE(SIEType.SIE3);

            MyAssert.HasNoError(connector);
            Assert.IsTrue(data.Length > 0);
        }
Exemple #2
0
        public void Test_SIE_ExportToFile()
        {
            var tmpPath   = TestUtils.GetTempFilePath();
            var connector = new SIEConnector();

            connector.ExportSIE(SIEType.SIE3, tmpPath);
            MyAssert.HasNoError(connector);
            Assert.IsTrue(File.Exists(tmpPath) && new FileInfo(tmpPath).Length > 0);

            File.Delete(tmpPath);
        }