Changeset 5215 for openmrs/branches/data_synchronization_bidirectional/test/api/org/openmrs/test/synchronization/engine/SyncUserTest.java
- Timestamp:
- 08/09/08 16:18:42 (5 months ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
openmrs/branches/data_synchronization_bidirectional/test/api/org/openmrs/test/synchronization/engine/SyncUserTest.java
r5145 r5215 14 14 package org.openmrs.test.synchronization.engine; 15 15 16 import static org.junit.Assert.assertEquals; 17 import static org.junit.Assert.assertNotSame; 18 import static org.junit.Assert.assertTrue; 19 import static org.junit.Assert.assertFalse; 20 import static org.junit.Assert.assertNull; 21 import static org.junit.Assert.assertNotNull; 22 import org.junit.Test; 23 16 24 import java.util.Date; 17 25 18 import org.openmrs.LoginCredential;19 26 import org.openmrs.PersonName; 20 27 import org.openmrs.Privilege; … … 23 30 import org.openmrs.api.UserService; 24 31 import org.openmrs.api.context.Context; 25 import org.openmrs.api.context.ContextAuthenticationException;26 32 import org.openmrs.util.OpenmrsUtil; 33 import org.springframework.test.annotation.NotTransactional; 27 34 28 35 /** … … 36 43 } 37 44 45 @Test 46 @NotTransactional 38 47 public void testCreateUser() throws Exception { 39 48 runSyncTest(new SyncTestHelper() { … … 57 66 } 58 67 68 @Test 69 @NotTransactional 59 70 public void testChangePwd() throws Exception { 60 71 runSyncTest(new SyncTestHelper() { … … 74 85 } 75 86 87 @Test 88 @NotTransactional 76 89 public void testEditUser() throws Exception { 77 90 runSyncTest(new SyncTestHelper() { … … 96 109 } 97 110 111 @Test 112 @NotTransactional 98 113 public void testCreateRoleAndPrivilege() throws Exception { 99 114 runSyncTest(new SyncTestHelper() { … … 116 131 } 117 132 133 @Test 134 @NotTransactional 118 135 public void testAddPrivilegeToRole() throws Exception { 119 136 runSyncTest(new SyncTestHelper() {