Ignore:
Timestamp:
08/28/10 14:22:32 (21 months ago)
Author:
kasper
Message:

Ticket #382: Improved testing

File:
1 edited

Legend:

Unmodified
Added
Removed
  • AnalyzerBeans/trunk/src/test/resources/example-job-valid.xml

    r978 r980  
    99                <data-context ref="my database" /> 
    1010                <columns> 
    11                         <column id="col1" path="PUBLIC.EMPLOYEES.EMPLOYEENUMBER" /> 
    12                         <column id="col2" path="PUBLIC.EMPLOYEES.FIRSTNAME" /> 
    13                         <column id="col3" path="PUBLIC.EMPLOYEES.LASTNAME" /> 
     11                        <column id="col_fn" path="PUBLIC.EMPLOYEES.FIRSTNAME" /> 
     12                        <column id="col_ln" path="PUBLIC.EMPLOYEES.LASTNAME" /> 
     13                        <column id="col_email" path="PUBLIC.EMPLOYEES.EMAIL" /> 
    1414                </columns> 
    1515        </source> 
     
    1717        <transformation> 
    1818                <transformer> 
    19                         <descriptor ref="tokenizerDescriptor" /> 
    20                         <input ref="col3" /> 
    21                         <output id="pp1" /> 
    22                         <output id="pp2" /> 
    23                         <output id="pp3" /> 
    24                 </transformer> 
    25  
    26                 <transformer> 
    27                         <descriptor ref="trimDescriptor" /> 
    28                         <input ref="col2" /> 
    29                         <output id="pp4" /> 
    30                 </transformer> 
    31  
    32                 <transformer> 
    33                         <descriptor ref="replaceEmptyStringWithNullDescriptor" /> 
    34                         <input ref="pp4" /> 
    35                         <output id="pp5" /> 
     19                        <descriptor ref="Email standardizer" /> 
     20                        <input ref="col_email" /> 
     21                        <output id="col_username" name="username" /> 
     22                        <output id="col_domain" name="domain" /> 
    3623                </transformer> 
    3724        </transformation> 
     
    4027                <analyzer> 
    4128                        <descriptor ref="String analyzer" /> 
    42                         <input ref="col1" /> 
    43                         <input ref="col2" /> 
    44                         <input ref="pp1" /> 
    45                         <input ref="pp2" /> 
    46                         <input ref="pp3" /> 
    47                         <input ref="pp5" /> 
     29                        <input ref="col_username" /> 
     30                        <input ref="col_domain" /> 
     31                        <input ref="col_fn" /> 
     32                        <input ref="col_ln" /> 
    4833                </analyzer> 
    4934        </analysis> 
Note: See TracChangeset for help on using the changeset viewer.