Share via


TestResult 클래스

테스트 결과의 기본 클래스를 나타내고 테스트의 결과를 나타냅니다.

상속 계층 구조

System.Object
  Microsoft.VisualStudio.TestTools.Common.TestMessage
    Microsoft.VisualStudio.TestTools.Common.TestResultMessage
      Microsoft.VisualStudio.TestTools.Common.TestResult
        Microsoft.VisualStudio.TestTools.Common.TestResultAggregation

네임스페이스:  Microsoft.VisualStudio.TestTools.Common
어셈블리:  Microsoft.VisualStudio.QualityTools.Common(Microsoft.VisualStudio.QualityTools.Common.dll)

구문

‘선언
<SerializableAttribute> _
Public Class TestResult _
    Inherits TestResultMessage
[SerializableAttribute]
public class TestResult : TestResultMessage
[SerializableAttribute]
public ref class TestResult : public TestResultMessage
[<SerializableAttribute>]
type TestResult =  
    class
        inherit TestResultMessage
    end
public class TestResult extends TestResultMessage

TestResult 형식에서는 다음과 같은 멤버를 노출합니다.

생성자

  이름 설명
Protected 메서드 TestResult() TestResult 클래스의 새 인스턴스를 초기화합니다.
Protected 메서드 TestResult(TestResult) 제공된 테스트 결과를 복사하여 TestResult 클래스의 새 인스턴스를 초기화합니다.
Protected 메서드 TestResult(SerializationInfo, StreamingContext) XML serialization에서 TestResult 클래스의 새 인스턴스를 초기화합니다.
Public 메서드 TestResult(String, Guid, ITestElement) 제공된 컴퓨터 이름, 테스트 실행 ID 및 테스트 요소를 사용하여 TestResult 클래스의 새 인스턴스를 초기화합니다.
Public 메서드 TestResult(ComputerInfo, Guid, ITestElement) 사용되지 않습니다. 제공된 컴퓨터 정보, 테스트 실행 ID 및 테스트 요소를 사용하여 TestResult 클래스의 새 인스턴스를 초기화합니다.

위쪽

속성

  이름 설명
