Package br.eti.kinoshita.testlinkjavaapi.model

Examples of br.eti.kinoshita.testlinkjavaapi.model.CustomField


    String customFieldName,
    ResponseDetails details
  )
  throws TestLinkAPIException
  {
    CustomField customField = null;
   
    try
    {
      Map<String, Object> executionData = new HashMap<String, Object>();
      executionData.put( TestLinkParams.testCaseId.toString(), testCaseId );
      executionData.put( TestLinkParams.testCaseExternalId.toString(), testCaseExternalId );
      executionData.put( TestLinkParams.version.toString(), versionNumber );
      executionData.put( TestLinkParams.testProjectId.toString(), testProjectId );
      executionData.put( TestLinkParams.customFieldName.toString(), customFieldName );
      executionData.put( TestLinkParams.details.toString(), Util.getStringValueOrNull( details ) );
     
      Object response = this.executeXmlRpcCall(
          TestLinkMethods.getTestCaseCustomFieldDesignValue.toString(), executionData);
     
      if ( response instanceof String )
      {
        customField = new CustomField();
        customField.setValue( response.toString() );
      }
      else if ( response instanceof Map<?, ?> )
      {
        Map<String, Object> responseMap = (Map<String, Object>)response;
        customField = Util.getCustomField( responseMap );
View Full Code Here

TOP

Related Classes of br.eti.kinoshita.testlinkjavaapi.model.CustomField

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.