public class GadgetTokenStoreTest extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
DEFAULT_CALLBACK |
static String |
GADGET_SPEC |
| Constructor and Description |
|---|
GadgetTokenStoreTest() |
| Modifier and Type | Method and Description |
|---|---|
void |
setUp() |
void |
testAccessTokenFromClient() |
void |
testAccessTokenFromServerDatabase() |
void |
testGetOAuthAccessor_fullOAuth_socialPage() |
void |
testGetOAuthAccessor_oauthParamsInBody() |
void |
testGetOAuthAccessor_oauthParamsInHeader() |
void |
testGetOAuthAccessor_serviceNotFound() |
void |
testGetOAuthAccessor_signedFetch_badServiceName() |
void |
testGetOAuthAccessor_signedFetch_defaultHmac() |
void |
testGetOAuthAccessor_signedFetch_hmacKey() |
void |
testGetOAuthAccessor_signedFetch() |
void |
testGetOAuthAccessor_socialOAuth_privatePage() |
void |
testGetOAuthAccessor_socialOAuth_socialPage() |
void |
testGetOAuthAccessor_socialOAuth_withToken() |
void |
testGetOAuthAccessor_useToken_noOAuthInSpec() |
void |
testRemoveToken() |
void |
testRequestTokenFromClient_noTokenInStorage() |
void |
testRequestTokenFromClient_preferTokenInStorage() |
void |
testRequestTokenFromClientState() |
public static final String DEFAULT_CALLBACK
public static final String GADGET_SPEC
public void testGetOAuthAccessor_signedFetch()
throws Exception
Exceptionpublic void testGetOAuthAccessor_useToken_noOAuthInSpec()
throws Exception
Exceptionpublic void testGetOAuthAccessor_signedFetch_hmacKey()
throws Exception
Exceptionpublic void testGetOAuthAccessor_signedFetch_badServiceName()
throws Exception
Exceptionpublic void testGetOAuthAccessor_signedFetch_defaultHmac()
throws Exception
Exceptionpublic void testGetOAuthAccessor_socialOAuth_socialPage()
throws Exception
Exceptionpublic void testGetOAuthAccessor_socialOAuth_privatePage()
throws Exception
Exceptionpublic void testGetOAuthAccessor_socialOAuth_withToken()
throws Exception
Exceptionpublic void testGetOAuthAccessor_fullOAuth_socialPage()
throws Exception
Exceptionpublic void testGetOAuthAccessor_serviceNotFound()
throws Exception
Exceptionpublic void testGetOAuthAccessor_oauthParamsInBody()
throws Exception
Exceptionpublic void testGetOAuthAccessor_oauthParamsInHeader()
throws Exception
Exceptionpublic void testAccessTokenFromServerDatabase()
throws Exception
Exceptionpublic void testAccessTokenFromClient()
throws Exception
Exceptionpublic void testRequestTokenFromClientState()
throws Exception
Exceptionpublic void testRequestTokenFromClient_preferTokenInStorage()
throws Exception
Exceptionpublic void testRequestTokenFromClient_noTokenInStorage()
throws Exception
ExceptionCopyright © 2007-2014 The Apache Software Foundation. All Rights Reserved.