Compliance Tests DirectoryDetailed description of each test in the directory
Suite:: PPL People/Person Requests Test Suite
PPLX00 newFetchPersonRequest - VIEWER/OWNER (no parameters)
| Description | Test if you can retrieve profile of VIEWER/OWNER. | | Priority | P0 | | Spec | newFetchPersonRequest | | Request | newFetchPersonRequest('VIEWER', 'viewer'); | | | newFetchPersonRequest('VIEWER', 'viewer'); | | Pre-requisite | Run test as viewer is owner | | Expected Results | viewer and owner profile |
PPLX01 newFetchPersonRequest - VIEWER/OWNER (all person fields)
| Description | Test if view all parameters of opensocial.Person.Field for VIEWER/OWNER profile. | | Priority | P0 | | Spec | newFetchPersonRequest | | | PROFILE_DETAILS | | Request | newFetchPersonRequest('VIEWER', 'viewer'); | | | newFetchPersonRequest('VIEWER', 'viewer'); | | Pre-requisite | Run test as viewer is owner | | Expected Results | Shouldn't throw exception. Viewer and owner profile with all supported fields |
PPLX02 opensocial.hasPermission(VIEWER)
| Description | Test if gadget has permission as VIEWER | | Priority | P0 | | Spec | $SPEC | | Request | $REQUEST | | Expected Results | $EXPECTED_RESULT |
PPLX03 opensocial.requestPermission(opensocial.Permission.VIEWER, reason,callback)
| Description | Test if you can call requestPermission for VIEWER for test reason | | Priority | P2 | | Spec | $SPEC | | Request | $REQUEST | | Expected Results | $EXPECTED_RESULT |
PPLX04 opensocial.requestShareApp(opensocial.Permission.VIEWER, reason,callback)
| Description | Test if you can call requestPermission for VIEWER for test reason | | Priority | P2 | | Spec | $SPEC | | Request | $REQUEST | | Expected Results | $EXPECTED_RESULT |
PPL003 newFetchPersonRequest - VIEWER (profile_details: addresses)
| Description | Test if you can view address details of VIEWER profile. | | Priority | P2 | | Spec | $SPEC | | Request | $REQUEST | | Expected Results | $EXPECTED_RESULT |
PPL004 newFetchPersonRequest - VIEWER (profile_details: urls)
| Description | Test if you can view URLs information for VIEWER profile. | | Priority | P2 | | Spec | $SPEC | | Request | $REQUEST | | Expected Results | $EXPECTED_RESULT |
PPL005 newFetchPersonRequest - VIEWER (profile_details: name)
| Description | Test if you can view NAME of VIEWER profile. | | Priority | P2 | | Spec | $SPEC | | Request | $REQUEST | | Expected Results | $EXPECTED_RESULT |
PPL006 newFetchPersonRequest - VIEWER (profile_details: currentLocation)
| Description | Test if you can view CURRENT_LOCATION of VIEWER profile. | | Priority | P2 | | Spec | $SPEC | | Request | $REQUEST | | Expected Results | $EXPECTED_RESULT |
PPL007 newFetchPersonRequest - VIEWER (profile_details: gender)
| Description | Test if you can view GENDER details of VIEWER profile. | | Priority | P2 | | Spec | $SPEC | | Request | $REQUEST | | Expected Results | $EXPECTED_RESULT |
PPL008 newFetchPersonRequest - VIEWER (profile_details: bodyType)
| Description | Test if you can view BODY_TYPE of VIEWER profile. | | Priority | P2 | | Spec | $SPEC | | Request | $REQUEST | | Expected Results | $EXPECTED_RESULT |
PPL009 newFetchPersonRequest - VIEWER (profile_details: schools)
| Description | Test if you can view SCHOOLS of VIEWER profile. | | Priority | P2 | | Spec | $SPEC | | Request | $REQUEST | | Expected Results | $EXPECTED_RESULT |
PPL104 newFetchPersonRequest - OWNER (profile_details: addresses)
| Description | Test if you can view address information of OWNER profile | | Priority | P2 | | Spec | $SPEC | | Request | $REQUEST | | Expected Results | $EXPECTED_RESULT |
PPL105 newFetchPersonRequest - OWNER (profile_details: bodyType)
| Description | Test if you can view BODY_TYPE of OWNER profile | | Priority | P2 | | Spec | $SPEC | | Request | $REQUEST | | Expected Results | $EXPECTED_RESULT |
PPL106 newFetchPersonRequest - OWNER (profile_details: schools)
| Description | Test if you can view SCHOOLS of OWNER profile | | Priority | P2 | | Spec | $SPEC | | Request | $REQUEST | | Expected Results | $EXPECTED_RESULT |
PPL107 newFetchPersonRequest - OWNER (profile_details: urls)
| Description | Test if you can view URLS of OWNER profile | | Priority | P2 | | Spec | $SPEC | | Request | $REQUEST | | Expected Results | $EXPECTED_RESULT |
PPL108 newFetchPersonRequest - OWNER (profile_details: GENDER) test ENUM
| Description | Test if you can view GENDER information of OWNER profile | | Priority | P2 | | Spec | $SPEC | | Request | $REQUEST | | Expected Results | $EXPECTED_RESULT |
PPL200 newFetchPersonRequest - String ID
| Description | Test if you can view profile for given ID - numeric value | | Priority | P0 | | Spec | $SPEC | | Request | $REQUEST | | Expected Results | $EXPECTED_RESULT |
PPL300 newFetchPersonRequest - Empty idSpec. Error is expected.
| Description | Test if you get error while trying to fetch profile without passing any parameter. | | Priority | P2 | | Spec | $SPEC | | Request | $REQUEST | | Expected Results | $EXPECTED_RESULT |
PPL501 newFetchPeopleRequest - VIEWER_FRIENDS (default - no params)
| Description | Test if you can retrieve viewer's friends information | | Priority | P0 | | Spec | $SPEC | | Request | $REQUEST | | Expected Results | $EXPECTED_RESULT |
PPL502 newFetchPeopleRequest - VIEWER_FRIENDS (profile_details basic)
| Description | Test if you can retrieve viewer's friends basic profile detail. | | Priority | P0 | | Spec | $SPEC | | Request | $REQUEST | | Expected Results | $EXPECTED_RESULT |
PPL503 newFetchPeopleRequest - VIEWER_FRIENDS (all & default sort) ACL
| Description | Test if you can retrieve viewer's friends all details. | | Priority | P2 | | Spec | $SPEC | | Request | $REQUEST | | Expected Results | $EXPECTED_RESULT |
PPL504 newFetchPeopleRequest - VIEWER_FRIENDS (topFriends)
| Description | Test if you can retrieve viewer's top friends | | Priority | P0 | | Spec | $SPEC | | Request | $REQUEST | | Expected Results | $EXPECTED_RESULT |
PPL505 newFetchPeopleRequest - VIEWER_FRIENDS (hasApp)
| Description | Test if you can retrieve viewer's friends who HAS_APPS | | Priority | P0 | | Spec | $SPEC | | Request | $REQUEST | | Expected Results | $EXPECTED_RESULT |
PPL506 newFetchPeopleRequest - VIEWER_FRIENDS (paginated 1 per page)
| Description | Test if you can retrieve viewer's friends information and access it as pages, 1 per page. | | Priority | P2 | | Spec | $SPEC | | Request | $REQUEST | | Expected Results | $EXPECTED_RESULT |
PPL600 newFetchPeopleRequest - OWNER_FRIENDS (default - no params)
| Description | Test if you can retrieve OWNER's friends information | | Priority | P0 | | Spec | $SPEC | | Request | $REQUEST | | Expected Results | $EXPECTED_RESULT |
PPL601 newFetchPeopleRequest - OWNER_FRIENDS (profileDetails all) ACL
| Description | Test if you can retrieve OWNER's friends' profile details | | Priority | P0 | | Spec | $SPEC | | Request | $REQUEST | | Expected Results | $EXPECTED_RESULT |
PPL602 newFetchPeopleRequest - OWNER_FRIENDS (SortOrder TOP_FRIENDS)
| Description | Test if you can retrieve OWNER's top friends | | Priority | P0 | | Spec | $SPEC | | Request | $REQUEST | | Expected Results | $EXPECTED_RESULT |
PPL603 newFetchPeopleRequest - OWNER_FRIENDS (first, max)
| Description | Test if you can retrieve subset of owner's friends i.e. friends from entry 3 to 5 from returned list | | Priority | P0 | | Spec | $SPEC | | Request | $REQUEST | | Expected Results | $EXPECTED_RESULT |
PPL604 newFetchPeopleRequest - OWNER_FRIENDS (max = 21)
| Description | Test if you can retrieve more than 20 friends of OWNER | | Priority | P0 | | Spec | $SPEC | | Request | $REQUEST | | Expected Results | $EXPECTED_RESULT |
PPL605 newFetchPeopleRequest - OWNER_FRIENDS (hasApp)
| Description | Test if you can retrieve friends of OWNER who HAS_APP | | Priority | P0 | | Spec | $SPEC | | Request | $REQUEST | | Expected Results | $EXPECTED_RESULT |
PPL606 newFetchPeopleRequest - OWNER_FRIENDS (hasApp, Max=100)
| Description | Test if you can retrieve upto 100 friends of OWNER who HAS_APP | | Priority | P0 | | Spec | $SPEC | | Request | $REQUEST | | Expected Results | $EXPECTED_RESULT |
PPL700 newFetchPeopleRequest - String ID
| Description | Test if you can retrieve friends of profile with given id | | Priority | P0 | | Spec | $SPEC | | Request | $REQUEST | | Expected Results | $EXPECTED_RESULT |
PPL701 newFetchPeopleRequest - Array<string> IDs (all hasApp)
| Description | Test if you can retrieve friends profiles for list of ids with HAS_APP=true | | Priority | P2 | | Spec | $SPEC | | Request | $REQUEST | | Expected Results | $EXPECTED_RESULT |
PPL702 newFetchPeopleRequest - Array<string> IDs (hasApp false)
| Description | Test if you can retrieve friends profiles for list of ids with HAS_APP=false | | Priority | P2 | | Spec | $SPEC | | Request | $REQUEST | | Expected Results | $EXPECTED_RESULT |
PPL703 newFetchPeopleRequest - Array<string> IDs
| Description | Test if you can retrieve friends profiles for list of ids | | Priority | P0 | | Spec | $SPEC | | Request | $REQUEST | | Expected Results | $EXPECTED_RESULT |
PPL704 newFetchPeopleRequest - VIEWER
| Description | Test if you can retrieve VIEWER information using newFetchPeopleRequest() | | Priority | P0 | | Spec | $SPEC | | Request | $REQUEST | | Expected Results | $EXPECTED_RESULT |
PPL705 newFetchPeopleRequest - OWNER
| Description | Test if you can retrieve OWNER information using newFetchPeopleRequest() | | Priority | P0 | | Spec | $SPEC | | Request | $REQUEST | | Expected Results | $EXPECTED_RESULT |
PPL800 newFetchPeopleRequest - Empty idSpec. Error is expected.
| Description | Test if you get error for empty call to newFetchPeopleRequest() | | Priority | P2 | | Spec | $SPEC | | Request | $REQUEST | | Expected Results | $EXPECTED_RESULT |
PPL801 newFetchPeopleRequest - with invalid opt_params
| Description | Test if you get error for passing wrong params to newFetchPeopleRequest() | | Priority | P2 | | Spec | $SPEC | | Request | $REQUEST | | Expected Results | $EXPECTED_RESULT |
PPL802 newFetchPeopleRequest - VIEWER_FRIENDS (paging trying record out of bounds)
| Description | Test if you get error for trying to fetch VIEWER's friends page that's out of bounds. i.e. accessing 1000th page where only 10 pages exists | | Priority | P2 | | Spec | $SPEC | | Request | $REQUEST | | Expected Results | $EXPECTED_RESULT |
PPL803 newFetchPeopleRequest - OWNER_FRIENDS (paging trying record out of bounds)
| Description | Test if you get error for trying to fetch OWNER's friends page that's out of bounds. i.e. accessing 1000th page where only 10 pages exists | | Priority | P2 | | Spec | $SPEC | | Request | $REQUEST | | Expected Results | $EXPECTED_RESULT |
PPL900 Collection - Collection.each(Person)
| Description | Test if fetching OWNER_FRIENDS gives collection object and collection has no empty record | | Priority | P2 | | Spec | $SPEC | | Request | $REQUEST | | Expected Results | $EXPECTED_RESULT |
PPL901 Collection - size() and totalSize()
| Description | Test if fetching OWNER_FRIENDS gives collection object and collection size is right | | Priority | P2 | | Spec | $SPEC | | Request | $REQUEST | | Expected Results | $EXPECTED_RESULT |
PPL902 Collection - getOffset()
| Description | Test if fetching OWNER_FRIENDS gives collection object getOffset gives the offset we assigned. | | Priority | P2 | | Spec | $SPEC | | Request | $REQUEST | | Expected Results | $EXPECTED_RESULT |
PPL903 Collection - getOffset() huge offset
| Description | Test if fetching OWNER_FRIENDS gives collection object and preserves huge offset we have set. | | Priority | P2 | | Spec | $SPEC | | Request | $REQUEST | | Expected Results | $EXPECTED_RESULT |
Suite:: ACT Activity Test Suite
ACT000 opensocial.DataRequest.newFetchActivitiesRequest(VIEWER)
| Description | Test for containers that don't support fetching activities. Tries to fetch activities for a VIEWER, and tests that the dataResponse is not null and gets an error, as this is for containers that don't support it | | Priority | P2 | | Spec | newFetchActivitiesRequest | | Request | newFetchActivitiesRequest(VIEWER) | | Expected Results | Data error |
ACT001 opensocial.DataRequest.newFetchActivitiesRequest(VIEWER_FRIENDS)
| Description | Test for containers that don't support fetching activities. Tries to fetch activities for a VIEWER_FRIENDS, and tests that the dataResponse is not null and gets an error, as this is for containers that don't support it | | Priority | P2 | | Spec | newFetchActivitiesRequest | | Request | newFetchActivitiesRequest(VIEWER_FRIENDS) | | Expected Results | Data error |
ACT002 opensocial.DataRequest.newFetchActivitiesRequest(OWNER)
| Description | Test for containers that don't support fetching activities. Tries to fetch activities for a OWNER, and tests that the dataResponse is not null and gets an error, as this is for containers that don't support it | | Priority | P2 | | Spec | newFetchActivitiesRequest | | Request | newFetchActivitiesRequest(OWNER) | | Expected Results | Data error |
ACT003 opensocial.DataRequest.newFetchActivitiesRequest(OWNER_FRIENDS)
| Description | Test for containers that don't support fetching activities. Tries to fetch activities for a OWNER_FRIENDS, and tests that the dataResponse is not null and gets an error, as this is for containers that don't support it | | Priority | P2 | | Spec | newFetchActivitiesRequest | | Request | newFetchActivitiesRequest(OWNER_FRIENDS) | | Expected Results | Data error |
ACT004 opensocial.DataRequest.newFetchActivitiesRequest(INVALID_ID) using an invalid ID
| Description | Test for containers that don't support fetching activities. Tries to fetch activities for a INVALID_ID, and tests that the dataResponse is not null and gets an error, as this is for containers that don't support it | | Priority | P2 | | Spec | newFetchActivitiesRequest | | Request | newFetchActivitiesRequest(INVALID_ID) | | Expected Results | Data error |
ACT005 opensocial.DataRequest.newFetchActivitiesRequest(ID) using a known Owner's friend
| Description | Tries to fetch activities for a OWNERS_FRIENDS if container supports fetching activities. | | Priority | P2 | | Spec | newFetchActivitiesRequest | | Request | newFetchActivitiesRequest(OWNER_FRIENDS) | | Expected Results | Fetches activities for OWNERS_FRIENDS. |
ACT100 opensocial.requestCreateActivity using title
ACT101 opensocial.requestCreateActivity using titleId
| Description | Tests if you can create activity using title-id without title. | | Priority | P1 | | Spec | requestCreateActivity | | | opensocial.CreateActivityPriority.HIGH | | Request | requestCreateActivity(activity, opensocial.CreateActivityPriority.HIGH) | | Expected Results | Creates an activity using title-id without title. |
ACT102 opensocial.requestCreateActivity using Template and Template Params
| Description | Tests if it's possible to create activity using template and template params. It tries to verify if fetching activities is supported. | | Priority | P1 | | Spec | requestCreateActivity | | | opensocial.CreateActivityPriority.HIGH | | Request | requestCreateActivity(activity, opensocial.CreateActivityPriority.HIGH) | | Expected Results | Fetches activities created using template and template params |
ACT103 opensocial.requestCreateActivity using Template
| Description | Tests if it's possible to create activity using template. It tries to verify if fetching activities is supported. | | Priority | P1 | | Spec | requestCreateActivity | | | opensocial.CreateActivityPriority.HIGH | | Request | requestCreateActivity(activity, opensocial.CreateActivityPriority.HIGH) | | Expected Results | Fetches activities created using template. |
ACT200 opensocial.Activity newActivity(params) with list of Activity attributes in the params map. Only checks those that are supported.
| Description | Tests if it's possible to create activity with list of Activity attributes in the params map. Only checks those that are supported. | | Priority | P1 | | Spec | newActivity | | Request | newActivity(params) | | Expected Results | $EXPECTED_RESULT |
ACT202 Create activity and set fields: STREAM_TITLE, STREAM_URL, STREAM_SOURCE_URL, STREAM_FAVICON_URL
| Description | Tests if it's possible to create activity with stream params. STREAM_TITLE, STREAM_URL, STREAM_SOURCE_URL, STREAM_FAVICON_URL | | Priority | P1 | | Spec | newActivity | | Request | newActivity(params) | | Expected Results | Creates an activity with specified fields. |
ACT203 Create activity and try to set read-only fields: ID, USER_ID, APP_ID, POSTED_TIME
| Description | Test that creating activity with read-only fields has no side effects. Container should ignore read only fields. | | Priority | P1 | | Spec | newActivity | | | requestCreateActivity | | Request | newActivity(params) | | | requestCreateActivity(); | | Expected Results | Read only fields has no side effects |
ACT300 opensocial.requestCreateActivity with media item
ACT400 newFetchActivitiesRequest - Empty. Error is expected.
| Description | Test if trying to fetch an activity without any parameter throws an error. | | Priority | P2 | | Spec | newFetchActivitiesRequest | | Request | newFetchActivitiesRequest() | | Expected Results | Error expected. |
ACT500 Create activity without setting the title
| Description | Test if trying to create an activity without title throws an error. | | Priority | P2 | | Spec | requestCreateActivity | | | newActivity | | Request | requestCreateActivity(activity, opensocial.CreateActivityPriority.HIGH); | | | newActivity(); | | Expected Results | Activity created without title. |
ACT501 opensocial.requestCreateActivity using Invalid Param Keys
| Description | Test if trying to create an activity with invalid paramkeys throws an error. | | Priority | P2 | | Spec | requestCreateActivity | | | newActivity | | Request | newFetchActivitiesRequest(); | | | newActivity(); | | Expected Results | $EXPECTED_RESULT |
ACT502 Create activity - empty title
| Description | Test if trying to create an activity with empty title throws an error. | | Priority | P2 | | Spec | requestCreateActivity | | | newActivity | | Request | newActivity({'title' : ''}); | | | requestCreateActivity(activity, opensocial.CreateActivityPriority.HIGH); | | Expected Results | Expected error. |
Suite:: APP AppData Test Suite
APP000 opensocial.DataRequest.newFetchPersonAppDataRequest(opensocial.DataRequest.PersonId.VIEWER,'key')
| Description | Creates an item to request app data for some id and with a key which fetches the values. Validates the returned data, if it contains the value for the specified key | | Priority | undefined | | Spec | newFetchPersonAppDataRequest | | Request | newFetchPersonAppDataRequest(opensocial.DataRequest.PersonId.VIEWER, viwerKey') | | Expected Results | Fetches app data for VIEWER with specified viewerKey |
APP001 opensocial.DataRequest.newFetchPersonAppDataRequest('ownerId', '')
| Description | Creates an item to request app data for some id and with as key which fetches all the values. Validates the returned data, if it contains the value for the specified key | | Priority | undefined | | Spec | newFetchPersonAppDataRequest | | Request | newFetchPersonAppDataRequest(ownerId,''); | | Expected Results | Fetches all app data for ownerId with as Key |
APP002 opensocial.DataRequest.newFetchPersonAppDataRequest(opensocial.DataRequest.PersonId.VIEWER,'')
| Description | Creates an item to request app data for VIEWER and with as key which fetches all the values. Validates the returned data, if it contains the value for the specified key | | Priority | undefined | | Spec | newFetchPersonAppDataRequest | | Request | newFetchPersonAppDataRequest(VIEWER,''); | | Expected Results | Fetches all app data for VIEWER with as Key |
APP003 newUpdate/FetchPersonAppDataRequest - 1 user, fetch key2
| Description | Tests if information is updated for the VIEWERwith the keys. Fetch for the information by passing the same keys which were used for updating. | | Priority | undefined | | Spec | newUpdatePersonAppDataRequest | | | newFetchPersonAppDataRequest | | Request | newUpdatePersonAppDataRequest(VIEWER, id + 'dataKey1',personalValue); | | | newFetchPersonAppDataRequest(VIEWER, + '_dataKey1',id + '_dataKey2'); | | Expected Results | Fetch the VIEWER with the keys which were used for updating. |
APP004 newUpdate/FetchPersonAppDataRequest - I18N
| Description | Tests if information is updated for the specified VIEWER with the i18n keys. Fetch for the information by passing the same keys which were used for updating. | | Priority | undefined | | Spec | newUpdatePersonAppDataRequest | | | newFetchPersonAppDataRequest | | Request | newUpdatePersonAppDataRequest(VIEWER, 'i18nKey_app004',data); | | | newFetchPersonAppDataRequest(VIEWER, i18nKey_app004); | | Expected Results | Fetch the VIEWER with the i18n keys which were used for updating |
APP005 newFetchPersonAppDataRequest - OWNER_FRIENDS
| Description | Tests if information can be retreived from OWNER_FRIENDS with the given keys. | | Priority | undefined | | Spec | newFetchPersonAppDataRequest | | Request | newFetchPersonAppDataRequest(OWNER_FRIENDS, ''); | | Expected Results | Retrieves Owner friends |
APP006 newFetchPersonAppDataRequest - VIEWER_FRIENDS
| Description | Tests if information can be retreived from VIEWER_FRIENDS with as key. | | Priority | undefined | | Spec | newFetchPersonAppDataRequest | | Request | newFetchPersonAppDataRequest(VIEWER_FRIENDS, '') | | Expected Results | Retrieves viewer friends |
APP008 newUpdatePersonAppDataRequest - emptyString
| Description | Updating data for some key, with an empty string value, should remove the key from the user app data. | | Priority | undefined | | Spec | newUpdatePersonAppDataRequest | | Request | newUpdatePersonAppDataRequest(VIEWER, key, value); | | Expected Results | Removes the key from user app data |
APP009 newUpdatePersonAppDataRequest - emptyString -
| Description | Updating data using (all keys), with an empty string value, should remove all keys from the user app data. | | Priority | undefined | | Spec | newUpdatePersonAppDataRequest | | Request | newUpdatePersonAppDataRequest(VIEWER, '' , value); | | Expected Results | Removes the all keys from user app data |
APP011 newFetchPersonAppDataRequest - fetching multiple keys existing/not existing for viewer and ownerFriends
| Description | Tests if information is fetched from VIEWER and OWNER_FRIENDS for the specified fields. Validates the data response for every key | | Priority | undefined | | Spec | newFetchPersonAppDataRequest | | Request | newFetchPersonAppDataRequest('VIEWER', fields); | | | newFetchPersonAppDataRequest('OWNER_FRIENDS', fields); | | Expected Results | Retrieves VIEWER and OWNER_FRIENDS for the specified fields. |
APP100 opensocial.DataRequest.newFetchPersonAppDataRequest(opensocial.DataRequest.PersonId.OWNER, 'key')
| Description | Creates an item to request app data for OWNER and with some key which fetches values. Validates the returned data, if it contains the value for the specified key | | Priority | undefined | | Spec | newUpdatePersonAppDataRequest | | | newFetchPersonAppDataRequest | | Request | newUpdatePersonAppDataRequest('OWNER', ownerKey_app100); | | | newFetchPersonAppDataRequest('OWNER', ownerKey_app100); | | Expected Results | Retrieves the OWNER. |
APP102 newFetchPersonAppDataRequest - fetch with non-existing key
| Description | Tests if data can be fetched for an non-existing key. Checks that there is no data for the non-existing key in the response. | | Priority | undefined | | Spec | newFetchPersonAppDataRequest | | Request | newFetchPersonAppDataRequest(VIEWER, randomKey); | | Expected Results | No Data |
APP103 newUpdatePersonAppDataRequest - update/fetch with invalid key
| Description | Tests if the data updated with an invalid key can be fetched back with the same invalid key.Checks that the date response throws an error. | | Priority | undefined | | Spec | newUpdatePersonAppDataRequest | | | newFetchPersonAppDataRequest | | Request | newUpdatePersonAppDataRequest(viewer, invalidKey); | | | newFetchPersonAppDataRequest(viewer'id', invalidKey); | | Expected Results | Data response throws error |
APP105 Error when invalid key is attempted to be set, accepts only (A-Za-z0-9)()(.)(-)
| Description | Tests if the data updated with an invalid key (if the key contains special symbols other than these - '(A-Za-z0-9)()(.)(-)') | | Priority | undefined | | Spec | newUpdatePersonAppDataRequest | | Request | newUpdatePersonAppDataRequest(VIEWER,invalidKey, value); | | Expected Results | Data response error |
APP300 Batch Requests - with 1 success and 1 failure
| Description | Tests if a batch request with 1 success for VIEWER_FRIENDS and 1 failure for use VIEWER_OWNER_ABC results in error even for the valid update scenario. | | Priority | undefined | | Spec | newUpdatePersonAppDataRequest | | | newFetchPersonAppDataRequest | | Request | newUpdatePersonAppDataRequest(VIEWER, 'dataKey1', data); | | | newFetchPersonAppDataRequest('VIEWER_FRIENDS', 'dataKey1'); | | | newFetchPersonAppDataRequest('VIEWER_FRIENDS_ABC', 'dataKey1); | | Expected Results | $EXPECTED_RESULT |
APP301 Batch Requests - without errors
| Description | Tests if a batch request can be sent with valid scenarios and verifies the fetched data. | | Priority | undefined | | Spec | newUpdatePersonAppDataRequest | | | newFetchPersonAppDataRequest | | Request | newUpdatePersonAppDataRequest(VIEWER, 'KeyBatch2_app301', data) | | | newFetchPersonAppDataRequest(VIEWER, 'KeyBatch1_app301'); | | Expected Results | Fetch back the batch requests which were done. |
APP302 Batch Requests - multiple failed requests
APP303 Batch Requests - mixed person and appdata requests (viewer == owner)
| Description | Tests if a batch request can be updated by the owner to the viewer's data. Checks if OWNER can check for the updated information. | | Priority | undefined | | Spec | newUpdatePersonAppDataRequest | | | newFetchPersonAppDataRequest | | | newFetchPeopleRequest | | Request | newUpdatePersonAppDataRequest(VIEWER, 'AppData303','AppDataValue') | | | newFetchPeopleRequest(OWNER_FRIENDS); | | | newFetchPersonAppDataRequest(OWNER, 'AppData303'); | | Expected Results | OWNER checks the information of VIEWER. (viewer == owner) |
APP304 Batch Requests - mixed person and appdata requests(viewer != owner)
APP400 ResponseItem - getOriginalDataRequest()
| Description | This method returns the original data request. | | Priority | undefined | | Spec | getOriginalDataRequest | | Request | getOriginalDataRequest(); | | Expected Results | The data request used to fetch this data response. |
APP800 Write Test: newUpdatePersonAppDataRequest(opensocial.DataRequest.PersonId.VIEWER, 'viewerKey')
| Description | Creates an item to request app data for VIEWER. and checks if the value is updated. | | Priority | undefined | | Spec | newUpdatePersonAppDataRequest | | Request | newUpdatePersonAppDataRequest(VIEWER,'viewerKey', 'viewerValue ' + new Date().getTime()) | | Expected Results | Checks if the value is updated for VIEWER |
APP900 Read Test: newFetchPersonAppDataRequest(opensocial.DataRequest.PersonId.VIEWER, 'viewerKey')
| Description | Creates an item to request app data for VIEWER. Validates the returned data, if it contains the value | | Priority | undefined | | Spec | newUpdatePersonAppDataRequest | | Request | newFetchPersonAppDataRequest(VIEWER, 'viewerKey') | | Expected Results | Validates the value returned for VIEWER |
Suite:: SPEC-DEF-SUITE Opensocial spec 0.7 Definition
SPEC-DEF-TEST Opensocial spec 0.7 Definition
| Description | Checks if namespaces, objects, enums and apis of OPEN-SOCIAL SPEC 0.7 defined or not. Failures shows not defined items. | | Priority | P0 | | Spec | $SPEC | | Request | $REQUEST | | Expected Results | $EXPECTED_RESULT |
Suite:: IO gadgets.io. TestSuite
GIO000 gadgets.io.encodeValues({...}) - With a simple map.
| Description | Tests if we can encode map to an URL-encoded data string | | Priority | P0 | | Spec | encodeValues | | Request | encodeValues({key1: 'value1', key2: 'value2'}) | | Expected Results | 'key1=value1&key2=value2' |
GIO001 gadgets.io.encodeValues({...}) - With reserved characters.
| Description | Tests if we can encode '$&+,/:;=?@' - reserved characters to URL-encoded data string | | Priority | P0 | | Spec | encodeValues | | Request | encodeValues('$&+,/:;=?@') | | Expected Results | '0=%24&1=%26&2=%2B&3=%2C&4=%2F&5=%3A&6=%3B&7=%3D&8=%3F&9=%40' |
GIO002 gadgets.io.encodeValues({...}) - With unsafe characters.
| Description | Tests if we can encode '" <>#%{}|\^`' - unsafe characters to URL-encoded data string | | Priority | P0 | | Spec | encodeValues | | Request | encodeValues(" <>#%{}|\\^`) | | Expected Results | '0=%22&1=%20&2=%3C&3=%3E&4=%23&5=%25&6=%7B&7=%7D&8=%7C&9=%5C& 10=%5E&11=%5B&12=%5D&13=%60' |
GIO011 gadgets.io.encodeValues(String) - With a String object.
| Description | Tests if we can encode a string object to URL-encoded data string | | Priority | P0 | | Spec | encodeValues | | Request | encodeValues('Value') | | Expected Results | '0=V&1=a&2=l&3=u&4=e' |
GIO050 gadgets.io.encodeValues() - With no parameters.
| Description | Tests if we can call encodeValues() without passing any parameter and it returns empty string. | | Priority | P2 | | Spec | encodeValues | | Request | encodeValues() | | Expected Results | '' |
GIO051 gadgets.io.encodeValues(null) - With null parameter.
| Description | Tests if we can pass 'null' as parameter and it returns empty string. | | Priority | P2 | | Spec | encodeValues | | Request | encodeValues(null) | | Expected Results | '' |
GIO052 gadgets.io.encodeValues(undefined) - With undefined parameter.
| Description | Tests if we can pass 'undefined' as parameter and api returns empty string. | | Priority | P2 | | Spec | encodeValues | | Request | encodeValues(undefined) | | Expected Results | '' |
GIO053 gadgets.io.encodeValues({...}) - Map with I18N values.
| Description | Tests if we can encode an 'áéÃó'i18n value to URL-encoded data string | | Priority | P0 | | Spec | encodeValues | | Request | encodeValues({key: '\u00E1\u00E9\u00ED\u00F3'}) | | Expected Results | 'key=%C3%A1%C3%A9%C3%AD%C3%B3' |
GIO100 gadgets.io.getProxyUrl(String) - With a String object.
| Description | Tests if we can get the proxy URL with given string as proxy | | Priority | P0 | | Spec | getProxyUrl | | Request | getProxyUrl('Value') | | Expected Results | 'url=Value' |
GIO101 gadgets.io.getProxyUrl(String) - With valid URL.
| Description | Tests if we can get the proxy URL with given URL as proxy | | Priority | P0 | | Spec | getProxyUrl | | Request | getProxyUrl('http://www/~user') | | Expected Results | 'url=http%3A%2F%2Fwww%2F~user' |
Suite:: PREF gadget.Prefs Test Suite
PREF000 gadget.Prefs - module info
| Description | <precondition> This test depends on container. It assumes container has Language english and country as US </precondition> | | Priority | P0 | | Spec | getLang | | | getCountry | | | getModuleId | | Request | getLang() | | | getCountry() | | | getModuleId() | | Expected Results | 'en' | | | 'US' | | | 'not null' |
PREF010 gadget.Prefs - getInt()
| Description | Tests if getInt returns right value for integer preference | | Priority | P0 | | Spec | getInt | | Request | getInt('myCounter') | | Expected Results | 100 |
PREF011 gadget.Prefs - getInt() - non integer preferences as int
| Description | Tests if we can get string, float, object, undefined as integer. Checks if it throws any exception doing that. | | Priority | P2 | | Spec | getInt | | Request | getInt('myString') | | | getInt('myUndefined') | | | getInt('myBool') | | | getInt('myTestArray') | | | getInt('myObject') | | | getInt('myFloat') | | Expected Results | No Exception |
PREF020 gadget.Prefs - getFloat()
| Description | Tests if getFloat returns right value for float preference | | Priority | P0 | | Spec | getFloat | | Request | getFloat('myFloat') | | Expected Results | 3.43 |
PREF021 gadget.Prefs - getFloat() - non float preferences as float
| Description | Tests if we can get string, int, object, undefined,as Float. Checks if it throws any exception doing that. | | Priority | P2 | | Spec | getFloat | | Request | getFloat('myString') | | | getFloat('myUndefined') | | | getFloat('myBool') | | | getFloat('myTestArray') | | | getFloat('myObject') | | | getFloat('myFloat') | | Expected Results | No Exception |
PREF030 gadget.Prefs - getString()
| Description | Tests if getString returns right value for string preference | | Priority | P0 | | Spec | getString | | Request | getString('myString') | | Expected Results | 'This is my string.' |
PREF0031 gadget.Prefs - getString() - non string preferences as string
| Description | Tests if we can get string, float, array, undefined and boolean as String. Checks if it throws any exception doing that. | | Priority | P2 | | Spec | getString | | Request | getString('myString') | | | getString('myUndefined') | | | getString('myBool') | | | getString('myTestArray') | | | getString('myObject') | | | getString('myFloat') | | Expected Results | No Exception |
PREF040 gadget.Prefs - getBool()
| Description | Tests if getBool returns right value for boolean preference | | Priority | P0 | | Spec | getBool | | Request | getBool('myBool') | | Expected Results | true |
PREF041 gadget.Prefs - getBool() - non bool preference
| Description | Tests if we can get float, object, undefined and int asboolean. Checks if it throws exception. | | Priority | P2 | | Spec | getBool | | Request | getBool('myString') | | | getBool('myUndefined') | | | getBool('myBool') | | | getBool('myTestArray') | | | getBool('myObject') | | | getBool('myFloat') | | Expected Results | No Exception |
PREF050 gadget.Prefs - getArray(key)
| Description | Tests if getArray returns right value for Array preference | | Priority | P0 | | Spec | getArray | | Request | getArray('myTestArray') | | Expected Results | 'pc', 'Apple Insider' |
PREF051 gadget.Prefs - getArray(key)
| Description | Tests if we can retrieve float, object, undefined and int as Array. Checks if it throws exception. | | Priority | P2 | | Spec | getArray | | Request | getArray('myString') | | | getArray('myUndefined') | | | getArray('myBool') | | | getArray('myTestArray') | | | getArray('myObject') | | | getArray('myFloat') | | Expected Results | No Exception |
PREF060 gadget.Prefs - prefs.set - String as data
| Description | <precondition> The gadget requires the feature setprefs.</precondition> Tests if we can set string, float, int and boolean. Try to get them as other formats i.e float as string, int, boolean and so on. | | Priority | P0 | | Spec | set | | Request | prefs.set('myKey', 'http://www.google.com') | | Expected Results | The prefs value is set |
PREF061 gadget.Prefs - prefs.set - set string with pipe as array
| Description | <precondition> The gadget requires the feature setprefs.</precondition> Tests if we can set string, with | as an array and retrieve value using getArray. | | Priority | P0 | | Spec | set | | Request | set('myArray', 'one|two|three') | | Expected Results | The prefs value is set |
PREF007 gadget.Prefs - negative tests set array using prefs.set
| Description | <precondition> The gadget requires the feature setprefs.</precondition> .Test the gadgets.Prefs set() capabilities with negative scenarios. | | Priority | P2 | | Spec | set | | Request | set(arrayKey, 'two', 'three') | | | set(arrayKey, '\u597D' | | | set(arrayKey, ) | | Expected Results | Exception should occur |
PREF070 gadget.Prefs - prefs.setArray
| Description | <precondition> The gadget requires the featuresetprefs.</precondition> . Tests if we can set array using setArray(). | | Priority | P2 | | Spec | setArray | | Request | set(arrayKey, 'two', 'three') | | | set(arrayKey, '\u597D' | | Expected Results | No Exception |
PREF008 gadget.Prefs - prefs.setArray - negative case
| Description | <precondition> The gadget requires the featuresetprefs.</precondition> . Tests if we can set string array,float, int and boolean as an input to setArray(). | | Priority | P2 | | Spec | setArray | | | setArray('myArray', true) | | | setArray('myArray', 5.5) | | | setArray('myArray', 8888) | | | setArray('myArray', 'test') | | | setArray('myArray', 'one|two') | | | setArray('myArray', undefined) | | | setArray('myArray', ) | | Expected Results | Exception should occur |
PREF009 gadget.Prefs - getMsg
| Description | Tests if we can get an unformatted message from an undefined,string and empty space | | Priority | P0 | | Spec | getMsg | | Request | getMsg('hello_world') | | | getMsg('undefined') | | | getMsg('') | | Expected Results | 'Hello World.' | | | '' | | | '' |
Suite:: UTIL gadgets.util. Test Suite
UTIL000 gadgets.util.escapeString(String) String = " "<>'
| Description | Test the gadgets.util escapeString(String) capabilities with the potentially dangerous symbols '" "<>'\ "' | | Priority | P0 | | Spec | escapeString | | Request | escapeString('"<>\'\n\r\\') | | Expected Results | '"<>' \' |
UTIL001 gadgets.util.unescapeString(String) String=""<>'NaN
| Description | Test the gadgets.util unescapeString(String) capabilities String='""<>'' unescaping a String which includes escaped dangerous symbols | | Priority | P0 | | Spec | unescapeString | | Request | unescapeString('"<>' \') | | Expected Results | '"<>\'\n\r\\' |
UTIL002 gadgets.util.unescapeString(String) String=""<>'NaN String = " "<>'\"
| Description | Test the gadgets.util unescapeString(String) and escapeString compatibility by escaping and then unescaping a String and comparing it again | | Priority | P0 | | Spec | unescapeString | | Request | unescapeString(escapeString('"<>\'\n\r\\')) | | Expected Results | '"<>\'\n\r\\' |
UTIL003 gadgets.util.hasFeature("required features")
| Description | Test the gadgets hasFeature capabilities with a known and available feature. | | Priority | P0 | | Spec | hasFeature | | Request | hasFeature('setprefs') | | | hasFeature('opensocial-0.7') | | | hasFeature('dynamic-height') | | Expected Results | true |
UTIL004 gadgets.util.hasFeature(notSupportedFeature)
| Description | Test gadgets.util.hasFeature returns false for feature that does not exists | | Priority | P0 | | Spec | hasFeature | | Request | hasFeature('nonexist4ntf3atur3nog0') | | Expected Results | false |
UTIL005 gadgets.util.hasFeature() - Empty case
| Description | ERROR HANDLING CASE: gadgets.util.hasFeature() without parameters. Checks how the container handles a malformed invoke on a method ideally it should return false or avoid exceptions by returning null or undefined. | | Priority | P2 | | Spec | hasFeature | | Request | util.hasFeature() | | Expected Results | false |
UTIL006 gadgets.util.getFeatureParameters(Existing Feature that does not take parameters)
| Description | Test the gadgets.util getFeatureParameters capabilities by setting as parameter a feature included in the app which takes no parameters in its constructor An empty object should be returned | | Priority | P2 | | Spec | getFeatureParameters | | Request | getFeatureParameters("flash") | | Expected Results | '{}' |
UTIL0007 gadgets.util.getFeatureParameters(Empty)
| Description | Test the gadgets.util getFeatureParameters capabilities by setting nothing as parameter Null should be returned | | Priority | P2 | | Spec | getFeatureParameters | | Request | getFeatureParameters() | | Expected Results | null |
UTIL008 gadgets.util.getFeatureParameters(NonexistingFeature)
| Description | Test the gadgets.util getFeatureParameters capabilities by setting a non-existing feature as parameter Null should be returned | | Priority | P2 | | Spec | getFeatureParameters | | Request | getFeatureParameters("NonexistingFeature") | | Expected Results | null |
UTIL009 gadgets.util.getUrlParameters() not null values
| Description | Tests if getUrlParameters returns valid array of values | | Priority | P2 | | Spec | getUrlParameters | | Request | getUrlParameters() | | Expected Results | Not null |
UTIL010 gadgets.util.getUrlParameters() correct URL
| Description | Tests if getUrlParameters returns right URL | | Priority | P2 | | Spec | getUrlParameters | | Request | getUrlParameters() | | Expected Results | Gets the correct URL |
UTIL011 gadgets.util.makeclosure()
| Description | Checks if makeclosure calls closure method successfully. | | Priority | P0 | | Spec | makeClosure | | Request | makeClosure(null, myFunction, 3, 5) | | Expected Results | Closure is created which can be used in a function that takes only callbacks |
Suite:: ENV Environment Test Suite
ENV001 Environment and Views
| Description | Test environment access and equality. | | Priority | P0 | | Spec | getEnvironment | | Request | opensocial.getEnvironment() | | Expected Results | $EXPECTED_RESULT |
ENV002 Environment.supportsField(PERSON)
| Description | Test if environment supports opensocial.Environment.ObjectType.PERSON and its fields. | | Priority | P0 | | Spec | supportsField | | Request | opensocial.Environment.supportsField(PERSON) | | Expected Results | $EXPECTED_RESULT |
ENV004 Environment.supportsField(ACTIVITY)
| Description | Test if environment supports opensocial.Environment.ObjectType.ACTIVITY and its fields. | | Priority | P0 | | Spec | supportsField | | Request | opensocial.Environment.supportsField(ACTIVITY) | | Expected Results | $EXPECTED_RESULT |
ENV005 Environment.supportsField(ACTIVITY_MEDIA_ITEM)
| Description | Test if environment supports opensocial.Environment.ObjectType.ACTIVITY_MEDIA_ITEM and its fields. | | Priority | P0 | | Spec | supportsField | | Request | opensocial.Environment.supportsField(ACTIVITY_MEDIA_ITEM) | | Expected Results | $EXPECTED_RESULT |
ENV006 Environment.supportsField(BODY_TYPE)
| Description | Test if environment supports opensocial.Environment.ObjectType.BODY_TYPE and its fields. | | Priority | P0 | | Spec | supportsField | | Request | opensocial.Environment.supportsField(BODY_TYPE) | | Expected Results | $EXPECTED_RESULT |
ENV007 Environment.supportsField(EMAIL)
| Description | Test if environment supports opensocial.Environment.ObjectType.EMAIL and its fields. | | Priority | P0 | | Spec | supportsField | | Request | opensocial.Environment.supportsField(EMAIL) | | Expected Results | $EXPECTED_RESULT |
ENV009 Environment.supportsField(ADDRESS)
| Description | Test if environment supports opensocial.Environment.ObjectType.ADDRESS and its fields. | | Priority | P0 | | Spec | supportsField | | Request | opensocial.Environment.supportsField(ADDRESS) | | Expected Results | $EXPECTED_RESULT |
ENV010 Environment.supportsField(FILTER_TYPE)
| Description | Test if environment supports opensocial.Environment.ObjectType.FILTER_TYPE and its fields. | | Priority | P0 | | Spec | supportsField | | Request | opensocial.Environment.supportsField(FILTER_TYPE) | | Expected Results | $EXPECTED_RESULT |
ENV011 Environment.supportsField(MESSAGE_TYPE)
| Description | Test if environment supports opensocial.Environment.ObjectType.MESSAGE_TYPE and its fields. | | Priority | P0 | | Spec | supportsField | | Request | opensocial.Environment.supportsField(MESSAGE_TYPE) | | Expected Results | $EXPECTED_RESULT |
ENV012 Environment.supportsField(NAME)
| Description | Test if environment supports opensocial.Environment.ObjectType.NAME and its fields. | | Priority | P0 | | Spec | supportsField | | Request | opensocial.Environment.supportsField(NAME) | | Expected Results | $EXPECTED_RESULT |
ENV013 Environment.supportsField(ORGANIZATION)
| Description | Test if environment supports opensocial.Environment.ObjectType.ORGANIZATION and its fields. | | Priority | P0 | | Spec | supportsField | | Request | opensocial.Environment.supportsField(ORGANIZATION) | | Expected Results | $EXPECTED_RESULT |
ENV014 Environment.supportsField(PHONE)
| Description | Test if environment supports opensocial.Environment.ObjectType.PHONE and its fields. | | Priority | P0 | | Spec | supportsField | | Request | opensocial.Environment.supportsField(PHONE) | | Expected Results | $EXPECTED_RESULT |
ENV015 Environment.supportsField(SORT_ORDER)
| Description | Test if environment supports opensocial.Environment.ObjectType.SORT_ORDER and its fields. | | Priority | P0 | | Spec | supportsField | | Request | opensocial.Environment.supportsField(SORT_ORDER) | | Expected Results | $EXPECTED_RESULT |
ENV016 Environment.supportsField(URL)
| Description | Test if environment supports opensocial.Environment.ObjectType.URL and its fields. | | Priority | P0 | | Spec | supportsField | | Request | opensocial.Environment.supportsField(URL) | | Expected Results | $EXPECTED_RESULT |
ENV502 (ENV007) Environment.supportsField(PERSON) - Empty fields
| Description | ERROR HANDLING CASE: Enviroment.hasCapability() without parameters. Checks how the framework handles a malformed invoke on a method ideally it should return false or avoid exceptions by returning null or undefined. | | Priority | undefined | | Spec | supportsField | | Request | opensocial. Environment.supportsField(PERSON) | | Expected Results | $EXPECTED_RESULT |
Suite:: MKR MakeRequest Test Suite
MKRT001 makeRequest() - html, default
| Description | Tests if the makeRequest() can fetch an html file from remote content . | | Priority | undefined | | Spec | $SPEC | | Request | $REQUEST | | Expected Results | $EXPECTED_RESULT |
MKRT002 makeRequest() - xml, default
| Description | Tests if the makeRequest() can fetch an xml file from remote content and check the data content. | | Priority | undefined | | Spec | $SPEC | | Request | $REQUEST | | Expected Results | $EXPECTED_RESULT |
MKRT014 makeRequest() - xml - DOM contentType
| Description | Tests if the makeRequest() can fetch an html file with DOM as content type and check if the returned datacontent is DOM. | | Priority | undefined | | Spec | $SPEC | | Request | $REQUEST | | Expected Results | $EXPECTED_RESULT |
MKRT018 makeRequest() - xml - DOM contentType with ?xml tag
| Description | Tests if makeRequest() can fetch an xml file with content type as DOM. Also checks for the returnedcontent type to be DOM | | Priority | undefined | | Spec | $SPEC | | Request | $REQUEST | | Expected Results | $EXPECTED_RESULT |
MKRT015 makeRequest() - txt - JSON contentType
| Description | Tests if makeRequest() can fetch an txt file with content type as JSON. Also checks for the returned datacontent type to be JSON | | Priority | undefined | | Spec | $SPEC | | Request | $REQUEST | | Expected Results | $EXPECTED_RESULT |
MKRT003 makeRequest() - feed, default Atom
| Description | Tests if makeRequest() can fetch a feed with format as atom. Also checks for the returned data content type to be FEED | | Priority | undefined | | Spec | $SPEC | | Request | $REQUEST | | Expected Results | $EXPECTED_RESULT |
MKRT012 makeRequest() - feed, default RSS
| Description | Tests if makeRequest() can fetch a feed with rss format. Also checks for the returned data content type to be FEED | | Priority | undefined | | Spec | $SPEC | | Request | $REQUEST | | Expected Results | $EXPECTED_RESULT |
MKRT004 makeRequest() - html, POST with postData
| Description | Tests if makeRequest() can fetch an html file by using POST method with some data to be posted. Checks for the returned data content type to be text file. | | Priority | undefined | | Spec | $SPEC | | Request | $REQUEST | | Expected Results | $EXPECTED_RESULT |
MKRT005 makeRequest() - feed, POST with postData, entries, summaries
| Description | Tests if makeRequest() can fetch a feed using POST methodwith some data to be posted and to fetch data with number of entries and summary. Checks for the returned data content type to be a FEED. | | Priority | undefined | | Spec | $SPEC | | Request | $REQUEST | | Expected Results | $EXPECTED_RESULT |
MKRT006 makeRequest() - xml, POST with postData
| Description | Tests if makeRequest() can fetch an xml file using POST method with some data to be posted.Checks for the returned data content type to be a DOM. | | Priority | undefined | | Spec | $SPEC | | Request | $REQUEST | | Expected Results | $EXPECTED_RESULT |
MKRT007 makeRequest() - xml, POST with no postData)
| Description | Tests if makeRequest() can fetch an xml file using POST method without any data to be posted.Checks for the returned data content type to be a DOM. | | Priority | undefined | | Spec | $SPEC | | Request | $REQUEST | | Expected Results | $EXPECTED_RESULT |
MKRT008 makeRequest() - html, POST with no postData
| Description | Tests if makeRequest() can fetch an html file using POST method with some data to be posted. Checks for the returned data content type to be a TEXT. | | Priority | undefined | | Spec | $SPEC | | Request | $REQUEST | | Expected Results | $EXPECTED_RESULT |
MKRT009 makeRequest() - txt file with html extension, GET, default
| Description | Tests if makeRequest() can fetch a txt file using GET method. Checks for the returned data content type to be a TEXT. | | Priority | undefined | | Spec | $SPEC | | Request | $REQUEST | | Expected Results | $EXPECTED_RESULT |
MKRT010 makeRequest() - txt file with csv extension, GET, default
| Description | Tests if makeRequest() can fetch a txt file with csv extnand using GET method. Checks for the returned data content type to be a TEXT. | | Priority | undefined | | Spec | $SPEC | | Request | $REQUEST | | Expected Results | $EXPECTED_RESULT |
MKRT011 makeRequest() - feed, no Postdata, 4 entries & no summaries
| Description | Tests if makeRequest() can fetch a feed using POST without any post data and with 4 entries and without the summary. Checks for the returned data content type to be a FEED. | | Priority | undefined | | Spec | $SPEC | | Request | $REQUEST | | Expected Results | $EXPECTED_RESULT |
MKRT013 makeRequest() - html, non-existent URL should return 404 error
| Description | Tests if makeRequest() can fetch an html file with non existing URL. Checks if the method returns 404 error. | | Priority | undefined | | Spec | $SPEC | | Request | $REQUEST | | Expected Results | $EXPECTED_RESULT |
SMKRT001 makeRequest() - php, SIGNED
| Description | Tests if makeRequest() can fetch a php file with a signed request. | | Priority | undefined | | Spec | $SPEC | | Request | $REQUEST | | Expected Results | $EXPECTED_RESULT |
Suite:: MISC Miscellaneous
MISC000 Message Object Creation
| Description | undefined | | Priority | P0 | | Spec | $SPEC | | Request | $REQUEST | | Expected Results | $EXPECTED_RESULT |
MSC300 Collection - Collection.each(Person)
| Description | undefined | | Priority | undefined | | Spec | $SPEC | | Request | $REQUEST | | Expected Results | $EXPECTED_RESULT |
MSC301 Collection - size() and totalSize()
| Description | undefined | | Priority | undefined | | Spec | $SPEC | | Request | $REQUEST | | Expected Results | $EXPECTED_RESULT |
MSC302 Collection - getOffset()
| Description | undefined | | Priority | undefined | | Spec | $SPEC | | Request | $REQUEST | | Expected Results | $EXPECTED_RESULT |
MSC303 Collection - getOffset() huge offset
| Description | undefined | | Priority | undefined | | Spec | $SPEC | | Request | $REQUEST | | Expected Results | $EXPECTED_RESULT |
|
NICE