PageRenderTime 27ms CodeModel.GetById 10ms app.highlight 12ms RepoModel.GetById 1ms app.codeStats 0ms

/tst/org/diffkit/diff/testcase/test29.plan.xml

http://diffkit.googlecode.com/
XML | 457 lines | 398 code | 59 blank | 0 comment | 0 complexity | d83f0235dbd4da4242cad1df608897d2 MD5 | raw file
  1<?xml version="1.0" encoding="UTF-8"?>
  2
  3<beans xmlns="http://www.springframework.org/schema/beans"
  4	xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  5	xsi:schemaLocation="http://www.springframework.org/schema/beans
  6http://www.springframework.org/schema/beans/spring-beans-3.0.xsd">
  7
  8   <bean id="plan" class="org.diffkit.diff.conf.DKPassthroughPlan">
  9      <property name="lhsSource" ref="lhs.source" />
 10      <property name="rhsSource" ref="rhs.source" />
 11      <property name="sink" ref="sink" />
 12      <property name="tableComparison" ref="table.comparison" />
 13   </bean>
 14
 15   <bean id="table.comparison" class="org.diffkit.diff.engine.DKStandardTableComparison">
 16      <constructor-arg index="0" ref="lhs.table.model" />
 17      <constructor-arg index="1" ref="rhs.table.model" />
 18      <constructor-arg index="2" value="BOTH" />
 19      <constructor-arg index="3">
 20         <list>
 21            <ref bean="column1.comparison" />
 22            <ref bean="column2.comparison" />
 23            <ref bean="column3.comparison" />
 24            <ref bean="column4.comparison" />
 25            <ref bean="column5.comparison" />
 26            <ref bean="column6.comparison" />
 27            <ref bean="column7.comparison" />
 28            <ref bean="column8.comparison" />
 29            <ref bean="column9.comparison" />
 30            <ref bean="column10.comparison" />
 31            <ref bean="column11.comparison" />
 32            <ref bean="column12.comparison" />
 33            <ref bean="column13.comparison" />
 34            <ref bean="column14.comparison" />
 35            <ref bean="column15.comparison" />
 36            <ref bean="column16.comparison" />
 37         </list>
 38      </constructor-arg>
 39      <constructor-arg index="4">
 40         <list>
 41            <value>1</value>
 42            <value>2</value>
 43            <value>3</value>
 44            <value>4</value>
 45            <value>5</value>
 46            <value>6</value>
 47            <value>7</value>
 48            <value>8</value>
 49            <value>9</value>
 50            <value>10</value>
 51            <value>11</value>
 52            <value>12</value>
 53            <value>13</value>
 54            <value>14</value>
 55            <value>15</value>
 56         </list>
 57      </constructor-arg>
 58      <constructor-arg index="5">
 59         <list>
 60            <list>
 61               <value>0</value>
 62            </list>
 63            <list>
 64               <value>0</value>
 65            </list>
 66         </list>
 67      </constructor-arg>
 68      <constructor-arg index="6" value="100" />
 69   </bean>
 70
 71   <bean id="column1.comparison" class="org.diffkit.diff.engine.DKColumnComparison">
 72      <constructor-arg index="0" ref="lhs.column1" />
 73      <constructor-arg index="1" ref="rhs.column1" />
 74      <constructor-arg index="2" ref="equalsDiffor" />
 75   </bean>
 76
 77   <bean id="column2.comparison" class="org.diffkit.diff.engine.DKColumnComparison">
 78      <constructor-arg index="0" ref="lhs.column2" />
 79      <constructor-arg index="1" ref="rhs.column2" />
 80      <constructor-arg index="2" ref="equalsDiffor" />
 81   </bean>
 82
 83   <bean id="column3.comparison" class="org.diffkit.diff.engine.DKColumnComparison">
 84      <constructor-arg index="0" ref="lhs.column3" />
 85      <constructor-arg index="1" ref="rhs.column3" />
 86      <constructor-arg index="2" ref="equalsDiffor" />
 87   </bean>
 88
 89   <bean id="column4.comparison" class="org.diffkit.diff.engine.DKColumnComparison">
 90      <constructor-arg index="0" ref="lhs.column4" />
 91      <constructor-arg index="1" ref="rhs.column4" />
 92      <constructor-arg index="2" ref="equalsDiffor" />
 93   </bean>
 94
 95   <bean id="column5.comparison" class="org.diffkit.diff.engine.DKColumnComparison">
 96      <constructor-arg index="0" ref="lhs.column5" />
 97      <constructor-arg index="1" ref="rhs.column5" />
 98      <constructor-arg index="2" ref="equalsDiffor" />
 99   </bean>
