TestResultAggregation Sınıf

Tanım

İlişkili Test çalıştırmasında tüm test sonuçlarından toplanan bilgiler içeren bir test sonucunu temsil eder.

public ref class TestResultAggregation : Microsoft::VisualStudio::TestTools::Common::TestResult
[System.Serializable]
public class TestResultAggregation : Microsoft.VisualStudio.TestTools.Common.TestResult
[<System.Serializable>]
type TestResultAggregation = class
    inherit TestResult
Public Class TestResultAggregation
Inherits TestResult
Devralma
Microsoft.VisualStudio.TestTools.Common.TestResult
TestResultAggregation
Öznitelikler

Oluşturucular

TestResultAggregation()

TestResultAggregation sınıfının yeni bir örneğini başlatır.

TestResultAggregation(ComputerInfo, Guid, ITestElement)
Kullanımdan kalktı.

TestResultAggregationBelirtilen bilgisayar bilgilerini, çalıştırma kimliğini ve test öğesini kullanarak sınıfının yeni bir örneğini başlatır.

TestResultAggregation(ComputerInfo, Guid, ITestElement, TestOutcome, TestResultCounter, TestResult[])
Kullanımdan kalktı.

TestResultAggregation sınıfının yeni bir örneğini başlatır.

TestResultAggregation(ComputerInfo, Guid, ITestElement, TestOutcome, TestResultCounter, TestResult[], Int32)
Kullanımdan kalktı.

TestResultAggregation sınıfının yeni bir örneğini başlatır.

TestResultAggregation(SerializationInfo, StreamingContext)

TestResultAggregationXML Serileştirmeden sınıfın yeni bir örneğini başlatır.

TestResultAggregation(String, Guid, ITestElement)

TestResultAggregationBelirtilen bilgisayar bilgilerini, test ÇALıŞTıRMASı kimliğini ve test ' i kullanarak sınıfının yeni bir örneğini başlatır.

TestResultAggregation(String, Guid, ITestElement, TestOutcome, TestResultCounter, TestResult[])

TestResultAggregationBelirtilen parametreleri kullanarak sınıfının yeni bir örneğini başlatır.

TestResultAggregation(String, Guid, ITestElement, TestOutcome, TestResultCounter, TestResult[], Int32)

TestResultAggregation sınıfının yeni bir örneğini başlatır.

TestResultAggregation(TestResult)

TestResultAggregationBelirtilen test sonucunu kullanarak sınıfının yeni bir örneğini başlatır.

TestResultAggregation(TestResultAggregation)

TestResultAggregationBelirtilen test sonucu toplamasını kullanarak sınıfının yeni bir örneğini başlatır.

Alanlar

FailedCountPropertyName

"FailedCount" döndürür.

m_counters

Özelliğin değerini döndürür Counters .

m_innerResults

Değerini döndürür InnerResults .

Özellikler

Counters

Test çalıştırması için toplanan sayaçları alır.

CurrentTestIndex

Bu, nihai sonuç yerine bir ara sonuçalıyorsa, test sonuçları dizisindeki geçerli test sonucunun dizinini temsil eder.

DisplayText

Visual Studio Test Professional kullanıcı arabirimindeki sonuçlar kılavuzunun Özet satırı metnini alır.

FailedCount

Bu sonuçdaki başarısız olan testlerin sayısını alır.

InnerResults

Bu toplamayı oluşturan testlerin tek tek test sonuçlarının dizisini alır.

Yöntemler

Clone()

Bu test sonucu toplama nesnesinin, Oluşturucu yöntemi kullanılarak derin bir kopyasını döndürür TestResultAggregation(TestResultAggregation) .

FillDataRow(DataRow)

Bu toplamadan alınan verileri kullanarak belirtilen veri satırını doldurur.

GetObjectData(SerializationInfo, StreamingContext)
Load(XmlElement, XmlTestStoreParameters)

Belirtilen parametreleri kullanarak, belirtilen XML öğesinden bu sınıfın bir örneğini yükler.

Save(XmlElement, XmlTestStoreParameters)

Bu nesneyi belirtilen XML öğesine kaydeder.

Şunlara uygulanır