C# Class VersionOne.ServiceHost.QualityCenterServices.QualityCenterClient

This class encapsulates the QualityCenter COM library. No other classes should directly use the COM library It does *not* know about the EventManager, or any event objects specific to ServiceHost The only knowledge it has of ServiceHost is use of a couple utility classes in ServiceHost.Core.Utility
Inheritance: IQualityCenterClient
Afficher le fichier Open project: versionone/VersionOne.Integration.HPALM

Méthodes publiques

Méthode Description
CreateQCTest ( string title, string description, string externalId ) : string
Dispose ( ) : void
GetFullyQualifiedQCId ( string localId ) : string
GetLatestDefects ( System.DateTime lastCheck ) : IList
GetLatestTestRuns ( System.DateTime lastCheck ) : IList
GetLocalQCId ( string fullyQualifiedId ) : string
GetQCDefect ( string externalId ) : System.Xml.Linq.XDocument
Login ( ) : void
Logout ( ) : void
OnDefectCreated ( string id, ICollection comments, string link ) : void
OnDefectStateChange ( string id, ICollection comments ) : bool
QualityCenterClient ( QCProject project, XmlNode config, ILogger log ) : System

Private Methods

Méthode Description
BuildComments ( IEnumerable messages, string existingComments ) : string
CreateTestFolder ( ) : string
GetLastCheckFilterString ( System.DateTime lastCheck ) : string
GetTestFolderId ( ) : string
GetTestFolderId ( string testFolderName ) : string
SetConfiguration ( XmlNode config ) : void
UpdateDefectStatus ( string externalId, string newStatus, IEnumerable comments ) : System.Xml.Linq.XDocument

Method Details

CreateQCTest() public méthode

public CreateQCTest ( string title, string description, string externalId ) : string
title string
description string
externalId string
Résultat string

Dispose() public méthode

public Dispose ( ) : void
Résultat void

GetFullyQualifiedQCId() public méthode

public GetFullyQualifiedQCId ( string localId ) : string
localId string
Résultat string

GetLatestDefects() public méthode

public GetLatestDefects ( System.DateTime lastCheck ) : IList
lastCheck System.DateTime
Résultat IList

GetLatestTestRuns() public méthode

public GetLatestTestRuns ( System.DateTime lastCheck ) : IList
lastCheck System.DateTime
Résultat IList

GetLocalQCId() public méthode

public GetLocalQCId ( string fullyQualifiedId ) : string
fullyQualifiedId string
Résultat string

GetQCDefect() public méthode

public GetQCDefect ( string externalId ) : System.Xml.Linq.XDocument
externalId string
Résultat System.Xml.Linq.XDocument

Login() public méthode

public Login ( ) : void
Résultat void

Logout() public méthode

public Logout ( ) : void
Résultat void

OnDefectCreated() public méthode

public OnDefectCreated ( string id, ICollection comments, string link ) : void
id string
comments ICollection
link string
Résultat void

OnDefectStateChange() public méthode

public OnDefectStateChange ( string id, ICollection comments ) : bool
id string
comments ICollection
Résultat bool

QualityCenterClient() public méthode

public QualityCenterClient ( QCProject project, XmlNode config, ILogger log ) : System
project QCProject
config System.Xml.XmlNode
log ILogger
Résultat System