BloomTests.UpdateVersionTableTests.LookupURLOfUpdate_CanReadTableForAlphaFromServer C# (CSharp) Method

LookupURLOfUpdate_CanReadTableForAlphaFromServer() private method

private LookupURLOfUpdate_CanReadTableForAlphaFromServer ( ) : void
return void
        public void LookupURLOfUpdate_CanReadTableForAlphaFromServer()
        {
            var t = new UpdateVersionTable();
            t.URLOfTable = "http://bloomlibrary.org/channels/UpgradeTableAlpha.txt";
            t.RunningVersion = Version.Parse("2.0.2000");
            //the full result will be something like
            //"https://s3.amazonaws.com/bloomlibrary.org/deltasAlpha"
            //this just checks the part that is less likely to break (independent of channel)
            Assert.That(t.LookupURLOfUpdate().URL.StartsWith("https://s3.amazonaws.com/bloomlibrary.org/deltas"));
        }