Public 속성 CollectorDataEntries 테스트 실행 중에 진단 데이터 어댑터에서 제공하는 데이터 엔트리의 읽기 전용 목록을 가져옵니다.
Public 속성 ComputerName 관련된 테스트 실행이나 테스트를 실행한 컴퓨터의 이름을 가져옵니다. (TestResultMessage에서 상속됨)
Public 속성 DataCollectorMessages 테스트 중에 진단 데이터 어댑터에서 제공하는 오류 및 경고의 읽기 전용 목록을 가져옵니다.
Public 속성 DebugTrace 디버그 추적 정보를 가져오거나 설정합니다.
Public 속성 DisplayText Visual Studio ALM(Application Lifecycle Management)의 사용자 인터페이스에 표시할 텍스트를 가져옵니다. (TestResultMessage에서 상속됨)
Public 속성 Duration 관련된 테스트 실행이나 테스트를 실행하는 데 소요된 시간을 가져오거나 설정합니다. (TestResultMessage에서 상속됨)
Public 속성 EndTime 실행이 끝난 시간을 가져오거나 설정합니다. (TestResultMessage에서 상속됨)
Public 속성 ErrorInfo 최신 오류에 대한 정보를 가져오거나 설정합니다.
Public 속성 ErrorMessage 최신 오류 메시지를 가져오거나 설정합니다.
Public 속성 ErrorStackTrace 오류 앞의 스택 추적 정보를 가져오거나 설정합니다.
Public 속성 HasPassed 이 테스트 결과의 관련된 테스트가 성공적으로 실행되었는지 여부를 나타내는 값을 가져옵니다.
Public 속성 Id 이 테스트 결과 메시지의 ID를 가져오거나 설정합니다. (TestResultMessage에서 상속됨)
Public 속성 IsRunLevel 이 결과가 테스트에 대한 것이 아니라 테스트 실행에 대한 것인지 여부를 나타내는 값을 가져옵니다. (TestResultMessage에서 상속됨)
Public 속성 LoadTestAgentNames 관련된 로드 테스트가 설치된 컴퓨터 이름의 쉼표로 구분된 목록을 가져옵니다. (TestResultMessage에서 상속됨)
Public 속성 LongText DisplayText 속성의 값을 가져옵니다. (TestResultMessage에서 상속됨)
Public 속성 MessageKind 이 관련된 테스트 결과 메시지의 유형을 가져오거나 설정합니다. (TestResultMessage에서 상속됨)
Public 속성 Outcome 관련된 테스트의 결과에 대한 자세한 정보를 사용하여 개체를 가져오거나 설정합니다.
Public 속성 OutcomeText 테스트의 결과를 문자열로 가져옵니다.
Public 속성 ResultFiles 오름차순으로 정렬된 테스트 결과 파일 경로의 읽기 전용 목록을 가져옵니다.
Public 속성 SpoolMessage 이 메시지가 유지된 테스트 결과로 스풀링될지 여부를 결정하는 값을 가져오거나 설정합니다. (TestResultMessage에서 상속됨)
Public 속성 StartTime 관련된 테스트 실행이나 테스트가 시작된 시간을 가져오거나 설정합니다. (TestResultMessage에서 상속됨)
Public 속성 StdErr 테스트에서 생성되는 stderr 데이터를 가져오거나 설정합니다.
Public 속성 StdOut 테스트에서 생성되는 stdout 데이터를 가져오거나 설정합니다.
Public 속성 Storage 테스트와 관련된 모든 파일이 저장되는 서버의 폴더에 대한 상대 경로를 가져오거나 설정합니다. (TestResultMessage에서 상속됨)
Public 속성 SystemException 관련된 테스트 실행이나 테스트 중에 발생한 최신 예외를 가져오거나 설정합니다. (TestResultMessage에서 상속됨)
Public 속성 Test 관련된 테스트를 가져오거나 설정합니다.
Public 속성 TestDescription 테스트에 대한 설명을 가져옵니다.
Public 속성 TestListCategoryId 이 테스트 결과의 목록 범주 ID를 가져옵니다.
Public 속성 TestListCategoryIdString 이 테스트 결과의 목록 범주 ID를 문자열로 가져옵니다.
Public 속성 TestName 관련된 테스트의 이름을 가져오거나 설정합니다. (TestResultMessage에서 상속됨)
Public 속성 TestResultsDirectory 이 테스트 결과가 저장되는 서버의 폴더에 대한 절대 경로를 가져옵니다.
Public 속성 TestRun 관련된 테스트 실행을 가져옵니다.
Public 속성 TestType 관련된 테스트의 형식을 가져오거나 설정합니다. (TestResultMessage에서 상속됨)
Public 속성 TextMessages 테스트의 텍스트 메시지 배열을 가져옵니다.
Public 속성 TimerResults 타이머 결과의 배열을 가져오거나 설정합니다.
Public 속성 TraceInfo 관련된 테스트에 대한 추적 정보를 가져옵니다.
Public 속성 VisibleProperties Visual Studio ALM(Application Lifecycle Management)의 사용자 인터페이스에 표시될 이 테스트 결과 메시지의 속성 컬렉션을 가져옵니다. (TestResultMessage에서 상속됨)
Public 속성 WorkItemIds 테스트와 연결된 작업 항목 ID의 목록을 가져옵니다.

위쪽

메서드

  이름 설명
Public 메서드 AddTextMessage 이 테스트 결과에 텍스트 메시지를 추가합니다.
Public 메서드 Clone 이 테스트 결과의 복사본을 반환합니다. (TestResultMessage.Clone()을(를) 재정의함)
Public 메서드 Equals 제공된 개체가 현재 개체와 같은지 여부를 확인합니다. (TestResultMessage에서 상속됨)
Public 메서드 FillDataRow 제공된 데이터 행을 serialization에 대한 이 테스트 결과의 속성 값을 사용하여 채웁니다.
Protected 메서드 Finalize 가비지 수집에서 회수하기 전에 개체에서 리소스를 해제하고 다른 정리 작업을 수행할 수 있게 합니다. (Object에서 상속됨)
Public 메서드 GetHashCode 특정 형식에 대한 해시 함수 역할을 합니다. (TestResultMessage에서 상속됨)
Public 메서드 GetObjectData 제공된 serialization 정보를 대상 개체를 serialize하는 데 필요한 데이터를 사용하여 채웁니다. (TestResultMessage.GetObjectData(SerializationInfo, StreamingContext)을(를) 재정의함)
Public 메서드 GetType 현재 인스턴스의 Type을 가져옵니다. (Object에서 상속됨)
Public 메서드 IsValid 이 테스트 결과 메시지가 유효한지 여부를 확인합니다. (TestResultMessage에서 상속됨)
Public 메서드 Load 제공된 매개 변수를 사용하여 제공된 XML 요소에서 이 클래스의 인스턴스를 로드합니다. (TestResultMessage.Load(XmlElement, XmlTestStoreParameters)을(를) 재정의함)
Protected 메서드 MemberwiseClone 현재 Object의 단순 복사본을 만듭니다. (Object에서 상속됨)
Public 메서드 Save 제공된 XML 요소에 이 개체를 저장합니다. (TestResultMessage.Save(XmlElement, XmlTestStoreParameters)을(를) 재정의함)
Public 메서드 ToString 이 테스트 결과의 문자열 표현을 반환합니다. (TestResultMessage.ToString()을(를) 재정의함)

