C# Class Tmx.TLHelper

Description of TLHelper.
显示文件 Open project: apetrovskiy/STUPS Class Usage Examples

Public Methods

Method Description
AddBuild ( TLSCmdletBase cmdlet, TestPlan testPlans, string buildName, string buildNote ) : void
AddTestCase ( TLSCmdletBase cmdlet, string name, string authorLogin, int suiteId, int testProjectId, string summary, string keyword, int order, bool checkDuplicatedName, ActionOnDuplicatedName actionDuplicatedName, int executionType, int importance ) : void
AddTestSubSuite ( TLSCmdletBase cmdlet, string name ) : void
AddTestSuite ( TLSCmdletBase cmdlet, string name ) : void
ConnectTLServer ( TLSConnectCmdletBase cmdlet ) : void
GetBuild ( TLSCmdletBase cmdlet, TestPlan testPlans, string buildNames ) : void
GetProjectById ( TLSCmdletBase cmdlet, string projectIds ) : void
GetProjectByName ( TLSCmdletBase cmdlet, string projectNames ) : void
GetProjectCollection ( TLSCmdletBase cmdlet ) : void
GetTestCaseFromProject ( TLSCmdletBase cmdlet, TestProject testProjects, string testCaseNames ) : void
GetTestCaseFromTestPlan ( TLSCmdletBase cmdlet, TestPlan testPlans, string testCaseNames ) : void
GetTestCaseFromTestSuite ( TLSCmdletBase cmdlet, TestSuite testSuites, string testCaseNames, bool deep ) : void
GetTestPlan ( TLSCmdletBase cmdlet, TestProject testProjects, string testPlanNames ) : void
GetTestPlans ( TLSCmdletBase cmdlet, TestProject testProjects ) : void
GetTestSuite ( TLSCmdletBase cmdlet, string suiteNames ) : void
GetTestSuiteFromProject ( TLTestSuiteCmdletBase cmdlet, TestProject testProjects ) : void
GetTestSuiteFromTestPlan ( TLTestSuiteCmdletBase cmdlet, TestPlan testPlans ) : void
GetTestSuiteFromTestSuite ( TLTestSuiteCmdletBase cmdlet, TestSuite testSuites ) : void
NewTestPlan ( TLSCmdletBase cmdlet, string testPlanName, string testPlanNotes, bool active ) : void

Private Methods

Method Description
ConnectTestLink ( TLSConnectCmdletBase cmdlet, ITestLinkExtra testLinkObject ) : ITestLinkExtra
GetProjectsById ( TLSCmdletBase cmdlet, string projectIds ) : Meyn.TestLink.TestProject[]
GetProjectsByName ( TLSCmdletBase cmdlet, string projectNames ) : Meyn.TestLink.TestProject[]
NewUser ( TLSCmdletBase cmdlet, string login, string password, string firstName, string lastName, string email, string role, string locale, bool active, bool disabled ) : void
checkTestPlan ( TestPlan inputObjects ) : bool

Method Details

AddBuild() public static method

public static AddBuild ( TLSCmdletBase cmdlet, TestPlan testPlans, string buildName, string buildNote ) : void
cmdlet TLSCmdletBase
testPlans Meyn.TestLink.TestPlan
buildName string
buildNote string
return void

AddTestCase() public static method

public static AddTestCase ( TLSCmdletBase cmdlet, string name, string authorLogin, int suiteId, int testProjectId, string summary, string keyword, int order, bool checkDuplicatedName, ActionOnDuplicatedName actionDuplicatedName, int executionType, int importance ) : void
cmdlet TLSCmdletBase
name string
authorLogin string
suiteId int
testProjectId int
summary string
keyword string
order int
checkDuplicatedName bool
actionDuplicatedName ActionOnDuplicatedName
executionType int
importance int
return void

AddTestSubSuite() public static method

