public void Address_Changing_Test2() { TabAndTab.Browser testBrowser = new TabAndTab.Browser(@"C:\"); testBrowser.AddressChanging(@"C:\Program files"); Assert.AreEqual(@"C:\Program files", testBrowser.Address); }
public void GoForward_Test() { TabAndTab.Browser testBrowser = new TabAndTab.Browser(@"C:\"); testBrowser.AddressChanging(@"C:\Program files"); testBrowser.AddressChanging(@"C:\Windows"); testBrowser.GoBack(); testBrowser.GoForward(); Assert.AreEqual(@"C:\Windows", testBrowser.Address); }
public void Browser_Init_Test() { TabAndTab.Browser testBrowser = new TabAndTab.Browser(@"C:\"); Assert.AreEqual(@"C:\", testBrowser.Address); }
public void Address_Changing_Test1() { TabAndTab.Browser testBrowser = new TabAndTab.Browser("TEST"); Assert.AreEqual("Wrong Page", testBrowser.Address); }