Exemplo n.º 1
0
        public void Test_upToDate_info()
        {
            var sw = new Pdf24Creator(false, false, false, false);

            Assert.IsNotNull(sw);
            var info      = sw.info();
            var newerInfo = sw.searchForNewer();

            Assert.IsNotNull(newerInfo, "searchForNewer() returned null!");
            var known  = new Triple(info.newestVersion);
            var newest = new Triple(newerInfo.newestVersion);

            if (known < newest)
            {
                Assert.Inconclusive(
                    "Known newest version of " + info.Name + " is " + info.newestVersion
                    + ", but the current newest version is " + newerInfo.newestVersion + "!");
            }
        }
Exemplo n.º 2
0
        public void Test_implementsSearchForNewer()
        {
            var p24c = new Pdf24Creator(false, false, false, false);

            Assert.IsTrue(p24c.implementsSearchForNewer());
        }