Skip navigation links
A C E F G I M P R S U 

A

AbstractCRUDTestController - Class in com.redhat.lightblue.test
Testing harness for junit tests that need to stand an in-memory instance of lightblue.
AbstractCRUDTestController() - Constructor for class com.redhat.lightblue.test.AbstractCRUDTestController
Defaults to statically loading lightblue.
AbstractCRUDTestController(boolean) - Constructor for class com.redhat.lightblue.test.AbstractCRUDTestController
Creates an instance of the LightblueFactory.
Assert - Class in com.redhat.lightblue.test
Custom lightblue assertions for unit testing.
assertNoDataErrors(Response) - Static method in class com.redhat.lightblue.test.Assert
Asserts no DataErrors are on a Response from lightblue.
assertNoErrors(Response) - Static method in class com.redhat.lightblue.test.Assert
Asserts no Errors are on a Response from lightblue.

C

checkDataStoreIsValid(EntityInfo) - Method in class com.redhat.lightblue.test.metadata.FakeMetadata
 
checkVersionExists(String, String) - Method in class com.redhat.lightblue.test.metadata.FakeMetadata
 
cleanup() - Static method in class com.redhat.lightblue.test.AbstractCRUDTestController
 
com.redhat.lightblue.test - package com.redhat.lightblue.test
 
com.redhat.lightblue.test.metadata - package com.redhat.lightblue.test.metadata
 
com.redhat.lightblue.test.metadata.parser - package com.redhat.lightblue.test.metadata.parser
 
convert(MetadataParser<NodeType>, NodeType, DataStore) - Method in class com.redhat.lightblue.test.metadata.parser.FakeDataStoreParser
 
createEntityMetadata(String, JsonNode, List<? extends EntityConstraint>, Map<String, ? extends FieldConstraintParser<JsonNode>>) - Static method in class com.redhat.lightblue.test.MetadataUtil
Creates an instance of EntityMetadata for testing purposes.
createJSONMetadataParser(String, Map<String, ? extends FieldConstraintParser<JsonNode>>) - Static method in class com.redhat.lightblue.test.MetadataUtil
Creates an instance of JSONMetadataParser.
createNewMetadata(EntityMetadata) - Method in class com.redhat.lightblue.test.metadata.FakeMetadata
 
createNewSchema(EntityMetadata) - Method in class com.redhat.lightblue.test.metadata.FakeMetadata
 
createRequest(Class<T>, JsonNode) - Static method in class com.redhat.lightblue.test.AbstractCRUDTestController
Creates and returns a Request based on the passed in JsonNode
createRequest_FromJsonString(Class<T>, String) - Static method in class com.redhat.lightblue.test.AbstractCRUDTestController
Creates and returns a Request based on the passed in jsonString.
createRequest_FromResource(Class<T>, String) - Static method in class com.redhat.lightblue.test.AbstractCRUDTestController
Creates and returns a Request based on the passed in jsonFile.

E

ensureDatasource(JsonNode, String) - Static method in class com.redhat.lightblue.test.AbstractCRUDTestController
 

F

FakeClientIdentification - Class in com.redhat.lightblue.test
 
FakeClientIdentification(String, String...) - Constructor for class com.redhat.lightblue.test.FakeClientIdentification
 
FakeClientIdentification(String, Set<String>) - Constructor for class com.redhat.lightblue.test.FakeClientIdentification
 
FakeDataStore - Class in com.redhat.lightblue.test.metadata
 
FakeDataStore(String) - Constructor for class com.redhat.lightblue.test.metadata.FakeDataStore
 
FakeDataStoreParser<NodeType> - Class in com.redhat.lightblue.test.metadata.parser
 
FakeDataStoreParser(String) - Constructor for class com.redhat.lightblue.test.metadata.parser.FakeDataStoreParser
 
FakeMetadata - Class in com.redhat.lightblue.test.metadata
A simple implementation of AbstractMetadata for testing purposes.
FakeMetadata() - Constructor for class com.redhat.lightblue.test.metadata.FakeMetadata
 

