EmmaXmlReportParser
public
class
EmmaXmlReportParser
extends Object
java.lang.Object | |
↳ | com.android.tradefed.util.EmmaXmlReportParser |
Helper class used to parse the Emma code coverage xml report for the summary.
Summary
Fields | |
---|---|
Map<String, String[]> |
mDataMetrics
|
Map<String, String> |
mSummaryMetrics
|
Public constructors | |
---|---|
EmmaXmlReportParser()
|
Public methods | |
---|---|
static
String
|
getAttributeValue(Element element, String attrName)
Return the value of an attribute in an element or null if the attribute is not found. |
Map<String, String[]>
|
getDataMetrics()
|
Map<String, String>
|
getSummaryMetrics()
|
void
|
parseXmlFile(File XMLfile)
|
Fields
mDataMetrics
Map<String, String[]> mDataMetrics
mSummaryMetrics
Map<String, String> mSummaryMetrics
Public constructors
EmmaXmlReportParser
public EmmaXmlReportParser ()
Public methods
getAttributeValue
public static String getAttributeValue (Element element, String attrName)
Return the value of an attribute in an element or null if the attribute is not found.
Parameters | |
---|---|
element |
Element : Element whose attribute is looked for |
attrName |
String : String name of attribute to look for |
Returns | |
---|---|
String |
the attribute value |
getDataMetrics
public Map<String, String[]> getDataMetrics ()
Returns | |
---|---|
Map<String, String[]> |
getSummaryMetrics
public Map<String, String> getSummaryMetrics ()
Returns | |
---|---|
Map<String, String> |
parseXmlFile
public void parseXmlFile (File XMLfile)
Parameters | |
---|---|
XMLfile |
File |
Interfaces
Classes
- AaptParser
- AbiFormatter
- AbiUtils
- Alarm
- AppVersionFetcher
- ArrayUtil
- BluetoothUtils
- Bugreport
- BuildTestsZipUtils
- BulkEmailer
- ByteArrayList
- CircularAtraceUtil
- CircularByteArray
- ClassPathScanner
- ClassPathScanner.ClassNameFilter
- ClassPathScanner.ExternalClassNameFilter
- CommandResult
- ConditionPriorityBlockingQueue
- ConditionPriorityBlockingQueue.AlwaysMatch
- ConfigCompletor
- DeviceConcurrentUtil
- DeviceConcurrentUtil.ShellCommandCallable
- DeviceRecoveryModeUtil
- DirectedGraph
- EmmaXmlConstants
- EmmaXmlReportParser
- FakeTestsZipFolder
- FileUtil
- FixedByteArrayOutputStream
- GCSBucketUtil
- GCSFileDownloader
- HprofAllocSiteParser
- IEmail.Message
- JUnit4TestFilter
- JUnitXmlParser
- KeyguardControllerState
- ListInstrumentationParser
- ListInstrumentationParser.InstrumentationTarget
- LogcatUpdaterEventParser
- LogcatUpdaterEventParser.AsyncUpdaterEvent
- MetricsXmlParser
- MultiMap
- NullUtil
- Pair
- ProcessInfo
- PropertyChanger
- PsParser
- QuotationAwareTokenizer
- RegexTrie
- RegexTrie.CompPattern
- RunUtil
- RunUtil.RunnableResult
- SerializationUtil
- SimplePerfResult
- SimplePerfStatResultParser
- SimplePerfUtil
- SimpleStats
- SizeLimitedOutputStream
- StreamUtil
- StringEscapeUtils
- SubprocessEventHelper
- SubprocessEventHelper.BaseTestEventInfo
- SubprocessEventHelper.FailedTestEventInfo
- SubprocessEventHelper.InvocationFailedEventInfo
- SubprocessEventHelper.InvocationStartedEventInfo
- SubprocessEventHelper.LogAssociationEventInfo
- SubprocessEventHelper.TestEndedEventInfo
- SubprocessEventHelper.TestLogEventInfo
- SubprocessEventHelper.TestModuleStartedEventInfo
- SubprocessEventHelper.TestRunEndedEventInfo
- SubprocessEventHelper.TestRunFailedEventInfo
- SubprocessEventHelper.TestRunStartedEventInfo
- SubprocessEventHelper.TestStartedEventInfo
- SubprocessTestResultsParser
- SubprocessTestResultsParser.StatusKeys
- SystemUtil
- TableBuilder
- TableFormatter
- TarUtil
- TestFilterHelper
- TestLoader
- TestMapping
- TestMapping.TestInfo
- TestMapping.TestOption
- TimeUtil
- TimeVal
- UniqueMultiMap
- VersionParser
- ZipCompressionStrategy
- ZipUtil
- ZipUtil2
Enums
Exceptions