Changeset 5215 for openmrs/branches/data_synchronization_bidirectional/test/api/org/openmrs/test/synchronization/engine/SyncOnDeleteTest.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/SyncOnDeleteTest.java
r4096 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 org.openmrs.Location; 17 25 import org.openmrs.Patient; … … 22 30 import org.openmrs.api.context.Context; 23 31 import org.openmrs.PersonAttributeType; 32 import org.springframework.test.annotation.NotTransactional; 24 33 25 34 /** … … 33 42 } 34 43 44 @Test 45 @NotTransactional 35 46 public void testDeletePatientIdentfierType() throws Exception { 36 47 runSyncTest(new SyncTestHelper() { … … 53 64 }); 54 65 } 66 67 @Test 68 @NotTransactional 55 69 public void testDeleteRelationshipType() throws Exception { 56 70 runSyncTest(new SyncTestHelper() { … … 72 86 } 73 87 }); 74 } 88 } 89 90 @Test 91 @NotTransactional 75 92 public void testDeletePersonAttributeType() throws Exception { 76 93 runSyncTest(new SyncTestHelper() { … … 93 110 }); 94 111 } 112 113 @Test 114 @NotTransactional 95 115 public void testDeletePatientName() throws Exception { 96 116 runSyncTest(new SyncTestHelper() { … … 116 136 }); 117 137 } 138 139 @Test 140 @NotTransactional 118 141 public void testDeletePatient() throws Exception { 119 142 runSyncTest(new SyncTestHelper() {