GoogleBenchmarkResultParser

public class GoogleBenchmarkResultParser
extends Object

java.lang.Object
com.android.tradefed.testtype.GoogleBenchmarkResultParser


يوزع نتائج Google Benchmark التي تعمل من shell ، ويعيد خريطة بكل النتائج.

ملخص

المنشأت العامة

GoogleBenchmarkResultParser (String testClassName, ITestInvocationListener listener)

الأساليب العامة

parse ( CollectingOutputReceiver output)

تحليل خط إخراج فردي.

الطرق المحمية

parseJsonToMap (JSONObject j)

المساعد الذي يتخطى جميع مفاتيح json ويضعها في خريطة بقيمتها المطابقة.

المنشأت العامة

GoogleBenchmarkResultParser

public GoogleBenchmarkResultParser (String testClassName, 
                ITestInvocationListener listener)

حدود
testClassName String

listener ITestInvocationListener

الأساليب العامة

تحليل

public  parse (CollectingOutputReceiver output)

تحليل خط إخراج فردي. الاسم ، التكرارات ، الوقت الحقيقي ، cpu_time ، bytes_per_second ، items_per_second ، التصنيف

حدود
output CollectingOutputReceiver : يحتوي على مخرجات الاختبار

عائدات
خريطة تحتوي على عدد الاختبارات التي تم إجراؤها.

الطرق المحمية

تحليل

protected  parseJsonToMap (JSONObject j)

المساعد الذي يتخطى جميع مفاتيح json ويضعها في خريطة بقيمتها المطابقة.

حدود
j JSONObject

عائدات

رميات
JSONException