public static AddTestSubSuite ( TLSCmdletBase cmdlet, string name ) : void
cmdlet TLSCmdletBase
name string
return void

AddTestSuite() public static method

public static AddTestSuite ( TLSCmdletBase cmdlet, string name ) : void
cmdlet TLSCmdletBase
name string
return void

ConnectTLServer() public static method

public static ConnectTLServer ( TLSConnectCmdletBase cmdlet ) : void
cmdlet TLSConnectCmdletBase
return void

GetBuild() public static method

public static GetBuild ( TLSCmdletBase cmdlet, TestPlan testPlans, string buildNames ) : void
cmdlet TLSCmdletBase
testPlans Meyn.TestLink.TestPlan
buildNames string
return void

GetProjectById() public static method

public static GetProjectById ( TLSCmdletBase cmdlet, string projectIds ) : void
cmdlet TLSCmdletBase
projectIds string
return void

GetProjectByName() public static method

public static GetProjectByName ( TLSCmdletBase cmdlet, string projectNames ) : void
cmdlet TLSCmdletBase
projectNames string
return void

GetProjectCollection() public static method

public static GetProjectCollection ( TLSCmdletBase cmdlet ) : void
cmdlet TLSCmdletBase
return void

GetTestCaseFromProject() public static method

public static GetTestCaseFromProject ( TLSCmdletBase cmdlet, TestProject testProjects, string testCaseNames ) : void
cmdlet TLSCmdletBase
testProjects Meyn.TestLink.TestProject
testCaseNames string
return void

GetTestCaseFromTestPlan() public static method

public static GetTestCaseFromTestPlan ( TLSCmdletBase cmdlet, TestPlan testPlans, string testCaseNames ) : void
cmdlet TLSCmdletBase
testPlans Meyn.TestLink.TestPlan
testCaseNames string
return void

GetTestCaseFromTestSuite() public static method

public static GetTestCaseFromTestSuite ( TLSCmdletBase cmdlet, TestSuite testSuites, string testCaseNames, bool deep ) : void
cmdlet TLSCmdletBase
testSuites Meyn.TestLink.TestSuite
testCaseNames string
deep bool
return void

GetTestPlan() public static method

public static GetTestPlan ( TLSCmdletBase cmdlet, TestProject testProjects, string testPlanNames ) : void
cmdlet TLSCmdletBase
testProjects Meyn.TestLink.TestProject
testPlanNames string
return void

GetTestPlans() public static method

public static GetTestPlans ( TLSCmdletBase cmdlet, TestProject testProjects ) : void
cmdlet TLSCmdletBase
testProjects Meyn.TestLink.TestProject
return void

GetTestSuite() public static method

public static GetTestSuite ( TLSCmdletBase cmdlet, string suiteNames ) : void
cmdlet TLSCmdletBase
suiteNames string
return void

GetTestSuiteFromProject() public static method

public static GetTestSuiteFromProject ( TLTestSuiteCmdletBase cmdlet, TestProject testProjects ) : void
cmdlet TLTestSuiteCmdletBase
testProjects Meyn.TestLink.TestProject
return void

GetTestSuiteFromTestPlan() public static method

public static GetTestSuiteFromTestPlan ( TLTestSuiteCmdletBase cmdlet, TestPlan testPlans ) : void
cmdlet TLTestSuiteCmdletBase
testPlans Meyn.TestLink.TestPlan
return void

GetTestSuiteFromTestSuite() public static method

public static GetTestSuiteFromTestSuite ( TLTestSuiteCmdletBase cmdlet, TestSuite testSuites ) : void
cmdlet TLTestSuiteCmdletBase
testSuites Meyn.TestLink.TestSuite
return void

NewTestPlan() public static method

public static NewTestPlan ( TLSCmdletBase cmdlet, string testPlanName, string testPlanNotes, bool active ) : void
cmdlet TLSCmdletBase
testPlanName string
testPlanNotes string
active bool
return void