Downloads Documentation Community Contribute Demo






Show Sidebar
Login | Register
Show
Ignore:
Timestamp:
08/02/08 06:38:25 (5 months ago)
Author:
jmiranda
Message:

data_synchronization_bidirectional: Fixed bug that was causing several concept service unit tests to fail. The bug involved searching for concepts by name and locale. Also, refactored unit tests to use assert statements correctly (always use asserts with a brief message about what is being asserted and put the expected/actual values in the right order to avoid confusion).

Files:

Legend:

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

    r4121 r5133  
    6262 
    6363                List<SyncRecord> syncRecords = Context.getSynchronizationService().getSyncRecords(); 
    64                 if (syncRecords == null || syncRecords.size() == 0) 
     64                if (syncRecords == null || syncRecords.size() == 0) {  
    6565                        assertFalse("No changes found (i.e. sync records size is 0)", true); 
    66  
     66                } 
     67                 
    6768                log.info("\n************************************* Deleting Data *************************************"); 
    6869                deleteAllData();