Downloads Documentation Community Contribute Demo






Show Sidebar
Login | Register
Show
Ignore:
Timestamp:
05/16/08 18:07:40 (6 months ago)
Author:
bmckown
Message:

complex_obs branch: Attempting to register ComplexObsHandlers with Map<String, ComplexObsHandler>. Only partially working. Ripped out rest of ConceptComplexHandler junk.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • openmrs/branches/complex-obs/test/api/org/openmrs/test/api/ComplexObsTest.java

    r4232 r4239  
    4444        public Boolean useInMemoryDatabase() { 
    4545                return false; 
     46        } 
     47         
     48        public void testGetRegisteredHandlers( ) throws Exception { 
     49                /* 
     50                 * Step 10. Print the list of registered ComplexObsHandlers. 
     51                 */ 
     52                List handlers = Context.getObsService().getComplexObsHandlers(); 
     53                for (int i=0; i<handlers.size(); i++)  { 
     54                        System.out.println(handlers.get(i).getClass()); 
     55                } 
     56 
     57                assertNotNull(handlers); 
    4658        } 
    4759 
     
    129141                 */ 
    130142                System.out.println(obs.getValueComplex()); 
    131                 assertNotNull(obs.getValueComplex()); 
     143                //assertNotNull(obs.getValueComplex()); 
    132144 
    133145                /*