Class BaseControlAssert<T>
Inheritance
System.Object
BaseControlAssert<T>
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: ArtOfTest.WebAii.Controls
Assembly: ArtOfTest.WebAii.dll
Syntax
public abstract class BaseControlAssert<T>
where T : Control
Type Parameters
T
|
Constructors
BaseControlAssert()
Declaration
public BaseControlAssert()
BaseControlAssert(T)
Declaration
public BaseControlAssert(T control)
Parameters
T
control
|
Fields
NotFound
Declaration
protected static readonly string NotFound
Field Value
System.String
|
Properties
Target
Declaration
public T Target { get; set; }
Property Value
T
|
Methods
Assert(Boolean, String, String, String)
Declaration
protected bool Assert(bool condition, string message, string expected, string actual)
Parameters
System.Boolean
condition
|
System.String
message
|
System.String
expected
|
System.String
actual
|
Returns
System.Boolean
|
Assert(Boolean, String, String, String, Boolean)
Declaration
protected bool Assert(bool condition, string message, string expected, string actual, bool throwAssert)
Parameters
System.Boolean
condition
|
System.String
message
|
System.String
expected
|
System.String
actual
|
System.Boolean
throwAssert
|
Returns
System.Boolean
|
AssertNumber(Int32, Int32, NumberCompareType, Boolean)
Declaration
protected bool AssertNumber(int leftPortion, int rightPortion, NumberCompareType compareType, bool throwOnFailure = true)
Parameters
System.Int32
leftPortion
|
System.Int32
rightPortion
|
NumberCompareType
compareType
|
System.Boolean
throwOnFailure
|
Returns
System.Boolean
|
AssertString(String, String, StringCompareType, Boolean)
Declaration
protected bool AssertString(string expected, string actual, StringCompareType compareType, bool throwOnFailure = true)
Parameters
System.String
expected
|
System.String
actual
|
StringCompareType
compareType
|
System.Boolean
throwOnFailure
|
Returns
System.Boolean
|
NumberCompare(Int32, Int32, NumberCompareType)
Declaration
public static bool NumberCompare(int leftPortion, int rightPortion, NumberCompareType compareType)
Parameters
System.Int32
leftPortion
|
System.Int32
rightPortion
|
NumberCompareType
compareType
|
Returns
System.Boolean
|
NumberCompareRange(Int32, Int32, Int32, NumberRangeCompareType)
Declaration
public static bool NumberCompareRange(int number, int lowerEnd, int upperEnd, NumberRangeCompareType compareType)
Parameters
System.Int32
number
|
System.Int32
lowerEnd
|
System.Int32
upperEnd
|
NumberRangeCompareType
compareType
|
Returns
System.Boolean
|
StringCompare(String, String, StringCompareType)
Declaration
public static bool StringCompare(string a, string b, StringCompareType compareType)
Parameters
System.String
a
|
System.String
b
|
StringCompareType
compareType
|
Returns
System.Boolean
|