C# Class MySql.Data.MySqlClient.Tests.BaseTest

Summary description for BaseTest.
Afficher le fichier Open project: Top-Cat/SteamBot

Protected Properties

Свойство Type Description
accessToMySqlDb bool
conn MySql.Data.MySqlClient.MySqlConnection
csAdditions string
database0 string
database1 string
host string
maxPacketSize int
memoryName string
password string
pipeName string
port int
rootConn MySql.Data.MySqlClient.MySqlConnection
rootPassword string
rootUser string
table string
user string
version System.Version

Méthodes publiques

Méthode Description
BaseTest ( ) : System

Méthodes protégées

Méthode Description
CountProcesses ( ) : int
ExecuteSQLAsRoot ( string sql ) : void
FillTable ( string sql ) : DataTable
GetConnectionInfo ( ) : string
GetConnectionString ( bool includedb ) : string
GetConnectionString ( string userId, string pw, bool includedb ) : string
GetConnectionString ( string userId, string pw, bool persistSecurityInfo, bool includedb ) : string
GetPoolingConnectionString ( ) : string
Initialize ( ) : void
KillConnection ( MySqlConnection c ) : void
KillPooledConnection ( string connStr ) : void
LoadBaseConfiguration ( ) : void
Open ( ) : void
SetAccountPerms ( bool includeProc ) : void
TableExists ( string tableName ) : bool
createTable ( string sql, string engine ) : void
execReader ( string sql ) : IDataReader
execSQL ( string sql ) : void
suExecSQL ( string sql ) : void

Private Methods

Méthode Description
CheckOrphanedConnections ( ) : void
DropDatabase ( string name ) : void
KillOrphanedConnections ( ) : void
Setup ( ) : void
SetupRootConnection ( ) : void
Teardown ( ) : void

Method Details

BaseTest() public méthode

public BaseTest ( ) : System
Résultat System

CountProcesses() protected méthode

protected CountProcesses ( ) : int
Résultat int

ExecuteSQLAsRoot() protected méthode

protected ExecuteSQLAsRoot ( string sql ) : void
sql string
Résultat void

FillTable() protected méthode

protected FillTable ( string sql ) : DataTable
sql string
Résultat System.Data.DataTable

GetConnectionInfo() protected méthode

protected GetConnectionInfo ( ) : string
Résultat string

GetConnectionString() protected méthode

protected GetConnectionString ( bool includedb ) : string
includedb bool
Résultat string

GetConnectionString() protected méthode

protected GetConnectionString ( string userId, string pw, bool includedb ) : string
userId string
pw string
includedb bool
Résultat string

GetConnectionString() protected méthode

protected GetConnectionString ( string userId, string pw, bool persistSecurityInfo, bool includedb ) : string
userId string
pw string
persistSecurityInfo bool
includedb bool
Résultat string

GetPoolingConnectionString() protected méthode

protected GetPoolingConnectionString ( ) : string
Résultat string

Initialize() protected méthode

protected Initialize ( ) : void
Résultat void

KillConnection() protected méthode

protected KillConnection ( MySqlConnection c ) : void
c MySql.Data.MySqlClient.MySqlConnection
Résultat void

KillPooledConnection() protected méthode

protected KillPooledConnection ( string connStr ) : void
connStr string
Résultat void

LoadBaseConfiguration() protected méthode

protected LoadBaseConfiguration ( ) : void
Résultat void

Open() protected méthode

protected Open ( ) : void
Résultat void

SetAccountPerms() protected méthode

protected SetAccountPerms ( bool includeProc ) : void
includeProc bool
Résultat void

TableExists() protected méthode

protected TableExists ( string tableName ) : bool
tableName string
Résultat bool

createTable() protected méthode

protected createTable ( string sql, string engine ) : void
sql string
engine string
Résultat void

execReader() protected méthode

protected execReader ( string sql ) : IDataReader
sql string
Résultat IDataReader

execSQL() protected méthode

protected execSQL ( string sql ) : void
sql string
Résultat void

suExecSQL() protected méthode

protected suExecSQL ( string sql ) : void
sql string
Résultat void

Property Details

accessToMySqlDb protected_oe property

protected bool accessToMySqlDb
Résultat bool

conn protected_oe property

protected MySqlConnection,MySql.Data.MySqlClient conn
Résultat MySql.Data.MySqlClient.MySqlConnection

csAdditions protected_oe property

protected string csAdditions
Résultat string

database0 protected_oe property

protected string database0
Résultat string

database1 protected_oe property

protected string database1
Résultat string

host protected_oe property

protected string host
Résultat string

maxPacketSize protected_oe property

protected int maxPacketSize
Résultat int

memoryName protected_oe property

protected string memoryName
Résultat string

password protected_oe property

protected string password
Résultat string

pipeName protected_oe property

protected string pipeName
Résultat string

port protected_oe property

protected int port
Résultat int

rootConn protected_oe property

protected MySqlConnection,MySql.Data.MySqlClient rootConn
Résultat MySql.Data.MySqlClient.MySqlConnection

rootPassword protected_oe property

protected string rootPassword
Résultat string

rootUser protected_oe property

protected string rootUser
Résultat string

table protected_oe property

protected string table
Résultat string

user protected_oe property

protected string user
Résultat string

version protected_oe property

protected Version,System version
Résultat System.Version