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

Summary description for BaseTest.
Show file Open project: Top-Cat/SteamBot

Protected Properties

Property 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

Public Methods

Method Description
BaseTest ( ) : System

Protected Methods

Method 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

Method Description
CheckOrphanedConnections ( ) : void
DropDatabase ( string name ) : void
KillOrphanedConnections ( ) : void
Setup ( ) : void
SetupRootConnection ( ) : void
Teardown ( ) : void

Method Details

BaseTest() public method

public BaseTest ( ) : System
return System

CountProcesses() protected method

protected CountProcesses ( ) : int
return int

ExecuteSQLAsRoot() protected method

protected ExecuteSQLAsRoot ( string sql ) : void
sql string
return void

FillTable() protected method

protected FillTable ( string sql ) : DataTable
sql string
return System.Data.DataTable

GetConnectionInfo() protected method

protected GetConnectionInfo ( ) : string
return string

GetConnectionString() protected method

protected GetConnectionString ( bool includedb ) : string
includedb bool
return string

GetConnectionString() protected method

protected GetConnectionString ( string userId, string pw, bool includedb ) : string
userId string
pw string
includedb bool
return string

GetConnectionString() protected method

protected GetConnectionString ( string userId, string pw, bool persistSecurityInfo, bool includedb ) : string
userId string
pw string
persistSecurityInfo bool
includedb bool
return string

GetPoolingConnectionString() protected method

protected GetPoolingConnectionString ( ) : string
return string

Initialize() protected method

protected Initialize ( ) : void
return void

KillConnection() protected method

protected KillConnection ( MySqlConnection c ) : void
c MySql.Data.MySqlClient.MySqlConnection
return void

KillPooledConnection() protected method

protected KillPooledConnection ( string connStr ) : void
connStr string
return void

LoadBaseConfiguration() protected method

protected LoadBaseConfiguration ( ) : void
return void

Open() protected method

protected Open ( ) : void
return void

SetAccountPerms() protected method

protected SetAccountPerms ( bool includeProc ) : void
includeProc bool
return void

TableExists() protected method

protected TableExists ( string tableName ) : bool
tableName string
return bool

createTable() protected method

protected createTable ( string sql, string engine ) : void
sql string
engine string
return void

execReader() protected method

protected execReader ( string sql ) : IDataReader
sql string
return IDataReader

execSQL() protected method

protected execSQL ( string sql ) : void
sql string
return void

suExecSQL() protected method

protected suExecSQL ( string sql ) : void
sql string
return void

Property Details

accessToMySqlDb protected property

protected bool accessToMySqlDb
return bool

conn protected property

protected MySqlConnection,MySql.Data.MySqlClient conn
return MySql.Data.MySqlClient.MySqlConnection

csAdditions protected property

protected string csAdditions
return string

database0 protected property

protected string database0
return string

database1 protected property

protected string database1
return string

host protected property

protected string host
return string

maxPacketSize protected property

protected int maxPacketSize
return int

memoryName protected property

protected string memoryName
return string

password protected property

protected string password
return string

pipeName protected property

protected string pipeName
return string

port protected property

protected int port
return int

rootConn protected property

protected MySqlConnection,MySql.Data.MySqlClient rootConn
return MySql.Data.MySqlClient.MySqlConnection

rootPassword protected property

protected string rootPassword
return string

rootUser protected property

protected string rootUser
return string

table protected property

protected string table
return string

user protected property

protected string user
return string

version protected property

protected Version,System version
return System.Version