Show
Ignore:
Timestamp:
19-07-10 16:28:10 (4 years ago)
Author:
keesvb
Message:

restructured BootStrap?, it should now run faster because there are no BioPortal? connections, and it adds sample studies in development mode (outcomment the addExampleStudies call in the BootStrap? if you don't want that). Renamed TemplateEntity?.getFieldType to giveFieldType and added tests to SampleTests? for the method.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/test/integration/gscf/SampleTests.groovy

    r654 r662  
    66import dbnp.studycapturing.SamplingEvent 
    77import dbnp.studycapturing.Sample 
     8import dbnp.studycapturing.TemplateFieldType 
    89 
    910/** 
     
    177178                assert sample.isDomainField('material') 
    178179 
     180                // Make sure that they have the right type 
     181                assert sample.giveFieldType('name') == TemplateFieldType.STRING 
     182                assert sample.giveFieldType('material') == TemplateFieldType.ONTOLOGYTERM 
     183 
    179184        } 
    180185