示例#1
0
文件: ComboBoxTests.cs 项目: zyme/JDI
 public void IsSelectedEnumTest()
 {
     Assert.AreEquals(MetalsControl.Selected(Col), true);
 }
示例#2
0
文件: ComboBoxTests.cs 项目: zyme/JDI
 public void GetValueTest()
 {
     Assert.AreEquals(MetalsControl.Value, "Col");
 }
示例#3
0
 public void GetSelectedTest()
 {
     Assert.AreEquals(ColorsControl.Selected(), "Colors");
 }
示例#4
0
文件: ComboBoxTests.cs 项目: zyme/JDI
 public void IsSelectedTest()
 {
     Assert.AreEquals(MetalsControl.Selected("Col"), true);
 }
示例#5
0
 public void GetOptionsAsTextTest()
 {
     Assert.AreEquals(ColorsControl.OptionsAsText, "Colors, Red, Green, Blue, Yellow");
 }
示例#6
0
 public void GetNameTest()
 {
     Assert.AreEquals(ColorsControl.Name, "Colors");
 }
示例#7
0
 public void GetValuesTest()
 {
     Assert.CollectionEquals(ColorsControl.Values, OddOptions);
 }
示例#8
0
 public void GetValueTest()
 {
     Assert.AreEquals(ColorsControl.Value, "Colors");
 }
示例#9
0
 public void IsSelectedEnumTest()
 {
     Assert.AreEquals(ColorsControl.Selected(Colors.Colors), true);
 }
示例#10
0
文件: WaiterTests.cs 项目: zyme/JDI
 public void WaitRowsTimeoutTest()
 {
     HomePage.IsOpened();
     RunParallel(() => SupportPage.IsOpened());
     Assert.IsFalse(Table.WaitRows(7));
 }
示例#11
0
文件: WaiterTests.cs 项目: zyme/JDI
 public void WaitRowsTest()
 {
     HomePage.IsOpened();
     RunParallel(() => SupportPage.IsOpened());
     Assert.IsTrue(Table.WaitRows(6));
 }