Ignore:
Timestamp:
Jul 19, 2010, 4:28:10 PM (6 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.

File:
1 edited

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
Note: See TracChangeset for help on using the changeset viewer.