private void serializeTestSummary(KXmlSerializer serializer) throws IOException {
  serializer.startTag(ns,SUMMARY_TAG);
  serializer.attribute(ns,HAS_CRASH_ATTR,getHasCrash());
  serializer.attribute(ns,CRASH_FILE_ATTR,getCrashFile());
  serializer.attribute(ns,DURATION_ATTR,getDuration());
  serializer.attribute(CtsXmlResultReporter.ns,RESULT_ATTR,getResult());
  serializer.endTag(ns,SUMMARY_TAG);
}

private void serializeTestSummary ( KXmlSerializer serializer ) throws IOException { serializer . startTag ( ns , SUMMARY_TAG ) ; serializer . attribute ( ns , HAS_CRASH_ATTR , getHasCrash ( ) ) ; serializer . attribute ( ns , CRASH_FILE_ATTR , getCrashFile ( ) ) ; serializer . attribute ( ns , DURATION_ATTR , getDuration ( ) ) ; serializer . attribute ( CtsXmlResultReporter . ns , RESULT_ATTR , getResult ( ) ) ; serializer . endTag ( ns , SUMMARY_TAG ) ; }
output the test summary xml containing summary totals for all tests .