100
101   <bean id="column6.comparison" class="org.diffkit.diff.engine.DKColumnComparison">
102      <constructor-arg index="0" ref="lhs.column6" />
103      <constructor-arg index="1" ref="rhs.column6" />
104      <constructor-arg index="2" ref="equalsDiffor" />
105   </bean>
106
107   <bean id="column7.comparison" class="org.diffkit.diff.engine.DKColumnComparison">
108      <constructor-arg index="0" ref="lhs.column7" />
109      <constructor-arg index="1" ref="rhs.column7" />
110      <constructor-arg index="2" ref="equalsDiffor" />
111   </bean>
112
113   <bean id="column8.comparison" class="org.diffkit.diff.engine.DKColumnComparison">
114      <constructor-arg index="0" ref="lhs.column8" />
115      <constructor-arg index="1" ref="rhs.column8" />
116      <constructor-arg index="2" ref="equalsDiffor" />
117   </bean>
118
119   <bean id="column9.comparison" class="org.diffkit.diff.engine.DKColumnComparison">
120      <constructor-arg index="0" ref="lhs.column9" />
121      <constructor-arg index="1" ref="rhs.column9" />
122      <constructor-arg index="2" ref="equalsDiffor" />
123   </bean>
124
125   <bean id="column10.comparison" class="org.diffkit.diff.engine.DKColumnComparison">
126      <constructor-arg index="0" ref="lhs.column10" />
127      <constructor-arg index="1" ref="rhs.column10" />
128      <constructor-arg index="2" ref="equalsDiffor" />
129   </bean>
130
131   <bean id="column11.comparison" class="org.diffkit.diff.engine.DKColumnComparison">
132      <constructor-arg index="0" ref="lhs.column11" />
133      <constructor-arg index="1" ref="rhs.column11" />
134      <constructor-arg index="2" ref="equalsDiffor" />
135   </bean>
136
137   <bean id="column12.comparison" class="org.diffkit.diff.engine.DKColumnComparison">
138      <constructor-arg index="0" ref="lhs.column12" />
139      <constructor-arg index="1" ref="rhs.column12" />
140      <constructor-arg index="2" ref="equalsDiffor" />
141   </bean>
142
143   <bean id="column13.comparison" class="org.diffkit.diff.engine.DKColumnComparison">
144      <constructor-arg index="0" ref="lhs.column13" />
145      <constructor-arg index="1" ref="rhs.column13" />
146      <constructor-arg index="2" ref="equalsDiffor" />
147   </bean>
148
149   <bean id="column14.comparison" class="org.diffkit.diff.engine.DKColumnComparison">
150      <constructor-arg index="0" ref="lhs.column14" />
151      <constructor-arg index="1" ref="rhs.column14" />
152      <constructor-arg index="2" ref="equalsDiffor" />
153   </bean>
154
155   <bean id="column15.comparison" class="org.diffkit.diff.engine.DKColumnComparison">
156      <constructor-arg index="0" ref="lhs.column15" />
157      <constructor-arg index="1" ref="rhs.column15" />
158      <constructor-arg index="2" ref="equalsDiffor" />
159   </bean>
160
161   <bean id="column16.comparison" class="org.diffkit.diff.engine.DKColumnComparison">
162      <constructor-arg index="0" ref="lhs.column16" />
163      <constructor-arg index="1" ref="rhs.column16" />
164      <constructor-arg index="2" ref="equalsDiffor" />
165   </bean>
166
167   <bean id="equalsDiffor" class="org.diffkit.diff.diffor.DKEqualsDiffor"
168      factory-method="getInstance" />
169
170   <bean id="sink" class="org.diffkit.diff.sns.DKFileSink">
171      <constructor-arg index="0" value="./test29.sink.diff" />
172   </bean>
173
174   <bean id="rhs.source" class="org.diffkit.diff.sns.DKSpreadSheetFileSource">
175      <constructor-arg index="0"
176         value="./test29.rhs.xls" />
177      <constructor-arg index="1" value="test target" />
178      <constructor-arg index="2" ref="rhs.table.model" />
179      <constructor-arg index="3">
180         <null />
181      </constructor-arg>
182      <constructor-arg index="4">
183         <null />
184      </constructor-arg>
185      <constructor-arg index="5" value="true" />
186      <constructor-arg index="6" value="false" />
187      <constructor-arg index="7" value="true" />      
188   </bean>
189
190   <bean id="lhs.source" class="org.diffkit.diff.sns.DKSpreadSheetFileSource">
191      <constructor-arg index="0"
192         value="./test29.lhs.xls" />
193      <constructor-arg index="1" value="test target" />
194      <constructor-arg index="2" ref="lhs.table.model" />
195      <constructor-arg index="3">
196         <null />
197      </constructor-arg>
198      <constructor-arg index="4">
199         <null />
200      </constructor-arg>
201      <constructor-arg index="5" value="true" />
202      <constructor-arg index="6" value="false" />
203      <constructor-arg index="7" value="true" />      
204   </bean>
205
206   <bean id="rhs.table.model" class="org.diffkit.diff.engine.DKTableModel">
207      <constructor-arg index="0" value="TEST29_RHS_TABLE" />
208      <constructor-arg index="1">
209         <list>
210            <ref bean="rhs.column1" />
211            <ref bean="rhs.column2" />
212            <ref bean="rhs.column3" />
213            <ref bean="rhs.column4" />
214            <ref bean="rhs.column5" />
215            <ref bean="rhs.column6" />
216            <ref bean="rhs.column7" />
217            <ref bean="rhs.column8" />
218            <ref bean="rhs.column9" />
219            <ref bean="rhs.column10" />
220            <ref bean="rhs.column11" />
221            <ref bean="rhs.column12" />
222            <ref bean="rhs.column13" />
223            <ref bean="rhs.column14" />
224            <ref bean="rhs.column15" />
225            <ref bean="rhs.column16" />
226          </list>
227      </constructor-arg>
228      <constructor-arg index="2">
229         <list>
230            <value>0</value>
231         </list>
232      </constructor-arg>
233   </bean>
234
235   <bean id="lhs.table.model" class="org.diffkit.diff.engine.DKTableModel">
236      <constructor-arg index="0" value="TEST29_LHS_TABLE" />
237      <constructor-arg index="1">
238         <list>
239            <ref bean="lhs.column1" />
240            <ref bean="lhs.column2" />
241            <ref bean="lhs.column3" />
242            <ref bean="lhs.column4" />
243            <ref bean="lhs.column5" />
244            <ref bean="lhs.column6" />
245            <ref bean="lhs.column7" />
246            <ref bean="lhs.column8" />
247            <ref bean="lhs.column9" />
248            <ref bean="lhs.column10" />
249            <ref bean="lhs.column11" />
250            <ref bean="lhs.column12" />
251            <ref bean="lhs.column13" />
252            <ref bean="lhs.column14" />
253            <ref bean="lhs.column15" />
254            <ref bean="lhs.column16" />
255         </list>
256      </constructor-arg>
257      <constructor-arg index="2">
258         <list>
259            <value>0</value>
260         </list>
261      </constructor-arg>
262   </bean>
263
264   <bean id="rhs.column1" class="org.diffkit.diff.engine.DKColumnModel">
265      <constructor-arg index="0" value="0" />
266      <constructor-arg index="1" value="A" />
267      <constructor-arg index="2" value="STRING" />
268   </bean>
269
270   <bean id="rhs.column2" class="org.diffkit.diff.engine.DKColumnModel">
271      <constructor-arg index="0" value="1" />
272      <constructor-arg index="1" value="B" />
273      <constructor-arg index="2" value="DECIMAL" />
274   </bean>
275
276   <bean id="rhs.column3" class="org.diffkit.diff.engine.DKColumnModel">
277      <constructor-arg index="0" value="2" />
278      <constructor-arg index="1" value="C" />
279      <constructor-arg index="2" value="DATE" />
280   </bean>
281
282   <bean id="rhs.column4" class="org.diffkit.diff.engine.DKColumnModel">
283      <constructor-arg index="0" value="3" />
284      <constructor-arg index="1" value="D" />
285      <constructor-arg index="2" value="STRING" />
286   </bean>
287
288   <bean id="rhs.column5" class="org.diffkit.diff.engine.DKColumnModel">
289      <constructor-arg index="0" value="4" />
290      <constructor-arg index="1" value="E" />
291      <constructor-arg index="2" value="TIME" />
292   </bean>
293
294   <bean id="rhs.column6" class="org.diffkit.diff.engine.DKColumnModel">
295      <constructor-arg index="0" value="5" />
296      <constructor-arg index="1" value="F" />
297      <constructor-arg index="2" value="DECIMAL" />
298   </bean>
299
300   <bean id="rhs.column7" class="org.diffkit.diff.engine.DKColumnModel">
301      <constructor-arg index="0" value="6" />
302      <constructor-arg index="1" value="G" />
303      <constructor-arg index="2" value="DECIMAL" />
304   </bean>
305
306   <bean id="rhs.column8" class="org.diffkit.diff.engine.DKColumnModel">
307      <constructor-arg index="0" value="7" />
308      <constructor-arg index="1" value="H" />
309      <constructor-arg index="2" value="DECIMAL" />
310   </bean>
311
312   <bean id="rhs.column9" class="org.diffkit.diff.engine.DKColumnModel">
313      <constructor-arg index="0" value="8" />
314      <constructor-arg index="1" value="I" />
315      <constructor-arg index="2" value="DECIMAL" />
316   </bean>
317
318   <bean id="rhs.column10" class="org.diffkit.diff.engine.DKColumnModel">
319      <constructor-arg index="0" value="9" />
320      <constructor-arg index="1" value="J" />
321      <constructor-arg index="2" value="TIMESTAMP" />
322   </bean>
323
324   <bean id="rhs.column11" class="org.diffkit.diff.engine.DKColumnModel">
325      <constructor-arg index="0" value="10" />
326      <constructor-arg index="1" value="K" />
327      <constructor-arg index="2" value="STRING" />
328   </bean>
329
330   <bean id="rhs.column12" class="org.diffkit.diff.engine.DKColumnModel">
331      <constructor-arg index="0" value="11" />
332      <constructor-arg index="1" value="L" />
333      <constructor-arg index="2" value="INTEGER" />
334   </bean>
335
336   <bean id="rhs.column13" class="org.diffkit.diff.engine.DKColumnModel">
337      <constructor-arg index="0" value="12" />
338      <constructor-arg index="1" value="M" />
339      <constructor-arg index="2" value="DECIMAL" />
340   </bean>
341
342   <bean id="rhs.column14" class="org.diffkit.diff.engine.DKColumnModel">
343      <constructor-arg index="0" value="13" />
344      <constructor-arg index="1" value="N" />
345      <constructor-arg index="2" value="STRING" />
346   </bean>
347
348   <bean id="rhs.column15" class="org.diffkit.diff.engine.DKColumnModel">
349      <constructor-arg index="0" value="14" />
350      <constructor-arg index="1" value="O" />
351      <constructor-arg index="2" value="STRING" />
352   </bean>
353
354   <bean id="rhs.column16" class="org.diffkit.diff.engine.DKColumnModel">
355      <constructor-arg index="0" value="15" />
356      <constructor-arg index="1" value="P" />
357      <constructor-arg index="2" value="STRING" />
358   </bean>
359
360
361   <bean id="lhs.column1" class="org.diffkit.diff.engine.DKColumnModel">
362      <constructor-arg index="0" value="0" />
363      <constructor-arg index="1" value="A" />
364      <constructor-arg index="2" value="STRING" />
365   </bean>
366
367   <bean id="lhs.column2" class="org.diffkit.diff.engine.DKColumnModel">
368      <constructor-arg index="0" value="1" />
369      <constructor-arg index="1" value="B" />
370      <constructor-arg index="2" value="DECIMAL" />
371   </bean>
372
373   <bean id="lhs.column3" class="org.diffkit.diff.engine.DKColumnModel">
374      <constructor-arg index="0" value="2" />
375      <constructor-arg index="1" value="C" />
376      <constructor-arg index="2" value="DATE" />
377   </bean>
378
379   <bean id="lhs.column4" class="org.diffkit.diff.engine.DKColumnModel">
380      <constructor-arg index="0" value="3" />
381      <constructor-arg index="1" value="D" />
382      <constructor-arg index="2" value="STRING" />
383   </bean>
384
385   <bean id="lhs.column5" class="org.diffkit.diff.engine.DKColumnModel">
386      <constructor-arg index="0" value="4" />
387      <constructor-arg index="1" value="E" />
388      <constructor-arg index="2" value="TIME" />
389   </bean>
390
391   <bean id="lhs.column6" class="org.diffkit.diff.engine.DKColumnModel">
392      <constructor-arg index="0" value="5" />
393      <constructor-arg index="1" value="F" />
394      <constructor-arg index="2" value="DECIMAL" />
395   </bean>
396
397   <bean id="lhs.column7" class="org.diffkit.diff.engine.DKColumnModel">
398      <constructor-arg index="0" value="6" />
399      <constructor-arg index="1" value="G" />
400      <constructor-arg index="2" value="DECIMAL" />
401   </bean>
402
403   <bean id="lhs.column8" class="org.diffkit.diff.engine.DKColumnModel">
404      <constructor-arg index="0" value="7" />
405      <constructor-arg index="1" value="H" />
406      <constructor-arg index="2" value="DECIMAL" />
407   </bean>
408
409   <bean id="lhs.column9" class="org.diffkit.diff.engine.DKColumnModel">
410      <constructor-arg index="0" value="8" />
411      <constructor-arg index="1" value="I" />
412      <constructor-arg index="2" value="DECIMAL" />
413   </bean>
414
415   <bean id="lhs.column10" class="org.diffkit.diff.engine.DKColumnModel">
416      <constructor-arg index="0" value="9" />
417      <constructor-arg index="1" value="J" />
418      <constructor-arg index="2" value="TIMESTAMP" />
419   </bean>
420
421   <bean id="lhs.column11" class="org.diffkit.diff.engine.DKColumnModel">
422      <constructor-arg index="0" value="10" />
423      <constructor-arg index="1" value="K" />
424      <constructor-arg index="2" value="STRING" />
425   </bean>
426
427   <bean id="lhs.column12" class="org.diffkit.diff.engine.DKColumnModel">
428      <constructor-arg index="0" value="11" />
429      <constructor-arg index="1" value="L" />
430      <constructor-arg index="2" value="INTEGER" />
431   </bean>
432
433   <bean id="lhs.column13" class="org.diffkit.diff.engine.DKColumnModel">
434      <constructor-arg index="0" value="12" />
435      <constructor-arg index="1" value="M" />
436      <constructor-arg index="2" value="DECIMAL" />
437   </bean>
438
439   <bean id="lhs.column14" class="org.diffkit.diff.engine.DKColumnModel">
440      <constructor-arg index="0" value="13" />
441      <constructor-arg index="1" value="N" />
442      <constructor-arg index="2" value="STRING" />
443   </bean>
444
445   <bean id="lhs.column15" class="org.diffkit.diff.engine.DKColumnModel">
446      <constructor-arg index="0" value="14" />
447      <constructor-arg index="1" value="O" />
448      <constructor-arg index="2" value="STRING" />
449   </bean>
450
451   <bean id="lhs.column16" class="org.diffkit.diff.engine.DKColumnModel">
452      <constructor-arg index="0" value="15" />
453      <constructor-arg index="1" value="P" />
454      <constructor-arg index="2" value="STRING" />
455   </bean>
456
457</beans>