C# 클래스 IronFramework.TestCommon.Assert

상속: Xunit.Assert
파일 보기 프로젝트 열기: megadotnet/ironframework

공개 프로퍼티들

프로퍼티 타입 설명
GenericType GenericTypeAssert
Http HttpAssert
MediaType MediaTypeAssert
Reflection ReflectionAssert
Serializer SerializerAssert
Stream StreamAssert
Task TaskAssert
Type TypeAssert
Xml XmlAssert

공개 메소드들

메소드 설명
Equal ( string expected, string actual, bool ignoreCase = false, bool ignoreLineEndingDifferences = false, bool ignoreWhiteSpaceDifferences = false ) : void

Verifies that two strings are equivalent.

비공개 메소드들

메소드 설명
IsLineEnding ( char c ) : bool
IsWhiteSpace ( char c ) : bool
SkipLineEnding ( string value, int index ) : int
SkipWhitespace ( string value, int index ) : int

메소드 상세

Equal() 공개 정적인 메소드

Verifies that two strings are equivalent.
Thrown when the strings are not equivalent.
public static Equal ( string expected, string actual, bool ignoreCase = false, bool ignoreLineEndingDifferences = false, bool ignoreWhiteSpaceDifferences = false ) : void
expected string The expected string value.
actual string The actual string value.
ignoreCase bool If set to true, ignores cases differences. The invariant culture is used.
ignoreLineEndingDifferences bool If set to true, treats \r\n, \r, and \n as equivalent.
ignoreWhiteSpaceDifferences bool If set to true, treats spaces and tabs (in any non-zero quantity) as equivalent.
리턴 void

프로퍼티 상세

GenericType 공개적으로 정적으로 프로퍼티

public static GenericTypeAssert GenericType
리턴 GenericTypeAssert

Http 공개적으로 정적으로 프로퍼티

public static HttpAssert,IronFramework.TestCommon Http
리턴 HttpAssert

MediaType 공개적으로 정적으로 프로퍼티

public static MediaTypeAssert,IronFramework.TestCommon MediaType
리턴 MediaTypeAssert

Reflection 공개적으로 정적으로 프로퍼티

public static ReflectionAssert Reflection
리턴 ReflectionAssert

Serializer 공개적으로 정적으로 프로퍼티

public static SerializerAssert Serializer
리턴 SerializerAssert

Stream 공개적으로 정적으로 프로퍼티

public static StreamAssert Stream
리턴 StreamAssert

Task 공개적으로 정적으로 프로퍼티

public static TaskAssert Task
리턴 TaskAssert

Type 공개적으로 정적으로 프로퍼티

public static TypeAssert Type
리턴 TypeAssert

Xml 공개적으로 정적으로 프로퍼티

public static XmlAssert,IronFramework.TestCommon Xml
리턴 XmlAssert