| Package | Description |
|---|---|
| org.sakaiproject.entitybroker.mocks | |
| org.sakaiproject.entitybroker.mocks.data |
| Class and Description |
|---|
| 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 testingWill perform all CRUDable operationsReturns MyEntity objectsAllows 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 testingNOTE: 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 testingWill perform all CRUDable operations as well as allowing for internal data output processingReturns MyEntity objectsAllows 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 |
| Class and Description |
|---|
| 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 testingWill perform all CRUDable operations as well as allowing for internal data output processingReturns MyEntity objectsAllows 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 testingWill perform all CRUDable operations as well as allowing for internal data output processingReturns MyEntity objectsAllows 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 testingWill perform all CRUDable operations as well as allowing for internal data output processingReturns MyEntity objectsAllows 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 testingWill perform all CRUDable operations as well as allowing for internal data output processingReturns MyEntity objectsAllows 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 testingGets 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 processingReturns MyEntity objectsAllows 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 testingNOTE: This MUST use "describe-prefix" as the prefix Will perform all CRUDable operations alsoReturns MyEntity objectsAllows 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 testingWill perform all CRUDable operations alsoReturns MyEntity objectsAllows 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 testingWill perform all CRUDable operations as well as allowing for internal data output processingReturns MyEntity objectsAllows 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 testingWill perform all CRUDable operations as well as allowing for internal data output processingReturns MyEntity objectsAllows 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 testingWill perform all CRUDable operations as well as allowing for internal data output processingReturns MyEntity objectsAllows 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 testingWill perform all CRUDable operations as well as allowing for internal data output processingReturns MyEntity objectsAllows 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 testingReturns MyEntity objectsAllows for testing CollectionResolvable as well, returns 3 MyEntity objects
if no search restrictions, 1 if "stuff" property is set, none if other properties are setFinally, 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 testingWill perform all CRUDable operations as well as allowing for internal data output processingReturns MyEntity objectsAllows 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 testingWill perform all CRUDable operationsReturns MyEntity objectsAllows 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–2019 Sakai Project. All rights reserved.