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

This class represents test suite specific configurations for the PTM.
Datei anzeigen 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_oe property

NamedPipe from PTF
public string PipeName
return string

PredefinedAdapters public_oe property

A list of predefined adapters.
public List PredefinedAdapters
return List

TestListName public_oe property

Name of test list.
public string TestListName
return string

TestSetting public_oe property

The setting of test.
public string TestSetting
return string

TestSuiteAssembly public_oe property

Test suite assemblies.
public List TestSuiteAssembly
return List

VSTestArguments public_oe property

The arguments of VSTest.
public string VSTestArguments
return string

VSTestPath public_oe property

The path of VSTest.
public string VSTestPath
return string