G

getAccess(String, String) - Method in class com.redhat.lightblue.test.metadata.FakeMetadata
 
getBackend() - Method in class com.redhat.lightblue.test.metadata.FakeDataStore
 
getDatasource() - Method in class com.redhat.lightblue.test.AbstractCRUDTestController
Override to set the datasource values for all metadata to the returned value of this method.
getDatasourcesJson() - Method in class com.redhat.lightblue.test.AbstractCRUDTestController
Creates and returns an instance of JsonNode that represents the relevant lightblue-datasources.json.
getDefaultName() - Method in class com.redhat.lightblue.test.metadata.parser.FakeDataStoreParser
 
getDependencies(String, String) - Method in class com.redhat.lightblue.test.metadata.FakeMetadata
 
getEntityInfo(String) - Method in class com.redhat.lightblue.test.metadata.FakeMetadata
 
getEntityMetadata(String, String) - Method in class com.redhat.lightblue.test.metadata.FakeMetadata
 
getEntityNames(MetadataStatus...) - Method in class com.redhat.lightblue.test.metadata.FakeMetadata
 
getEntityVersions(String) - Method in class com.redhat.lightblue.test.metadata.FakeMetadata
 
getHooksToRemove() - Method in class com.redhat.lightblue.test.AbstractCRUDTestController
 
getLightblueCrudJson() - Method in class com.redhat.lightblue.test.AbstractCRUDTestController
Creates and returns an instance of JsonNode that represents the relevant lightblue-crud.json.
getLightblueFactory() - Static method in class com.redhat.lightblue.test.AbstractCRUDTestController
 
getLightblueMetadataJson() - Method in class com.redhat.lightblue.test.AbstractCRUDTestController
Creates and returns an instance of JsonNode that represents the relevant lightblue-metadata.json.
getMetadataJsonNodes() - Method in class com.redhat.lightblue.test.AbstractCRUDTestController
Create and returns an array of JsonNodes from which to load the LightblueFactory with.
getPrincipal() - Method in class com.redhat.lightblue.test.FakeClientIdentification
 
grantAnyoneAccess(JsonNode) - Static method in class com.redhat.lightblue.test.AbstractCRUDTestController
Deep dives to set all access levels to 'anyone'.

I

isGrantAnyoneAccess() - Method in class com.redhat.lightblue.test.AbstractCRUDTestController
 
isUserInRole(String) - Method in class com.redhat.lightblue.test.FakeClientIdentification
 

M

MetadataUtil - Class in com.redhat.lightblue.test
 

P

parse(String, MetadataParser<NodeType>, NodeType) - Method in class com.redhat.lightblue.test.metadata.parser.FakeDataStoreParser
 

R

REMOVE_ALL_HOOKS - Static variable in class com.redhat.lightblue.test.AbstractCRUDTestController
 
removeEntity(String) - Method in class com.redhat.lightblue.test.metadata.FakeMetadata
 

S

setAccess(String, String, Response) - Method in class com.redhat.lightblue.test.metadata.FakeMetadata
 
setDependencies(String, String, Response) - Method in class com.redhat.lightblue.test.metadata.FakeMetadata
 
setEntityInfo(EntityInfo) - Method in class com.redhat.lightblue.test.metadata.FakeMetadata
 
setEntityMetadata(String, String, EntityMetadata) - Method in class com.redhat.lightblue.test.metadata.FakeMetadata
 
setMetadataStatus(String, String, MetadataStatus, String) - Method in class com.redhat.lightblue.test.metadata.FakeMetadata
 
stripHooks(JsonNode, Set<String>) - Static method in class com.redhat.lightblue.test.AbstractCRUDTestController
Strips out the specified hooks.

U

updateEntityInfo(EntityInfo) - Method in class com.redhat.lightblue.test.metadata.FakeMetadata
 
A C E F G I M P R S U 
Skip navigation links

Copyright © 2015. All rights reserved.