Downloads Documentation Community Contribute Demo






Show Sidebar
Login | Register
Show
Ignore:
Timestamp:
08/09/08 16:18:42 (5 months ago)
Author:
mcunderlik
Message:

data_synchronization_bidirectional branch: fixed unit tests to work with Junit4 changes.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • openmrs/branches/data_synchronization_bidirectional/test/api/org/openmrs/test/synchronization/engine/SyncDrugOrderTest.java

    r4096 r5215  
    1313 */ 
    1414package org.openmrs.test.synchronization.engine; 
     15 
     16import static org.junit.Assert.assertEquals; 
     17import static org.junit.Assert.assertNotSame; 
     18import static org.junit.Assert.assertTrue; 
     19import static org.junit.Assert.assertFalse; 
     20import static org.junit.Assert.assertNull; 
     21import static org.junit.Assert.assertNotNull; 
     22import org.junit.Test; 
    1523 
    1624import java.text.ParseException; 
     
    4452 
    4553import org.openmrs.synchronization.engine.*; 
     54import org.springframework.test.annotation.NotTransactional; 
    4655 
    4756/** 
     
    5564    } 
    5665 
     66        @Test 
     67    @NotTransactional 
    5768        public void testCreateDrugOrder() throws Exception { 
    5869                runSyncTest(new SyncTestHelper() {                       
     
    115126        }        
    116127 
    117          
     128        @Test 
     129    @NotTransactional    
    118130        public void testUpdateDrugOrder() throws Exception { 
    119131                runSyncTest(new SyncTestHelper() {