< prev index next >

## src/com/sun/javatest/cof/COFTestCase.java

Print this page

    *** 88,113 ****
       "description"
       })*/
      public class COFTestCase extends COFItem {
              static long count = 0;

    !         static LinkedHashMap xmlAttributes;

    !         static LinkedHashMap xmlElements;

              static String xmlTagName;

              static {
                      xmlTagName = "testcase";
    !                 xmlElements = new LinkedHashMap();
                      xmlElements.put("name", "name");
                      xmlElements.put("status", "status");
                      xmlElements.put("starttime", "starttime");
                      xmlElements.put("endtime", "endtime");
                      xmlElements.put("attributes", "attributes");
                      xmlElements.put("description", "description");
    !                 xmlAttributes = new LinkedHashMap();
                      xmlAttributes.put("id", "id");
      //              xmlAttributes.put("analysis", "analysis");
              }

              //    @XmlAttribute
    --- 88,113 ----
       "description"
       })*/
      public class COFTestCase extends COFItem {
              static long count = 0;

    !         static LinkedHashMap<String, String> xmlAttributes;

    !         static LinkedHashMap<String, String> xmlElements;

              static String xmlTagName;

              static {
                      xmlTagName = "testcase";
    !                 xmlElements = new LinkedHashMap<>();
                      xmlElements.put("name", "name");
                      xmlElements.put("status", "status");
                      xmlElements.put("starttime", "starttime");
                      xmlElements.put("endtime", "endtime");
                      xmlElements.put("attributes", "attributes");
                      xmlElements.put("description", "description");
    !                 xmlAttributes = new LinkedHashMap<>();
                      xmlAttributes.put("id", "id");
      //              xmlAttributes.put("analysis", "analysis");
              }

              //    @XmlAttribute
    *** 200,214 ****
               */
              public String getId() {
                      return name + ":" + idNum;
              }

    !         LinkedHashMap getItemAttributes() {
                      return xmlAttributes;
              }

    !         LinkedHashMap getItemElements() {
                      return xmlElements;
              }

              String getItemTagName() {
                      return xmlTagName;
    --- 200,214 ----
               */
              public String getId() {
                      return name + ":" + idNum;
              }

    !         LinkedHashMap<String, String> getItemAttributes() {
                      return xmlAttributes;
              }

    !         LinkedHashMap<String, String> getItemElements() {
                      return xmlElements;
              }

              String getItemTagName() {
                      return xmlTagName;

< prev index next >