| Package | Description |
|---|---|
| org.sakaiproject.entitybroker.mocks |
| Modifier and Type | Class and Description |
|---|---|
class |
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 |
class |
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 |
class |
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 |
class |
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 |
class |
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 |
class |
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 |
class |
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 |
class |
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 |
class |
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 |
class |
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 |
class |
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 |
class |
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 |
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 |
class |
TagEntityProviderMock
This is an entity provider which uses the internal tagging service
|
Copyright © 2007–2019 Sakai Project. All rights reserved.