Changeset 585 for tags/release_1.0beta3/testapp

Show
Ignore:
Timestamp:
09/14/07 15:31:06 (1 year ago)
Author:
laurentj
Message:

fixed bug #270 also for beta3 release

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • tags/release_1.0beta3/testapp/modules/jelix_tests/tests/jdao.parser.html.php

    r576 r585  
    390390        </object>' 
    391391        ), 
    392  
     392       array( '<?xml version="1.0"?> 
     393        <property name="label" datatype="string" selectpattern="%s" insertpattern="" updatepattern=""/>', 
     394        '<?xml version="1.0"?> 
     395        <object> 
     396            <string p="name" value="label"/> 
     397            <string p="fieldName" value="label"/> 
     398            <string p="table" value="news"/> 
     399            <string p="datatype" value="string"/> 
     400            <null p="regExp"/> 
     401            <boolean p="required" value="false"/> 
     402            <boolean p="requiredInConditions" value="false"/> 
     403            <boolean p="isPK" value="false" /> 
     404            <boolean p="isFK" value="false" /> 
     405            <string p="updatePattern" value="" /> 
     406            <string p="insertPattern" value="" /> 
     407            <string p="selectPattern" value="%s" /> 
     408            <string p="sequenceName" value="" /> 
     409            <null p="maxlength"/> 
     410            <null p="minlength"/> 
     411            <boolean p="ofPrimaryTable" value="true" /> 
     412        </object>' 
     413        ), 
     414 
     415       array( '<?xml version="1.0"?> 
     416        <property name="label" datatype="string" selectpattern="CASE WHEN LENGTH(password) = 0 THEN 1 ELSE 0 END" insertpattern="" updatepattern=""/>', 
     417        '<?xml version="1.0"?> 
     418        <object> 
     419            <string p="name" value="label"/> 
     420            <string p="fieldName" value="label"/> 
     421            <string p="table" value="news"/> 
     422            <string p="datatype" value="string"/> 
     423            <null p="regExp"/> 
     424            <boolean p="required" value="false"/> 
     425            <boolean p="requiredInConditions" value="false"/> 
     426            <boolean p="isPK" value="false" /> 
     427            <boolean p="isFK" value="false" /> 
     428            <string p="updatePattern" value="" /> 
     429            <string p="insertPattern" value="" /> 
     430            <string p="selectPattern" value="CASE WHEN LENGTH(password) = 0 THEN 1 ELSE 0 END" /> 
     431            <string p="sequenceName" value="" /> 
     432            <null p="maxlength"/> 
     433            <null p="minlength"/> 
     434            <boolean p="ofPrimaryTable" value="true" /> 
     435        </object>' 
     436        ), 
    393437    ); 
    394438 
  • tags/release_1.0beta3/testapp/modules/jelix_tests/tests/jdao.parser.html.php

    r576 r585  
    390390        </object>' 
    391391        ), 
    392  
     392       array( '<?xml version="1.0"?> 
     393        <property name="label" datatype="string" selectpattern="%s" insertpattern="" updatepattern=""/>', 
     394        '<?xml version="1.0"?> 
     395        <object> 
     396            <string p="name" value="label"/> 
     397            <string p="fieldName" value="label"/> 
     398            <string p="table" value="news"/> 
     399            <string p="datatype" value="string"/> 
     400            <null p="regExp"/> 
     401            <boolean p="required" value="false"/> 
     402            <boolean p="requiredInConditions" value="false"/> 
     403            <boolean p="isPK" value="false" /> 
     404            <boolean p="isFK" value="false" /> 
     405            <string p="updatePattern" value="" /> 
     406            <string p="insertPattern" value="" /> 
     407            <string p="selectPattern" value="%s" /> 
     408            <string p="sequenceName" value="" /> 
     409            <null p="maxlength"/> 
     410            <null p="minlength"/> 
     411            <boolean p="ofPrimaryTable" value="true" /> 
     412        </object>' 
     413        ), 
     414 
     415       array( '<?xml version="1.0"?> 
     416        <property name="label" datatype="string" selectpattern="CASE WHEN LENGTH(password) = 0 THEN 1 ELSE 0 END" insertpattern="" updatepattern=""/>', 
     417        '<?xml version="1.0"?> 
     418        <object> 
     419            <string p="name" value="label"/> 
     420            <string p="fieldName" value="label"/> 
     421            <string p="table" value="news"/> 
     422            <string p="datatype" value="string"/> 
     423            <null p="regExp"/> 
     424            <boolean p="required" value="false"/> 
     425            <boolean p="requiredInConditions" value="false"/> 
     426            <boolean p="isPK" value="false" /> 
     427            <boolean p="isFK" value="false" /> 
     428            <string p="updatePattern" value="" /> 
     429            <string p="insertPattern" value="" /> 
     430            <string p="selectPattern" value="CASE WHEN LENGTH(password) = 0 THEN 1 ELSE 0 END" /> 
     431            <string p="sequenceName" value="" /> 
     432            <null p="maxlength"/> 
     433            <null p="minlength"/> 
     434            <boolean p="ofPrimaryTable" value="true" /> 
     435        </object>' 
     436        ), 
    393437    ); 
    394438 
Download in other formats: Unified Diff Zip Archive