Package io.pivotal.cfenv.test
Class AbstractCfEnvTests
java.lang.Object
io.pivotal.cfenv.test.AbstractCfEnvTests
- Author:
- Mark Pollack, David Turanski
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidafter()protected voidassertUriInfo(io.pivotal.cfenv.core.UriInfo uriInfo, String scheme, String instanceName) protected voidassertUriInfo(io.pivotal.cfenv.core.UriInfo uriInfo, String scheme, String instanceName, String uname, String pwd) getEnvironment(Map<String, Object> properties) protected static StringgetServicesPayload(String... servicePayloads) protected StringgetTemplatedPayload(String templateFile, String serviceName, String hostname, int port, String user, String password, String name) protected StringgetUserProvidedServicePayload(String serviceName, String hostname, int port, String user, String password, String name, String scheme) protected StringgetUserProvidedServicePayloadWithNoUri(String serviceName, String hostname, int port, String user, String password, String name) protected io.pivotal.cfenv.core.test.CfEnvMockmockVcapServices(String vcapServicesJson) protected StringreadTestDataFile(String fileName)
-
Field Details
-
hostname
- See Also:
-
port
protected static final int port- See Also:
-
password
- See Also:
-
username
- See Also:
-
-
Constructor Details
-
AbstractCfEnvTests
public AbstractCfEnvTests()
-
-
Method Details
-
getServicesPayload
-
mockVcapServices
-
after
- Throws:
Exception
-
getTemplatedPayload
-
getEnvironment
-
getEnvironment
-
readTestDataFile
-
getUserProvidedServicePayload
-
getUserProvidedServicePayloadWithNoUri
-
assertUriInfo
-
assertUriInfo
-