public void create_UIMF_IsosTextExporterTest1() { if (File.Exists(exporterFactoryUIMFTextFile1)) { File.Delete(exporterFactoryUIMFTextFile1); } var exporter = MSFeatureExporterFactory.CreateMSFeatureExporter(DeconTools.Backend.Globals.ExporterType.Text, DeconTools.Backend.Globals.MSFileType.PNNL_UIMF, exporterFactoryUIMFTextFile1); Assert.AreEqual(typeof(MSFeatureToTextFileExporterUIMF), exporter.GetType()); var fileWasCreated = (File.Exists(exporterFactoryUIMFTextFile1)); Assert.AreEqual(true, fileWasCreated); }
public void create_basic_IsosTextExporterTest1() { var x = exporterFactoryBasicTextFile1; if (File.Exists(x)) { File.Delete(x); } var exporter = MSFeatureExporterFactory.CreateMSFeatureExporter(DeconTools.Backend.Globals.ExporterType.Text, DeconTools.Backend.Globals.MSFileType.Finnigan, x); Assert.AreEqual(typeof(MSFeatureToTextFileExporterBasic), exporter.GetType()); var fileWasCreated = (File.Exists(x)); Assert.AreEqual(true, fileWasCreated); }