C# 클래스 Npgsql.Tests.TestUtil

파일 보기 프로젝트 열기: npgsql/npgsql 1 사용 예제들

공개 메소드들

메소드 설명
GetUniqueIdentifier ( string prefix ) : string
IgnoreExceptOnBuildServer ( string message ) : void

Calls Assert.Ignore() unless we're on the build server, in which case calls Assert.Fail(). We don't to miss any regressions just because something was misconfigured at the build server and caused a test to be inconclusive.

MinimumPgVersion ( NpgsqlConnection conn, string minVersion, string ignoreText = null ) : void

메소드 상세

GetUniqueIdentifier() 공개 정적인 메소드

public static GetUniqueIdentifier ( string prefix ) : string
prefix string
리턴 string

IgnoreExceptOnBuildServer() 공개 정적인 메소드

Calls Assert.Ignore() unless we're on the build server, in which case calls Assert.Fail(). We don't to miss any regressions just because something was misconfigured at the build server and caused a test to be inconclusive.
public static IgnoreExceptOnBuildServer ( string message ) : void
message string
리턴 void

MinimumPgVersion() 공개 정적인 메소드

public static MinimumPgVersion ( NpgsqlConnection conn, string minVersion, string ignoreText = null ) : void
conn NpgsqlConnection
minVersion string
ignoreText string
리턴 void