
public class HerokuTest extends Object
| Modifier and Type | Field and Description |
|---|---|
private javax.servlet.http.Cookie |
ageCookie |
private org.openqa.selenium.WebDriver |
b |
private String |
clientId |
private String |
clientSecret |
private String |
finalUrl |
private SecretKey |
secretKey |
private net.trajano.auth.internal.TokenCookie |
tokenCookie |
| Constructor and Description |
|---|
HerokuTest() |
| Modifier and Type | Method and Description |
|---|---|
private javax.security.auth.message.MessagePolicy |
mockRequestPolicy() |
private javax.servlet.http.HttpServletRequest |
mockRequestWithCurrentUrl() |
private javax.servlet.http.HttpServletRequest |
mockRequestWithUrl(String urlString) |
private javax.servlet.http.HttpServletResponse |
mockResponse() |
private void |
redirectFromResponse(javax.servlet.http.HttpServletResponse resp) |
void |
setUpBrowser() |
void |
tearDownBrowser() |
void |
testConfig() |
void |
testWithTheModule()
Test with the OREO test site.
|
void |
testWithTheModuleAndQueryString()
Test with the OREO test site.
|
void |
testWithTheModuleWithProfile()
Test with the OREO test site.
|
private void |
validateResponse(javax.servlet.http.HttpServletResponse resp) |
private javax.servlet.http.Cookie ageCookie
private org.openqa.selenium.WebDriver b
private String clientId
private String clientSecret
private String finalUrl
private SecretKey secretKey
private net.trajano.auth.internal.TokenCookie tokenCookie
private javax.security.auth.message.MessagePolicy mockRequestPolicy()
private javax.servlet.http.HttpServletRequest mockRequestWithCurrentUrl()
private javax.servlet.http.HttpServletRequest mockRequestWithUrl(String urlString)
private javax.servlet.http.HttpServletResponse mockResponse()
private void redirectFromResponse(javax.servlet.http.HttpServletResponse resp)
throws IOException
IOExceptionpublic void tearDownBrowser()
public void testWithTheModule()
throws Exception
Exceptionpublic void testWithTheModuleAndQueryString()
throws Exception
Exceptionpublic void testWithTheModuleWithProfile()
throws Exception
Exceptionprivate void validateResponse(javax.servlet.http.HttpServletResponse resp)
throws GeneralSecurityException,
IOException
GeneralSecurityExceptionIOExceptionCopyright © 2014 Trajano. All rights reserved.