ইভেন্টলগার লিসেনার

public class EventsLoggerListener
extends Object implements ILogSaverListener প্রসারিত করে

java.lang.অবজেক্ট
com.android.tradefed.result.EventsLoggerListener


শ্রোতা যে এটি একটি ফাইলে প্রাপ্ত সমস্ত ইভেন্ট লগ করে

সারসংক্ষেপ

পাবলিক কনস্ট্রাক্টর

EventsLoggerListener (String name)

পাবলিক পদ্ধতি

File getLoggedEvents ()
void invocationEnded (long elapsedTime)
void invocationFailed (FailureDescription failure)
void invocationStarted (IInvocationContext context)
void logAssociation (String dataName, LogFile logFile)
void testAssumptionFailure (TestDescription test, String trace)
void testAssumptionFailure (TestDescription test, FailureDescription failure)
void testEnded (TestDescription test, long endTime, testMetrics) testEnded (TestDescription test, long endTime, testMetrics)
void testFailed (TestDescription test, FailureDescription failure)
void testFailed (TestDescription test, String trace)
void testIgnored (TestDescription test)
void testModuleEnded ()
void testModuleStarted (IInvocationContext moduleContext)
void testRunEnded (long elapsedTimeMillis, runMetrics) testRunEnded (long elapsedTimeMillis, runMetrics)
void testRunFailed (FailureDescription failure)
void testRunFailed (String errorMessage)
void testRunStarted (String runName, int testCount, int attemptNumber, long startTime)
void testStarted (TestDescription test, long startTime)

পাবলিক কনস্ট্রাক্টর

ইভেন্টলগার লিসেনার

public EventsLoggerListener (String name)

পরামিতি
name String

পাবলিক পদ্ধতি

getLoggedEvents

public File getLoggedEvents ()

রিটার্নস
File

আহ্বান শেষ

public void invocationEnded (long elapsedTime)

পরামিতি
elapsedTime long

আমন্ত্রণ ব্যর্থ

public void invocationFailed (FailureDescription failure)

পরামিতি
failure FailureDescription

আমন্ত্রণ শুরু হয়েছে

public void invocationStarted (IInvocationContext context)

পরামিতি
context IInvocationContext

লগ অ্যাসোসিয়েশন

public void logAssociation (String dataName, 
                LogFile logFile)

পরামিতি
dataName String

logFile LogFile

পরীক্ষা অনুমান ব্যর্থতা

public void testAssumptionFailure (TestDescription test, 
                String trace)

পরামিতি
test TestDescription

trace String

পরীক্ষা অনুমান ব্যর্থতা

public void testAssumptionFailure (TestDescription test, 
                FailureDescription failure)

পরামিতি
test TestDescription

failure FailureDescription

পরীক্ষা শেষ

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

পরীক্ষা উপেক্ষা করা হয়েছে

public void testIgnored (TestDescription test)

পরামিতি
test TestDescription

testModule শেষ

public void testModuleEnded ()

testModule শুরু হয়েছে

public void testModuleStarted (IInvocationContext moduleContext)

পরামিতি
moduleContext IInvocationContext

testRunended

public void testRunEnded (long elapsedTimeMillis, 
                 runMetrics)

পরামিতি
elapsedTimeMillis long

runMetrics

testRunfailed

public void testRunFailed (FailureDescription failure)

পরামিতি
failure FailureDescription

testRunfailed

public void testRunFailed (String errorMessage)

পরামিতি
errorMessage String

testRunStarted

public void testRunStarted (String runName, 
                int testCount, 
                int attemptNumber, 
                long startTime)

পরামিতি
runName String

testCount int

attemptNumber int

startTime long

পরীক্ষা শুরু হয়েছে

public void testStarted (TestDescription test, 
                long startTime)

পরামিতি
test TestDescription

startTime long