위쪽

필드

  이름 설명
Public 필드정적 멤버 ComputerNamePropertyName "ComputerName"을 반환합니다.
Public 필드정적 멤버 DebugTracePropertyName "DebugTrace"를 반환합니다.
Public 필드정적 멤버 DisplayTextPropertyName "DisplayText"를 반환합니다.
Public 필드정적 멤버 DurationPropertyName "Duration"을 반환합니다.
Public 필드정적 멤버 EndTimePropertyName "EndTime"을 반환합니다.
Public 필드정적 멤버 ErrorMessagePropertyName "ErrorMessage"를 반환합니다.
Public 필드정적 멤버 ErrorStackTracePropertyName "ErrorStackTrace"를 반환합니다.
Public 필드정적 멤버 HasPassedPropertyName "HasPassed"를 반환합니다.
Public 필드정적 멤버 LongTextPropertyName "LongText"를 반환합니다.
Protected 필드 m_categoryId "categoryId"를 반환합니다.
Protected 필드 m_debugTrace "debugTrace"를 반환합니다.
Protected 필드 m_duration 인프라입니다. Duration 속성의 값을 반환합니다. (TestResultMessage에서 상속됨)
Protected 필드 m_endTime EndTime 속성의 값을 반환합니다. (TestResultMessage에서 상속됨)
Protected 필드 m_errorInfo "errorInfo"를 반환합니다.
Protected 필드 m_exception SystemException 속성의 값을 반환합니다. (TestResultMessage에서 상속됨)
Protected 필드 m_id ID() 속성의 값을 반환합니다. (TestResultMessage에서 상속됨)
Protected 필드 m_messageKind MessageKind 속성의 값을 반환합니다. (TestResultMessage에서 상속됨)
Protected 필드 m_outcome "outcome"을 반환합니다.
Protected 필드 m_spoolMessage SpoolMessage 속성의 값을 반환합니다. (TestResultMessage에서 상속됨)
Protected 필드 m_startTime StartTime 속성의 값을 반환합니다. (TestResultMessage에서 상속됨)
Protected 필드 m_stdErr "stdErr"을 반환합니다.
Protected 필드 m_stdOut "stdOut"을 반환합니다.
Protected 필드 m_testName TestName 속성의 값을 반환합니다. (TestResultMessage에서 상속됨)
Protected 필드 m_testType TestType 속성의 값을 반환합니다. (TestResultMessage에서 상속됨)
Protected 필드 m_textMessages "textMessages"를 반환합니다.
Protected 필드 m_timerResults "timerResults"를 반환합니다.
Protected 필드 m_traceInfo "traceInfo"를 반환합니다.
Protected 필드 m_workItemIds "workItemIds"를 반환합니다.
Public 필드정적 멤버 ObjectColumnName "objectcolumn"을 반환합니다.
Public 필드정적 멤버 OutcomePropertyName "Outcome"을 반환합니다.
Public 필드정적 멤버 OutcomeTextPropertyName "OutcomeText"를 반환합니다.
Public 필드정적 멤버 StartTimePropertyName "StartTime"을 반환합니다.
Public 필드정적 멤버 StdErrPropertyName "StdErr"을 반환합니다.
Public 필드정적 멤버 StdOutPropertyName "StdOut"을 반환합니다.
Public 필드정적 멤버 StoragePropertyName "Storage"를 반환합니다.
Public 필드정적 멤버 TestNamePropertyName "TestName"을 반환합니다.
Public 필드정적 멤버 TestRunParameterName "TestRun"을 반환합니다.
Public 필드정적 멤버 TestTypePropertyName "TestType"을 반환합니다.
Public 필드정적 멤버 TraceInfoPropertyName "TraceInfo"를 반환합니다.

위쪽

스레드로부터의 안전성

이 형식의 모든 공용 static(Visual Basic의 경우 Shared) 멤버는 스레드로부터 안전합니다. 인터페이스 멤버는 스레드로부터 안전하지 않습니다.

참고 항목

참조

Microsoft.VisualStudio.TestTools.Common 네임스페이스

TestResultMessage