Пример #1
0
        public void TestGetUpdateInfo()
        {
            try
            {
                Guid        guid    = new Guid("5fd3560a-0efd-4e48-9df9-c4fa3f44ba15");
                Application appInfo = m_TNTClient.GetApplicationInfo(guid);

                Assert.IsNotNull(appInfo);
                Assert.AreEqual(guid, appInfo.ID);
                Assert.AreEqual("3.3.27.36", appInfo.Version.Trim());
                Assert.AreEqual(new Uri("http://landscapesprinklerdesign.com/downloads/lsdsetup_3.3.27.36.exe"), appInfo.URL);
            }
            catch (Exception ex)
            {
                Assert.Fail(ex.Message);
            }
        }