LogcatCrashresults फ़ॉरवर्डर
public
class
LogcatCrashResultForwarder
extends ResultForwarder
java.lang.Object | ||
↳ | com.android.tradefed.result.results फ़ॉरवर्डer | |
↳ | com.android.tradefed.result.LogcatCrashresults फ़ॉरवर्डer |
स्पेशल लिसनर: विफलताओं (इंस्ट्रुमेंट प्रोसेस क्रैश होने) पर, यह एक्सट्रैक्ट करने की कोशिश करेगा क्रैश का लॉगकैट करता है और उसे टेस्ट से जुड़े फ़ेलियर मैसेज में जोड़ देता है.
खास जानकारी
स्थिरांक | |
---|---|
int |
MAX_NUMBER_CRASH
|
फ़ील्ड्स की फ़िल्में | |
---|---|
public
static
final
String |
ERROR_MESSAGE
डिवाइस में कोई गड़बड़ी होने पर, इंस्ट्रुमेंटेशन से मिलने वाली गड़बड़ी का खास मैसेज. |
public
static
final
String |
INCOMPLETE_MESSAGE
|
public
static
final
String |
SYSTEM_CRASH_MESSAGE
|
public
static
final
|
TIMEOUT_MESSAGES
|
सार्वजनिक कंस्ट्रक्टर | |
---|---|
LogcatCrashResultForwarder(ITestDevice device, ITestInvocationListener... listeners)
|
सार्वजनिक तरीके | |
---|---|
ITestDevice
|
getDevice()
|
void
|
testEnded(TestDescription test, long endTime,
|
void
|
testFailed(TestDescription test, FailureDescription failure)
|
void
|
testFailed(TestDescription test, String trace)
|
void
|
testRunEnded(long elapsedTime,
|
void
|
testRunFailed(FailureDescription error)
|
void
|
testRunFailed(String errorMessage)
|
void
|
testStarted(TestDescription test, long startTime)
|
स्थिरांक
MAX_NUMBER_CRASH
public static final int MAX_NUMBER_CRASH
कॉन्स्टेंट वैल्यू: 3 (0x00000003)
फ़ील्ड्स की फ़िल्में
गड़बड़ी संदेश
public static final String ERROR_MESSAGE
डिवाइस में कोई गड़बड़ी होने पर, इंस्ट्रुमेंटेशन से मिलने वाली गड़बड़ी का खास मैसेज.
पूरा न होने की वजह से भेजा गया मैसेज
public static final String INCOMPLETE_MESSAGE
सिस्टम CRASH_MESSAGE
public static final String SYSTEM_CRASH_MESSAGE
CANNOT TRANSLATE
public static finalTIMEOUT_MESSAGES
सार्वजनिक कंस्ट्रक्टर
LogcatCrashresults फ़ॉरवर्डर
public LogcatCrashResultForwarder (ITestDevice device, ITestInvocationListener... listeners)
पैरामीटर | |
---|---|
device |
ITestDevice |
listeners |
ITestInvocationListener |
सार्वजनिक तरीके
'डिवाइस पाएं'
public ITestDevice getDevice ()
रिटर्न | |
---|---|
ITestDevice |
परीक्षण खत्म
public void testEnded (TestDescription test, long endTime,testMetrics)
पैरामीटर | |
---|---|
test |
TestDescription |
endTime |
long |
testMetrics |
|
जांच नहीं की जा सकी
public void testFailed (TestDescription test, FailureDescription failure)
पैरामीटर | |
---|---|
test |
TestDescription |
failure |
FailureDescription |
जांच नहीं की जा सकी
public void testFailed (TestDescription test, String trace)
पैरामीटर | |
---|---|
test |
TestDescription |
trace |
String |
testRunEnded
public void testRunEnded (long elapsedTime,runMetrics)
पैरामीटर | |
---|---|
elapsedTime |
long |
runMetrics |
|
परीक्षणरन विफल
public void testRunFailed (FailureDescription error)
पैरामीटर | |
---|---|
error |
FailureDescription |
परीक्षणरन विफल
public void testRunFailed (String errorMessage)
पैरामीटर | |
---|---|
errorMessage |
String |
परीक्षण प्रारंभ
public void testStarted (TestDescription test, long startTime)
पैरामीटर | |
---|---|
test |
TestDescription |
startTime |
long |