C# Class Microsoft.Protocols.TestManager.Kernel.AppConfig

This class represents test suite specific configurations for the PTM.
Show file Open project: Microsoft/WindowsProtocolTestSuites Class Usage Examples

Public Properties

Property Type Description
PipeName string
PredefinedAdapters List
TestListName string
TestSetting string
TestSuiteAssembly List
VSTestArguments string
VSTestPath string

Public Methods

Method Description
InitDefaultConfigurations ( ) : void

Copy the ptfconfig files to the AppData directory as the default value.

LoadConfig ( string testSuiteName, string testSuiteVersion, string testSuiteDir, string installDir ) : AppConfig

Loads the configuration file

Private Methods

Method Description
AppConfig ( ) : System
GetAdapterMethods ( ) : void
GetTestCategoryFromConfig ( string categoryConfigFile ) : AppConfigTestCategory
InitFolders ( string testSuiteDir, string installDir ) : void

Method Details

InitDefaultConfigurations() public method

Copy the ptfconfig files to the AppData directory as the default value.
public InitDefaultConfigurations ( ) : void
return void

LoadConfig() public static method

Loads the configuration file
public static LoadConfig ( string testSuiteName, string testSuiteVersion, string testSuiteDir, string installDir ) : AppConfig
testSuiteName string The name of the test suite.
testSuiteVersion string The version of test suite
testSuiteDir string The working directory for the test suite.
installDir string The install directory of PTM.
return AppConfig

Property Details

PipeName public property

NamedPipe from PTF
public string PipeName
return string

PredefinedAdapters public property

A list of predefined adapters.
public List PredefinedAdapters
return List

TestListName public property

Name of test list.
public string TestListName
return string

TestSetting public property

The setting of test.
public string TestSetting
return string

TestSuiteAssembly public property

Test suite assemblies.
public List TestSuiteAssembly
return List

VSTestArguments public property

The arguments of VSTest.
public string VSTestArguments
return string

VSTestPath public property

The path of VSTest.
public string VSTestPath
return string