Ignore:
Timestamp:
Jun 10, 2010, 1:33:37 AM (14 years ago)
Author:
keesvb
Message:

added entity property to TemplateField?; added validator to Template to ensure fields are of the correct entity, updated BootStrap? accordingly, updated tests accordingly

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/test/unit/dbnp/studycapturing/TemplateFieldFileTests.groovy

    r507 r550  
    1616        // available in testcases
    1717        fileService.metaClass.getUploadDir = {
    18             return new File( 'D:/isdat/dbNP/Sources/gscf mei/web-app/fileuploads' );
     18            return new File( System.properties['base.dir'] + File.separator + 'web-app' + File.separator + 'fileuploads' );
    1919        }
    2020       
     
    2626                    new TemplateField(
    2727                        name: 'testRelTime',
    28                         type: TemplateFieldType.RELTIME
     28                        type: TemplateFieldType.RELTIME,
     29                            entity: Event
    2930                    ),
    3031                    new TemplateField(
Note: See TracChangeset for help on using the changeset viewer.