Class JSONWebServices


  • public class JSONWebServices
    extends BaseWSTest
    Test cases for JSON dal web services
    Author:
    alostale
    • Constructor Detail

      • JSONWebServices

        public JSONWebServices()
    • Method Detail

      • selectedPropertiesUsingId

        public void selectedPropertiesUsingId()
                                       throws org.codehaus.jettison.json.JSONException
        When getting a single record by id, selected properties should be taken into account
        Throws:
        org.codehaus.jettison.json.JSONException
      • selectedPropertiesNotUsingId

        public void selectedPropertiesNotUsingId()
                                          throws org.codehaus.jettison.json.JSONException
        When getting a set of records without id, selected properties should be taken into account.
        Throws:
        org.codehaus.jettison.json.JSONException
      • distinctParameterShouldWork

        public void distinctParameterShouldWork()
                                         throws org.codehaus.jettison.json.JSONException
        Asserts JSON REST web services support distinct parameter.
        Throws:
        org.codehaus.jettison.json.JSONException
      • distinctOrgParameterShouldWork

        public void distinctOrgParameterShouldWork()
                                            throws org.codehaus.jettison.json.JSONException
        Asserts JSON REST web services support distinct parameter for Organization, this case is internally managed differently.
        Throws:
        org.codehaus.jettison.json.JSONException