Uses of Package
org.sakaiproject.entitybroker.mocks

Packages that use org.sakaiproject.entitybroker.mocks
org.sakaiproject.entitybroker.mocks   
org.sakaiproject.entitybroker.mocks.data   
 

Classes in org.sakaiproject.entitybroker.mocks used by org.sakaiproject.entitybroker.mocks
CoreEntityProviderMock
          Stub class to make it easier to test things that use an CoreEntityProvider, will perform like the actual class so it can be reliably used for testing
CRUDableEntityProviderMock
          Stub class to make it possible to test the CRUDable capabilities, will perform like the actual class so it can be reliably used for testing
Will perform all CRUDable operations
Returns MyEntity objects
Allows for testing Resolvable and CollectionResolvable as well, returns 3 MyEntity objects if no search restrictions, 1 if "stuff" property is set, none if other properties are set
EntityProviderMock
          Stub class to make it easier to test things that use an EntityProvider, will perform like the actual class so it can be reliably used for testing
NOTE: you will want to use the CoreEntityProvider stub in almost all cases but this is here for completeness
RESTfulEntityProviderMock
          Stub class to make it possible to test the RESTful capabilities, will perform like the actual class so it can be reliably used for testing
Will perform all CRUDable operations as well as allowing for internal data output processing
Returns MyEntity objects
Allows for testing Resolvable and CollectionResolvable as well, returns 3 MyEntity objects if no search restrictions, 1 if "stuff" property is set, none if other properties are set
 

Classes in org.sakaiproject.entitybroker.mocks used by org.sakaiproject.entitybroker.mocks.data
ActionsDefineableEntityProviderMock
          Stub class to make it possible to test the ActionsExecutable capabilities, will perform like the actual class so it can be reliably used for testing
Will perform all CRUDable operations as well as allowing for internal data output processing
Returns MyEntity objects
Allows for testing Resolvable and CollectionResolvable as well, returns 2 MyEntity objects if no search restrictions, 1 if "stuff" property is set, none if other properties are set
ActionsEntityProviderMock
          Stub class to make it possible to test the ActionsExecutable capabilities, will perform like the actual class so it can be reliably used for testing
Will perform all CRUDable operations as well as allowing for internal data output processing
Returns MyEntity objects
Allows for testing Resolvable and CollectionResolvable as well, returns 2 MyEntity objects if no search restrictions, 1 if "stuff" property is set, none if other properties are set
ActionsExecutionEntityProviderMock
          Stub class to make it possible to test the ActionsExecutable capabilities, will perform like the actual class so it can be reliably used for testing
Will perform all CRUDable operations as well as allowing for internal data output processing
Returns MyEntity objects
Allows for testing Resolvable and CollectionResolvable as well, returns 2 MyEntity objects if no search restrictions, 1 if "stuff" property is set, none if other properties are set
BrowsableEntityProviderMock
          Stub class to make it possible to test the BrowseableCollection capability, will perform like the actual class so it can be reliably used for testing
Will perform all CRUDable operations as well as allowing for internal data output processing
Returns MyEntity objects
Allows for testing Resolvable and CollectionResolvable as well, returns 2 MyEntity objects if no search restrictions, 1 if "stuff" property is set, none if other properties are set
BrowseSearchableEntityProviderMock
          Stub class to make it possible to test the BrowseSearchable capability, will perform like the actual class so it can be reliably used for testing
Gets 3 entities, user=aaronz gets entity 2, assoc=siteAZ gets entity 3
Will perform all CRUDable operations as well as allowing for internal data output processing
Returns MyEntity objects
Allows for testing Resolvable and CollectionResolvable as well, returns 2 MyEntity objects if no search restrictions, 1 if "stuff" property is set, none if other properties are set
DescribeableEntityProviderMock
          Stub class to make it possible to test the Describeable capabilities, will perform like the actual class so it can be reliably used for testing
