C# 클래스 Bytes2you.Validation.UnitTests.Testing.Helpers.Ensure

파일 보기 프로젝트 열기: veskokolev/Bytes2you.Validation

공개 메소드들

메소드 설명
ActionRunsInExpectedTime ( System.Action action, int repeatCount, int expectedTimeInMilliseconds ) : void
ArgumentExceptionIsThrown ( System.Action action, string expectedArgumentName, string expectedMessage = null ) : void
ArgumentNullExceptionIsThrown ( System.Action action, string expectedArgumentName ) : void
ArgumentOutOfRangeExceptionIsThrown ( System.Action action, string expectedArgumentName ) : void
NoExceptionIsThrown ( System.Action action ) : void

메소드 상세

ActionRunsInExpectedTime() 공개 정적인 메소드

public static ActionRunsInExpectedTime ( System.Action action, int repeatCount, int expectedTimeInMilliseconds ) : void
action System.Action
repeatCount int
expectedTimeInMilliseconds int
리턴 void

ArgumentExceptionIsThrown() 공개 정적인 메소드

public static ArgumentExceptionIsThrown ( System.Action action, string expectedArgumentName, string expectedMessage = null ) : void
action System.Action
expectedArgumentName string
expectedMessage string
리턴 void

ArgumentNullExceptionIsThrown() 공개 정적인 메소드

public static ArgumentNullExceptionIsThrown ( System.Action action, string expectedArgumentName ) : void
action System.Action
expectedArgumentName string
리턴 void

ArgumentOutOfRangeExceptionIsThrown() 공개 정적인 메소드

public static ArgumentOutOfRangeExceptionIsThrown ( System.Action action, string expectedArgumentName ) : void
action System.Action
expectedArgumentName string
리턴 void

NoExceptionIsThrown() 공개 정적인 메소드

public static NoExceptionIsThrown ( System.Action action ) : void
action System.Action
리턴 void