< prev index next >

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

Print this page

    *** 61,90 ****
      @XmlType(name = "TestCases", propOrder = {
          "testcase"
      })*/
      public class COFTestCases extends COFItem{

    !         static LinkedHashMap xmlAttributes;

    !         static LinkedHashMap xmlElements;

              static String xmlTagName;

              static {
                      xmlTagName = "testcases";
    !                 xmlElements = new LinkedHashMap();
                      xmlElements.put("testcase", "testcase");
              }

              //    @XmlElement(namespace = "http://qare.sfbay.sun.com/projects/COF/2003/2_0_2/Schema", required = true)
    !     protected List/*<COFTestCase>*/ testcase;

    !         LinkedHashMap getItemAttributes() {
                      return xmlAttributes;
              }

    !         LinkedHashMap getItemElements() {
                      return xmlElements;
              }

              String getItemTagName() {
    --- 61,90 ----
      @XmlType(name = "TestCases", propOrder = {
          "testcase"
      })*/
      public class COFTestCases extends COFItem{

    !         static LinkedHashMap<String, String> xmlAttributes;

    !         static LinkedHashMap<String, String> xmlElements;

              static String xmlTagName;

              static {
                      xmlTagName = "testcases";
    !                 xmlElements = new LinkedHashMap<>();
                      xmlElements.put("testcase", "testcase");
              }

              //    @XmlElement(namespace = "http://qare.sfbay.sun.com/projects/COF/2003/2_0_2/Schema", required = true)
    !     protected List<COFTestCase> testcase;

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

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

              String getItemTagName() {
    *** 111,123 ****
           * Objects of the following type(s) are allowed in the list
           * {@link COFTestCase }
           *
           *
           */
    !     public List/*<COFTestCase>*/ getTestcase() {
              if (testcase == null) {
    !             testcase = new ArrayList/*<COFTestCase>*/();
              }
              return this.testcase;
          }

              /* (non-Javadoc)
    --- 111,123 ----
           * Objects of the following type(s) are allowed in the list
           * {@link COFTestCase }
           *
           *
           */
    !     public List<COFTestCase> getTestcase() {
              if (testcase == null) {
    !             testcase = new ArrayList<>();
              }
              return this.testcase;
          }

              /* (non-Javadoc)

< prev index next >