| Class | 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 |
| 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 |
| 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 |
| 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 |
| EntityViewAccessProviderManagerMock |
For testing things that use the access provider manager,
always return a new
EntityViewAccessProviderMock unless the prefix is invalid,
pretends other methods work |
| EntityViewAccessProviderMock |
Pretends to be an access servlet provider for things that use them,
will only handle HTML and RSS formats, dies for all others,
this is an access formatter (RSS,HTML)
|
| HttpServletAccessProviderManagerMock |
For testing things that use the access provider manager,
always return a new
HttpServletAccessProviderMock unless the prefix is invalid,
pretends other methods work |
| HttpServletAccessProviderMock |
Pretends to be an access servlet provider for things that use them,
will not throw any exceptions or do anything
|
| 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 © 2003–2021 Sakai Project. All rights reserved.