コード例 #1
0
 public void AssertFieldValueIsCorrect(string field, string value)
 {
     switch (field)
     {
     case "Search in":
         AssertionUtil.AssertEquals(value, FindFilesView.TextBoxSearchIn.Name, "Search in field value is incorrect");
         break;
     }
 }
コード例 #2
0
 public void AssertThenOnlyItemIsFound(string filename)
 {
     AssertionUtil.AssertEquals(FindFilesView.ListBoxSearchResults.Items.Count, 2, "Results list size is incorrect");
     AssertionUtil.AssertNotNull(FindFilesView.ListItemSearchResultsCount(1, 0), "Count is incorrect");
     AssertionUtil.AssertNotNull(FindFilesView.ListItemSearchResult(filename), "Found item is incorrect");
 }
コード例 #3
0
 public void AssertTabItemIsSelected(string tabItem)
 {
     AssertionUtil.AssertEquals(FindFilesView.TabFindFiles.SelectedTab.Name, tabItem, "Incorrect tab is selected");
 }