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/SyncFormTest.java

    r4096 r5215  
    1414package org.openmrs.test.synchronization.engine; 
    1515 
     16import static org.junit.Assert.assertEquals; 
     17import static org.junit.Assert.assertNotSame; 
     18import static org.junit.Assert.assertFalse; 
     19import static org.junit.Assert.assertNull; 
     20import static org.junit.Assert.assertNotNull; 
     21import org.junit.Test; 
     22 
    1623import org.openmrs.Concept; 
    1724import org.openmrs.Field; 
     
    2027import org.openmrs.api.FormService; 
    2128import org.openmrs.api.context.Context; 
     29import org.springframework.test.annotation.NotTransactional; 
    2230 
    2331/** 
     
    3442    } 
    3543 
     44        @Test 
     45    @NotTransactional 
    3646        public void testEditFormMetadata() throws Exception { 
    3747                runSyncTest(new SyncTestHelper() { 
     
    4959        } 
    5060         
     61        @Test 
     62    @NotTransactional 
    5163        public void testDuplicateForm() throws Exception { 
    5264                runSyncTest(new SyncTestHelper() { 
     
    7991        } 
    8092 
     93        @Test 
     94    @NotTransactional 
    8195        public void testAddFieldToForm() throws Exception { 
    8296                runSyncTest(new SyncTestHelper() {