forked from florentbr/SeleniumBasic
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path_Assert.cs
More file actions
38 lines (26 loc) · 1.49 KB
/
_Assert.cs
File metadata and controls
38 lines (26 loc) · 1.49 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
using System;
using System.ComponentModel;
using System.Runtime.InteropServices;
namespace Selenium.ComInterfaces {
#pragma warning disable 1591
[Guid("0277FC34-FD1B-4616-BB19-0EA52ACB97D1")]
[ComVisible(true), InterfaceType(ComInterfaceType.InterfaceIsIDispatch)]
public interface _Assert {
[DispId(564), Description("Raise an error if the value is true.")]
void True(bool value, string failmessage = null);
[DispId(567), Description("Raise an error if the value is false.")]
void False(bool value, string failmessage = null);
[DispId(574), Description("Raise an error if the objects are not equal.")]
void Equals(object expected, object input, string failmessage = null);
[DispId(579), Description("Raise an error if the objects are equal.")]
void NotEquals(object expected, object input, string failmessage = null);
[DispId(583), Description("Raise an error if the text matches the pattern.")]
void Matches(string pattern, string input, string failmessage = null);
[DispId(587), Description("Raise an error if the text does not match the pattern.")]
void NotMatches(string pattern, string input, string failmessage = null);
[DispId(589), Description("Raise an error if the text does not contain the value.")]
void Contains(string value, string input, string failmessage = null);
[DispId(608), Description("Raise an error.")]
void Fail(string message = null);
}
}