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

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

Méthodes publiques

Свойство Type Description
PipeName string
PredefinedAdapters List
TestListName string
TestSetting string
TestSuiteAssembly List
VSTestArguments string
VSTestPath string

Méthodes publiques

Méthode 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

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

Method Details

InitDefaultConfigurations() public méthode

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

LoadConfig() public static méthode

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.
Résultat AppConfig

Property Details

PipeName public_oe property

NamedPipe from PTF
public string PipeName
Résultat string

PredefinedAdapters public_oe property

A list of predefined adapters.
public List PredefinedAdapters
Résultat List

TestListName public_oe property

Name of test list.
public string TestListName
Résultat string

TestSetting public_oe property

The setting of test.
public string TestSetting
Résultat string

TestSuiteAssembly public_oe property

Test suite assemblies.
public List TestSuiteAssembly
Résultat List

VSTestArguments public_oe property

The arguments of VSTest.
public string VSTestArguments
Résultat string

VSTestPath public_oe property

The path of VSTest.
public string VSTestPath
Résultat string