public void getFaviconTest() { var target = new BrowserContainerModel(); // TODO: Initialize to an appropriate value Image value = null; // TODO: Initialize to an appropriate value BitmapImage expected = null; // TODO: Initialize to an appropriate value BitmapImage actual; actual = target.GetFavicon(value); Assert.AreEqual(expected, actual); //Assert.Inconclusive("Verify the correctness of this test method."); }
/// <summary> /// Set the Web page title and Favicon to the Tab Item header /// </summary> public void SetWebPageTitleNFavicon() { try { Favicon = new BrowserContainerModel().GetFavicon(new BrowserContainerModel().GetImageSource(Url)); WebPageTitle = new BrowserContainerModel().GetWebPageTitle(Url.AbsoluteUri); } catch (Exception ex) { Log.ErrorLog(ex); ShowMessageBoxDetails(ex.Message, "Error", Visibility.Collapsed, MessageBoxIcon.Error); throw; } }