C# Class TeamMentor.UnitTests.TM_Website.TM_QA_Config_Loader_ExtensionMethods

Show file Open project: TeamMentor/Master

Public Methods

Method Description
addDefaultTestUsers ( this tmQaConfig ) : TM_QA_Config
add_User ( this users, string username, int userGroup ) : List
add_User ( this users, string username, string password, string email, int userGroup ) : List
assertIgnore_If_Offine ( this qaConfig, Uri targetServer ) : void
create ( this configLoader ) : TM_QA_Config
load ( this configLoader ) : TM_QA_Config
localFilePath ( this configLoader ) : string
new_UserList ( this tmQaConfig ) : List
save_QAConfig ( this qaConfig ) : TM_QA_Config
serverOffline ( this tmQaConfig ) : bool
serverOffline ( this tmQaConfig, Uri targetServer ) : bool
serverOnline ( this tmQaConfig ) : bool
serverOnline ( this tmQaConfig, Uri targetServer ) : bool
testUser ( this tmQaConfig, string userName ) : Test_User
testUsers ( this tmQaConfig ) : List

Method Details

addDefaultTestUsers() public static method

public static addDefaultTestUsers ( this tmQaConfig ) : TM_QA_Config
tmQaConfig this
return TM_QA_Config

add_User() public static method

public static add_User ( this users, string username, int userGroup ) : List
users this
username string
userGroup int
return List

add_User() public static method

public static add_User ( this users, string username, string password, string email, int userGroup ) : List
users this
username string
password string
email string
userGroup int
return List

assertIgnore_If_Offine() public static method

public static assertIgnore_If_Offine ( this qaConfig, Uri targetServer ) : void
qaConfig this
targetServer System.Uri
return void

create() public static method

public static create ( this configLoader ) : TM_QA_Config
configLoader this
return TM_QA_Config

load() public static method

public static load ( this configLoader ) : TM_QA_Config
configLoader this
return TM_QA_Config

localFilePath() public static method

public static localFilePath ( this configLoader ) : string
configLoader this
return string

new_UserList() public static method

public static new_UserList ( this tmQaConfig ) : List
tmQaConfig this
return List

save_QAConfig() public static method

public static save_QAConfig ( this qaConfig ) : TM_QA_Config
qaConfig this
return TM_QA_Config

serverOffline() public static method

public static serverOffline ( this tmQaConfig ) : bool
tmQaConfig this
return bool

serverOffline() public static method

public static serverOffline ( this tmQaConfig, Uri targetServer ) : bool
tmQaConfig this
targetServer System.Uri
return bool

serverOnline() public static method

public static serverOnline ( this tmQaConfig ) : bool
tmQaConfig this
return bool

serverOnline() public static method

public static serverOnline ( this tmQaConfig, Uri targetServer ) : bool
tmQaConfig this
targetServer System.Uri
return bool

testUser() public static method

public static testUser ( this tmQaConfig, string userName ) : Test_User
tmQaConfig this
userName string
return Test_User

testUsers() public static method

public static testUsers ( this tmQaConfig ) : List
tmQaConfig this
return List