TestClassExtensions Members

The TestClassExtensions type exposes the following members.

Methods


  Name Description
Public method Static member CallGenericMethod
Calls the generic method.
Public method Static member EnsureNullCheckThrown(Action, String, String, Action<(Of <<'(String>)>>))
Ensures the null check thrown.
Public method Static member EnsureNullCheckThrown(Action, String, String, ITestOutputHelper)
Ensures the null check thrown.
Public method Static member GetDefaultValue
Gets the default value.
Public method Static member GetField<(Of <<'(TObject>)>>)
Gets the field.
Public method Static member GetFieldInfo<(Of <<'(TType>)>>)
Gets the field information.
Public method Static member GetFieldValue<(Of <<'(T>)>>)(Object, FieldInfo)
Gets the field value.
Public method Static member GetFieldValue<(Of <<'(TObject>)>>)(TObject, String, TObject)
Gets the field value.
Public method Static member GetFieldValue<(Of <<'(T, TType>)>>)(Object, String)
Gets the field value.
Public method Static member GetMember<(Of <<'(T, TValue>)>>)
Gets the property value based on lambda.
Public method Static member GetMemberExpression(Expression)
Gets the member expression.
Public method Static member GetMemberExpression<(Of <<'(T>)>>)(Expression<(Of <<'(T>)>>))
Gets the member expression.
Public method Static member GetMemberName(Expression)
Gets the name of the member.
Public method Static member GetMemberName<(Of <<'(T, TValue>)>>)(T, Expression<(Of <<'(Func<(Of <<'(T, TValue>)>>)>)>>))
Gets the name of the member.
Public method Static member GetMethod<(Of <<'(TObject>)>>)
Gets the method.
Public method Static member GetMethodValue<(Of <<'(TObject>)>>)
Gets the method value.
Public method Static member GetProperty<(Of <<'(TObject>)>>)
Gets the property.
Public method Static member GetPropertyValue<(Of <<'(TObject>)>>)
Gets the property value.
Public method Static member GetTestData
Gets the test data.
Public method Static member GetTypeFromInterface
Gets the type from interface.
Public method Static member SetFieldValue<(Of <<'(TObject>)>>)
Sets the field value.
Public method Static member SetPropertyValue<(Of <<'(TObject>)>>)
Sets the property value.