|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object junit.framework.Assert junit.framework.TestCase com.atlassian.jira.functest.framework.FuncTestCase com.atlassian.jira.webtests.ztests.navigator.TestNavigationBarWebFragment
public class TestNavigationBarWebFragment
Simple test case that checks the links on the top system navigation bar is visible with correct permissions.
Field Summary | |
---|---|
static org.apache.log4j.Logger |
log
|
Fields inherited from class com.atlassian.jira.functest.framework.FuncTestCase |
---|
administration, assertions, backdoor, environmentData, form, funcTestHelperFactory, issueTableAssertions, locator, navigation, oldway_consider_porting, page, parse, tester, text |
Constructor Summary | |
---|---|
TestNavigationBarWebFragment()
|
Method Summary | |
---|---|
void |
_checkAdminLinkVisiblityToProjectAdmin()
|
void |
_checkAdminLinkVisiblityToSystemAdmin()
|
void |
_checkBrowseAndFindIssueLinksVisiblity()
|
void |
_checkCreateIssueLinkVisiblity()
|
void |
addBrowsePermission()
|
void |
addCreatePermission()
|
void |
addProjectAdminPermission()
|
void |
removeBrowsePermission()
|
void |
removeCreatePermission()
|
void |
removeProjectAdminPermission()
|
void |
setUpTest()
Setup for an actual test |
void |
tearDownTest()
individual test tear down |
void |
testNavigationBarWebFragment()
|
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 |
Field Detail |
---|
public static final org.apache.log4j.Logger log
Constructor Detail |
---|
public TestNavigationBarWebFragment()
Method Detail |
---|
public void setUpTest()
FuncTestCase
setUpTest
in class FuncTestCase
public void tearDownTest()
FuncTestCase
tearDownTest
in class FuncTestCase
public void testNavigationBarWebFragment()
public void _checkBrowseAndFindIssueLinksVisiblity()
public void _checkCreateIssueLinkVisiblity()
public void _checkAdminLinkVisiblityToProjectAdmin()
public void _checkAdminLinkVisiblityToSystemAdmin()
public void removeBrowsePermission()
public void removeCreatePermission()
public void removeProjectAdminPermission()
public void addBrowsePermission()
public void addCreatePermission()
public void addProjectAdminPermission()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |