public void TestExportMethodShimadzu()
        {
            var testFilesDir = new TestFilesDir(TestContext, ZIP_FILE);
            var docPath = testFilesDir.GetTestPath("bgal.sky");
            var doc = ResultsUtil.DeserializeDocument(docPath);

            var outPath = testFilesDir.GetTestPath("out.lcm");
            var templatePath = testFilesDir.GetTestPath("40.lcm");
            var exporter = new ShimadzuMethodExporter(doc) {RunLength = 30};
            exporter.ExportMethod(outPath, templatePath, null);

            Assert.AreEqual(540672, new FileInfo(outPath).Length);
        }
Пример #2
0
        public void TestExportMethodShimadzu()
        {
            var testFilesDir = new TestFilesDir(TestContext, ZIP_FILE);
            var docPath      = testFilesDir.GetTestPath("bgal.sky");
            var doc          = ResultsUtil.DeserializeDocument(docPath);

            var outPath      = testFilesDir.GetTestPath("out.lcm");
            var templatePath = testFilesDir.GetTestPath("40.lcm");
            var exporter     = new ShimadzuMethodExporter(doc)
            {
                RunLength = 30
            };

            exporter.ExportMethod(outPath, templatePath, null);

            Assert.AreEqual(540672, new FileInfo(outPath).Length);
        }