NOTE: This MUST use "describe-prefix" as the prefix
Will perform all CRUDable operations also
Returns MyEntity objects
Allows for testing Resolvable and CollectionResolvable as well, returns 3 MyEntity objects if no search restrictions, 1 if "stuff" property is set, none if other properties are set
DescribePropertiesableEntityProviderMock
          Stub class to make it possible to test the DescribePropertiesable capabilities, will perform like the actual class so it can be reliably used for testing
Will perform all CRUDable operations also
Returns MyEntity objects
Allows for testing Resolvable and CollectionResolvable as well, returns 3 MyEntity objects if no search restrictions, 1 if "stuff" property is set, none if other properties are set
PropertyableEntityProviderMock
          Mock which emulates the propertyable abilities, note that by default there are no properties on entities
RedirectableEntityProviderMock
          Stub class to make it possible to test the Redirectable capabilities, will perform like the actual class so it can be reliably used for testing
Will perform all CRUDable operations as well as allowing for internal data output processing
Returns MyEntity objects
Allows for testing Resolvable and CollectionResolvable as well, returns 2 MyEntity objects if no search restrictions, 1 if "stuff" property is set, none if other properties are set
RedirectControllableEntityProviderMock
          Stub class to make it possible to test the RedirectControllable capabilities, will perform like the actual class so it can be reliably used for testing
Will perform all CRUDable operations as well as allowing for internal data output processing
Returns MyEntity objects
Allows for testing Resolvable and CollectionResolvable as well, returns 2 MyEntity objects if no search restrictions, 1 if "stuff" property is set, none if other properties are set
RedirectDefineableEntityProviderMock
          Stub class to make it possible to test the RedirectDefinable capabilities, will perform like the actual class so it can be reliably used for testing
Will perform all CRUDable operations as well as allowing for internal data output processing
Returns MyEntity objects
Allows for testing Resolvable and CollectionResolvable as well, returns 2 MyEntity objects if no search restrictions, 1 if "stuff" property is set, none if other properties are set
ReferenceParseableEntityProviderMock
          Stub class to make it possible to test the ReferenceParseable capability, will perform like the actual class so it can be reliably used for testing
RequestStoreableEntityProviderMock
          Stub class to make it possible to test the RESTful capabilities, will perform like the actual class so it can be reliably used for testing
Will perform all CRUDable operations as well as allowing for internal data output processing
Returns MyEntity objects
Allows for testing Resolvable and CollectionResolvable as well, returns 3 MyEntity objects if no search restrictions, 1 if "stuff" property is set, none if other properties are set
ResolvableEntityProviderMock
          Stub class to make it possible to test the Resolvable capability, will perform like the actual class so it can be reliably used for testing
Returns MyEntity objects
Allows for testing CollectionResolvable as well, returns 3 MyEntity objects if no search restrictions, 1 if "stuff" property is set, none if other properties are set
Finally, this allows us to test the outputting of data because it implements outputable
RESTfulEntityProviderMock
          Stub class to make it possible to test the RESTful capabilities, will perform like the actual class so it can be reliably used for testing
Will perform all CRUDable operations as well as allowing for internal data output processing
Returns MyEntity objects
Allows for testing Resolvable and CollectionResolvable as well, returns 3 MyEntity objects if no search restrictions, 1 if "stuff" property is set, none if other properties are set
SerializeableEntityProviderMock
          Stub class to make it possible to test the OutputSerializable capabilities, will perform like the actual class so it can be reliably used for testing
Will perform all CRUDable operations
Returns MyEntity objects
Allows for testing Resolvable and CollectionResolvable as well, returns 3 MyEntity objects if no search restrictions, 1 if "stuff" property is set, none if other properties are set
TagEntityProviderMock
          This is an entity provider which uses the internal tagging service
TaggableEntityProviderMock
          Mock which emulates the taggable abilities, note that by default there are no tags on entities
 



Copyright © 2007-2012 Sakai Project. All Rights Reserved.