Caplin Trader 5.1.0

Interface: module:ct-services/testing/AppServiceStub

module:ct-services/testing/AppServiceStub

A service that allows system-wide application configuration values to be stored in a central repository.

Implements:
Deprecated:

Extends

Methods

getProperty(sKey) → {String}

Returns a preference that the user has either set within the current session or in a previous session

Parameters:
Name Type Description
sKey String

The key for the key value store

Inherited From:
Implements:
Returns:

sValue

Type
String

getVersion() → {string}

Returns the version string.

Implements:
Returns:

A version string.

Type
string

setStubProperties(mProperties)

Stub only method.

Parameters:
Name Type Description
mProperties Map

The properties to add.

Inherited From:

setStubProperty(propertyName, value)

Stub only method.

Sets a single property.

Parameters:
Name Type Description
propertyName String

The name of the property

value *

The value of the property

Inherited From: