Home
last modified time | relevance | path

Searched refs:ReportLog (Results 1 – 8 of 8) sorted by relevance

/platform_testing/libraries/compatibility-common-util/tests/src/com/android/compatibility/common/util/
DReportLogTest.java19 import com.android.compatibility.common.util.ReportLog.Metric;
45 private ReportLog mReportLog;
49 mReportLog = new ReportLog(); in setUp()
54 ReportLog.serialize(null); in testSerialize_null()
62 ReportLog.serialize(mReportLog); in testSerialize_noData()
68 ReportLog.serialize(mReportLog)); in testSerialize_summaryOnly()
73 assertEquals(HEADER_XML, ReportLog.serialize(mReportLog)); in testSerialize_detailOnly()
80 ReportLog.serialize(mReportLog)); in testSerialize_full()
85 ReportLog.parse((String) null); in testParse_null()
93 ReportLog report = ReportLog.parse(HEADER_XML); in testParse_noData()
[all …]
DResultHandlerTest.java238 ReportLog report = new ReportLog(); in testSerialization()
239 ReportLog.Metric summary = new ReportLog.Metric(SUMMARY_SOURCE, SUMMARY_MESSAGE, in testSerialization()
328 ReportLog report = new ReportLog(); in testSerialization_whenTestResultWithTestResultHistoryWithoutParsing()
329 ReportLog.Metric summary = in testSerialization_whenTestResultWithTestResultHistoryWithoutParsing()
330 new ReportLog.Metric( in testSerialization_whenTestResultWithTestResultHistoryWithoutParsing()
648 ReportLog report = moduleBTest4.getReportLog(); in checkResult()
650 ReportLog.Metric summary = report.getSummary(); in checkResult()
DMetricsXmlSerializerTest.java33 static class LocalReportLog extends ReportLog {}
/platform_testing/libraries/compatibility-common-util/src/com/android/compatibility/common/util/
DITestResult.java71 ReportLog getReportLog(); in getReportLog()
76 void setReportLog(ReportLog report); in setReportLog()
120 void passed(ReportLog report); in passed()
DReportLog.java35 public class ReportLog implements Serializable { class
165 public ReportLog() { in ReportLog() method in ReportLog
169 public ReportLog(String reportLogName, String streamName) { in ReportLog() method in ReportLog
302 public static String serialize(ReportLog reportlog) throws XmlPullParserException, in serialize()
320 public static void serialize(XmlSerializer serializer, ReportLog reportLog) in serialize()
339 public static ReportLog parse(String result) throws XmlPullParserException, IOException { in parse()
345 return new ReportLog(); in parse()
354 return new ReportLog(); in parse()
365 public static ReportLog parse(XmlPullParser parser) throws XmlPullParserException, IOException { in parse()
368 ReportLog report = new ReportLog(); in parse()
DMetricsXmlSerializer.java35 public void serialize(ReportLog reportLog) throws IOException { in serialize()
39 ReportLog.Metric summary = reportLog.getSummary(); in serialize()
DTestResult.java30 private ReportLog mReport;
116 public ReportLog getReportLog() { in getReportLog()
124 public void setReportLog(ReportLog report) { in setReportLog()
197 public void passed(ReportLog report) { in passed()
DResultHandler.java301 test.setReportLog(ReportLog.parse(parser)); in getResultFromDir()
556 ReportLog report = r.getReportLog(); in writeResults()
558 ReportLog.serialize(serializer, report); in writeResults()