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

    r4143 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.util.ArrayList; 
     
    2937import org.openmrs.synchronization.engine.*; 
    3038import org.openmrs.synchronization.SyncItemState; 
     39import org.springframework.test.annotation.NotTransactional; 
    3140 
    3241/** 
     
    4049     * @throws Exception 
    4150     */ 
     51        @Test 
     52    @NotTransactional 
    4253    public void testSerialization() throws Exception { 
    4354 
     
    109120     * @throws Exception 
    110121     */ 
     122    @Test 
     123    @NotTransactional 
    111124    public void testEquality() throws Exception { 
    112125