Changeset 5215 for openmrs/branches/data_synchronization_bidirectional/test/api/org/openmrs/test/synchronization/engine/SyncEncounterTest.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/SyncEncounterTest.java
r4121 r5215 14 14 package org.openmrs.test.synchronization.engine; 15 15 16 import java.util.HashSet; 17 import java.util.List; 18 import java.util.Locale; 19 import java.util.Set; 20 import java.util.UUID; 16 import static org.junit.Assert.assertEquals; 17 import static org.junit.Assert.assertFalse; 18 import static org.junit.Assert.assertNull; 19 import static org.junit.Assert.assertNotNull; 20 import org.junit.Test; 21 21 22 import java.util.Calendar; 22 23 23 import org.openmrs.Concept;24 import org.openmrs.ConceptAnswer;25 import org.openmrs.ConceptName;26 import org.openmrs.ConceptNumeric;27 import org.openmrs.ConceptSet;28 import org.openmrs.ConceptSynonym;29 24 import org.openmrs.Encounter; 30 25 import org.openmrs.EncounterType; 31 26 import org.openmrs.api.AdministrationService; 32 import org.openmrs.api.ConceptService;33 27 import org.openmrs.api.EncounterService; 34 28 import org.openmrs.api.context.Context; 29 import org.springframework.test.annotation.NotTransactional; 35 30 36 31 /** … … 44 39 } 45 40 41 @Test 42 @NotTransactional 46 43 public void testCreateEncounterType() throws Exception { 47 44 runSyncTest(new SyncTestHelper() { … … 63 60 } 64 61 65 66 62 @Test 63 @NotTransactional 67 64 public void testUpdateEncounterType() throws Exception { 68 65 runSyncTest(new SyncTestHelper() { … … 90 87 } 91 88 92 89 @Test 90 @NotTransactional 93 91 public void testDeleteEncounterType() throws Exception { 94 92 … … 107 105 } 108 106 107 @Test 108 @NotTransactional 109 109 public void testCreateEncounter() throws Exception { 110 110 runSyncTest(new SyncTestHelper() { … … 133 133 } 134 134 135 @Test 136 @NotTransactional 135 137 public void testDeleteEncounter() throws Exception { 136 138 runSyncTest(new SyncTestHelper() {