27 Mart 2025'ten itibaren AOSP'yi derlemek ve AOSP'ye katkıda bulunmak için aosp-main
yerine android-latest-release
kullanmanızı öneririz. Daha fazla bilgi için AOSP'de yapılan değişiklikler başlıklı makaleyi inceleyin.
Koleksiyonlar ile düzeninizi koruyun
İçeriği tercihlerinize göre kaydedin ve kategorilere ayırın.
ProtoResultReporter
public
abstract
class
ProtoResultReporter
extends Object
implements
ITestInvocationListener,
ILogSaverListener,
ISupportGranularResults
java.lang.Object
|
↳ |
com.android.tradefed.result.proto.ProtoResultReporter
|
Bilinen doğrudan alt sınıflar
|
Sonuç raporlayıcı, tüm sonuçları içeren bir TestRecord
protobuf oluşturur. processFinalProto(com.android.tradefed.result.proto.TestRecordProto.TestRecord)
'teki nihai prototiple ne yapılacağını ele alacak şekilde genişletilmelidir.
Özet
Herkese açık yöntemler |
final
void
|
invocationEnded(long elapsedTime)
|
void
|
invocationFailed(FailureDescription failure)
|
void
|
invocationFailed(Throwable cause)
|
final
void
|
invocationStarted(IInvocationContext context)
|
final
void
|
logAssociation(String dataName, LogFile logFile)
|
void
|
processFinalProto(TestRecordProto.TestRecord finalRecord)
Tüm sonuçlarla birlikte nihai prototipin işlenmesi.
|
void
|
processStartInvocation(TestRecordProto.TestRecord invocationStartRecord, IInvocationContext invocationContext)
invocationStarted(com.android.tradefed.invoker.IInvocationContext) oluştuktan sonra kısmi çağrı testi kaydı prototipinin işlenmesi.
|
void
|
processTestCaseEnded(TestRecordProto.TestRecord testCaseRecord)
ITestLifeCycleReceiver.testEnded(com.android.tradefed.result.TestDescription, long, HashMap) oluştuktan sonra tamamlanmış test durumu kaydı prototipinin işlenmesi.
|
void
|
processTestCaseStarted(TestRecordProto.TestRecord testCaseStartedRecord)
testStarted(com.android.tradefed.result.TestDescription, long) oluştuktan sonra kısmi test kaydı prototipinin işlenmesi.
|
void
|
processTestModuleEnd(TestRecordProto.TestRecord moduleRecord)
testModuleEnded() gerçekleştikten sonra nihai modül kaydı prototipinin işlenmesi.
|
void
|
processTestModuleStarted(TestRecordProto.TestRecord moduleStartRecord)
testModuleStarted(com.android.tradefed.invoker.IInvocationContext) oluştuktan sonra kısmi modül kaydı prototipinin işlenmesi.
|
void
|
processTestRunEnded(TestRecordProto.TestRecord runRecord, boolean moduleInProgress)
ITestLifeCycleReceiver.testRunEnded(long, HashMap) meydana geldikten sonra tamamlanmış çalıştırma kaydı prototipinin işlenmesi.
|
void
|
processTestRunStarted(TestRecordProto.TestRecord runStartedRecord)
testRunStarted(String, int) meydana geldikten sonra kısmi test çalıştırma kaydı prototipinin işlenmesi.
|
boolean
|
supportGranularResults()
|
final
void
|
testAssumptionFailure(TestDescription test, String trace)
|
final
void
|
testAssumptionFailure(TestDescription test, FailureDescription failure)
|
final
void
|
testEnded(TestDescription test, long endTime, testMetrics)
|
void
|
testEnded(TestDescription test, testMetrics)
|
final
void
|
testFailed(TestDescription test, FailureDescription failure)
|
final
void
|
testFailed(TestDescription test, String trace)
|
final
void
|
testIgnored(TestDescription test)
|
final
void
|
testModuleEnded()
|
final
void
|
testModuleStarted(IInvocationContext moduleContext)
|
final
void
|
testRunEnded(long elapsedTimeMillis, runMetrics)
|
final
void
|
testRunFailed(FailureDescription failure)
|
final
void
|
testRunFailed(String errorMessage)
|
void
|
testRunStarted(String runName, int testCount, int attemptNumber)
|
final
void
|
testRunStarted(String runName, int testCount)
|
void
|
testRunStarted(String runName, int testCount, int attemptNumber, long startTime)
|
final
void
|
testStarted(TestDescription test, long startTime)
|
final
void
|
testStarted(TestDescription test)
|
Korunan yöntemler |
TestRecordProto.ChildReference
|
createModuleChildReference(TestRecordProto.TestRecord record)
Bir modül için alt referans oluşturur.
|
Herkese açık kurucular
ProtoResultReporter
public ProtoResultReporter ()
Herkese açık yöntemler
invocationEnded
public final void invocationEnded (long elapsedTime)
Parametreler |
elapsedTime |
long |
invocationFailed
public void invocationFailed (FailureDescription failure)
Parametreler |
failure |
FailureDescription |
invocationFailed
public void invocationFailed (Throwable cause)
Parametreler |
cause |
Throwable |
invocationStarted
public final void invocationStarted (IInvocationContext context)
Parametreler |
context |
IInvocationContext |
logAssociation
public final void logAssociation (String dataName,
LogFile logFile)
Parametreler |
dataName |
String |
logFile |
LogFile |
processFinalProto
public void processFinalProto (TestRecordProto.TestRecord finalRecord)
Tüm sonuçlarla birlikte nihai prototipin işlenmesi.
Parametreler |
finalRecord |
TestRecordProto.TestRecord : Tüm çağrı sonuçlarını içeren nihai proto.
|
processStartInvocation
public void processStartInvocation (TestRecordProto.TestRecord invocationStartRecord,
IInvocationContext invocationContext)
invocationStarted(com.android.tradefed.invoker.IInvocationContext)
oluştuktan sonra kısmi çağrı testi kaydı prototipinin işlenmesi.
Parametreler |
invocationStartRecord |
TestRecordProto.TestRecord : invocationStart'tan sonra doldurulan kısmi proto. |
invocationContext |
IInvocationContext : IInvocationContext çağrısı.
|
processTestCaseStarted
public void processTestCaseStarted (TestRecordProto.TestRecord testCaseStartedRecord)
testStarted(com.android.tradefed.result.TestDescription, long)
oluştuktan sonra kısmi test kaydı prototipinin işlenmesi.
Parametreler |
testCaseStartedRecord |
TestRecordProto.TestRecord : Test durumunu temsil eden kısmi proto.
|
processTestModuleEnd
public void processTestModuleEnd (TestRecordProto.TestRecord moduleRecord)
testModuleEnded()
gerçekleştikten sonra nihai modül kaydı prototipinin işlenmesi.
Parametreler |
moduleRecord |
TestRecordProto.TestRecord : Modülü temsil eden nihai proto.
|
processTestRunEnded
public void processTestRunEnded (TestRecordProto.TestRecord runRecord,
boolean moduleInProgress)
ITestLifeCycleReceiver.testRunEnded(long, HashMap)
meydana geldikten sonra tamamlanmış çalıştırma kaydı prototipinin işlenmesi.
Parametreler |
runRecord |
TestRecordProto.TestRecord : Çalıştırmayı temsil eden nihai proto. |
moduleInProgress |
boolean : Bir modülün devam edip etmediğini belirtir.
|
processTestRunStarted
public void processTestRunStarted (TestRecordProto.TestRecord runStartedRecord)
testRunStarted(String, int)
meydana geldikten sonra kısmi test çalıştırma kaydı prototipinin işlenmesi.
Parametreler |
runStartedRecord |
TestRecordProto.TestRecord : Çalıştırmayı temsil eden kısmi proto.
|
supportGranularResults
public boolean supportGranularResults ()
testAssumptionFailure
public final void testAssumptionFailure (TestDescription test,
String trace)
Parametreler |
test |
TestDescription |
trace |
String |
testAssumptionFailure
public final void testAssumptionFailure (TestDescription test,
FailureDescription failure)
Parametreler |
test |
TestDescription |
failure |
FailureDescription |
testEnded
public final void testEnded (TestDescription test,
long endTime,
testMetrics)
Parametreler |
test |
TestDescription |
endTime |
long |
testMetrics |
|
testEnded
public void testEnded (TestDescription test,
testMetrics)
Parametreler |
test |
TestDescription |
testMetrics |
|
testFailed
public final void testFailed (TestDescription test,
FailureDescription failure)
Parametreler |
test |
TestDescription |
failure |
FailureDescription |
testFailed
public final void testFailed (TestDescription test,
String trace)
Parametreler |
test |
TestDescription |
trace |
String |
testIgnored
public final void testIgnored (TestDescription test)
Parametreler |
test |
TestDescription |
testModuleEnded
public final void testModuleEnded ()
testModuleStarted
public final void testModuleStarted (IInvocationContext moduleContext)
Parametreler |
moduleContext |
IInvocationContext |
testRunEnded
public final void testRunEnded (long elapsedTimeMillis,
runMetrics)
Parametreler |
elapsedTimeMillis |
long |
runMetrics |
|
testRunFailed
public final void testRunFailed (FailureDescription failure)
Parametreler |
failure |
FailureDescription |
testRunFailed
public final void testRunFailed (String errorMessage)
Parametreler |
errorMessage |
String |
testRunStarted
public void testRunStarted (String runName,
int testCount,
int attemptNumber)
Parametreler |
runName |
String |
testCount |
int |
attemptNumber |
int |
testRunStarted
public final void testRunStarted (String runName,
int testCount)
Parametreler |
runName |
String |
testCount |
int |
testRunStarted
public void testRunStarted (String runName,
int testCount,
int attemptNumber,
long startTime)
Parametreler |
runName |
String |
testCount |
int |
attemptNumber |
int |
startTime |
long |
testStarted
public final void testStarted (TestDescription test,
long startTime)
Parametreler |
test |
TestDescription |
startTime |
long |
testStarted
public final void testStarted (TestDescription test)
Parametreler |
test |
TestDescription |
Korunan yöntemler
createModuleChildReference
protected TestRecordProto.ChildReference createModuleChildReference (TestRecordProto.TestRecord record)
Bir modül için alt referans oluşturur.
Parametreler |
record |
TestRecordProto.TestRecord |
İlerlemeler |
TestRecordProto.ChildReference |
|
Bu sayfadaki içerik ve kod örnekleri, İçerik Lisansı sayfasında açıklanan lisanslara tabidir. Java ve OpenJDK, Oracle ve/veya satış ortaklarının tescilli ticari markasıdır.
Son güncelleme tarihi: 2025-03-26 UTC.
[[["Anlaması kolay","easyToUnderstand","thumb-up"],["Sorunumu çözdü","solvedMyProblem","thumb-up"],["Diğer","otherUp","thumb-up"]],[["İhtiyacım olan bilgiler yok","missingTheInformationINeed","thumb-down"],["Çok karmaşık / çok fazla adım var","tooComplicatedTooManySteps","thumb-down"],["Güncel değil","outOfDate","thumb-down"],["Çeviri sorunu","translationIssue","thumb-down"],["Örnek veya kod sorunu","samplesCodeIssue","thumb-down"],["Diğer","otherDown","thumb-down"]],["Son güncelleme tarihi: 2025-03-26 UTC."],[],[]]