synchronized void longReport(IvyXmlWriter xw) {
    xw.begin("TEST");
    xw.field("NAME", test_name);
    xw.field("STATUS", test_status);
    xw.field("STATE", test_state);
    xw.field("CLASS", class_name);
    if (test_class != null) xw.field("TCLASS", test_class);
    xw.field("METHOD", method_name);

    if (fail_message != null) {
      xw.cdataElement("EXCEPTION", fail_message);
      xw.cdataElement("TRACE", fail_trace);
    }

    if (count_data != null) count_data.report(xw);

    for (String s : annotation_types) {
      xw.textElement("ANNOT", s);
    }

    xw.end("TEST");
  }