|
||||||||||
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 cst.test.AbstractCSTTestCase cst.test.TestCaseAdminUserManagement
public class TestCaseAdminUserManagement
Copyright 2010 Medical Research Council Unit for Lifelong Health and Ageing Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Field Summary |
---|
Fields inherited from class cst.test.AbstractCSTTestCase |
---|
adminServiceAPI, adminUser, DATE_FORMAT, endUser, loggingServiceAPI, sampleTrialSubjectModel, sessionProperties, simpleDateFormat, testDataSet |
Constructor Summary | |
---|---|
TestCaseAdminUserManagement()
|
Method Summary | |
---|---|
protected void |
setUp()
|
protected void |
tearDown()
|
void |
testAddUserE1()
add a duplicate user |
void |
testAddUserN1()
|
void |
testClearN1()
|
void |
testDeleteUserA1()
delete user from a one item list |
void |
testDeleteUserE1()
delete non-existent user |
void |
testDeleteUserN1()
delete user |
void |
testUpdateUserE1()
update non-existent user |
void |
testUpdateUserN1()
|
void |
testUserExistsN1()
|
Methods inherited from class cst.test.AbstractCSTTestCase |
---|
populateDatabase, userTestDataSet |
Methods inherited from class junit.framework.TestCase |
---|
countTestCases, createResult, getName, run, run, runBare, runTest, 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 |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public TestCaseAdminUserManagement()
Method Detail |
---|
protected void setUp() throws java.lang.Exception
setUp
in class AbstractCSTTestCase
java.lang.Exception
protected void tearDown() throws java.lang.Exception
tearDown
in class AbstractCSTTestCase
java.lang.Exception
public void testAddUserN1()
public void testAddUserE1()
public void testUpdateUserN1()
public void testUpdateUserE1()
public void testDeleteUserN1()
public void testDeleteUserA1()
public void testDeleteUserE1()
public void testClearN1()
public void testUserExistsN1()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |