C# Class Npgsql.Tests.TestUtil

Afficher le fichier Open project: npgsql/npgsql Class Usage Examples

Méthodes publiques

Méthode Description
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

Method Details

GetUniqueIdentifier() public static méthode

public static GetUniqueIdentifier ( string prefix ) : string
prefix string
Résultat string

IgnoreExceptOnBuildServer() public static méthode

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
Résultat void

MinimumPgVersion() public static méthode

public static MinimumPgVersion ( NpgsqlConnection conn, string minVersion, string ignoreText = null ) : void
conn NpgsqlConnection
minVersion string
ignoreText string
Résultat void