Package omeroweb :: Package webadmin :: Package tests :: Module seleniumtests :: Class AdminTests
[hide private]
[frames] | no frames]

Class AdminTests

source code


Nested Classes [hide private]

Inherited from unittest.TestCase: failureException

Instance Methods [hide private]
 
setUp(self)
Hook method for setting up the test fixture before exercising it.
source code
 
testPages(self)
This checks that the links exist for the main pages.
source code
 
testCreateExperimenter(self)
Creates a new experimenter (creates group first).
source code
 
testCreateGroup(self)
This needs to run before testCreateExperimenter()
source code
 
testRemoveExpFromGroup(self) source code
 
tearDown(self)
Hook method for deconstructing the test fixture after testing it.
source code

Inherited from WebAdminTestBase: login, logout

Inherited from webgateway.tests.seleniumbase.SeleniumTestBase: waitForElementPresence, waitForElementVisibility

Inherited from unittest.TestCase: __call__, __eq__, __hash__, __init__, __ne__, __repr__, __str__, assertAlmostEqual, assertAlmostEquals, assertEqual, assertEquals, assertFalse, assertNotAlmostEqual, assertNotAlmostEquals, assertNotEqual, assertNotEquals, assertRaises, assertTrue, assert_, countTestCases, debug, defaultTestResult, fail, failIf, failIfAlmostEqual, failIfEqual, failUnless, failUnlessAlmostEqual, failUnlessEqual, failUnlessRaises, id, run, shortDescription

Inherited from unittest.TestCase (private): _exc_info

Class Variables [hide private]

Inherited from webgateway.tests.seleniumbase.SeleniumTestBase: SERVER

Method Details [hide private]

setUp(self)

source code 

Hook method for setting up the test fixture before exercising it.

Overrides: unittest.TestCase.setUp
(inherited documentation)

testPages(self)

source code 

This checks that the links exist for the main pages. Visits each page in turn. Starts at experimenters and clicks links to each other main page '

testCreateExperimenter(self)

source code 

Creates a new experimenter (creates group first). Tests that ommiting to fill in 'ome-name' gives a correct message to user. Checks that the new user is displayed in the table of experimenters.

tearDown(self)

source code 

Hook method for deconstructing the test fixture after testing it.

Overrides: unittest.TestCase.tearDown
(inherited documentation)