public void TestReadFromFileConstruction2()
        {
            ItemInfoListOldReader reader = new ItemInfoListOldReader("DatFiles");
            ItemInfoList          lst    = reader.ReadFromFile(TestContext.CurrentContext.TestDirectory + "/../../../data/ListFileFormatOld.lst");

            Assert.AreEqual(1, lst.Count);

            Assert.AreEqual(@"D:\inetpub\mascot\data\20081223\F001237.dat", lst[0].SubItems[0]);
            Assert.AreEqual("20081204_F17_NoModif.mgf", lst[0].SubItems[1]);
            Assert.AreEqual("1", lst[0].SubItems[2]);
            Assert.AreEqual(false, lst[0].Selected);
        }
        public void TestReadFromFile()
        {
            ItemInfoListNewReader reader = new ItemInfoListNewReader("Items");
            ItemInfoList          lst    = reader.ReadFromFile(TestContext.CurrentContext.TestDirectory + "/../../../data/ListFileFormatNew.lst");

            Assert.AreEqual(2, lst.Count);

            Assert.AreEqual(@"Z:\GK_PPN\GKPPN_iTRAQ_SAX_114115_AP_treat\GKPPN_114_115AP+_500ug_SAX_1", lst[0].SubItems[0]);
            Assert.AreEqual("SEQUEST", lst[0].SubItems[1]);
            Assert.AreEqual(true, lst[0].Selected);

            Assert.AreEqual(@"Z:\GK_PPN\GKPPN_iTRAQ_SAX_114115_AP_treat\GKPPN_114_115AP+_500ug_SAX_2", lst[1].SubItems[0]);
            Assert.AreEqual(false, lst[1].Selected);
        }
        public void TestReadFromFileConstruction1()
        {
            ItemInfoListOldReader reader = new ItemInfoListOldReader();
            ItemInfoList          lst    = reader.ReadFromFile(TestContext.CurrentContext.TestDirectory + "/../../../data/ListFileFormatOld.lst");

            Assert.AreEqual(2, lst.Count);

            Assert.AreEqual(@"Z:\Orbitrap\060222\Standard_Protein_FIT_060222", lst[0].SubItems[0]);
            Assert.AreEqual("SEQUEST", lst[0].SubItems[1]);
            Assert.AreEqual(false, lst[0].Selected);

            Assert.AreEqual(@"Z:\Orbitrap\060222\Standard_Protein_FIT_Lock", lst[1].SubItems[0]);
            Assert.AreEqual(true, lst[1].Selected);
        }