Caplin Trader 4.7.1

Class: module:br/services/appmeta/JSTDAppMetaService

module:br/services/appmeta/JSTDAppMetaService

This class provides access to App meta data for testing purposes.

Constructor

new module:br/services/appmeta/JSTDAppMetaService()

Extends:
  • module:br/services/appmeta/BRAppMetaService

Extends

  • module:br/services/appmeta/BRAppMetaService

Methods

resetAllValues()

Resets all properties to their default values. This should be called after every test where one or more properties were set.

setLocaleCookieName(version)

Sets the locale cookie name to be used in the test.
Parameters:
Name Type Description
version String The app version.

setLocales(locales)

Sets the app locales to be used in the test.
Parameters:
Name Type Description
locales The app locales.

setVersion(version)

Sets the app version to be used in the test.
Parameters:
Name Type Description
version String The app version.