public void TestGetRevisionProperty()
        {
            list.Clear();
            P4Connector connector = new P4Connector();
            connector.NewChange += CollectChangeSet;
            connector.Error += connector_Error;

            connector.Configure((Config["Port"].InnerText), (Config["User"].InnerText), (Config["Password"].InnerText));
            connector.DetectNewChanges(Config["View"].InnerText, 0);
            connector.Dispose();

            P4ChangeSetEventArgs cs = list[25];
            Assert.AreEqual("rozhnev", cs.User);
            Assert.AreEqual("Effort done\n", cs.Message);
            Assert.AreEqual(new DateTime(2008, 07, 07, 23, 30, 32), cs.ChangeDate);
            Assert.AreEqual(381537, cs.Change);
            Assert.AreEqual(1, cs.Files.Count);
            Assert.AreEqual("//depot/VersionOne/JSDK/Doc/Status/VersionOne tracking.xls", cs.Files[0]);

            cs = list[208];
            Assert.AreEqual("Solomin", cs.User);
            Assert.AreEqual("testing -----------testB-01382test\n", cs.Message);
            Assert.AreEqual(new DateTime(2008, 09, 22, 12, 06, 51), cs.ChangeDate);
            Assert.AreEqual(403312, cs.Change);
            Assert.AreEqual(2, cs.Files.Count);
            Assert.AreEqual("//depot/VersionOne/JSDK/Doc/Status/todoVersionOne.txt", cs.Files[0]);
            Assert.AreEqual("//depot/VersionOne/JSDK/Src/AllTestsDone-ver/todo.txt", cs.Files[1]);

            list.Clear();
        }
        public void Bar()
        {
            var connector = new P4Connector();
            connector.NewChange += LogChangeSet;
            connector.Error += connector_Error;
            connector.Configure(Config["Port"].InnerText, Config["User"].InnerText, Config["Password"].InnerText);
            connector.DetectNewChanges(Config["View"].InnerText, 0);

            connector.Dispose();
        }