프로퍼티 | 타입 | 설명 | |
---|---|---|---|
LastRuleSelectionFilename | string |
메소드 | 설명 | |
---|---|---|
AbortExecution ( ) : void | ||
ApplyAdaptersConfig ( ) : void |
Applies the changes in the PtfAdapterView in the ptfconfig XML Documents.
|
|
ApplyDetectedRules ( ) : void |
Apply the test case selection rules detected by the plug-in.
|
|
ApplyDetectedValues ( ) : void |
Apply the property values detected by the plug-in.
|
|
ApplyPlaylist ( int &numberOfChecked, int &numberOfNotfound ) : void |
Check the test cases in the playlist.
|
|
CreatePtfPropertyView ( ) : PtfPropertyView |
Creates a PtfPropertyView for the UI.
|
|
ExportPlaylist ( Stream stream, bool checkedOnly ) : void |
Export test cases to a Visual Studio playlist.
|
|
ExportPlaylist ( string filename, bool checkedOnly ) : void |
Export test cases to a Visual Studio playlist.
|
|
FilterByKeyword ( string keyword ) : void |
Filters test cases by keyword in name.
|
|
GeneratePlainTextReport ( List |
Convert the list to plain text report
|
|
GenerateTextCaseListItems ( bool passed, bool failed, bool inconclusive, bool notrun ) : List |
Generates plain text case list.
|
|
GetAdaptersView ( ) : List |
Gets PtfAdapterView for the UI.
|
|
GetDetectSteps ( ) : List |
Gets the auto-detection steps.
|
|
GetDetectionSummary ( ) : object |
Get a object to show on the UI as the detection summary.
|
|
GetFilter ( ) : TestCaseFilter |
Gets the TestCaseFilter object for current test suite.
|
|
GetLogger ( ) : Logger |
Retrives the object of the logger.
|
|
GetPrerequisits ( ) : Microsoft.Protocols.TestManager.Kernel.PrerequisitView |
Gets properties required for auto-detection.
|
|
GetSelectedCaseList ( ) : List |
Gets a filtered test case list.
|
|
HideProperties ( ) : void |
Gets the properties to hide from the plug-in.
|
|
ImportPlaylist ( Stream stream ) : void |
Import a Play List
|
|
ImportPlaylist ( string filename ) : void |
Import a Play List
|
|
InitializeDetector ( ) : void |
Initializes the auto-detection plug-in.
|
|
InitializeTestEngine ( ) : void |
Initializes the test engine
|
|
LoadProfileSettings ( string filename ) : void |
Loads the configurations from a saved profile.
|
|
LoadPtfconfig ( ) : void |
Loads PTF configuration.
|
|
LoadTestSuiteAssembly ( ) : void |
Loads test suite assembly.
|
|
LoadTestSuiteConfig ( Microsoft.Protocols.TestManager.Kernel.TestSuiteInfo testSuiteInfo ) : void |
Loads test suite configuration.
|
|
OpenDetectionLog ( ) : void |
Opens the auto-detection log
|
|
ParseFileGetStatus ( string filePath, TestCaseStatus &status ) : bool |
Parse the file content to get the case status Result format in file: "Result":"Result: Passed"
|
|
RemoveFilter ( ) : void |
Removes the filter and show all selected test cases.
|
|
RemoveReadonly ( string file ) : void |
Changes the read only attribute of a file.
|
|
RunAllTestCases ( ) : void |
Runs all filtered test cases.
|
|
RunByCases ( List |
Runs specific test cases.
|
|
SaveLastProfile ( ) : void |
Save the rule selection of current run.
|
|
SaveProfileSettings ( string filename ) : void |
Saves the configurations as a profile.
|
|
SavePtfconfigToBinFolder ( ) : void |
Saves the ptfconfig file back to the bin folder.
|
|
SavePtfconfigToSourceCode ( ) : void |
Saves the ptfconfig files back to the source code folder.
|
|
SetPrerequisits ( ) : bool |
Sets the property values required for auto-detection.
|
|
StartDetection ( DetectionCallback callback ) : void |
Start the auto-detection
|
|
SyncRunByCases ( List |
||
Utility ( ) : System |
메소드 | 설명 | |
---|---|---|
SetAdapterConfig ( ) : void |
public ApplyPlaylist ( int &numberOfChecked, int &numberOfNotfound ) : void | ||
numberOfChecked | int | Number of checked cases. |
numberOfNotfound | int | Number of not found test cases in the list. |
리턴 | void |
public CreatePtfPropertyView ( ) : PtfPropertyView | ||
리턴 | PtfPropertyView |
public ExportPlaylist ( Stream stream, bool checkedOnly ) : void | ||
stream | Stream | A Stream |
checkedOnly | bool | True if only export checked cases. False export all test cases. |
리턴 | void |
public ExportPlaylist ( string filename, bool checkedOnly ) : void | ||
filename | string | The filename. |
checkedOnly | bool | True if only export checked cases. False export all test cases. |
리턴 | void |
public FilterByKeyword ( string keyword ) : void | ||
keyword | string | Keyword |
리턴 | void |
public static GeneratePlainTextReport ( List |
||
items | List |
Case list |
showOutcome | bool | shows test case outcome in the list |
sortby | SortBy | The way of sorting items in the test case list |
separator | The style of the text file | |
리턴 | string |
public GenerateTextCaseListItems ( bool passed, bool failed, bool inconclusive, bool notrun ) : List |
||
passed | bool | Include passed test cases |
failed | bool | Include failed test cases |
inconclusive | bool | Include inconclusive test cases |
notrun | bool | Include not run test cases |
리턴 | List |
public GetPrerequisits ( ) : Microsoft.Protocols.TestManager.Kernel.PrerequisitView | ||
리턴 | Microsoft.Protocols.TestManager.Kernel.PrerequisitView |
public ImportPlaylist ( Stream stream ) : void | ||
stream | Stream | A Stream |
리턴 | void |
public ImportPlaylist ( string filename ) : void | ||
filename | string | Filename |
리턴 | void |
public LoadProfileSettings ( string filename ) : void | ||
filename | string | File name |
리턴 | void |
public LoadTestSuiteConfig ( Microsoft.Protocols.TestManager.Kernel.TestSuiteInfo testSuiteInfo ) : void | ||
testSuiteInfo | Microsoft.Protocols.TestManager.Kernel.TestSuiteInfo | The information of a test suite |
리턴 | void |
public static ParseFileGetStatus ( string filePath, TestCaseStatus &status ) : bool | ||
filePath | string | |
status | TestCaseStatus | |
리턴 | bool |
public static RemoveReadonly ( string file ) : void | ||
file | string | The file to be removed the read only attribute |
리턴 | void |
public SaveProfileSettings ( string filename ) : void | ||
filename | string | File name |
리턴 | void |
public StartDetection ( DetectionCallback callback ) : void | ||
callback | DetectionCallback | The call back function when the detection finished. |
리턴 | void |