public void CheckForUpdatesAsyncTest()
        {
            target = new UpdateChecker(@"https://tikzedt.googlecode.com/svn/trunk/VersionInfo.xml");
            target.Status += (s, e) => statusargs = e;
            target.Success += (s, e) => successargs = e;
            successargs = null;
            statusargs = null;

            bool expected = true;
            bool actual;
            actual = target.CheckForUpdatesAsync();
            Assert.AreEqual(expected, actual);

            Assert.IsNotNull(successargs);
            Assert.IsNotNull(statusargs);

            Assert.IsFalse(statusargs.HasFailed);            
            Assert.IsTrue(Uri.IsWellFormedUriString(successargs.DownloadURL, UriKind.Absolute));
            Assert.IsTrue(Uri.IsWellFormedUriString(successargs.WebpageURL, UriKind.Absolute));

        }
        public void CheckForUpdatesAsync_Fail_Test()
        {
            target = new UpdateChecker( @"https://tikzedt.googlecode.com/svn/trunk/junk.junk");
            target.Status += (s, e) => statusargs = e;
            target.Success += (s, e) => successargs = e;
            successargs = null;
            statusargs = null;

            bool expected = true;
            bool actual;
            actual = target.CheckForUpdatesAsync();
            Assert.AreEqual(expected, actual);

            Assert.IsNull(successargs);
            Assert.IsNotNull(statusargs);

            Assert.IsTrue(statusargs.HasFailed);            
        }