|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjunit.framework.Assert
junit.framework.TestCase
com.atlassian.jira.functest.framework.FuncTestCase
com.atlassian.jira.webtests.ztests.admin.trustedapps.TestTrustedApplicationClient
public class TestTrustedApplicationClient
Test using Trusted Apps v2 and v3 Protocols.
| Field Summary |
|---|
| Fields inherited from class com.atlassian.jira.functest.framework.FuncTestCase |
|---|
administration, assertions, backdoor, environmentData, form, funcTestHelperFactory, issueTableAssertions, locator, log, navigation, oldway_consider_porting, page, parse, tester, text |
| Constructor Summary | |
|---|---|
TestTrustedApplicationClient()
|
|
| Method Summary | |
|---|---|
void |
_testCertificateExpires()
|
void |
_testClientLoggedInAdmin()
|
void |
_testClientLoggedInFred()
|
void |
_testClientLoggedInUnknown()
|
void |
_testClientNotLoggedIn()
|
void |
_testInvalidCertData()
|
void |
_testInvalidCertSecretKey()
|
void |
_testInvalidCertSecretKeyWithV3Protocol()
|
void |
_testUnknownClientLoggedInFred()
|
void |
_testUrlNotMatched()
|
protected void |
setUpTest()
Setup for an actual test |
protected void |
tearDownTest()
individual test tear down |
void |
testAllWithV2TrustedProtocol()
|
void |
testAllWithV3TrustedProtocol()
|
| Methods inherited from class com.atlassian.jira.functest.framework.FuncTestCase |
|---|
builtInCustomFieldKey, getAssertions, getEnvironmentData, getTester, getWebClientListener, isDumpHTML, log, log, runBare, runTest, setEnvironmentData, setUp, setUpHttpUnitOptions, shouldSkipSetup, tearDown, xpath |
| Methods inherited from class junit.framework.TestCase |
|---|
countTestCases, createResult, getName, run, run, setName, toString |
| Methods inherited from class junit.framework.Assert |
|---|
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail, fail, failNotEquals, failNotSame, failSame, format |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public TestTrustedApplicationClient()
| Method Detail |
|---|
protected void setUpTest()
FuncTestCase
setUpTest in class FuncTestCaseprotected void tearDownTest()
FuncTestCase
tearDownTest in class FuncTestCase
public void testAllWithV2TrustedProtocol()
throws Exception
Exception
public void testAllWithV3TrustedProtocol()
throws Exception
Exception
public void _testClientNotLoggedIn()
throws Exception
Exception
public void _testClientLoggedInUnknown()
throws Exception
Exception
public void _testClientLoggedInFred()
throws Exception
Exception
public void _testClientLoggedInAdmin()
throws Exception
Exception
public void _testUnknownClientLoggedInFred()
throws Exception
Exception
public void _testInvalidCertData()
throws Exception
Exception
public void _testInvalidCertSecretKey()
throws Exception
Exception
public void _testInvalidCertSecretKeyWithV3Protocol()
throws Exception
Exception
public void _testCertificateExpires()
throws Exception
Exception
public void _testUrlNotMatched()
throws Exception
Exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||