CatalogueDataObjectFactory
|
- |
21 |
constructor()
|
- |
1 |
should create a CatalogueDataObject-Factory object without error
|
- |
|
createHypertyDescriptorObject()
|
- |
4 |
should generate HypertyDescriptor
|
- |
|
should be of type HYPERTY
|
- |
|
testing getters/setters (name, type, messageSchema)
|
- |
|
should have valid GUID
|
- |
|
createProtoStubDescriptorObject()
|
- |
3 |
should generate ProtocolStubDescriptor
|
- |
|
should be of type PROTOSTUB
|
- |
|
should have valid GUID
|
- |
|
createHypertyInterceptorObject()
|
- |
3 |
should generate HypertyInterceptorDescriptor
|
- |
|
should be of type HYPERTY_INTERCEPTOR
|
- |
|
should have valid GUID
|
- |
|
createSourcePackage()
|
- |
1 |
should generate SourcePackage
|
- |
|
createCatalogueDataObject()
|
- |
3 |
should generate CatalogueDataObject of type HypertyDescriptor
|
- |
|
should be of type HYPERTY
|
- |
|
should have valid GUID
|
- |
|
createHypertyRuntimeDescriptorObject()
|
- |
3 |
should generate HypertyRuntimeDescriptor
|
- |
|
should be of type HYPERTY_RUNTIME
|
- |
|
should have valid GUID
|
- |
|
createHypertyDataObjectSchema()
|
- |
3 |
should generate HypertyDataObjectSchema
|
- |
|
should be of type DATA_SCHEMA
|
- |
|
should have valid GUID
|
- |
|
Discovery
|
- |
14 |
constructor()
|
- |
1 |
should create a HypertyDiscovery object without error
|
- |
|
discoverHypertyPerUser()
|
- |
2 |
should return a Promise with an Identity using the default domain
|
- |
|
should return a Promise with an Identity using a given domain
|
- |
|
discoverHyperty()
|
- |
1 |
should conclude the advanced search without error
|
- |
|
discoverHypertiesPerUserProfileData()
|
- |
1 |
should conclude the advanced search without error
|
- |
|
discoverDataObjectsPerUserProfileData()
|
- |
1 |
should conclude the advanced search without error
|
- |
|
discoverHypertiesPerGUID()
|
- |
1 |
should conclude the advanced search without error
|
- |
|
discoverDataObjectsPerGUID()
|
- |
1 |
should conclude the advanced search without error
|
- |
|
discoverHyperties()
|
- |
1 |
should conclude the advanced search without error
|
- |
|
discoverDataObjects()
|
- |
1 |
should conclude the advanced search without error
|
- |
|
discoverHypertyPerURL()
|
- |
1 |
should conclude the advanced search without error
|
- |
|
discoverDataObjectPerURL()
|
- |
1 |
should conclude the advanced search without error
|
- |
|
discoverDataObjectsPerName()
|
- |
1 |
should conclude the advanced search without error
|
- |
|
discoverDataObjectsPerReporter()
|
- |
1 |
should conclude the advanced search without error
|
- |
|
IdentityFactory
|
- |
1 |
constructor()
|
- |
1 |
should create an Identity object without error
|
- |
|
IdentityManager
|
- |
3 |
constructor()
|
- |
1 |
should create a identityManager object without error
|
- |
|
discoverUserRegistered()
|
- |
2 |
should return a Promise with the identity associated
|
- |
|
should return a Promise with the identity associated (with optional hyperty field)
|
- |
|
schema validation of good Apple
|
- |
1 |
good Apple should be good
|
- |
1 |
should return false instead of true
|
- |
|
adding new schema
|
- |
1 |
should add a new schema
|
- |
|
MessageFactory
|
- |
13 |
constructor()
|
- |
1 |
should create a Message Factory object without error
|
- |
|
createCreateMessageRequest()
|
- |
1 |
should be a Message of Type CREATE
|
- |
|
createForwardMessageRequest()
|
- |
1 |
should create a new Forward Message Request with a message payload
|
- |
|
createDeleteMessageRequest()
|
- |
1 |
should be a Message of Type DELETE
|
- |
|
createUpdateMessageRequest()
|
- |
1 |
should be a Message of Type UPDATE
|
- |
|
createReadMessageRequest()
|
- |
1 |
should be a Message of Type READ
|
- |
|
createSubscribeMessageRequest()
|
- |
1 |
should be a Message of Type SUBSCRIBE
|
- |
|
createUnSubscribeMessageRequest()
|
- |
1 |
should be a Message of Type SUBSCRIBE
|
- |
|
assertIdentity()
|
- |
1 |
should add asserted identity to the given message
|
- |
|
addAccessToken()
|
- |
1 |
should add asserted identity to the given message
|
- |
|
addIdToken()
|
- |
1 |
should add asserted identity to the given message
|
- |
|
createExecuteMessageRequest()
|
- |
1 |
should create a new Execute Message Request
|
- |
|
createMessageResponse()
|
- |
1 |
should be a Response Message of Type RESPONSE
|
- |
|
Runtime Runtime Capabilities
|
- |
3 |
should return a promise with RuntimeCapabilities and save on storageManager
|
- |
|
should return if a capability was available
|
- |
|
should update the previous capabilites
|
- |
|
Runtime Catalogue
|
- |
8 |
should get hyperty descriptor
|
- |
|
should get sourcePackage
|
- |
|
should get hyperty source code
|
- |
|
should get protostub descriptor
|
- |
|
should get runtime descriptor
|
- |
|
should get dataschema descriptor
|
- |
|
should get idpproxy descriptor
|
- |
|
should NOT get hyperty
|
- |
|
StorageManager
|
- |
8 |
set
|
- |
2 |
should set the value for a given key-version tuple
|
- |
|
should replace the value for a given key-version tuple if it exists
|
- |
|
get
|
- |
2 |
should get the value for a given key
|
- |
|
should return undefined if no object with the given key exists
|
- |
|
getVersion
|
- |
2 |
should get the value version for a given key
|
- |
|
should get undefined if no object with the given key exists
|
- |
|
delete
|
- |
2 |
should remove a value from StorageManager for a given key
|
- |
|
shouldnt remove a value from StorageManager if the given key doesnt exist
|
- |
|
The Object.Observer and Array.Observer
|
- |
2 |
should use SyncObject
|
- |
|
should use SyncObject observe
|
- |
|
this is test for Utils.
|
utils |
2 |
should divide an url in 3 parts (type, domain, identity)
|
- |
|
should convert a user identity to userURL
|
- |
|