9d31f079f4e5145b6bf83167f5f59cad65ff8fa1
[mono.git] / mcs / class / System.Web / Test / System.Web.UI.WebControls / RepeatInfoTest.auto.4.0.cs
1 #if NET_4_0
2
3 // THIS IS AUTOGENERATED DO NOT EDIT
4 //
5 // Authors:
6 //    Ben Maurer (bmaurer@novell.com)
7 //
8 // Copyright (C) 2005 Novell, Inc (http://www.novell.com)
9 //
10 // Permission is hereby granted, free of charge, to any person obtaining
11 // a copy of this software and associated documentation files (the
12 // "Software"), to deal in the Software without restriction, including
13 // without limitation the rights to use, copy, modify, merge, publish,
14 // distribute, sublicense, and/or sell copies of the Software, and to
15 // permit persons to whom the Software is furnished to do so, subject to
16 // the following conditions:
17 // 
18 // The above copyright notice and this permission notice shall be
19 // included in all copies or substantial portions of the Software.
20 // 
21 // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
22 // EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
23 // MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
24 // NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
25 // LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
26 // OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
27 // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
28 //
29
30 using System;
31 using System.Collections;
32 using System.ComponentModel;
33 using System.Drawing;
34 using System.IO;
35 using System.Web;
36 using System.Web.UI;
37 using System.Web.UI.WebControls;
38
39 using NUnit.Framework;
40 namespace MonoTests.System.Web.UI.WebControls {
41 [TestFixture]
42 public class RepeatInfo_Autogen {
43         public class RepeatInfoUser : IRepeatInfoUser {
44
45                 private bool footer;
46                 private bool header;
47                 private bool separators;
48                 private int count;
49                 private int counter;
50
51
52                 public RepeatInfoUser (bool header, bool footer, bool separators, int count)
53                 {
54                         this.footer = footer;
55                         this.header = header;
56                         this.separators = separators;
57                         this.count = count;
58                 }
59
60                 static HtmlTextWriter GetWriter ()
61                 {
62                         StringWriter sw = new StringWriter ();
63                         sw.NewLine = "\n";
64                         return new HtmlTextWriter (sw);
65                 }
66
67                 public static string DoTest (int cols, int cnt, RepeatDirection d, RepeatLayout l, bool OuterTableImplied, bool hdr, bool ftr, bool sep)
68                 {
69                         HtmlTextWriter htw = GetWriter ();
70                         RepeatInfo ri = new RepeatInfo ();
71                         ri.RepeatColumns = cols;
72                         ri.RepeatDirection = d;
73                         ri.RepeatLayout = l;
74                         ri.OuterTableImplied = OuterTableImplied;
75                         Style s = new Style ();
76                         if (cols != 3)
77                                 s.CssClass = "mainstyle";
78
79                         ri.RenderRepeater (htw, new RepeatInfoUser (hdr, ftr, sep, cnt), s, new DataList ());
80                         return htw.InnerWriter.ToString ();
81                 }
82
83
84                 public bool HasFooter {
85                         get { return footer; }
86                 }
87
88                 public bool HasHeader {
89                         get { return header; }
90                 }
91                 
92                 public bool HasSeparators {
93                         get { return separators; }
94                 }
95
96                 public int RepeatedItemCount {
97                         get { return count; }
98                 }
99
100                 public Style GetItemStyle (ListItemType itemType, int repeatIndex)
101                 {
102                         Style s = new Style ();
103                         s.CssClass = String.Format ("{0}{1}", itemType, repeatIndex);
104                         return s;
105                 }
106
107                 public void RenderItem (ListItemType itemType, int repeatIndex, RepeatInfo repeatInfo, HtmlTextWriter writer)
108                 {
109                         writer.Write ("({0},{1},{2})", counter++, itemType, repeatIndex);
110                 }
111         }
112
113         [Test]
114         public void RepeatInfo_0cols_0itms_horiz_tbl_otrtblimp_hdr_ftr_sep ()
115         {
116                 // cols              : 0
117                 // cnt               : 0
118                 // RepeatDirection   : Horizontal
119                 // RepeatLayout      : Table
120                 // OuterTableImplied : True
121                 // Header            : True
122                 // Footer            : True
123                 // Separator         : True
124
125
126                 string v = RepeatInfoUser.DoTest (0, 0, RepeatDirection.Horizontal, RepeatLayout.Table, true, true, true, true);
127                 string exp = @"<table class=""mainstyle"">
128         <tr>
129                 <td colspan=""0"" class=""Header-1"">(0,Header,-1)</td>
130         </tr><tr>
131                 <td colspan=""0"" class=""Footer-1"">(1,Footer,-1)</td>
132         </tr>
133 </table>";
134                 Assert.AreEqual (exp, v, "#0");
135         }
136
137
138         [Test]
139         public void RepeatInfo_0cols_1itms_horiz_tbl_otrtblimp_hdr_ftr_sep ()
140         {
141                 // cols              : 0
142                 // cnt               : 1
143                 // RepeatDirection   : Horizontal
144                 // RepeatLayout      : Table
145                 // OuterTableImplied : True
146                 // Header            : True
147                 // Footer            : True
148                 // Separator         : True
149
150
151                 string v = RepeatInfoUser.DoTest (0, 1, RepeatDirection.Horizontal, RepeatLayout.Table, true, true, true, true);
152                 string exp = @"<table class=""mainstyle"">
153         <tr>
154                 <td colspan=""2"" class=""Header-1"">(0,Header,-1)</td>
155         </tr><tr>
156                 <td class=""Item0"">(1,Item,0)</td><td></td>
157         </tr><tr>
158                 <td colspan=""2"" class=""Footer-1"">(2,Footer,-1)</td>
159         </tr>
160 </table>";
161                 Assert.AreEqual (exp, v, "#1");
162         }
163
164
165         [Test]
166         public void RepeatInfo_0cols_2itms_horiz_tbl_otrtblimp_hdr_ftr_sep ()
167         {
168                 // cols              : 0
169                 // cnt               : 2
170                 // RepeatDirection   : Horizontal
171                 // RepeatLayout      : Table
172                 // OuterTableImplied : True
173                 // Header            : True
174                 // Footer            : True
175                 // Separator         : True
176
177
178                 string v = RepeatInfoUser.DoTest (0, 2, RepeatDirection.Horizontal, RepeatLayout.Table, true, true, true, true);
179                 string exp = @"<table class=""mainstyle"">
180         <tr>
181                 <td colspan=""4"" class=""Header-1"">(0,Header,-1)</td>
182         </tr><tr>
183                 <td class=""Item0"">(1,Item,0)</td><td class=""Separator0"">(2,Separator,0)</td><td class=""Item1"">(3,Item,1)</td><td></td>
184         </tr><tr>
185                 <td colspan=""4"" class=""Footer-1"">(4,Footer,-1)</td>
186         </tr>
187 </table>";
188                 Assert.AreEqual (exp, v, "#2");
189         }
190
191
192         [Test]
193         public void RepeatInfo_0cols_5itms_horiz_tbl_otrtblimp_hdr_ftr_sep ()
194         {
195                 // cols              : 0
196                 // cnt               : 5
197                 // RepeatDirection   : Horizontal
198                 // RepeatLayout      : Table
199                 // OuterTableImplied : True
200                 // Header            : True
201                 // Footer            : True
202                 // Separator         : True
203
204
205                 string v = RepeatInfoUser.DoTest (0, 5, RepeatDirection.Horizontal, RepeatLayout.Table, true, true, true, true);
206                 string exp = @"<table class=""mainstyle"">
207         <tr>
208                 <td colspan=""10"" class=""Header-1"">(0,Header,-1)</td>
209         </tr><tr>
210                 <td class=""Item0"">(1,Item,0)</td><td class=""Separator0"">(2,Separator,0)</td><td class=""Item1"">(3,Item,1)</td><td class=""Separator1"">(4,Separator,1)</td><td class=""Item2"">(5,Item,2)</td><td class=""Separator2"">(6,Separator,2)</td><td class=""Item3"">(7,Item,3)</td><td class=""Separator3"">(8,Separator,3)</td><td class=""Item4"">(9,Item,4)</td><td></td>
211         </tr><tr>
212                 <td colspan=""10"" class=""Footer-1"">(10,Footer,-1)</td>
213         </tr>
214 </table>";
215                 Assert.AreEqual (exp, v, "#3");
216         }
217
218
219         [Test]
220         public void RepeatInfo_1cols_0itms_horiz_tbl_otrtblimp_hdr_ftr_sep ()
221         {
222                 // cols              : 1
223                 // cnt               : 0
224                 // RepeatDirection   : Horizontal
225                 // RepeatLayout      : Table
226                 // OuterTableImplied : True
227                 // Header            : True
228                 // Footer            : True
229                 // Separator         : True
230
231
232                 string v = RepeatInfoUser.DoTest (1, 0, RepeatDirection.Horizontal, RepeatLayout.Table, true, true, true, true);
233                 string exp = @"<table class=""mainstyle"">
234         <tr>
235                 <td colspan=""2"" class=""Header-1"">(0,Header,-1)</td>
236         </tr><tr>
237                 <td colspan=""2"" class=""Footer-1"">(1,Footer,-1)</td>
238         </tr>
239 </table>";
240                 Assert.AreEqual (exp, v, "#4");
241         }
242
243
244         [Test]
245         public void RepeatInfo_1cols_5itms_horiz_tbl_otrtblimp_hdr_ftr_sep ()
246         {
247                 // cols              : 1
248                 // cnt               : 5
249                 // RepeatDirection   : Horizontal
250                 // RepeatLayout      : Table
251                 // OuterTableImplied : True
252                 // Header            : True
253                 // Footer            : True
254                 // Separator         : True
255
256
257                 string v = RepeatInfoUser.DoTest (1, 5, RepeatDirection.Horizontal, RepeatLayout.Table, true, true, true, true);
258                 string exp = @"<table class=""mainstyle"">
259         <tr>
260                 <td colspan=""2"" class=""Header-1"">(0,Header,-1)</td>
261         </tr><tr>
262                 <td class=""Item0"">(1,Item,0)</td><td class=""Separator0"">(2,Separator,0)</td>
263         </tr><tr>
264                 <td class=""Item1"">(3,Item,1)</td><td class=""Separator1"">(4,Separator,1)</td>
265         </tr><tr>
266                 <td class=""Item2"">(5,Item,2)</td><td class=""Separator2"">(6,Separator,2)</td>
267         </tr><tr>
268                 <td class=""Item3"">(7,Item,3)</td><td class=""Separator3"">(8,Separator,3)</td>
269         </tr><tr>
270                 <td class=""Item4"">(9,Item,4)</td><td></td>
271         </tr><tr>
272                 <td colspan=""2"" class=""Footer-1"">(10,Footer,-1)</td>
273         </tr>
274 </table>";
275                 Assert.AreEqual (exp, v, "#5");
276         }
277
278
279         [Test]
280         public void RepeatInfo_2cols_4itms_horiz_tbl_otrtblimp_hdr_ftr_sep ()
281         {
282                 // cols              : 2
283                 // cnt               : 4
284                 // RepeatDirection   : Horizontal
285                 // RepeatLayout      : Table
286                 // OuterTableImplied : True
287                 // Header            : True
288                 // Footer            : True
289                 // Separator         : True
290
291
292                 string v = RepeatInfoUser.DoTest (2, 4, RepeatDirection.Horizontal, RepeatLayout.Table, true, true, true, true);
293                 string exp = @"<table class=""mainstyle"">
294         <tr>
295                 <td colspan=""4"" class=""Header-1"">(0,Header,-1)</td>
296         </tr><tr>
297                 <td class=""Item0"">(1,Item,0)</td><td class=""Separator0"">(2,Separator,0)</td><td class=""Item1"">(3,Item,1)</td><td class=""Separator1"">(4,Separator,1)</td>
298         </tr><tr>
299                 <td class=""Item2"">(5,Item,2)</td><td class=""Separator2"">(6,Separator,2)</td><td class=""Item3"">(7,Item,3)</td><td></td>
300         </tr><tr>
301                 <td colspan=""4"" class=""Footer-1"">(8,Footer,-1)</td>
302         </tr>
303 </table>";
304                 Assert.AreEqual (exp, v, "#6");
305         }
306
307
308         [Test]
309         public void RepeatInfo_2cols_7itms_horiz_tbl_otrtblimp_hdr_ftr_sep ()
310         {
311                 // cols              : 2
312                 // cnt               : 7
313                 // RepeatDirection   : Horizontal
314                 // RepeatLayout      : Table
315                 // OuterTableImplied : True
316                 // Header            : True
317                 // Footer            : True
318                 // Separator         : True
319
320
321                 string v = RepeatInfoUser.DoTest (2, 7, RepeatDirection.Horizontal, RepeatLayout.Table, true, true, true, true);
322                 string exp = @"<table class=""mainstyle"">
323         <tr>
324                 <td colspan=""4"" class=""Header-1"">(0,Header,-1)</td>
325         </tr><tr>
326                 <td class=""Item0"">(1,Item,0)</td><td class=""Separator0"">(2,Separator,0)</td><td class=""Item1"">(3,Item,1)</td><td class=""Separator1"">(4,Separator,1)</td>
327         </tr><tr>
328                 <td class=""Item2"">(5,Item,2)</td><td class=""Separator2"">(6,Separator,2)</td><td class=""Item3"">(7,Item,3)</td><td class=""Separator3"">(8,Separator,3)</td>
329         </tr><tr>
330                 <td class=""Item4"">(9,Item,4)</td><td class=""Separator4"">(10,Separator,4)</td><td class=""Item5"">(11,Item,5)</td><td class=""Separator5"">(12,Separator,5)</td>
331         </tr><tr>
332                 <td class=""Item6"">(13,Item,6)</td><td></td><td></td><td></td>
333         </tr><tr>
334                 <td colspan=""4"" class=""Footer-1"">(14,Footer,-1)</td>
335         </tr>
336 </table>";
337                 Assert.AreEqual (exp, v, "#7");
338         }
339
340
341         [Test]
342         public void RepeatInfo_3cols_9itms_horiz_tbl_otrtblimp_hdr_ftr_sep ()
343         {
344                 // cols              : 3
345                 // cnt               : 9
346                 // RepeatDirection   : Horizontal
347                 // RepeatLayout      : Table
348                 // OuterTableImplied : True
349                 // Header            : True
350                 // Footer            : True
351                 // Separator         : True
352
353
354                 string v = RepeatInfoUser.DoTest (3, 9, RepeatDirection.Horizontal, RepeatLayout.Table, true, true, true, true);
355                 string exp = @"<table>
356         <tr>
357                 <td colspan=""6"" class=""Header-1"">(0,Header,-1)</td>
358         </tr><tr>
359                 <td class=""Item0"">(1,Item,0)</td><td class=""Separator0"">(2,Separator,0)</td><td class=""Item1"">(3,Item,1)</td><td class=""Separator1"">(4,Separator,1)</td><td class=""Item2"">(5,Item,2)</td><td class=""Separator2"">(6,Separator,2)</td>
360         </tr><tr>
361                 <td class=""Item3"">(7,Item,3)</td><td class=""Separator3"">(8,Separator,3)</td><td class=""Item4"">(9,Item,4)</td><td class=""Separator4"">(10,Separator,4)</td><td class=""Item5"">(11,Item,5)</td><td class=""Separator5"">(12,Separator,5)</td>
362         </tr><tr>
363                 <td class=""Item6"">(13,Item,6)</td><td class=""Separator6"">(14,Separator,6)</td><td class=""Item7"">(15,Item,7)</td><td class=""Separator7"">(16,Separator,7)</td><td class=""Item8"">(17,Item,8)</td><td></td>
364         </tr><tr>
365                 <td colspan=""6"" class=""Footer-1"">(18,Footer,-1)</td>
366         </tr>
367 </table>";
368                 Assert.AreEqual (exp, v, "#8");
369         }
370
371
372         [Test]
373         public void RepeatInfo_3cols_7itms_horiz_tbl_otrtblimp_hdr_ftr_sep ()
374         {
375                 // cols              : 3
376                 // cnt               : 7
377                 // RepeatDirection   : Horizontal
378                 // RepeatLayout      : Table
379                 // OuterTableImplied : True
380                 // Header            : True
381                 // Footer            : True
382                 // Separator         : True
383
384
385                 string v = RepeatInfoUser.DoTest (3, 7, RepeatDirection.Horizontal, RepeatLayout.Table, true, true, true, true);
386                 string exp = @"<table>
387         <tr>
388                 <td colspan=""6"" class=""Header-1"">(0,Header,-1)</td>
389         </tr><tr>
390                 <td class=""Item0"">(1,Item,0)</td><td class=""Separator0"">(2,Separator,0)</td><td class=""Item1"">(3,Item,1)</td><td class=""Separator1"">(4,Separator,1)</td><td class=""Item2"">(5,Item,2)</td><td class=""Separator2"">(6,Separator,2)</td>
391         </tr><tr>
392                 <td class=""Item3"">(7,Item,3)</td><td class=""Separator3"">(8,Separator,3)</td><td class=""Item4"">(9,Item,4)</td><td class=""Separator4"">(10,Separator,4)</td><td class=""Item5"">(11,Item,5)</td><td class=""Separator5"">(12,Separator,5)</td>
393         </tr><tr>
394                 <td class=""Item6"">(13,Item,6)</td><td></td><td></td><td></td><td></td><td></td>
395         </tr><tr>
396                 <td colspan=""6"" class=""Footer-1"">(14,Footer,-1)</td>
397         </tr>
398 </table>";
399                 Assert.AreEqual (exp, v, "#9");
400         }
401
402
403         [Test]
404         public void RepeatInfo_0cols_0itms_vert_tbl_otrtblimp_hdr_ftr_sep ()
405         {
406                 // cols              : 0
407                 // cnt               : 0
408                 // RepeatDirection   : Vertical
409                 // RepeatLayout      : Table
410                 // OuterTableImplied : True
411                 // Header            : True
412                 // Footer            : True
413                 // Separator         : True
414
415
416                 string v = RepeatInfoUser.DoTest (0, 0, RepeatDirection.Vertical, RepeatLayout.Table, true, true, true, true);
417                 string exp = @"(0,Header,-1)(1,Footer,-1)";
418                 Assert.AreEqual (exp, v, "#10");
419         }
420
421
422         [Test]
423         public void RepeatInfo_0cols_1itms_vert_tbl_otrtblimp_hdr_ftr_sep ()
424         {
425                 // cols              : 0
426                 // cnt               : 1
427                 // RepeatDirection   : Vertical
428                 // RepeatLayout      : Table
429                 // OuterTableImplied : True
430                 // Header            : True
431                 // Footer            : True
432                 // Separator         : True
433
434
435                 string v = RepeatInfoUser.DoTest (0, 1, RepeatDirection.Vertical, RepeatLayout.Table, true, true, true, true);
436                 string exp = @"(0,Header,-1)(1,Item,0)(2,Footer,-1)";
437                 Assert.AreEqual (exp, v, "#11");
438         }
439
440
441         [Test]
442         public void RepeatInfo_0cols_2itms_vert_tbl_otrtblimp_hdr_ftr_sep ()
443         {
444                 // cols              : 0
445                 // cnt               : 2
446                 // RepeatDirection   : Vertical
447                 // RepeatLayout      : Table
448                 // OuterTableImplied : True
449                 // Header            : True
450                 // Footer            : True
451                 // Separator         : True
452
453
454                 string v = RepeatInfoUser.DoTest (0, 2, RepeatDirection.Vertical, RepeatLayout.Table, true, true, true, true);
455                 string exp = @"(0,Header,-1)(1,Item,0)(2,Separator,0)(3,Item,1)(4,Footer,-1)";
456                 Assert.AreEqual (exp, v, "#12");
457         }
458
459
460         [Test]
461         public void RepeatInfo_0cols_5itms_vert_tbl_otrtblimp_hdr_ftr_sep ()
462         {
463                 // cols              : 0
464                 // cnt               : 5
465                 // RepeatDirection   : Vertical
466                 // RepeatLayout      : Table
467                 // OuterTableImplied : True
468                 // Header            : True
469                 // Footer            : True
470                 // Separator         : True
471
472
473                 string v = RepeatInfoUser.DoTest (0, 5, RepeatDirection.Vertical, RepeatLayout.Table, true, true, true, true);
474                 string exp = @"(0,Header,-1)(1,Item,0)(2,Separator,0)(3,Item,1)(4,Separator,1)(5,Item,2)(6,Separator,2)(7,Item,3)(8,Separator,3)(9,Item,4)(10,Footer,-1)";
475                 Assert.AreEqual (exp, v, "#13");
476         }
477
478
479         [Test]
480         public void RepeatInfo_1cols_0itms_vert_tbl_otrtblimp_hdr_ftr_sep ()
481         {
482                 // cols              : 1
483                 // cnt               : 0
484                 // RepeatDirection   : Vertical
485                 // RepeatLayout      : Table
486                 // OuterTableImplied : True
487                 // Header            : True
488                 // Footer            : True
489                 // Separator         : True
490
491
492                 string v = RepeatInfoUser.DoTest (1, 0, RepeatDirection.Vertical, RepeatLayout.Table, true, true, true, true);
493                 string exp = @"(0,Header,-1)(1,Footer,-1)";
494                 Assert.AreEqual (exp, v, "#14");
495         }
496
497
498         [Test]
499         public void RepeatInfo_1cols_5itms_vert_tbl_otrtblimp_hdr_ftr_sep ()
500         {
501                 // cols              : 1
502                 // cnt               : 5
503                 // RepeatDirection   : Vertical
504                 // RepeatLayout      : Table
505                 // OuterTableImplied : True
506                 // Header            : True
507                 // Footer            : True
508                 // Separator         : True
509
510
511                 string v = RepeatInfoUser.DoTest (1, 5, RepeatDirection.Vertical, RepeatLayout.Table, true, true, true, true);
512                 string exp = @"(0,Header,-1)(1,Item,0)(2,Separator,0)(3,Item,1)(4,Separator,1)(5,Item,2)(6,Separator,2)(7,Item,3)(8,Separator,3)(9,Item,4)(10,Footer,-1)";
513                 Assert.AreEqual (exp, v, "#15");
514         }
515
516
517         [Test]
518         public void RepeatInfo_2cols_4itms_vert_tbl_otrtblimp_hdr_ftr_sep ()
519         {
520                 // cols              : 2
521                 // cnt               : 4
522                 // RepeatDirection   : Vertical
523                 // RepeatLayout      : Table
524                 // OuterTableImplied : True
525                 // Header            : True
526                 // Footer            : True
527                 // Separator         : True
528
529
530                 string v = RepeatInfoUser.DoTest (2, 4, RepeatDirection.Vertical, RepeatLayout.Table, true, true, true, true);
531                 string exp = @"(0,Header,-1)(1,Item,0)(2,Separator,0)(3,Item,2)(4,Separator,2)(5,Item,1)(6,Separator,1)(7,Item,3)(8,Footer,-1)";
532                 Assert.AreEqual (exp, v, "#16");
533         }
534
535
536         [Test]
537         public void RepeatInfo_2cols_7itms_vert_tbl_otrtblimp_hdr_ftr_sep ()
538         {
539                 // cols              : 2
540                 // cnt               : 7
541                 // RepeatDirection   : Vertical
542                 // RepeatLayout      : Table
543                 // OuterTableImplied : True
544                 // Header            : True
545                 // Footer            : True
546                 // Separator         : True
547
548
549                 string v = RepeatInfoUser.DoTest (2, 7, RepeatDirection.Vertical, RepeatLayout.Table, true, true, true, true);
550                 string exp = @"(0,Header,-1)(1,Item,0)(2,Separator,0)(3,Item,4)(4,Separator,4)(5,Item,1)(6,Separator,1)(7,Item,5)(8,Separator,5)(9,Item,2)(10,Separator,2)(11,Item,6)(12,Item,3)(13,Separator,3)(14,Footer,-1)";
551                 Assert.AreEqual (exp, v, "#17");
552         }
553
554
555         [Test]
556         public void RepeatInfo_3cols_9itms_vert_tbl_otrtblimp_hdr_ftr_sep ()
557         {
558                 // cols              : 3
559                 // cnt               : 9
560                 // RepeatDirection   : Vertical
561                 // RepeatLayout      : Table
562                 // OuterTableImplied : True
563                 // Header            : True
564                 // Footer            : True
565                 // Separator         : True
566
567
568                 string v = RepeatInfoUser.DoTest (3, 9, RepeatDirection.Vertical, RepeatLayout.Table, true, true, true, true);
569                 string exp = @"(0,Header,-1)(1,Item,0)(2,Separator,0)(3,Item,3)(4,Separator,3)(5,Item,6)(6,Separator,6)(7,Item,1)(8,Separator,1)(9,Item,4)(10,Separator,4)(11,Item,7)(12,Separator,7)(13,Item,2)(14,Separator,2)(15,Item,5)(16,Separator,5)(17,Item,8)(18,Footer,-1)";
570                 Assert.AreEqual (exp, v, "#18");
571         }
572
573
574         [Test]
575         public void RepeatInfo_3cols_7itms_vert_tbl_otrtblimp_hdr_ftr_sep ()
576         {
577                 // cols              : 3
578                 // cnt               : 7
579                 // RepeatDirection   : Vertical
580                 // RepeatLayout      : Table
581                 // OuterTableImplied : True
582                 // Header            : True
583                 // Footer            : True
584                 // Separator         : True
585
586
587                 string v = RepeatInfoUser.DoTest (3, 7, RepeatDirection.Vertical, RepeatLayout.Table, true, true, true, true);
588                 string exp = @"(0,Header,-1)(1,Item,0)(2,Separator,0)(3,Item,3)(4,Separator,3)(5,Item,5)(6,Separator,5)(7,Item,1)(8,Separator,1)(9,Item,4)(10,Separator,4)(11,Item,6)(12,Item,2)(13,Separator,2)(14,Footer,-1)";
589                 Assert.AreEqual (exp, v, "#19");
590         }
591
592
593         [Test]
594         public void RepeatInfo_0cols_0itms_horiz_flow_otrtblimp_hdr_ftr_sep ()
595         {
596                 // cols              : 0
597                 // cnt               : 0
598                 // RepeatDirection   : Horizontal
599                 // RepeatLayout      : Flow
600                 // OuterTableImplied : True
601                 // Header            : True
602                 // Footer            : True
603                 // Separator         : True
604
605
606                 string v = RepeatInfoUser.DoTest (0, 0, RepeatDirection.Horizontal, RepeatLayout.Flow, true, true, true, true);
607                 string exp = @"<span class=""mainstyle"">(0,Header,-1)(1,Footer,-1)</span>";
608                 Assert.AreEqual (exp, v, "#20");
609         }
610
611
612         [Test]
613         public void RepeatInfo_0cols_1itms_horiz_flow_otrtblimp_hdr_ftr_sep ()
614         {
615                 // cols              : 0
616                 // cnt               : 1
617                 // RepeatDirection   : Horizontal
618                 // RepeatLayout      : Flow
619                 // OuterTableImplied : True
620                 // Header            : True
621                 // Footer            : True
622                 // Separator         : True
623
624
625                 string v = RepeatInfoUser.DoTest (0, 1, RepeatDirection.Horizontal, RepeatLayout.Flow, true, true, true, true);
626                 string exp = @"<span class=""mainstyle"">(0,Header,-1)(1,Item,0)(2,Footer,-1)</span>";
627                 Assert.AreEqual (exp, v, "#21");
628         }
629
630
631         [Test]
632         public void RepeatInfo_0cols_2itms_horiz_flow_otrtblimp_hdr_ftr_sep ()
633         {
634                 // cols              : 0
635                 // cnt               : 2
636                 // RepeatDirection   : Horizontal
637                 // RepeatLayout      : Flow
638                 // OuterTableImplied : True
639                 // Header            : True
640                 // Footer            : True
641                 // Separator         : True
642
643
644                 string v = RepeatInfoUser.DoTest (0, 2, RepeatDirection.Horizontal, RepeatLayout.Flow, true, true, true, true);
645                 string exp = @"<span class=""mainstyle"">(0,Header,-1)(1,Item,0)(2,Separator,0)(3,Item,1)(4,Footer,-1)</span>";
646                 Assert.AreEqual (exp, v, "#22");
647         }
648
649
650         [Test]
651         public void RepeatInfo_0cols_5itms_horiz_flow_otrtblimp_hdr_ftr_sep ()
652         {
653                 // cols              : 0
654                 // cnt               : 5
655                 // RepeatDirection   : Horizontal
656                 // RepeatLayout      : Flow
657                 // OuterTableImplied : True
658                 // Header            : True
659                 // Footer            : True
660                 // Separator         : True
661
662
663                 string v = RepeatInfoUser.DoTest (0, 5, RepeatDirection.Horizontal, RepeatLayout.Flow, true, true, true, true);
664                 string exp = @"<span class=""mainstyle"">(0,Header,-1)(1,Item,0)(2,Separator,0)(3,Item,1)(4,Separator,1)(5,Item,2)(6,Separator,2)(7,Item,3)(8,Separator,3)(9,Item,4)(10,Footer,-1)</span>";
665                 Assert.AreEqual (exp, v, "#23");
666         }
667
668
669         [Test]
670         public void RepeatInfo_1cols_0itms_horiz_flow_otrtblimp_hdr_ftr_sep ()
671         {
672                 // cols              : 1
673                 // cnt               : 0
674                 // RepeatDirection   : Horizontal
675                 // RepeatLayout      : Flow
676                 // OuterTableImplied : True
677                 // Header            : True
678                 // Footer            : True
679                 // Separator         : True
680
681
682                 string v = RepeatInfoUser.DoTest (1, 0, RepeatDirection.Horizontal, RepeatLayout.Flow, true, true, true, true);
683                 string exp = @"<span class=""mainstyle"">(0,Header,-1)(1,Footer,-1)</span>";
684                 Assert.AreEqual (exp, v, "#24");
685         }
686
687
688         [Test]
689         public void RepeatInfo_1cols_5itms_horiz_flow_otrtblimp_hdr_ftr_sep ()
690         {
691                 // cols              : 1
692                 // cnt               : 5
693                 // RepeatDirection   : Horizontal
694                 // RepeatLayout      : Flow
695                 // OuterTableImplied : True
696                 // Header            : True
697                 // Footer            : True
698                 // Separator         : True
699
700
701                 string v = RepeatInfoUser.DoTest (1, 5, RepeatDirection.Horizontal, RepeatLayout.Flow, true, true, true, true);
702                 string exp = @"<span class=""mainstyle"">(0,Header,-1)<br />(1,Item,0)(2,Separator,0)<br />(3,Item,1)(4,Separator,1)<br />(5,Item,2)(6,Separator,2)<br />(7,Item,3)(8,Separator,3)<br />(9,Item,4)<br />(10,Footer,-1)</span>";
703                 Assert.AreEqual (exp, v, "#25");
704         }
705
706
707         [Test]
708         public void RepeatInfo_2cols_4itms_horiz_flow_otrtblimp_hdr_ftr_sep ()
709         {
710                 // cols              : 2
711                 // cnt               : 4
712                 // RepeatDirection   : Horizontal
713                 // RepeatLayout      : Flow
714                 // OuterTableImplied : True
715                 // Header            : True
716                 // Footer            : True
717                 // Separator         : True
718
719
720                 string v = RepeatInfoUser.DoTest (2, 4, RepeatDirection.Horizontal, RepeatLayout.Flow, true, true, true, true);
721                 string exp = @"<span class=""mainstyle"">(0,Header,-1)<br />(1,Item,0)(2,Separator,0)(3,Item,1)(4,Separator,1)<br />(5,Item,2)(6,Separator,2)(7,Item,3)<br />(8,Footer,-1)</span>";
722                 Assert.AreEqual (exp, v, "#26");
723         }
724
725
726         [Test]
727         public void RepeatInfo_2cols_7itms_horiz_flow_otrtblimp_hdr_ftr_sep ()
728         {
729                 // cols              : 2
730                 // cnt               : 7
731                 // RepeatDirection   : Horizontal
732                 // RepeatLayout      : Flow
733                 // OuterTableImplied : True
734                 // Header            : True
735                 // Footer            : True
736                 // Separator         : True
737
738
739                 string v = RepeatInfoUser.DoTest (2, 7, RepeatDirection.Horizontal, RepeatLayout.Flow, true, true, true, true);
740                 string exp = @"<span class=""mainstyle"">(0,Header,-1)<br />(1,Item,0)(2,Separator,0)(3,Item,1)(4,Separator,1)<br />(5,Item,2)(6,Separator,2)(7,Item,3)(8,Separator,3)<br />(9,Item,4)(10,Separator,4)(11,Item,5)(12,Separator,5)<br />(13,Item,6)<br />(14,Footer,-1)</span>";
741                 Assert.AreEqual (exp, v, "#27");
742         }
743
744
745         [Test]
746         public void RepeatInfo_3cols_9itms_horiz_flow_otrtblimp_hdr_ftr_sep ()
747         {
748                 // cols              : 3
749                 // cnt               : 9
750                 // RepeatDirection   : Horizontal
751                 // RepeatLayout      : Flow
752                 // OuterTableImplied : True
753                 // Header            : True
754                 // Footer            : True
755                 // Separator         : True
756
757
758                 string v = RepeatInfoUser.DoTest (3, 9, RepeatDirection.Horizontal, RepeatLayout.Flow, true, true, true, true);
759                 string exp = @"<span>(0,Header,-1)<br />(1,Item,0)(2,Separator,0)(3,Item,1)(4,Separator,1)(5,Item,2)(6,Separator,2)<br />(7,Item,3)(8,Separator,3)(9,Item,4)(10,Separator,4)(11,Item,5)(12,Separator,5)<br />(13,Item,6)(14,Separator,6)(15,Item,7)(16,Separator,7)(17,Item,8)<br />(18,Footer,-1)</span>";
760                 Assert.AreEqual (exp, v, "#28");
761         }
762
763
764         [Test]
765         public void RepeatInfo_3cols_7itms_horiz_flow_otrtblimp_hdr_ftr_sep ()
766         {
767                 // cols              : 3
768                 // cnt               : 7
769                 // RepeatDirection   : Horizontal
770                 // RepeatLayout      : Flow
771                 // OuterTableImplied : True
772                 // Header            : True
773                 // Footer            : True
774                 // Separator         : True
775
776
777                 string v = RepeatInfoUser.DoTest (3, 7, RepeatDirection.Horizontal, RepeatLayout.Flow, true, true, true, true);
778                 string exp = @"<span>(0,Header,-1)<br />(1,Item,0)(2,Separator,0)(3,Item,1)(4,Separator,1)(5,Item,2)(6,Separator,2)<br />(7,Item,3)(8,Separator,3)(9,Item,4)(10,Separator,4)(11,Item,5)(12,Separator,5)<br />(13,Item,6)<br />(14,Footer,-1)</span>";
779                 Assert.AreEqual (exp, v, "#29");
780         }
781
782
783         [Test]
784         public void RepeatInfo_0cols_0itms_vert_flow_otrtblimp_hdr_ftr_sep ()
785         {
786                 // cols              : 0
787                 // cnt               : 0
788                 // RepeatDirection   : Vertical
789                 // RepeatLayout      : Flow
790                 // OuterTableImplied : True
791                 // Header            : True
792                 // Footer            : True
793                 // Separator         : True
794
795
796                 string v = RepeatInfoUser.DoTest (0, 0, RepeatDirection.Vertical, RepeatLayout.Flow, true, true, true, true);
797                 string exp = @"(0,Header,-1)(1,Footer,-1)";
798                 Assert.AreEqual (exp, v, "#30");
799         }
800
801
802         [Test]
803         public void RepeatInfo_0cols_1itms_vert_flow_otrtblimp_hdr_ftr_sep ()
804         {
805                 // cols              : 0
806                 // cnt               : 1
807                 // RepeatDirection   : Vertical
808                 // RepeatLayout      : Flow
809                 // OuterTableImplied : True
810                 // Header            : True
811                 // Footer            : True
812                 // Separator         : True
813
814
815                 string v = RepeatInfoUser.DoTest (0, 1, RepeatDirection.Vertical, RepeatLayout.Flow, true, true, true, true);
816                 string exp = @"(0,Header,-1)(1,Item,0)(2,Footer,-1)";
817                 Assert.AreEqual (exp, v, "#31");
818         }
819
820
821         [Test]
822         public void RepeatInfo_0cols_2itms_vert_flow_otrtblimp_hdr_ftr_sep ()
823         {
824                 // cols              : 0
825                 // cnt               : 2
826                 // RepeatDirection   : Vertical
827                 // RepeatLayout      : Flow
828                 // OuterTableImplied : True
829                 // Header            : True
830                 // Footer            : True
831                 // Separator         : True
832
833
834                 string v = RepeatInfoUser.DoTest (0, 2, RepeatDirection.Vertical, RepeatLayout.Flow, true, true, true, true);
835                 string exp = @"(0,Header,-1)(1,Item,0)(2,Separator,0)(3,Item,1)(4,Footer,-1)";
836                 Assert.AreEqual (exp, v, "#32");
837         }
838
839
840         [Test]
841         public void RepeatInfo_0cols_5itms_vert_flow_otrtblimp_hdr_ftr_sep ()
842         {
843                 // cols              : 0
844                 // cnt               : 5
845                 // RepeatDirection   : Vertical
846                 // RepeatLayout      : Flow
847                 // OuterTableImplied : True
848                 // Header            : True
849                 // Footer            : True
850                 // Separator         : True
851
852
853                 string v = RepeatInfoUser.DoTest (0, 5, RepeatDirection.Vertical, RepeatLayout.Flow, true, true, true, true);
854                 string exp = @"(0,Header,-1)(1,Item,0)(2,Separator,0)(3,Item,1)(4,Separator,1)(5,Item,2)(6,Separator,2)(7,Item,3)(8,Separator,3)(9,Item,4)(10,Footer,-1)";
855                 Assert.AreEqual (exp, v, "#33");
856         }
857
858
859         [Test]
860         public void RepeatInfo_1cols_0itms_vert_flow_otrtblimp_hdr_ftr_sep ()
861         {
862                 // cols              : 1
863                 // cnt               : 0
864                 // RepeatDirection   : Vertical
865                 // RepeatLayout      : Flow
866                 // OuterTableImplied : True
867                 // Header            : True
868                 // Footer            : True
869                 // Separator         : True
870
871
872                 string v = RepeatInfoUser.DoTest (1, 0, RepeatDirection.Vertical, RepeatLayout.Flow, true, true, true, true);
873                 string exp = @"(0,Header,-1)(1,Footer,-1)";
874                 Assert.AreEqual (exp, v, "#34");
875         }
876
877
878         [Test]
879         public void RepeatInfo_1cols_5itms_vert_flow_otrtblimp_hdr_ftr_sep ()
880         {
881                 // cols              : 1
882                 // cnt               : 5
883                 // RepeatDirection   : Vertical
884                 // RepeatLayout      : Flow
885                 // OuterTableImplied : True
886                 // Header            : True
887                 // Footer            : True
888                 // Separator         : True
889
890
891                 string v = RepeatInfoUser.DoTest (1, 5, RepeatDirection.Vertical, RepeatLayout.Flow, true, true, true, true);
892                 string exp = @"(0,Header,-1)(1,Item,0)(2,Separator,0)(3,Item,1)(4,Separator,1)(5,Item,2)(6,Separator,2)(7,Item,3)(8,Separator,3)(9,Item,4)(10,Footer,-1)";
893                 Assert.AreEqual (exp, v, "#35");
894         }
895
896
897         [Test]
898         public void RepeatInfo_2cols_4itms_vert_flow_otrtblimp_hdr_ftr_sep ()
899         {
900                 // cols              : 2
901                 // cnt               : 4
902                 // RepeatDirection   : Vertical
903                 // RepeatLayout      : Flow
904                 // OuterTableImplied : True
905                 // Header            : True
906                 // Footer            : True
907                 // Separator         : True
908
909
910                 string v = RepeatInfoUser.DoTest (2, 4, RepeatDirection.Vertical, RepeatLayout.Flow, true, true, true, true);
911                 string exp = @"(0,Header,-1)(1,Item,0)(2,Separator,0)(3,Item,2)(4,Separator,2)(5,Item,1)(6,Separator,1)(7,Item,3)(8,Footer,-1)";
912                 Assert.AreEqual (exp, v, "#36");
913         }
914
915
916         [Test]
917         public void RepeatInfo_2cols_7itms_vert_flow_otrtblimp_hdr_ftr_sep ()
918         {
919                 // cols              : 2
920                 // cnt               : 7
921                 // RepeatDirection   : Vertical
922                 // RepeatLayout      : Flow
923                 // OuterTableImplied : True
924                 // Header            : True
925                 // Footer            : True
926                 // Separator         : True
927
928
929                 string v = RepeatInfoUser.DoTest (2, 7, RepeatDirection.Vertical, RepeatLayout.Flow, true, true, true, true);
930                 string exp = @"(0,Header,-1)(1,Item,0)(2,Separator,0)(3,Item,4)(4,Separator,4)(5,Item,1)(6,Separator,1)(7,Item,5)(8,Separator,5)(9,Item,2)(10,Separator,2)(11,Item,6)(12,Item,3)(13,Separator,3)(14,Footer,-1)";
931                 Assert.AreEqual (exp, v, "#37");
932         }
933
934
935         [Test]
936         public void RepeatInfo_3cols_9itms_vert_flow_otrtblimp_hdr_ftr_sep ()
937         {
938                 // cols              : 3
939                 // cnt               : 9
940                 // RepeatDirection   : Vertical
941                 // RepeatLayout      : Flow
942                 // OuterTableImplied : True
943                 // Header            : True
944                 // Footer            : True
945                 // Separator         : True
946
947
948                 string v = RepeatInfoUser.DoTest (3, 9, RepeatDirection.Vertical, RepeatLayout.Flow, true, true, true, true);
949                 string exp = @"(0,Header,-1)(1,Item,0)(2,Separator,0)(3,Item,3)(4,Separator,3)(5,Item,6)(6,Separator,6)(7,Item,1)(8,Separator,1)(9,Item,4)(10,Separator,4)(11,Item,7)(12,Separator,7)(13,Item,2)(14,Separator,2)(15,Item,5)(16,Separator,5)(17,Item,8)(18,Footer,-1)";
950                 Assert.AreEqual (exp, v, "#38");
951         }
952
953
954         [Test]
955         public void RepeatInfo_3cols_7itms_vert_flow_otrtblimp_hdr_ftr_sep ()
956         {
957                 // cols              : 3
958                 // cnt               : 7
959                 // RepeatDirection   : Vertical
960                 // RepeatLayout      : Flow
961                 // OuterTableImplied : True
962                 // Header            : True
963                 // Footer            : True
964                 // Separator         : True
965
966
967                 string v = RepeatInfoUser.DoTest (3, 7, RepeatDirection.Vertical, RepeatLayout.Flow, true, true, true, true);
968                 string exp = @"(0,Header,-1)(1,Item,0)(2,Separator,0)(3,Item,3)(4,Separator,3)(5,Item,5)(6,Separator,5)(7,Item,1)(8,Separator,1)(9,Item,4)(10,Separator,4)(11,Item,6)(12,Item,2)(13,Separator,2)(14,Footer,-1)";
969                 Assert.AreEqual (exp, v, "#39");
970         }
971
972
973         [Test]
974         public void RepeatInfo_0cols_0itms_horiz_tbl_hdr_ftr_sep ()
975         {
976                 // cols              : 0
977                 // cnt               : 0
978                 // RepeatDirection   : Horizontal
979                 // RepeatLayout      : Table
980                 // OuterTableImplied : False
981                 // Header            : True
982                 // Footer            : True
983                 // Separator         : True
984
985
986                 string v = RepeatInfoUser.DoTest (0, 0, RepeatDirection.Horizontal, RepeatLayout.Table, false, true, true, true);
987                 string exp = @"<table class=""mainstyle"">
988         <tr>
989                 <td colspan=""0"" class=""Header-1"">(0,Header,-1)</td>
990         </tr><tr>
991                 <td colspan=""0"" class=""Footer-1"">(1,Footer,-1)</td>
992         </tr>
993 </table>";
994                 Assert.AreEqual (exp, v, "#40");
995         }
996
997
998         [Test]
999         public void RepeatInfo_0cols_1itms_horiz_tbl_hdr_ftr_sep ()
1000         {
1001                 // cols              : 0
1002                 // cnt               : 1
1003                 // RepeatDirection   : Horizontal
1004                 // RepeatLayout      : Table
1005                 // OuterTableImplied : False
1006                 // Header            : True
1007                 // Footer            : True
1008                 // Separator         : True
1009
1010
1011                 string v = RepeatInfoUser.DoTest (0, 1, RepeatDirection.Horizontal, RepeatLayout.Table, false, true, true, true);
1012                 string exp = @"<table class=""mainstyle"">
1013         <tr>
1014                 <td colspan=""2"" class=""Header-1"">(0,Header,-1)</td>
1015         </tr><tr>
1016                 <td class=""Item0"">(1,Item,0)</td><td></td>
1017         </tr><tr>
1018                 <td colspan=""2"" class=""Footer-1"">(2,Footer,-1)</td>
1019         </tr>
1020 </table>";
1021                 Assert.AreEqual (exp, v, "#41");
1022         }
1023
1024
1025         [Test]
1026         public void RepeatInfo_0cols_2itms_horiz_tbl_hdr_ftr_sep ()
1027         {
1028                 // cols              : 0
1029                 // cnt               : 2
1030                 // RepeatDirection   : Horizontal
1031                 // RepeatLayout      : Table
1032                 // OuterTableImplied : False
1033                 // Header            : True
1034                 // Footer            : True
1035                 // Separator         : True
1036
1037
1038                 string v = RepeatInfoUser.DoTest (0, 2, RepeatDirection.Horizontal, RepeatLayout.Table, false, true, true, true);
1039                 string exp = @"<table class=""mainstyle"">
1040         <tr>
1041                 <td colspan=""4"" class=""Header-1"">(0,Header,-1)</td>
1042         </tr><tr>
1043                 <td class=""Item0"">(1,Item,0)</td><td class=""Separator0"">(2,Separator,0)</td><td class=""Item1"">(3,Item,1)</td><td></td>
1044         </tr><tr>
1045                 <td colspan=""4"" class=""Footer-1"">(4,Footer,-1)</td>
1046         </tr>
1047 </table>";
1048                 Assert.AreEqual (exp, v, "#42");
1049         }
1050
1051
1052         [Test]
1053         public void RepeatInfo_0cols_5itms_horiz_tbl_hdr_ftr_sep ()
1054         {
1055                 // cols              : 0
1056                 // cnt               : 5
1057                 // RepeatDirection   : Horizontal
1058                 // RepeatLayout      : Table
1059                 // OuterTableImplied : False
1060                 // Header            : True
1061                 // Footer            : True
1062                 // Separator         : True
1063
1064
1065                 string v = RepeatInfoUser.DoTest (0, 5, RepeatDirection.Horizontal, RepeatLayout.Table, false, true, true, true);
1066                 string exp = @"<table class=""mainstyle"">
1067         <tr>
1068                 <td colspan=""10"" class=""Header-1"">(0,Header,-1)</td>
1069         </tr><tr>
1070                 <td class=""Item0"">(1,Item,0)</td><td class=""Separator0"">(2,Separator,0)</td><td class=""Item1"">(3,Item,1)</td><td class=""Separator1"">(4,Separator,1)</td><td class=""Item2"">(5,Item,2)</td><td class=""Separator2"">(6,Separator,2)</td><td class=""Item3"">(7,Item,3)</td><td class=""Separator3"">(8,Separator,3)</td><td class=""Item4"">(9,Item,4)</td><td></td>
1071         </tr><tr>
1072                 <td colspan=""10"" class=""Footer-1"">(10,Footer,-1)</td>
1073         </tr>
1074 </table>";
1075                 Assert.AreEqual (exp, v, "#43");
1076         }
1077
1078
1079         [Test]
1080         public void RepeatInfo_1cols_0itms_horiz_tbl_hdr_ftr_sep ()
1081         {
1082                 // cols              : 1
1083                 // cnt               : 0
1084                 // RepeatDirection   : Horizontal
1085                 // RepeatLayout      : Table
1086                 // OuterTableImplied : False
1087                 // Header            : True
1088                 // Footer            : True
1089                 // Separator         : True
1090
1091
1092                 string v = RepeatInfoUser.DoTest (1, 0, RepeatDirection.Horizontal, RepeatLayout.Table, false, true, true, true);
1093                 string exp = @"<table class=""mainstyle"">
1094         <tr>
1095                 <td colspan=""2"" class=""Header-1"">(0,Header,-1)</td>
1096         </tr><tr>
1097                 <td colspan=""2"" class=""Footer-1"">(1,Footer,-1)</td>
1098         </tr>
1099 </table>";
1100                 Assert.AreEqual (exp, v, "#44");
1101         }
1102
1103
1104         [Test]
1105         public void RepeatInfo_1cols_5itms_horiz_tbl_hdr_ftr_sep ()
1106         {
1107                 // cols              : 1
1108                 // cnt               : 5
1109                 // RepeatDirection   : Horizontal
1110                 // RepeatLayout      : Table
1111                 // OuterTableImplied : False
1112                 // Header            : True
1113                 // Footer            : True
1114                 // Separator         : True
1115
1116
1117                 string v = RepeatInfoUser.DoTest (1, 5, RepeatDirection.Horizontal, RepeatLayout.Table, false, true, true, true);
1118                 string exp = @"<table class=""mainstyle"">
1119         <tr>
1120                 <td colspan=""2"" class=""Header-1"">(0,Header,-1)</td>
1121         </tr><tr>
1122                 <td class=""Item0"">(1,Item,0)</td><td class=""Separator0"">(2,Separator,0)</td>
1123         </tr><tr>
1124                 <td class=""Item1"">(3,Item,1)</td><td class=""Separator1"">(4,Separator,1)</td>
1125         </tr><tr>
1126                 <td class=""Item2"">(5,Item,2)</td><td class=""Separator2"">(6,Separator,2)</td>
1127         </tr><tr>
1128                 <td class=""Item3"">(7,Item,3)</td><td class=""Separator3"">(8,Separator,3)</td>
1129         </tr><tr>
1130                 <td class=""Item4"">(9,Item,4)</td><td></td>
1131         </tr><tr>
1132                 <td colspan=""2"" class=""Footer-1"">(10,Footer,-1)</td>
1133         </tr>
1134 </table>";
1135                 Assert.AreEqual (exp, v, "#45");
1136         }
1137
1138
1139         [Test]
1140         public void RepeatInfo_2cols_4itms_horiz_tbl_hdr_ftr_sep ()
1141         {
1142                 // cols              : 2
1143                 // cnt               : 4
1144                 // RepeatDirection   : Horizontal
1145                 // RepeatLayout      : Table
1146                 // OuterTableImplied : False
1147                 // Header            : True
1148                 // Footer            : True
1149                 // Separator         : True
1150
1151
1152                 string v = RepeatInfoUser.DoTest (2, 4, RepeatDirection.Horizontal, RepeatLayout.Table, false, true, true, true);
1153                 string exp = @"<table class=""mainstyle"">
1154         <tr>
1155                 <td colspan=""4"" class=""Header-1"">(0,Header,-1)</td>
1156         </tr><tr>
1157                 <td class=""Item0"">(1,Item,0)</td><td class=""Separator0"">(2,Separator,0)</td><td class=""Item1"">(3,Item,1)</td><td class=""Separator1"">(4,Separator,1)</td>
1158         </tr><tr>
1159                 <td class=""Item2"">(5,Item,2)</td><td class=""Separator2"">(6,Separator,2)</td><td class=""Item3"">(7,Item,3)</td><td></td>
1160         </tr><tr>
1161                 <td colspan=""4"" class=""Footer-1"">(8,Footer,-1)</td>
1162         </tr>
1163 </table>";
1164                 Assert.AreEqual (exp, v, "#46");
1165         }
1166
1167
1168         [Test]
1169         public void RepeatInfo_2cols_7itms_horiz_tbl_hdr_ftr_sep ()
1170         {
1171                 // cols              : 2
1172                 // cnt               : 7
1173                 // RepeatDirection   : Horizontal
1174                 // RepeatLayout      : Table
1175                 // OuterTableImplied : False
1176                 // Header            : True
1177                 // Footer            : True
1178                 // Separator         : True
1179
1180
1181                 string v = RepeatInfoUser.DoTest (2, 7, RepeatDirection.Horizontal, RepeatLayout.Table, false, true, true, true);
1182                 string exp = @"<table class=""mainstyle"">
1183         <tr>
1184                 <td colspan=""4"" class=""Header-1"">(0,Header,-1)</td>
1185         </tr><tr>
1186                 <td class=""Item0"">(1,Item,0)</td><td class=""Separator0"">(2,Separator,0)</td><td class=""Item1"">(3,Item,1)</td><td class=""Separator1"">(4,Separator,1)</td>
1187         </tr><tr>
1188                 <td class=""Item2"">(5,Item,2)</td><td class=""Separator2"">(6,Separator,2)</td><td class=""Item3"">(7,Item,3)</td><td class=""Separator3"">(8,Separator,3)</td>
1189         </tr><tr>
1190                 <td class=""Item4"">(9,Item,4)</td><td class=""Separator4"">(10,Separator,4)</td><td class=""Item5"">(11,Item,5)</td><td class=""Separator5"">(12,Separator,5)</td>
1191         </tr><tr>
1192                 <td class=""Item6"">(13,Item,6)</td><td></td><td></td><td></td>
1193         </tr><tr>
1194                 <td colspan=""4"" class=""Footer-1"">(14,Footer,-1)</td>
1195         </tr>
1196 </table>";
1197                 Assert.AreEqual (exp, v, "#47");
1198         }
1199
1200
1201         [Test]
1202         public void RepeatInfo_3cols_9itms_horiz_tbl_hdr_ftr_sep ()
1203         {
1204                 // cols              : 3
1205                 // cnt               : 9
1206                 // RepeatDirection   : Horizontal
1207                 // RepeatLayout      : Table
1208                 // OuterTableImplied : False
1209                 // Header            : True
1210                 // Footer            : True
1211                 // Separator         : True
1212
1213
1214                 string v = RepeatInfoUser.DoTest (3, 9, RepeatDirection.Horizontal, RepeatLayout.Table, false, true, true, true);
1215                 string exp = @"<table>
1216         <tr>
1217                 <td colspan=""6"" class=""Header-1"">(0,Header,-1)</td>
1218         </tr><tr>
1219                 <td class=""Item0"">(1,Item,0)</td><td class=""Separator0"">(2,Separator,0)</td><td class=""Item1"">(3,Item,1)</td><td class=""Separator1"">(4,Separator,1)</td><td class=""Item2"">(5,Item,2)</td><td class=""Separator2"">(6,Separator,2)</td>
1220         </tr><tr>
1221                 <td class=""Item3"">(7,Item,3)</td><td class=""Separator3"">(8,Separator,3)</td><td class=""Item4"">(9,Item,4)</td><td class=""Separator4"">(10,Separator,4)</td><td class=""Item5"">(11,Item,5)</td><td class=""Separator5"">(12,Separator,5)</td>
1222         </tr><tr>
1223                 <td class=""Item6"">(13,Item,6)</td><td class=""Separator6"">(14,Separator,6)</td><td class=""Item7"">(15,Item,7)</td><td class=""Separator7"">(16,Separator,7)</td><td class=""Item8"">(17,Item,8)</td><td></td>
1224         </tr><tr>
1225                 <td colspan=""6"" class=""Footer-1"">(18,Footer,-1)</td>
1226         </tr>
1227 </table>";
1228                 Assert.AreEqual (exp, v, "#48");
1229         }
1230
1231
1232         [Test]
1233         public void RepeatInfo_3cols_7itms_horiz_tbl_hdr_ftr_sep ()
1234         {
1235                 // cols              : 3
1236                 // cnt               : 7
1237                 // RepeatDirection   : Horizontal
1238                 // RepeatLayout      : Table
1239                 // OuterTableImplied : False
1240                 // Header            : True
1241                 // Footer            : True
1242                 // Separator         : True
1243
1244
1245                 string v = RepeatInfoUser.DoTest (3, 7, RepeatDirection.Horizontal, RepeatLayout.Table, false, true, true, true);
1246                 string exp = @"<table>
1247         <tr>
1248                 <td colspan=""6"" class=""Header-1"">(0,Header,-1)</td>
1249         </tr><tr>
1250                 <td class=""Item0"">(1,Item,0)</td><td class=""Separator0"">(2,Separator,0)</td><td class=""Item1"">(3,Item,1)</td><td class=""Separator1"">(4,Separator,1)</td><td class=""Item2"">(5,Item,2)</td><td class=""Separator2"">(6,Separator,2)</td>
1251         </tr><tr>
1252                 <td class=""Item3"">(7,Item,3)</td><td class=""Separator3"">(8,Separator,3)</td><td class=""Item4"">(9,Item,4)</td><td class=""Separator4"">(10,Separator,4)</td><td class=""Item5"">(11,Item,5)</td><td class=""Separator5"">(12,Separator,5)</td>
1253         </tr><tr>
1254                 <td class=""Item6"">(13,Item,6)</td><td></td><td></td><td></td><td></td><td></td>
1255         </tr><tr>
1256                 <td colspan=""6"" class=""Footer-1"">(14,Footer,-1)</td>
1257         </tr>
1258 </table>";
1259                 Assert.AreEqual (exp, v, "#49");
1260         }
1261
1262
1263         [Test]
1264         public void RepeatInfo_0cols_0itms_vert_tbl_hdr_ftr_sep ()
1265         {
1266                 // cols              : 0
1267                 // cnt               : 0
1268                 // RepeatDirection   : Vertical
1269                 // RepeatLayout      : Table
1270                 // OuterTableImplied : False
1271                 // Header            : True
1272                 // Footer            : True
1273                 // Separator         : True
1274
1275
1276                 string v = RepeatInfoUser.DoTest (0, 0, RepeatDirection.Vertical, RepeatLayout.Table, false, true, true, true);
1277                 string exp = @"<table class=""mainstyle"">
1278         <tr>
1279                 <td class=""Header-1"">(0,Header,-1)</td>
1280         </tr><tr>
1281                 <td class=""Footer-1"">(1,Footer,-1)</td>
1282         </tr>
1283 </table>";
1284                 Assert.AreEqual (exp, v, "#50");
1285         }
1286
1287
1288         [Test]
1289         public void RepeatInfo_0cols_1itms_vert_tbl_hdr_ftr_sep ()
1290         {
1291                 // cols              : 0
1292                 // cnt               : 1
1293                 // RepeatDirection   : Vertical
1294                 // RepeatLayout      : Table
1295                 // OuterTableImplied : False
1296                 // Header            : True
1297                 // Footer            : True
1298                 // Separator         : True
1299
1300
1301                 string v = RepeatInfoUser.DoTest (0, 1, RepeatDirection.Vertical, RepeatLayout.Table, false, true, true, true);
1302                 string exp = @"<table class=""mainstyle"">
1303         <tr>
1304                 <td class=""Header-1"">(0,Header,-1)</td>
1305         </tr><tr>
1306                 <td class=""Item0"">(1,Item,0)</td>
1307         </tr><tr>
1308                 <td class=""Footer-1"">(2,Footer,-1)</td>
1309         </tr>
1310 </table>";
1311                 Assert.AreEqual (exp, v, "#51");
1312         }
1313
1314
1315         [Test]
1316         public void RepeatInfo_0cols_2itms_vert_tbl_hdr_ftr_sep ()
1317         {
1318                 // cols              : 0
1319                 // cnt               : 2
1320                 // RepeatDirection   : Vertical
1321                 // RepeatLayout      : Table
1322                 // OuterTableImplied : False
1323                 // Header            : True
1324                 // Footer            : True
1325                 // Separator         : True
1326
1327
1328                 string v = RepeatInfoUser.DoTest (0, 2, RepeatDirection.Vertical, RepeatLayout.Table, false, true, true, true);
1329                 string exp = @"<table class=""mainstyle"">
1330         <tr>
1331                 <td class=""Header-1"">(0,Header,-1)</td>
1332         </tr><tr>
1333                 <td class=""Item0"">(1,Item,0)</td>
1334         </tr><tr>
1335                 <td class=""Separator0"">(2,Separator,0)</td>
1336         </tr><tr>
1337                 <td class=""Item1"">(3,Item,1)</td>
1338         </tr><tr>
1339                 <td class=""Footer-1"">(4,Footer,-1)</td>
1340         </tr>
1341 </table>";
1342                 Assert.AreEqual (exp, v, "#52");
1343         }
1344
1345
1346         [Test]
1347         public void RepeatInfo_0cols_5itms_vert_tbl_hdr_ftr_sep ()
1348         {
1349                 // cols              : 0
1350                 // cnt               : 5
1351                 // RepeatDirection   : Vertical
1352                 // RepeatLayout      : Table
1353                 // OuterTableImplied : False
1354                 // Header            : True
1355                 // Footer            : True
1356                 // Separator         : True
1357
1358
1359                 string v = RepeatInfoUser.DoTest (0, 5, RepeatDirection.Vertical, RepeatLayout.Table, false, true, true, true);
1360                 string exp = @"<table class=""mainstyle"">
1361         <tr>
1362                 <td class=""Header-1"">(0,Header,-1)</td>
1363         </tr><tr>
1364                 <td class=""Item0"">(1,Item,0)</td>
1365         </tr><tr>
1366                 <td class=""Separator0"">(2,Separator,0)</td>
1367         </tr><tr>
1368                 <td class=""Item1"">(3,Item,1)</td>
1369         </tr><tr>
1370                 <td class=""Separator1"">(4,Separator,1)</td>
1371         </tr><tr>
1372                 <td class=""Item2"">(5,Item,2)</td>
1373         </tr><tr>
1374                 <td class=""Separator2"">(6,Separator,2)</td>
1375         </tr><tr>
1376                 <td class=""Item3"">(7,Item,3)</td>
1377         </tr><tr>
1378                 <td class=""Separator3"">(8,Separator,3)</td>
1379         </tr><tr>
1380                 <td class=""Item4"">(9,Item,4)</td>
1381         </tr><tr>
1382                 <td class=""Footer-1"">(10,Footer,-1)</td>
1383         </tr>
1384 </table>";
1385                 Assert.AreEqual (exp, v, "#53");
1386         }
1387
1388
1389         [Test]
1390         public void RepeatInfo_1cols_0itms_vert_tbl_hdr_ftr_sep ()
1391         {
1392                 // cols              : 1
1393                 // cnt               : 0
1394                 // RepeatDirection   : Vertical
1395                 // RepeatLayout      : Table
1396                 // OuterTableImplied : False
1397                 // Header            : True
1398                 // Footer            : True
1399                 // Separator         : True
1400
1401
1402                 string v = RepeatInfoUser.DoTest (1, 0, RepeatDirection.Vertical, RepeatLayout.Table, false, true, true, true);
1403                 string exp = @"<table class=""mainstyle"">
1404         <tr>
1405                 <td class=""Header-1"">(0,Header,-1)</td>
1406         </tr><tr>
1407                 <td class=""Footer-1"">(1,Footer,-1)</td>
1408         </tr>
1409 </table>";
1410                 Assert.AreEqual (exp, v, "#54");
1411         }
1412
1413
1414         [Test]
1415         public void RepeatInfo_1cols_5itms_vert_tbl_hdr_ftr_sep ()
1416         {
1417                 // cols              : 1
1418                 // cnt               : 5
1419                 // RepeatDirection   : Vertical
1420                 // RepeatLayout      : Table
1421                 // OuterTableImplied : False
1422                 // Header            : True
1423                 // Footer            : True
1424                 // Separator         : True
1425
1426
1427                 string v = RepeatInfoUser.DoTest (1, 5, RepeatDirection.Vertical, RepeatLayout.Table, false, true, true, true);
1428                 string exp = @"<table class=""mainstyle"">
1429         <tr>
1430                 <td class=""Header-1"">(0,Header,-1)</td>
1431         </tr><tr>
1432                 <td class=""Item0"">(1,Item,0)</td>
1433         </tr><tr>
1434                 <td class=""Separator0"">(2,Separator,0)</td>
1435         </tr><tr>
1436                 <td class=""Item1"">(3,Item,1)</td>
1437         </tr><tr>
1438                 <td class=""Separator1"">(4,Separator,1)</td>
1439         </tr><tr>
1440                 <td class=""Item2"">(5,Item,2)</td>
1441         </tr><tr>
1442                 <td class=""Separator2"">(6,Separator,2)</td>
1443         </tr><tr>
1444                 <td class=""Item3"">(7,Item,3)</td>
1445         </tr><tr>
1446                 <td class=""Separator3"">(8,Separator,3)</td>
1447         </tr><tr>
1448                 <td class=""Item4"">(9,Item,4)</td>
1449         </tr><tr>
1450                 <td class=""Footer-1"">(10,Footer,-1)</td>
1451         </tr>
1452 </table>";
1453                 Assert.AreEqual (exp, v, "#55");
1454         }
1455
1456
1457         [Test]
1458         public void RepeatInfo_2cols_4itms_vert_tbl_hdr_ftr_sep ()
1459         {
1460                 // cols              : 2
1461                 // cnt               : 4
1462                 // RepeatDirection   : Vertical
1463                 // RepeatLayout      : Table
1464                 // OuterTableImplied : False
1465                 // Header            : True
1466                 // Footer            : True
1467                 // Separator         : True
1468
1469
1470                 string v = RepeatInfoUser.DoTest (2, 4, RepeatDirection.Vertical, RepeatLayout.Table, false, true, true, true);
1471                 string exp = @"<table class=""mainstyle"">
1472         <tr>
1473                 <td colspan=""4"" class=""Header-1"">(0,Header,-1)</td>
1474         </tr><tr>
1475                 <td class=""Item0"">(1,Item,0)</td><td class=""Separator0"">(2,Separator,0)</td><td class=""Item2"">(3,Item,2)</td><td class=""Separator2"">(4,Separator,2)</td>
1476         </tr><tr>
1477                 <td class=""Item1"">(5,Item,1)</td><td class=""Separator1"">(6,Separator,1)</td><td class=""Item3"">(7,Item,3)</td><td></td>
1478         </tr><tr>
1479                 <td colspan=""4"" class=""Footer-1"">(8,Footer,-1)</td>
1480         </tr>
1481 </table>";
1482                 Assert.AreEqual (exp, v, "#56");
1483         }
1484
1485
1486         [Test]
1487         public void RepeatInfo_2cols_7itms_vert_tbl_hdr_ftr_sep ()
1488         {
1489                 // cols              : 2
1490                 // cnt               : 7
1491                 // RepeatDirection   : Vertical
1492                 // RepeatLayout      : Table
1493                 // OuterTableImplied : False
1494                 // Header            : True
1495                 // Footer            : True
1496                 // Separator         : True
1497
1498
1499                 string v = RepeatInfoUser.DoTest (2, 7, RepeatDirection.Vertical, RepeatLayout.Table, false, true, true, true);
1500                 string exp = @"<table class=""mainstyle"">
1501         <tr>
1502                 <td colspan=""4"" class=""Header-1"">(0,Header,-1)</td>
1503         </tr><tr>
1504                 <td class=""Item0"">(1,Item,0)</td><td class=""Separator0"">(2,Separator,0)</td><td class=""Item4"">(3,Item,4)</td><td class=""Separator4"">(4,Separator,4)</td>
1505         </tr><tr>
1506                 <td class=""Item1"">(5,Item,1)</td><td class=""Separator1"">(6,Separator,1)</td><td class=""Item5"">(7,Item,5)</td><td class=""Separator5"">(8,Separator,5)</td>
1507         </tr><tr>
1508                 <td class=""Item2"">(9,Item,2)</td><td class=""Separator2"">(10,Separator,2)</td><td class=""Item6"">(11,Item,6)</td><td></td>
1509         </tr><tr>
1510                 <td class=""Item3"">(12,Item,3)</td><td class=""Separator3"">(13,Separator,3)</td><td></td><td></td>
1511         </tr><tr>
1512                 <td colspan=""4"" class=""Footer-1"">(14,Footer,-1)</td>
1513         </tr>
1514 </table>";
1515                 Assert.AreEqual (exp, v, "#57");
1516         }
1517
1518
1519         [Test]
1520         public void RepeatInfo_3cols_9itms_vert_tbl_hdr_ftr_sep ()
1521         {
1522                 // cols              : 3
1523                 // cnt               : 9
1524                 // RepeatDirection   : Vertical
1525                 // RepeatLayout      : Table
1526                 // OuterTableImplied : False
1527                 // Header            : True
1528                 // Footer            : True
1529                 // Separator         : True
1530
1531
1532                 string v = RepeatInfoUser.DoTest (3, 9, RepeatDirection.Vertical, RepeatLayout.Table, false, true, true, true);
1533                 string exp = @"<table>
1534         <tr>
1535                 <td colspan=""6"" class=""Header-1"">(0,Header,-1)</td>
1536         </tr><tr>
1537                 <td class=""Item0"">(1,Item,0)</td><td class=""Separator0"">(2,Separator,0)</td><td class=""Item3"">(3,Item,3)</td><td class=""Separator3"">(4,Separator,3)</td><td class=""Item6"">(5,Item,6)</td><td class=""Separator6"">(6,Separator,6)</td>
1538         </tr><tr>
1539                 <td class=""Item1"">(7,Item,1)</td><td class=""Separator1"">(8,Separator,1)</td><td class=""Item4"">(9,Item,4)</td><td class=""Separator4"">(10,Separator,4)</td><td class=""Item7"">(11,Item,7)</td><td class=""Separator7"">(12,Separator,7)</td>
1540         </tr><tr>
1541                 <td class=""Item2"">(13,Item,2)</td><td class=""Separator2"">(14,Separator,2)</td><td class=""Item5"">(15,Item,5)</td><td class=""Separator5"">(16,Separator,5)</td><td class=""Item8"">(17,Item,8)</td><td></td>
1542         </tr><tr>
1543                 <td colspan=""6"" class=""Footer-1"">(18,Footer,-1)</td>
1544         </tr>
1545 </table>";
1546                 Assert.AreEqual (exp, v, "#58");
1547         }
1548
1549
1550         [Test]
1551         public void RepeatInfo_3cols_7itms_vert_tbl_hdr_ftr_sep ()
1552         {
1553                 // cols              : 3
1554                 // cnt               : 7
1555                 // RepeatDirection   : Vertical
1556                 // RepeatLayout      : Table
1557                 // OuterTableImplied : False
1558                 // Header            : True
1559                 // Footer            : True
1560                 // Separator         : True
1561
1562
1563                 string v = RepeatInfoUser.DoTest (3, 7, RepeatDirection.Vertical, RepeatLayout.Table, false, true, true, true);
1564                 string exp = @"<table>
1565         <tr>
1566                 <td colspan=""6"" class=""Header-1"">(0,Header,-1)</td>
1567         </tr><tr>
1568                 <td class=""Item0"">(1,Item,0)</td><td class=""Separator0"">(2,Separator,0)</td><td class=""Item3"">(3,Item,3)</td><td class=""Separator3"">(4,Separator,3)</td><td class=""Item5"">(5,Item,5)</td><td class=""Separator5"">(6,Separator,5)</td>
1569         </tr><tr>
1570                 <td class=""Item1"">(7,Item,1)</td><td class=""Separator1"">(8,Separator,1)</td><td class=""Item4"">(9,Item,4)</td><td class=""Separator4"">(10,Separator,4)</td><td class=""Item6"">(11,Item,6)</td><td></td>
1571         </tr><tr>
1572                 <td class=""Item2"">(12,Item,2)</td><td class=""Separator2"">(13,Separator,2)</td><td></td><td></td><td></td><td></td>
1573         </tr><tr>
1574                 <td colspan=""6"" class=""Footer-1"">(14,Footer,-1)</td>
1575         </tr>
1576 </table>";
1577                 Assert.AreEqual (exp, v, "#59");
1578         }
1579
1580
1581         [Test]
1582         public void RepeatInfo_0cols_0itms_horiz_flow_hdr_ftr_sep ()
1583         {
1584                 // cols              : 0
1585                 // cnt               : 0
1586                 // RepeatDirection   : Horizontal
1587                 // RepeatLayout      : Flow
1588                 // OuterTableImplied : False
1589                 // Header            : True
1590                 // Footer            : True
1591                 // Separator         : True
1592
1593
1594                 string v = RepeatInfoUser.DoTest (0, 0, RepeatDirection.Horizontal, RepeatLayout.Flow, false, true, true, true);
1595                 string exp = @"<span class=""mainstyle"">(0,Header,-1)(1,Footer,-1)</span>";
1596                 Assert.AreEqual (exp, v, "#60");
1597         }
1598
1599
1600         [Test]
1601         public void RepeatInfo_0cols_1itms_horiz_flow_hdr_ftr_sep ()
1602         {
1603                 // cols              : 0
1604                 // cnt               : 1
1605                 // RepeatDirection   : Horizontal
1606                 // RepeatLayout      : Flow
1607                 // OuterTableImplied : False
1608                 // Header            : True
1609                 // Footer            : True
1610                 // Separator         : True
1611
1612
1613                 string v = RepeatInfoUser.DoTest (0, 1, RepeatDirection.Horizontal, RepeatLayout.Flow, false, true, true, true);
1614                 string exp = @"<span class=""mainstyle"">(0,Header,-1)(1,Item,0)(2,Footer,-1)</span>";
1615                 Assert.AreEqual (exp, v, "#61");
1616         }
1617
1618
1619         [Test]
1620         public void RepeatInfo_0cols_2itms_horiz_flow_hdr_ftr_sep ()
1621         {
1622                 // cols              : 0
1623                 // cnt               : 2
1624                 // RepeatDirection   : Horizontal
1625                 // RepeatLayout      : Flow
1626                 // OuterTableImplied : False
1627                 // Header            : True
1628                 // Footer            : True
1629                 // Separator         : True
1630
1631
1632                 string v = RepeatInfoUser.DoTest (0, 2, RepeatDirection.Horizontal, RepeatLayout.Flow, false, true, true, true);
1633                 string exp = @"<span class=""mainstyle"">(0,Header,-1)(1,Item,0)(2,Separator,0)(3,Item,1)(4,Footer,-1)</span>";
1634                 Assert.AreEqual (exp, v, "#62");
1635         }
1636
1637
1638         [Test]
1639         public void RepeatInfo_0cols_5itms_horiz_flow_hdr_ftr_sep ()
1640         {
1641                 // cols              : 0
1642                 // cnt               : 5
1643                 // RepeatDirection   : Horizontal
1644                 // RepeatLayout      : Flow
1645                 // OuterTableImplied : False
1646                 // Header            : True
1647                 // Footer            : True
1648                 // Separator         : True
1649
1650
1651                 string v = RepeatInfoUser.DoTest (0, 5, RepeatDirection.Horizontal, RepeatLayout.Flow, false, true, true, true);
1652                 string exp = @"<span class=""mainstyle"">(0,Header,-1)(1,Item,0)(2,Separator,0)(3,Item,1)(4,Separator,1)(5,Item,2)(6,Separator,2)(7,Item,3)(8,Separator,3)(9,Item,4)(10,Footer,-1)</span>";
1653                 Assert.AreEqual (exp, v, "#63");
1654         }
1655
1656
1657         [Test]
1658         public void RepeatInfo_1cols_0itms_horiz_flow_hdr_ftr_sep ()
1659         {
1660                 // cols              : 1
1661                 // cnt               : 0
1662                 // RepeatDirection   : Horizontal
1663                 // RepeatLayout      : Flow
1664                 // OuterTableImplied : False
1665                 // Header            : True
1666                 // Footer            : True
1667                 // Separator         : True
1668
1669
1670                 string v = RepeatInfoUser.DoTest (1, 0, RepeatDirection.Horizontal, RepeatLayout.Flow, false, true, true, true);
1671                 string exp = @"<span class=""mainstyle"">(0,Header,-1)(1,Footer,-1)</span>";
1672                 Assert.AreEqual (exp, v, "#64");
1673         }
1674
1675
1676         [Test]
1677         public void RepeatInfo_1cols_5itms_horiz_flow_hdr_ftr_sep ()
1678         {
1679                 // cols              : 1
1680                 // cnt               : 5
1681                 // RepeatDirection   : Horizontal
1682                 // RepeatLayout      : Flow
1683                 // OuterTableImplied : False
1684                 // Header            : True
1685                 // Footer            : True
1686                 // Separator         : True
1687
1688
1689                 string v = RepeatInfoUser.DoTest (1, 5, RepeatDirection.Horizontal, RepeatLayout.Flow, false, true, true, true);
1690                 string exp = @"<span class=""mainstyle"">(0,Header,-1)<br />(1,Item,0)(2,Separator,0)<br />(3,Item,1)(4,Separator,1)<br />(5,Item,2)(6,Separator,2)<br />(7,Item,3)(8,Separator,3)<br />(9,Item,4)<br />(10,Footer,-1)</span>";
1691                 Assert.AreEqual (exp, v, "#65");
1692         }
1693
1694
1695         [Test]
1696         public void RepeatInfo_2cols_4itms_horiz_flow_hdr_ftr_sep ()
1697         {
1698                 // cols              : 2
1699                 // cnt               : 4
1700                 // RepeatDirection   : Horizontal
1701                 // RepeatLayout      : Flow
1702                 // OuterTableImplied : False
1703                 // Header            : True
1704                 // Footer            : True
1705                 // Separator         : True
1706
1707
1708                 string v = RepeatInfoUser.DoTest (2, 4, RepeatDirection.Horizontal, RepeatLayout.Flow, false, true, true, true);
1709                 string exp = @"<span class=""mainstyle"">(0,Header,-1)<br />(1,Item,0)(2,Separator,0)(3,Item,1)(4,Separator,1)<br />(5,Item,2)(6,Separator,2)(7,Item,3)<br />(8,Footer,-1)</span>";
1710                 Assert.AreEqual (exp, v, "#66");
1711         }
1712
1713
1714         [Test]
1715         public void RepeatInfo_2cols_7itms_horiz_flow_hdr_ftr_sep ()
1716         {
1717                 // cols              : 2
1718                 // cnt               : 7
1719                 // RepeatDirection   : Horizontal
1720                 // RepeatLayout      : Flow
1721                 // OuterTableImplied : False
1722                 // Header            : True
1723                 // Footer            : True
1724                 // Separator         : True
1725
1726
1727                 string v = RepeatInfoUser.DoTest (2, 7, RepeatDirection.Horizontal, RepeatLayout.Flow, false, true, true, true);
1728                 string exp = @"<span class=""mainstyle"">(0,Header,-1)<br />(1,Item,0)(2,Separator,0)(3,Item,1)(4,Separator,1)<br />(5,Item,2)(6,Separator,2)(7,Item,3)(8,Separator,3)<br />(9,Item,4)(10,Separator,4)(11,Item,5)(12,Separator,5)<br />(13,Item,6)<br />(14,Footer,-1)</span>";
1729                 Assert.AreEqual (exp, v, "#67");
1730         }
1731
1732
1733         [Test]
1734         public void RepeatInfo_3cols_9itms_horiz_flow_hdr_ftr_sep ()
1735         {
1736                 // cols              : 3
1737                 // cnt               : 9
1738                 // RepeatDirection   : Horizontal
1739                 // RepeatLayout      : Flow
1740                 // OuterTableImplied : False
1741                 // Header            : True
1742                 // Footer            : True
1743                 // Separator         : True
1744
1745
1746                 string v = RepeatInfoUser.DoTest (3, 9, RepeatDirection.Horizontal, RepeatLayout.Flow, false, true, true, true);
1747                 string exp = @"<span>(0,Header,-1)<br />(1,Item,0)(2,Separator,0)(3,Item,1)(4,Separator,1)(5,Item,2)(6,Separator,2)<br />(7,Item,3)(8,Separator,3)(9,Item,4)(10,Separator,4)(11,Item,5)(12,Separator,5)<br />(13,Item,6)(14,Separator,6)(15,Item,7)(16,Separator,7)(17,Item,8)<br />(18,Footer,-1)</span>";
1748                 Assert.AreEqual (exp, v, "#68");
1749         }
1750
1751
1752         [Test]
1753         public void RepeatInfo_3cols_7itms_horiz_flow_hdr_ftr_sep ()
1754         {
1755                 // cols              : 3
1756                 // cnt               : 7
1757                 // RepeatDirection   : Horizontal
1758                 // RepeatLayout      : Flow
1759                 // OuterTableImplied : False
1760                 // Header            : True
1761                 // Footer            : True
1762                 // Separator         : True
1763
1764
1765                 string v = RepeatInfoUser.DoTest (3, 7, RepeatDirection.Horizontal, RepeatLayout.Flow, false, true, true, true);
1766                 string exp = @"<span>(0,Header,-1)<br />(1,Item,0)(2,Separator,0)(3,Item,1)(4,Separator,1)(5,Item,2)(6,Separator,2)<br />(7,Item,3)(8,Separator,3)(9,Item,4)(10,Separator,4)(11,Item,5)(12,Separator,5)<br />(13,Item,6)<br />(14,Footer,-1)</span>";
1767                 Assert.AreEqual (exp, v, "#69");
1768         }
1769
1770
1771         [Test]
1772         public void RepeatInfo_0cols_0itms_vert_flow_hdr_ftr_sep ()
1773         {
1774                 // cols              : 0
1775                 // cnt               : 0
1776                 // RepeatDirection   : Vertical
1777                 // RepeatLayout      : Flow
1778                 // OuterTableImplied : False
1779                 // Header            : True
1780                 // Footer            : True
1781                 // Separator         : True
1782
1783
1784                 string v = RepeatInfoUser.DoTest (0, 0, RepeatDirection.Vertical, RepeatLayout.Flow, false, true, true, true);
1785                 string exp = @"<span class=""mainstyle"">(0,Header,-1)<br />(1,Footer,-1)</span>";
1786                 Assert.AreEqual (exp, v, "#70");
1787         }
1788
1789
1790         [Test]
1791         public void RepeatInfo_0cols_1itms_vert_flow_hdr_ftr_sep ()
1792         {
1793                 // cols              : 0
1794                 // cnt               : 1
1795                 // RepeatDirection   : Vertical
1796                 // RepeatLayout      : Flow
1797                 // OuterTableImplied : False
1798                 // Header            : True
1799                 // Footer            : True
1800                 // Separator         : True
1801
1802
1803                 string v = RepeatInfoUser.DoTest (0, 1, RepeatDirection.Vertical, RepeatLayout.Flow, false, true, true, true);
1804                 string exp = @"<span class=""mainstyle"">(0,Header,-1)<br />(1,Item,0)<br />(2,Footer,-1)</span>";
1805                 Assert.AreEqual (exp, v, "#71");
1806         }
1807
1808
1809         [Test]
1810         public void RepeatInfo_0cols_2itms_vert_flow_hdr_ftr_sep ()
1811         {
1812                 // cols              : 0
1813                 // cnt               : 2
1814                 // RepeatDirection   : Vertical
1815                 // RepeatLayout      : Flow
1816                 // OuterTableImplied : False
1817                 // Header            : True
1818                 // Footer            : True
1819                 // Separator         : True
1820
1821
1822                 string v = RepeatInfoUser.DoTest (0, 2, RepeatDirection.Vertical, RepeatLayout.Flow, false, true, true, true);
1823                 string exp = @"<span class=""mainstyle"">(0,Header,-1)<br />(1,Item,0)<br />(2,Separator,0)<br />(3,Item,1)<br />(4,Footer,-1)</span>";
1824                 Assert.AreEqual (exp, v, "#72");
1825         }
1826
1827
1828         [Test]
1829         public void RepeatInfo_0cols_5itms_vert_flow_hdr_ftr_sep ()
1830         {
1831                 // cols              : 0
1832                 // cnt               : 5
1833                 // RepeatDirection   : Vertical
1834                 // RepeatLayout      : Flow
1835                 // OuterTableImplied : False
1836                 // Header            : True
1837                 // Footer            : True
1838                 // Separator         : True
1839
1840
1841                 string v = RepeatInfoUser.DoTest (0, 5, RepeatDirection.Vertical, RepeatLayout.Flow, false, true, true, true);
1842                 string exp = @"<span class=""mainstyle"">(0,Header,-1)<br />(1,Item,0)<br />(2,Separator,0)<br />(3,Item,1)<br />(4,Separator,1)<br />(5,Item,2)<br />(6,Separator,2)<br />(7,Item,3)<br />(8,Separator,3)<br />(9,Item,4)<br />(10,Footer,-1)</span>";
1843                 Assert.AreEqual (exp, v, "#73");
1844         }
1845
1846
1847         [Test]
1848         public void RepeatInfo_1cols_0itms_vert_flow_hdr_ftr_sep ()
1849         {
1850                 // cols              : 1
1851                 // cnt               : 0
1852                 // RepeatDirection   : Vertical
1853                 // RepeatLayout      : Flow
1854                 // OuterTableImplied : False
1855                 // Header            : True
1856                 // Footer            : True
1857                 // Separator         : True
1858
1859
1860                 string v = RepeatInfoUser.DoTest (1, 0, RepeatDirection.Vertical, RepeatLayout.Flow, false, true, true, true);
1861                 string exp = @"<span class=""mainstyle"">(0,Header,-1)<br />(1,Footer,-1)</span>";
1862                 Assert.AreEqual (exp, v, "#74");
1863         }
1864
1865
1866         [Test]
1867         public void RepeatInfo_1cols_5itms_vert_flow_hdr_ftr_sep ()
1868         {
1869                 // cols              : 1
1870                 // cnt               : 5
1871                 // RepeatDirection   : Vertical
1872                 // RepeatLayout      : Flow
1873                 // OuterTableImplied : False
1874                 // Header            : True
1875                 // Footer            : True
1876                 // Separator         : True
1877
1878
1879                 string v = RepeatInfoUser.DoTest (1, 5, RepeatDirection.Vertical, RepeatLayout.Flow, false, true, true, true);
1880                 string exp = @"<span class=""mainstyle"">(0,Header,-1)<br />(1,Item,0)<br />(2,Separator,0)<br />(3,Item,1)<br />(4,Separator,1)<br />(5,Item,2)<br />(6,Separator,2)<br />(7,Item,3)<br />(8,Separator,3)<br />(9,Item,4)<br />(10,Footer,-1)</span>";
1881                 Assert.AreEqual (exp, v, "#75");
1882         }
1883
1884
1885         [Test]
1886         public void RepeatInfo_2cols_4itms_vert_flow_hdr_ftr_sep ()
1887         {
1888                 // cols              : 2
1889                 // cnt               : 4
1890                 // RepeatDirection   : Vertical
1891                 // RepeatLayout      : Flow
1892                 // OuterTableImplied : False
1893                 // Header            : True
1894                 // Footer            : True
1895                 // Separator         : True
1896
1897
1898                 string v = RepeatInfoUser.DoTest (2, 4, RepeatDirection.Vertical, RepeatLayout.Flow, false, true, true, true);
1899                 string exp = @"<span class=""mainstyle"">(0,Header,-1)<br />(1,Item,0)(2,Separator,0)(3,Item,2)(4,Separator,2)<br />(5,Item,1)(6,Separator,1)(7,Item,3)<br />(8,Footer,-1)</span>";
1900                 Assert.AreEqual (exp, v, "#76");
1901         }
1902
1903
1904         [Test]
1905         public void RepeatInfo_2cols_7itms_vert_flow_hdr_ftr_sep ()
1906         {
1907                 // cols              : 2
1908                 // cnt               : 7
1909                 // RepeatDirection   : Vertical
1910                 // RepeatLayout      : Flow
1911                 // OuterTableImplied : False
1912                 // Header            : True
1913                 // Footer            : True
1914                 // Separator         : True
1915
1916
1917                 string v = RepeatInfoUser.DoTest (2, 7, RepeatDirection.Vertical, RepeatLayout.Flow, false, true, true, true);
1918                 string exp = @"<span class=""mainstyle"">(0,Header,-1)<br />(1,Item,0)(2,Separator,0)(3,Item,4)(4,Separator,4)<br />(5,Item,1)(6,Separator,1)(7,Item,5)(8,Separator,5)<br />(9,Item,2)(10,Separator,2)(11,Item,6)<br />(12,Item,3)(13,Separator,3)<br />(14,Footer,-1)</span>";
1919                 Assert.AreEqual (exp, v, "#77");
1920         }
1921
1922
1923         [Test]
1924         public void RepeatInfo_3cols_9itms_vert_flow_hdr_ftr_sep ()
1925         {
1926                 // cols              : 3
1927                 // cnt               : 9
1928                 // RepeatDirection   : Vertical
1929                 // RepeatLayout      : Flow
1930                 // OuterTableImplied : False
1931                 // Header            : True
1932                 // Footer            : True
1933                 // Separator         : True
1934
1935
1936                 string v = RepeatInfoUser.DoTest (3, 9, RepeatDirection.Vertical, RepeatLayout.Flow, false, true, true, true);
1937                 string exp = @"<span>(0,Header,-1)<br />(1,Item,0)(2,Separator,0)(3,Item,3)(4,Separator,3)(5,Item,6)(6,Separator,6)<br />(7,Item,1)(8,Separator,1)(9,Item,4)(10,Separator,4)(11,Item,7)(12,Separator,7)<br />(13,Item,2)(14,Separator,2)(15,Item,5)(16,Separator,5)(17,Item,8)<br />(18,Footer,-1)</span>";
1938                 Assert.AreEqual (exp, v, "#78");
1939         }
1940
1941
1942         [Test]
1943         public void RepeatInfo_3cols_7itms_vert_flow_hdr_ftr_sep ()
1944         {
1945                 // cols              : 3
1946                 // cnt               : 7
1947                 // RepeatDirection   : Vertical
1948                 // RepeatLayout      : Flow
1949                 // OuterTableImplied : False
1950                 // Header            : True
1951                 // Footer            : True
1952                 // Separator         : True
1953
1954
1955                 string v = RepeatInfoUser.DoTest (3, 7, RepeatDirection.Vertical, RepeatLayout.Flow, false, true, true, true);
1956                 string exp = @"<span>(0,Header,-1)<br />(1,Item,0)(2,Separator,0)(3,Item,3)(4,Separator,3)(5,Item,5)(6,Separator,5)<br />(7,Item,1)(8,Separator,1)(9,Item,4)(10,Separator,4)(11,Item,6)<br />(12,Item,2)(13,Separator,2)<br />(14,Footer,-1)</span>";
1957                 Assert.AreEqual (exp, v, "#79");
1958         }
1959
1960
1961         [Test]
1962         public void RepeatInfo_0cols_0itms_horiz_tbl_otrtblimp_ftr_sep ()
1963         {
1964                 // cols              : 0
1965                 // cnt               : 0
1966                 // RepeatDirection   : Horizontal
1967                 // RepeatLayout      : Table
1968                 // OuterTableImplied : True
1969                 // Header            : False
1970                 // Footer            : True
1971                 // Separator         : True
1972
1973
1974                 string v = RepeatInfoUser.DoTest (0, 0, RepeatDirection.Horizontal, RepeatLayout.Table, true, false, true, true);
1975                 string exp = @"<table class=""mainstyle"">
1976         <tr>
1977                 <td colspan=""0"" class=""Footer-1"">(0,Footer,-1)</td>
1978         </tr>
1979 </table>";
1980                 Assert.AreEqual (exp, v, "#80");
1981         }
1982
1983
1984         [Test]
1985         public void RepeatInfo_0cols_1itms_horiz_tbl_otrtblimp_ftr_sep ()
1986         {
1987                 // cols              : 0
1988                 // cnt               : 1
1989                 // RepeatDirection   : Horizontal
1990                 // RepeatLayout      : Table
1991                 // OuterTableImplied : True
1992                 // Header            : False
1993                 // Footer            : True
1994                 // Separator         : True
1995
1996
1997                 string v = RepeatInfoUser.DoTest (0, 1, RepeatDirection.Horizontal, RepeatLayout.Table, true, false, true, true);
1998                 string exp = @"<table class=""mainstyle"">
1999         <tr>
2000                 <td class=""Item0"">(0,Item,0)</td><td></td>
2001         </tr><tr>
2002                 <td colspan=""2"" class=""Footer-1"">(1,Footer,-1)</td>
2003         </tr>
2004 </table>";
2005                 Assert.AreEqual (exp, v, "#81");
2006         }
2007
2008
2009         [Test]
2010         public void RepeatInfo_0cols_2itms_horiz_tbl_otrtblimp_ftr_sep ()
2011         {
2012                 // cols              : 0
2013                 // cnt               : 2
2014                 // RepeatDirection   : Horizontal
2015                 // RepeatLayout      : Table
2016                 // OuterTableImplied : True
2017                 // Header            : False
2018                 // Footer            : True
2019                 // Separator         : True
2020
2021
2022                 string v = RepeatInfoUser.DoTest (0, 2, RepeatDirection.Horizontal, RepeatLayout.Table, true, false, true, true);
2023                 string exp = @"<table class=""mainstyle"">
2024         <tr>
2025                 <td class=""Item0"">(0,Item,0)</td><td class=""Separator0"">(1,Separator,0)</td><td class=""Item1"">(2,Item,1)</td><td></td>
2026         </tr><tr>
2027                 <td colspan=""4"" class=""Footer-1"">(3,Footer,-1)</td>
2028         </tr>
2029 </table>";
2030                 Assert.AreEqual (exp, v, "#82");
2031         }
2032
2033
2034         [Test]
2035         public void RepeatInfo_0cols_5itms_horiz_tbl_otrtblimp_ftr_sep ()
2036         {
2037                 // cols              : 0
2038                 // cnt               : 5
2039                 // RepeatDirection   : Horizontal
2040                 // RepeatLayout      : Table
2041                 // OuterTableImplied : True
2042                 // Header            : False
2043                 // Footer            : True
2044                 // Separator         : True
2045
2046
2047                 string v = RepeatInfoUser.DoTest (0, 5, RepeatDirection.Horizontal, RepeatLayout.Table, true, false, true, true);
2048                 string exp = @"<table class=""mainstyle"">
2049         <tr>
2050                 <td class=""Item0"">(0,Item,0)</td><td class=""Separator0"">(1,Separator,0)</td><td class=""Item1"">(2,Item,1)</td><td class=""Separator1"">(3,Separator,1)</td><td class=""Item2"">(4,Item,2)</td><td class=""Separator2"">(5,Separator,2)</td><td class=""Item3"">(6,Item,3)</td><td class=""Separator3"">(7,Separator,3)</td><td class=""Item4"">(8,Item,4)</td><td></td>
2051         </tr><tr>
2052                 <td colspan=""10"" class=""Footer-1"">(9,Footer,-1)</td>
2053         </tr>
2054 </table>";
2055                 Assert.AreEqual (exp, v, "#83");
2056         }
2057
2058
2059         [Test]
2060         public void RepeatInfo_1cols_0itms_horiz_tbl_otrtblimp_ftr_sep ()
2061         {
2062                 // cols              : 1
2063                 // cnt               : 0
2064                 // RepeatDirection   : Horizontal
2065                 // RepeatLayout      : Table
2066                 // OuterTableImplied : True
2067                 // Header            : False
2068                 // Footer            : True
2069                 // Separator         : True
2070
2071
2072                 string v = RepeatInfoUser.DoTest (1, 0, RepeatDirection.Horizontal, RepeatLayout.Table, true, false, true, true);
2073                 string exp = @"<table class=""mainstyle"">
2074         <tr>
2075                 <td colspan=""2"" class=""Footer-1"">(0,Footer,-1)</td>
2076         </tr>
2077 </table>";
2078                 Assert.AreEqual (exp, v, "#84");
2079         }
2080
2081
2082         [Test]
2083         public void RepeatInfo_1cols_5itms_horiz_tbl_otrtblimp_ftr_sep ()
2084         {
2085                 // cols              : 1
2086                 // cnt               : 5
2087                 // RepeatDirection   : Horizontal
2088                 // RepeatLayout      : Table
2089                 // OuterTableImplied : True
2090                 // Header            : False
2091                 // Footer            : True
2092                 // Separator         : True
2093
2094
2095                 string v = RepeatInfoUser.DoTest (1, 5, RepeatDirection.Horizontal, RepeatLayout.Table, true, false, true, true);
2096                 string exp = @"<table class=""mainstyle"">
2097         <tr>
2098                 <td class=""Item0"">(0,Item,0)</td><td class=""Separator0"">(1,Separator,0)</td>
2099         </tr><tr>
2100                 <td class=""Item1"">(2,Item,1)</td><td class=""Separator1"">(3,Separator,1)</td>
2101         </tr><tr>
2102                 <td class=""Item2"">(4,Item,2)</td><td class=""Separator2"">(5,Separator,2)</td>
2103         </tr><tr>
2104                 <td class=""Item3"">(6,Item,3)</td><td class=""Separator3"">(7,Separator,3)</td>
2105         </tr><tr>
2106                 <td class=""Item4"">(8,Item,4)</td><td></td>
2107         </tr><tr>
2108                 <td colspan=""2"" class=""Footer-1"">(9,Footer,-1)</td>
2109         </tr>
2110 </table>";
2111                 Assert.AreEqual (exp, v, "#85");
2112         }
2113
2114
2115         [Test]
2116         public void RepeatInfo_2cols_4itms_horiz_tbl_otrtblimp_ftr_sep ()
2117         {
2118                 // cols              : 2
2119                 // cnt               : 4
2120                 // RepeatDirection   : Horizontal
2121                 // RepeatLayout      : Table
2122                 // OuterTableImplied : True
2123                 // Header            : False
2124                 // Footer            : True
2125                 // Separator         : True
2126
2127
2128                 string v = RepeatInfoUser.DoTest (2, 4, RepeatDirection.Horizontal, RepeatLayout.Table, true, false, true, true);
2129                 string exp = @"<table class=""mainstyle"">
2130         <tr>
2131                 <td class=""Item0"">(0,Item,0)</td><td class=""Separator0"">(1,Separator,0)</td><td class=""Item1"">(2,Item,1)</td><td class=""Separator1"">(3,Separator,1)</td>
2132         </tr><tr>
2133                 <td class=""Item2"">(4,Item,2)</td><td class=""Separator2"">(5,Separator,2)</td><td class=""Item3"">(6,Item,3)</td><td></td>
2134         </tr><tr>
2135                 <td colspan=""4"" class=""Footer-1"">(7,Footer,-1)</td>
2136         </tr>
2137 </table>";
2138                 Assert.AreEqual (exp, v, "#86");
2139         }
2140
2141
2142         [Test]
2143         public void RepeatInfo_2cols_7itms_horiz_tbl_otrtblimp_ftr_sep ()
2144         {
2145                 // cols              : 2
2146                 // cnt               : 7
2147                 // RepeatDirection   : Horizontal
2148                 // RepeatLayout      : Table
2149                 // OuterTableImplied : True
2150                 // Header            : False
2151                 // Footer            : True
2152                 // Separator         : True
2153
2154
2155                 string v = RepeatInfoUser.DoTest (2, 7, RepeatDirection.Horizontal, RepeatLayout.Table, true, false, true, true);
2156                 string exp = @"<table class=""mainstyle"">
2157         <tr>
2158                 <td class=""Item0"">(0,Item,0)</td><td class=""Separator0"">(1,Separator,0)</td><td class=""Item1"">(2,Item,1)</td><td class=""Separator1"">(3,Separator,1)</td>
2159         </tr><tr>
2160                 <td class=""Item2"">(4,Item,2)</td><td class=""Separator2"">(5,Separator,2)</td><td class=""Item3"">(6,Item,3)</td><td class=""Separator3"">(7,Separator,3)</td>
2161         </tr><tr>
2162                 <td class=""Item4"">(8,Item,4)</td><td class=""Separator4"">(9,Separator,4)</td><td class=""Item5"">(10,Item,5)</td><td class=""Separator5"">(11,Separator,5)</td>
2163         </tr><tr>
2164                 <td class=""Item6"">(12,Item,6)</td><td></td><td></td><td></td>
2165         </tr><tr>
2166                 <td colspan=""4"" class=""Footer-1"">(13,Footer,-1)</td>
2167         </tr>
2168 </table>";
2169                 Assert.AreEqual (exp, v, "#87");
2170         }
2171
2172
2173         [Test]
2174         public void RepeatInfo_3cols_9itms_horiz_tbl_otrtblimp_ftr_sep ()
2175         {
2176                 // cols              : 3
2177                 // cnt               : 9
2178                 // RepeatDirection   : Horizontal
2179                 // RepeatLayout      : Table
2180                 // OuterTableImplied : True
2181                 // Header            : False
2182                 // Footer            : True
2183                 // Separator         : True
2184
2185
2186                 string v = RepeatInfoUser.DoTest (3, 9, RepeatDirection.Horizontal, RepeatLayout.Table, true, false, true, true);
2187                 string exp = @"<table>
2188         <tr>
2189                 <td class=""Item0"">(0,Item,0)</td><td class=""Separator0"">(1,Separator,0)</td><td class=""Item1"">(2,Item,1)</td><td class=""Separator1"">(3,Separator,1)</td><td class=""Item2"">(4,Item,2)</td><td class=""Separator2"">(5,Separator,2)</td>
2190         </tr><tr>
2191                 <td class=""Item3"">(6,Item,3)</td><td class=""Separator3"">(7,Separator,3)</td><td class=""Item4"">(8,Item,4)</td><td class=""Separator4"">(9,Separator,4)</td><td class=""Item5"">(10,Item,5)</td><td class=""Separator5"">(11,Separator,5)</td>
2192         </tr><tr>
2193                 <td class=""Item6"">(12,Item,6)</td><td class=""Separator6"">(13,Separator,6)</td><td class=""Item7"">(14,Item,7)</td><td class=""Separator7"">(15,Separator,7)</td><td class=""Item8"">(16,Item,8)</td><td></td>
2194         </tr><tr>
2195                 <td colspan=""6"" class=""Footer-1"">(17,Footer,-1)</td>
2196         </tr>
2197 </table>";
2198                 Assert.AreEqual (exp, v, "#88");
2199         }
2200
2201
2202         [Test]
2203         public void RepeatInfo_3cols_7itms_horiz_tbl_otrtblimp_ftr_sep ()
2204         {
2205                 // cols              : 3
2206                 // cnt               : 7
2207                 // RepeatDirection   : Horizontal
2208                 // RepeatLayout      : Table
2209                 // OuterTableImplied : True
2210                 // Header            : False
2211                 // Footer            : True
2212                 // Separator         : True
2213
2214
2215                 string v = RepeatInfoUser.DoTest (3, 7, RepeatDirection.Horizontal, RepeatLayout.Table, true, false, true, true);
2216                 string exp = @"<table>
2217         <tr>
2218                 <td class=""Item0"">(0,Item,0)</td><td class=""Separator0"">(1,Separator,0)</td><td class=""Item1"">(2,Item,1)</td><td class=""Separator1"">(3,Separator,1)</td><td class=""Item2"">(4,Item,2)</td><td class=""Separator2"">(5,Separator,2)</td>
2219         </tr><tr>
2220                 <td class=""Item3"">(6,Item,3)</td><td class=""Separator3"">(7,Separator,3)</td><td class=""Item4"">(8,Item,4)</td><td class=""Separator4"">(9,Separator,4)</td><td class=""Item5"">(10,Item,5)</td><td class=""Separator5"">(11,Separator,5)</td>
2221         </tr><tr>
2222                 <td class=""Item6"">(12,Item,6)</td><td></td><td></td><td></td><td></td><td></td>
2223         </tr><tr>
2224                 <td colspan=""6"" class=""Footer-1"">(13,Footer,-1)</td>
2225         </tr>
2226 </table>";
2227                 Assert.AreEqual (exp, v, "#89");
2228         }
2229
2230
2231         [Test]
2232         public void RepeatInfo_0cols_0itms_vert_tbl_otrtblimp_ftr_sep ()
2233         {
2234                 // cols              : 0
2235                 // cnt               : 0
2236                 // RepeatDirection   : Vertical
2237                 // RepeatLayout      : Table
2238                 // OuterTableImplied : True
2239                 // Header            : False
2240                 // Footer            : True
2241                 // Separator         : True
2242
2243
2244                 string v = RepeatInfoUser.DoTest (0, 0, RepeatDirection.Vertical, RepeatLayout.Table, true, false, true, true);
2245                 string exp = @"(0,Footer,-1)";
2246                 Assert.AreEqual (exp, v, "#90");
2247         }
2248
2249
2250         [Test]
2251         public void RepeatInfo_0cols_1itms_vert_tbl_otrtblimp_ftr_sep ()
2252         {
2253                 // cols              : 0
2254                 // cnt               : 1
2255                 // RepeatDirection   : Vertical
2256                 // RepeatLayout      : Table
2257                 // OuterTableImplied : True
2258                 // Header            : False
2259                 // Footer            : True
2260                 // Separator         : True
2261
2262
2263                 string v = RepeatInfoUser.DoTest (0, 1, RepeatDirection.Vertical, RepeatLayout.Table, true, false, true, true);
2264                 string exp = @"(0,Item,0)(1,Footer,-1)";
2265                 Assert.AreEqual (exp, v, "#91");
2266         }
2267
2268
2269         [Test]
2270         public void RepeatInfo_0cols_2itms_vert_tbl_otrtblimp_ftr_sep ()
2271         {
2272                 // cols              : 0
2273                 // cnt               : 2
2274                 // RepeatDirection   : Vertical
2275                 // RepeatLayout      : Table
2276                 // OuterTableImplied : True
2277                 // Header            : False
2278                 // Footer            : True
2279                 // Separator         : True
2280
2281
2282                 string v = RepeatInfoUser.DoTest (0, 2, RepeatDirection.Vertical, RepeatLayout.Table, true, false, true, true);
2283                 string exp = @"(0,Item,0)(1,Separator,0)(2,Item,1)(3,Footer,-1)";
2284                 Assert.AreEqual (exp, v, "#92");
2285         }
2286
2287
2288         [Test]
2289         public void RepeatInfo_0cols_5itms_vert_tbl_otrtblimp_ftr_sep ()
2290         {
2291                 // cols              : 0
2292                 // cnt               : 5
2293                 // RepeatDirection   : Vertical
2294                 // RepeatLayout      : Table
2295                 // OuterTableImplied : True
2296                 // Header            : False
2297                 // Footer            : True
2298                 // Separator         : True
2299
2300
2301                 string v = RepeatInfoUser.DoTest (0, 5, RepeatDirection.Vertical, RepeatLayout.Table, true, false, true, true);
2302                 string exp = @"(0,Item,0)(1,Separator,0)(2,Item,1)(3,Separator,1)(4,Item,2)(5,Separator,2)(6,Item,3)(7,Separator,3)(8,Item,4)(9,Footer,-1)";
2303                 Assert.AreEqual (exp, v, "#93");
2304         }
2305
2306
2307         [Test]
2308         public void RepeatInfo_1cols_0itms_vert_tbl_otrtblimp_ftr_sep ()
2309         {
2310                 // cols              : 1
2311                 // cnt               : 0
2312                 // RepeatDirection   : Vertical
2313                 // RepeatLayout      : Table
2314                 // OuterTableImplied : True
2315                 // Header            : False
2316                 // Footer            : True
2317                 // Separator         : True
2318
2319
2320                 string v = RepeatInfoUser.DoTest (1, 0, RepeatDirection.Vertical, RepeatLayout.Table, true, false, true, true);
2321                 string exp = @"(0,Footer,-1)";
2322                 Assert.AreEqual (exp, v, "#94");
2323         }
2324
2325
2326         [Test]
2327         public void RepeatInfo_1cols_5itms_vert_tbl_otrtblimp_ftr_sep ()
2328         {
2329                 // cols              : 1
2330                 // cnt               : 5
2331                 // RepeatDirection   : Vertical
2332                 // RepeatLayout      : Table
2333                 // OuterTableImplied : True
2334                 // Header            : False
2335                 // Footer            : True
2336                 // Separator         : True
2337
2338
2339                 string v = RepeatInfoUser.DoTest (1, 5, RepeatDirection.Vertical, RepeatLayout.Table, true, false, true, true);
2340                 string exp = @"(0,Item,0)(1,Separator,0)(2,Item,1)(3,Separator,1)(4,Item,2)(5,Separator,2)(6,Item,3)(7,Separator,3)(8,Item,4)(9,Footer,-1)";
2341                 Assert.AreEqual (exp, v, "#95");
2342         }
2343
2344
2345         [Test]
2346         public void RepeatInfo_2cols_4itms_vert_tbl_otrtblimp_ftr_sep ()
2347         {
2348                 // cols              : 2
2349                 // cnt               : 4
2350                 // RepeatDirection   : Vertical
2351                 // RepeatLayout      : Table
2352                 // OuterTableImplied : True
2353                 // Header            : False
2354                 // Footer            : True
2355                 // Separator         : True
2356
2357
2358                 string v = RepeatInfoUser.DoTest (2, 4, RepeatDirection.Vertical, RepeatLayout.Table, true, false, true, true);
2359                 string exp = @"(0,Item,0)(1,Separator,0)(2,Item,2)(3,Separator,2)(4,Item,1)(5,Separator,1)(6,Item,3)(7,Footer,-1)";
2360                 Assert.AreEqual (exp, v, "#96");
2361         }
2362
2363
2364         [Test]
2365         public void RepeatInfo_2cols_7itms_vert_tbl_otrtblimp_ftr_sep ()
2366         {
2367                 // cols              : 2
2368                 // cnt               : 7
2369                 // RepeatDirection   : Vertical
2370                 // RepeatLayout      : Table
2371                 // OuterTableImplied : True
2372                 // Header            : False
2373                 // Footer            : True
2374                 // Separator         : True
2375
2376
2377                 string v = RepeatInfoUser.DoTest (2, 7, RepeatDirection.Vertical, RepeatLayout.Table, true, false, true, true);
2378                 string exp = @"(0,Item,0)(1,Separator,0)(2,Item,4)(3,Separator,4)(4,Item,1)(5,Separator,1)(6,Item,5)(7,Separator,5)(8,Item,2)(9,Separator,2)(10,Item,6)(11,Item,3)(12,Separator,3)(13,Footer,-1)";
2379                 Assert.AreEqual (exp, v, "#97");
2380         }
2381
2382
2383         [Test]
2384         public void RepeatInfo_3cols_9itms_vert_tbl_otrtblimp_ftr_sep ()
2385         {
2386                 // cols              : 3
2387                 // cnt               : 9
2388                 // RepeatDirection   : Vertical
2389                 // RepeatLayout      : Table
2390                 // OuterTableImplied : True
2391                 // Header            : False
2392                 // Footer            : True
2393                 // Separator         : True
2394
2395
2396                 string v = RepeatInfoUser.DoTest (3, 9, RepeatDirection.Vertical, RepeatLayout.Table, true, false, true, true);
2397                 string exp = @"(0,Item,0)(1,Separator,0)(2,Item,3)(3,Separator,3)(4,Item,6)(5,Separator,6)(6,Item,1)(7,Separator,1)(8,Item,4)(9,Separator,4)(10,Item,7)(11,Separator,7)(12,Item,2)(13,Separator,2)(14,Item,5)(15,Separator,5)(16,Item,8)(17,Footer,-1)";
2398                 Assert.AreEqual (exp, v, "#98");
2399         }
2400
2401
2402         [Test]
2403         public void RepeatInfo_3cols_7itms_vert_tbl_otrtblimp_ftr_sep ()
2404         {
2405                 // cols              : 3
2406                 // cnt               : 7
2407                 // RepeatDirection   : Vertical
2408                 // RepeatLayout      : Table
2409                 // OuterTableImplied : True
2410                 // Header            : False
2411                 // Footer            : True
2412                 // Separator         : True
2413
2414
2415                 string v = RepeatInfoUser.DoTest (3, 7, RepeatDirection.Vertical, RepeatLayout.Table, true, false, true, true);
2416                 string exp = @"(0,Item,0)(1,Separator,0)(2,Item,3)(3,Separator,3)(4,Item,5)(5,Separator,5)(6,Item,1)(7,Separator,1)(8,Item,4)(9,Separator,4)(10,Item,6)(11,Item,2)(12,Separator,2)(13,Footer,-1)";
2417                 Assert.AreEqual (exp, v, "#99");
2418         }
2419
2420
2421         [Test]
2422         public void RepeatInfo_0cols_0itms_horiz_flow_otrtblimp_ftr_sep ()
2423         {
2424                 // cols              : 0
2425                 // cnt               : 0
2426                 // RepeatDirection   : Horizontal
2427                 // RepeatLayout      : Flow
2428                 // OuterTableImplied : True
2429                 // Header            : False
2430                 // Footer            : True
2431                 // Separator         : True
2432
2433
2434                 string v = RepeatInfoUser.DoTest (0, 0, RepeatDirection.Horizontal, RepeatLayout.Flow, true, false, true, true);
2435                 string exp = @"<span class=""mainstyle"">(0,Footer,-1)</span>";
2436                 Assert.AreEqual (exp, v, "#100");
2437         }
2438
2439
2440         [Test]
2441         public void RepeatInfo_0cols_1itms_horiz_flow_otrtblimp_ftr_sep ()
2442         {
2443                 // cols              : 0
2444                 // cnt               : 1
2445                 // RepeatDirection   : Horizontal
2446                 // RepeatLayout      : Flow
2447                 // OuterTableImplied : True
2448                 // Header            : False
2449                 // Footer            : True
2450                 // Separator         : True
2451
2452
2453                 string v = RepeatInfoUser.DoTest (0, 1, RepeatDirection.Horizontal, RepeatLayout.Flow, true, false, true, true);
2454                 string exp = @"<span class=""mainstyle"">(0,Item,0)(1,Footer,-1)</span>";
2455                 Assert.AreEqual (exp, v, "#101");
2456         }
2457
2458
2459         [Test]
2460         public void RepeatInfo_0cols_2itms_horiz_flow_otrtblimp_ftr_sep ()
2461         {
2462                 // cols              : 0
2463                 // cnt               : 2
2464                 // RepeatDirection   : Horizontal
2465                 // RepeatLayout      : Flow
2466                 // OuterTableImplied : True
2467                 // Header            : False
2468                 // Footer            : True
2469                 // Separator         : True
2470
2471
2472                 string v = RepeatInfoUser.DoTest (0, 2, RepeatDirection.Horizontal, RepeatLayout.Flow, true, false, true, true);
2473                 string exp = @"<span class=""mainstyle"">(0,Item,0)(1,Separator,0)(2,Item,1)(3,Footer,-1)</span>";
2474                 Assert.AreEqual (exp, v, "#102");
2475         }
2476
2477
2478         [Test]
2479         public void RepeatInfo_0cols_5itms_horiz_flow_otrtblimp_ftr_sep ()
2480         {
2481                 // cols              : 0
2482                 // cnt               : 5
2483                 // RepeatDirection   : Horizontal
2484                 // RepeatLayout      : Flow
2485                 // OuterTableImplied : True
2486                 // Header            : False
2487                 // Footer            : True
2488                 // Separator         : True
2489
2490
2491                 string v = RepeatInfoUser.DoTest (0, 5, RepeatDirection.Horizontal, RepeatLayout.Flow, true, false, true, true);
2492                 string exp = @"<span class=""mainstyle"">(0,Item,0)(1,Separator,0)(2,Item,1)(3,Separator,1)(4,Item,2)(5,Separator,2)(6,Item,3)(7,Separator,3)(8,Item,4)(9,Footer,-1)</span>";
2493                 Assert.AreEqual (exp, v, "#103");
2494         }
2495
2496
2497         [Test]
2498         public void RepeatInfo_1cols_0itms_horiz_flow_otrtblimp_ftr_sep ()
2499         {
2500                 // cols              : 1
2501                 // cnt               : 0
2502                 // RepeatDirection   : Horizontal
2503                 // RepeatLayout      : Flow
2504                 // OuterTableImplied : True
2505                 // Header            : False
2506                 // Footer            : True
2507                 // Separator         : True
2508
2509
2510                 string v = RepeatInfoUser.DoTest (1, 0, RepeatDirection.Horizontal, RepeatLayout.Flow, true, false, true, true);
2511                 string exp = @"<span class=""mainstyle"">(0,Footer,-1)</span>";
2512                 Assert.AreEqual (exp, v, "#104");
2513         }
2514
2515
2516         [Test]
2517         public void RepeatInfo_1cols_5itms_horiz_flow_otrtblimp_ftr_sep ()
2518         {
2519                 // cols              : 1
2520                 // cnt               : 5
2521                 // RepeatDirection   : Horizontal
2522                 // RepeatLayout      : Flow
2523                 // OuterTableImplied : True
2524                 // Header            : False
2525                 // Footer            : True
2526                 // Separator         : True
2527
2528
2529                 string v = RepeatInfoUser.DoTest (1, 5, RepeatDirection.Horizontal, RepeatLayout.Flow, true, false, true, true);
2530                 string exp = @"<span class=""mainstyle"">(0,Item,0)(1,Separator,0)<br />(2,Item,1)(3,Separator,1)<br />(4,Item,2)(5,Separator,2)<br />(6,Item,3)(7,Separator,3)<br />(8,Item,4)<br />(9,Footer,-1)</span>";
2531                 Assert.AreEqual (exp, v, "#105");
2532         }
2533
2534
2535         [Test]
2536         public void RepeatInfo_2cols_4itms_horiz_flow_otrtblimp_ftr_sep ()
2537         {
2538                 // cols              : 2
2539                 // cnt               : 4
2540                 // RepeatDirection   : Horizontal
2541                 // RepeatLayout      : Flow
2542                 // OuterTableImplied : True
2543                 // Header            : False
2544                 // Footer            : True
2545                 // Separator         : True
2546
2547
2548                 string v = RepeatInfoUser.DoTest (2, 4, RepeatDirection.Horizontal, RepeatLayout.Flow, true, false, true, true);
2549                 string exp = @"<span class=""mainstyle"">(0,Item,0)(1,Separator,0)(2,Item,1)(3,Separator,1)<br />(4,Item,2)(5,Separator,2)(6,Item,3)<br />(7,Footer,-1)</span>";
2550                 Assert.AreEqual (exp, v, "#106");
2551         }
2552
2553
2554         [Test]
2555         public void RepeatInfo_2cols_7itms_horiz_flow_otrtblimp_ftr_sep ()
2556         {
2557                 // cols              : 2
2558                 // cnt               : 7
2559                 // RepeatDirection   : Horizontal
2560                 // RepeatLayout      : Flow
2561                 // OuterTableImplied : True
2562                 // Header            : False
2563                 // Footer            : True
2564                 // Separator         : True
2565
2566
2567                 string v = RepeatInfoUser.DoTest (2, 7, RepeatDirection.Horizontal, RepeatLayout.Flow, true, false, true, true);
2568                 string exp = @"<span class=""mainstyle"">(0,Item,0)(1,Separator,0)(2,Item,1)(3,Separator,1)<br />(4,Item,2)(5,Separator,2)(6,Item,3)(7,Separator,3)<br />(8,Item,4)(9,Separator,4)(10,Item,5)(11,Separator,5)<br />(12,Item,6)<br />(13,Footer,-1)</span>";
2569                 Assert.AreEqual (exp, v, "#107");
2570         }
2571
2572
2573         [Test]
2574         public void RepeatInfo_3cols_9itms_horiz_flow_otrtblimp_ftr_sep ()
2575         {
2576                 // cols              : 3
2577                 // cnt               : 9
2578                 // RepeatDirection   : Horizontal
2579                 // RepeatLayout      : Flow
2580                 // OuterTableImplied : True
2581                 // Header            : False
2582                 // Footer            : True
2583                 // Separator         : True
2584
2585
2586                 string v = RepeatInfoUser.DoTest (3, 9, RepeatDirection.Horizontal, RepeatLayout.Flow, true, false, true, true);
2587                 string exp = @"<span>(0,Item,0)(1,Separator,0)(2,Item,1)(3,Separator,1)(4,Item,2)(5,Separator,2)<br />(6,Item,3)(7,Separator,3)(8,Item,4)(9,Separator,4)(10,Item,5)(11,Separator,5)<br />(12,Item,6)(13,Separator,6)(14,Item,7)(15,Separator,7)(16,Item,8)<br />(17,Footer,-1)</span>";
2588                 Assert.AreEqual (exp, v, "#108");
2589         }
2590
2591
2592         [Test]
2593         public void RepeatInfo_3cols_7itms_horiz_flow_otrtblimp_ftr_sep ()
2594         {
2595                 // cols              : 3
2596                 // cnt               : 7
2597                 // RepeatDirection   : Horizontal
2598                 // RepeatLayout      : Flow
2599                 // OuterTableImplied : True
2600                 // Header            : False
2601                 // Footer            : True
2602                 // Separator         : True
2603
2604
2605                 string v = RepeatInfoUser.DoTest (3, 7, RepeatDirection.Horizontal, RepeatLayout.Flow, true, false, true, true);
2606                 string exp = @"<span>(0,Item,0)(1,Separator,0)(2,Item,1)(3,Separator,1)(4,Item,2)(5,Separator,2)<br />(6,Item,3)(7,Separator,3)(8,Item,4)(9,Separator,4)(10,Item,5)(11,Separator,5)<br />(12,Item,6)<br />(13,Footer,-1)</span>";
2607                 Assert.AreEqual (exp, v, "#109");
2608         }
2609
2610
2611         [Test]
2612         public void RepeatInfo_0cols_0itms_vert_flow_otrtblimp_ftr_sep ()
2613         {
2614                 // cols              : 0
2615                 // cnt               : 0
2616                 // RepeatDirection   : Vertical
2617                 // RepeatLayout      : Flow
2618                 // OuterTableImplied : True
2619                 // Header            : False
2620                 // Footer            : True
2621                 // Separator         : True
2622
2623
2624                 string v = RepeatInfoUser.DoTest (0, 0, RepeatDirection.Vertical, RepeatLayout.Flow, true, false, true, true);
2625                 string exp = @"(0,Footer,-1)";
2626                 Assert.AreEqual (exp, v, "#110");
2627         }
2628
2629
2630         [Test]
2631         public void RepeatInfo_0cols_1itms_vert_flow_otrtblimp_ftr_sep ()
2632         {
2633                 // cols              : 0
2634                 // cnt               : 1
2635                 // RepeatDirection   : Vertical
2636                 // RepeatLayout      : Flow
2637                 // OuterTableImplied : True
2638                 // Header            : False
2639                 // Footer            : True
2640                 // Separator         : True
2641
2642
2643                 string v = RepeatInfoUser.DoTest (0, 1, RepeatDirection.Vertical, RepeatLayout.Flow, true, false, true, true);
2644                 string exp = @"(0,Item,0)(1,Footer,-1)";
2645                 Assert.AreEqual (exp, v, "#111");
2646         }
2647
2648
2649         [Test]
2650         public void RepeatInfo_0cols_2itms_vert_flow_otrtblimp_ftr_sep ()
2651         {
2652                 // cols              : 0
2653                 // cnt               : 2
2654                 // RepeatDirection   : Vertical
2655                 // RepeatLayout      : Flow
2656                 // OuterTableImplied : True
2657                 // Header            : False
2658                 // Footer            : True
2659                 // Separator         : True
2660
2661
2662                 string v = RepeatInfoUser.DoTest (0, 2, RepeatDirection.Vertical, RepeatLayout.Flow, true, false, true, true);
2663                 string exp = @"(0,Item,0)(1,Separator,0)(2,Item,1)(3,Footer,-1)";
2664                 Assert.AreEqual (exp, v, "#112");
2665         }
2666
2667
2668         [Test]
2669         public void RepeatInfo_0cols_5itms_vert_flow_otrtblimp_ftr_sep ()
2670         {
2671                 // cols              : 0
2672                 // cnt               : 5
2673                 // RepeatDirection   : Vertical
2674                 // RepeatLayout      : Flow
2675                 // OuterTableImplied : True
2676                 // Header            : False
2677                 // Footer            : True
2678                 // Separator         : True
2679
2680
2681                 string v = RepeatInfoUser.DoTest (0, 5, RepeatDirection.Vertical, RepeatLayout.Flow, true, false, true, true);
2682                 string exp = @"(0,Item,0)(1,Separator,0)(2,Item,1)(3,Separator,1)(4,Item,2)(5,Separator,2)(6,Item,3)(7,Separator,3)(8,Item,4)(9,Footer,-1)";
2683                 Assert.AreEqual (exp, v, "#113");
2684         }
2685
2686
2687         [Test]
2688         public void RepeatInfo_1cols_0itms_vert_flow_otrtblimp_ftr_sep ()
2689         {
2690                 // cols              : 1
2691                 // cnt               : 0
2692                 // RepeatDirection   : Vertical
2693                 // RepeatLayout      : Flow
2694                 // OuterTableImplied : True
2695                 // Header            : False
2696                 // Footer            : True
2697                 // Separator         : True
2698
2699
2700                 string v = RepeatInfoUser.DoTest (1, 0, RepeatDirection.Vertical, RepeatLayout.Flow, true, false, true, true);
2701                 string exp = @"(0,Footer,-1)";
2702                 Assert.AreEqual (exp, v, "#114");
2703         }
2704
2705
2706         [Test]
2707         public void RepeatInfo_1cols_5itms_vert_flow_otrtblimp_ftr_sep ()
2708         {
2709                 // cols              : 1
2710                 // cnt               : 5
2711                 // RepeatDirection   : Vertical
2712                 // RepeatLayout      : Flow
2713                 // OuterTableImplied : True
2714                 // Header            : False
2715                 // Footer            : True
2716                 // Separator         : True
2717
2718
2719                 string v = RepeatInfoUser.DoTest (1, 5, RepeatDirection.Vertical, RepeatLayout.Flow, true, false, true, true);
2720                 string exp = @"(0,Item,0)(1,Separator,0)(2,Item,1)(3,Separator,1)(4,Item,2)(5,Separator,2)(6,Item,3)(7,Separator,3)(8,Item,4)(9,Footer,-1)";
2721                 Assert.AreEqual (exp, v, "#115");
2722         }
2723
2724
2725         [Test]
2726         public void RepeatInfo_2cols_4itms_vert_flow_otrtblimp_ftr_sep ()
2727         {
2728                 // cols              : 2
2729                 // cnt               : 4
2730                 // RepeatDirection   : Vertical
2731                 // RepeatLayout      : Flow
2732                 // OuterTableImplied : True
2733                 // Header            : False
2734                 // Footer            : True
2735                 // Separator         : True
2736
2737
2738                 string v = RepeatInfoUser.DoTest (2, 4, RepeatDirection.Vertical, RepeatLayout.Flow, true, false, true, true);
2739                 string exp = @"(0,Item,0)(1,Separator,0)(2,Item,2)(3,Separator,2)(4,Item,1)(5,Separator,1)(6,Item,3)(7,Footer,-1)";
2740                 Assert.AreEqual (exp, v, "#116");
2741         }
2742
2743
2744         [Test]
2745         public void RepeatInfo_2cols_7itms_vert_flow_otrtblimp_ftr_sep ()
2746         {
2747                 // cols              : 2
2748                 // cnt               : 7
2749                 // RepeatDirection   : Vertical
2750                 // RepeatLayout      : Flow
2751                 // OuterTableImplied : True
2752                 // Header            : False
2753                 // Footer            : True
2754                 // Separator         : True
2755
2756
2757                 string v = RepeatInfoUser.DoTest (2, 7, RepeatDirection.Vertical, RepeatLayout.Flow, true, false, true, true);
2758                 string exp = @"(0,Item,0)(1,Separator,0)(2,Item,4)(3,Separator,4)(4,Item,1)(5,Separator,1)(6,Item,5)(7,Separator,5)(8,Item,2)(9,Separator,2)(10,Item,6)(11,Item,3)(12,Separator,3)(13,Footer,-1)";
2759                 Assert.AreEqual (exp, v, "#117");
2760         }
2761
2762
2763         [Test]
2764         public void RepeatInfo_3cols_9itms_vert_flow_otrtblimp_ftr_sep ()
2765         {
2766                 // cols              : 3
2767                 // cnt               : 9
2768                 // RepeatDirection   : Vertical
2769                 // RepeatLayout      : Flow
2770                 // OuterTableImplied : True
2771                 // Header            : False
2772                 // Footer            : True
2773                 // Separator         : True
2774
2775
2776                 string v = RepeatInfoUser.DoTest (3, 9, RepeatDirection.Vertical, RepeatLayout.Flow, true, false, true, true);
2777                 string exp = @"(0,Item,0)(1,Separator,0)(2,Item,3)(3,Separator,3)(4,Item,6)(5,Separator,6)(6,Item,1)(7,Separator,1)(8,Item,4)(9,Separator,4)(10,Item,7)(11,Separator,7)(12,Item,2)(13,Separator,2)(14,Item,5)(15,Separator,5)(16,Item,8)(17,Footer,-1)";
2778                 Assert.AreEqual (exp, v, "#118");
2779         }
2780
2781
2782         [Test]
2783         public void RepeatInfo_3cols_7itms_vert_flow_otrtblimp_ftr_sep ()
2784         {
2785                 // cols              : 3
2786                 // cnt               : 7
2787                 // RepeatDirection   : Vertical
2788                 // RepeatLayout      : Flow
2789                 // OuterTableImplied : True
2790                 // Header            : False
2791                 // Footer            : True
2792                 // Separator         : True
2793
2794
2795                 string v = RepeatInfoUser.DoTest (3, 7, RepeatDirection.Vertical, RepeatLayout.Flow, true, false, true, true);
2796                 string exp = @"(0,Item,0)(1,Separator,0)(2,Item,3)(3,Separator,3)(4,Item,5)(5,Separator,5)(6,Item,1)(7,Separator,1)(8,Item,4)(9,Separator,4)(10,Item,6)(11,Item,2)(12,Separator,2)(13,Footer,-1)";
2797                 Assert.AreEqual (exp, v, "#119");
2798         }
2799
2800
2801         [Test]
2802         public void RepeatInfo_0cols_0itms_horiz_tbl_ftr_sep ()
2803         {
2804                 // cols              : 0
2805                 // cnt               : 0
2806                 // RepeatDirection   : Horizontal
2807                 // RepeatLayout      : Table
2808                 // OuterTableImplied : False
2809                 // Header            : False
2810                 // Footer            : True
2811                 // Separator         : True
2812
2813
2814                 string v = RepeatInfoUser.DoTest (0, 0, RepeatDirection.Horizontal, RepeatLayout.Table, false, false, true, true);
2815                 string exp = @"<table class=""mainstyle"">
2816         <tr>
2817                 <td colspan=""0"" class=""Footer-1"">(0,Footer,-1)</td>
2818         </tr>
2819 </table>";
2820                 Assert.AreEqual (exp, v, "#120");
2821         }
2822
2823
2824         [Test]
2825         public void RepeatInfo_0cols_1itms_horiz_tbl_ftr_sep ()
2826         {
2827                 // cols              : 0
2828                 // cnt               : 1
2829                 // RepeatDirection   : Horizontal
2830                 // RepeatLayout      : Table
2831                 // OuterTableImplied : False
2832                 // Header            : False
2833                 // Footer            : True
2834                 // Separator         : True
2835
2836
2837                 string v = RepeatInfoUser.DoTest (0, 1, RepeatDirection.Horizontal, RepeatLayout.Table, false, false, true, true);
2838                 string exp = @"<table class=""mainstyle"">
2839         <tr>
2840                 <td class=""Item0"">(0,Item,0)</td><td></td>
2841         </tr><tr>
2842                 <td colspan=""2"" class=""Footer-1"">(1,Footer,-1)</td>
2843         </tr>
2844 </table>";
2845                 Assert.AreEqual (exp, v, "#121");
2846         }
2847
2848
2849         [Test]
2850         public void RepeatInfo_0cols_2itms_horiz_tbl_ftr_sep ()
2851         {
2852                 // cols              : 0
2853                 // cnt               : 2
2854                 // RepeatDirection   : Horizontal
2855                 // RepeatLayout      : Table
2856                 // OuterTableImplied : False
2857                 // Header            : False
2858                 // Footer            : True
2859                 // Separator         : True
2860
2861
2862                 string v = RepeatInfoUser.DoTest (0, 2, RepeatDirection.Horizontal, RepeatLayout.Table, false, false, true, true);
2863                 string exp = @"<table class=""mainstyle"">
2864         <tr>
2865                 <td class=""Item0"">(0,Item,0)</td><td class=""Separator0"">(1,Separator,0)</td><td class=""Item1"">(2,Item,1)</td><td></td>
2866         </tr><tr>
2867                 <td colspan=""4"" class=""Footer-1"">(3,Footer,-1)</td>
2868         </tr>
2869 </table>";
2870                 Assert.AreEqual (exp, v, "#122");
2871         }
2872
2873
2874         [Test]
2875         public void RepeatInfo_0cols_5itms_horiz_tbl_ftr_sep ()
2876         {
2877                 // cols              : 0
2878                 // cnt               : 5
2879                 // RepeatDirection   : Horizontal
2880                 // RepeatLayout      : Table
2881                 // OuterTableImplied : False
2882                 // Header            : False
2883                 // Footer            : True
2884                 // Separator         : True
2885
2886
2887                 string v = RepeatInfoUser.DoTest (0, 5, RepeatDirection.Horizontal, RepeatLayout.Table, false, false, true, true);
2888                 string exp = @"<table class=""mainstyle"">
2889         <tr>
2890                 <td class=""Item0"">(0,Item,0)</td><td class=""Separator0"">(1,Separator,0)</td><td class=""Item1"">(2,Item,1)</td><td class=""Separator1"">(3,Separator,1)</td><td class=""Item2"">(4,Item,2)</td><td class=""Separator2"">(5,Separator,2)</td><td class=""Item3"">(6,Item,3)</td><td class=""Separator3"">(7,Separator,3)</td><td class=""Item4"">(8,Item,4)</td><td></td>
2891         </tr><tr>
2892                 <td colspan=""10"" class=""Footer-1"">(9,Footer,-1)</td>
2893         </tr>
2894 </table>";
2895                 Assert.AreEqual (exp, v, "#123");
2896         }
2897
2898
2899         [Test]
2900         public void RepeatInfo_1cols_0itms_horiz_tbl_ftr_sep ()
2901         {
2902                 // cols              : 1
2903                 // cnt               : 0
2904                 // RepeatDirection   : Horizontal
2905                 // RepeatLayout      : Table
2906                 // OuterTableImplied : False
2907                 // Header            : False
2908                 // Footer            : True
2909                 // Separator         : True
2910
2911
2912                 string v = RepeatInfoUser.DoTest (1, 0, RepeatDirection.Horizontal, RepeatLayout.Table, false, false, true, true);
2913                 string exp = @"<table class=""mainstyle"">
2914         <tr>
2915                 <td colspan=""2"" class=""Footer-1"">(0,Footer,-1)</td>
2916         </tr>
2917 </table>";
2918                 Assert.AreEqual (exp, v, "#124");
2919         }
2920
2921
2922         [Test]
2923         public void RepeatInfo_1cols_5itms_horiz_tbl_ftr_sep ()
2924         {
2925                 // cols              : 1
2926                 // cnt               : 5
2927                 // RepeatDirection   : Horizontal
2928                 // RepeatLayout      : Table
2929                 // OuterTableImplied : False
2930                 // Header            : False
2931                 // Footer            : True
2932                 // Separator         : True
2933
2934
2935                 string v = RepeatInfoUser.DoTest (1, 5, RepeatDirection.Horizontal, RepeatLayout.Table, false, false, true, true);
2936                 string exp = @"<table class=""mainstyle"">
2937         <tr>
2938                 <td class=""Item0"">(0,Item,0)</td><td class=""Separator0"">(1,Separator,0)</td>
2939         </tr><tr>
2940                 <td class=""Item1"">(2,Item,1)</td><td class=""Separator1"">(3,Separator,1)</td>
2941         </tr><tr>
2942                 <td class=""Item2"">(4,Item,2)</td><td class=""Separator2"">(5,Separator,2)</td>
2943         </tr><tr>
2944                 <td class=""Item3"">(6,Item,3)</td><td class=""Separator3"">(7,Separator,3)</td>
2945         </tr><tr>
2946                 <td class=""Item4"">(8,Item,4)</td><td></td>
2947         </tr><tr>
2948                 <td colspan=""2"" class=""Footer-1"">(9,Footer,-1)</td>
2949         </tr>
2950 </table>";
2951                 Assert.AreEqual (exp, v, "#125");
2952         }
2953
2954
2955         [Test]
2956         public void RepeatInfo_2cols_4itms_horiz_tbl_ftr_sep ()
2957         {
2958                 // cols              : 2
2959                 // cnt               : 4
2960                 // RepeatDirection   : Horizontal
2961                 // RepeatLayout      : Table
2962                 // OuterTableImplied : False
2963                 // Header            : False
2964                 // Footer            : True
2965                 // Separator         : True
2966
2967
2968                 string v = RepeatInfoUser.DoTest (2, 4, RepeatDirection.Horizontal, RepeatLayout.Table, false, false, true, true);
2969                 string exp = @"<table class=""mainstyle"">
2970         <tr>
2971                 <td class=""Item0"">(0,Item,0)</td><td class=""Separator0"">(1,Separator,0)</td><td class=""Item1"">(2,Item,1)</td><td class=""Separator1"">(3,Separator,1)</td>
2972         </tr><tr>
2973                 <td class=""Item2"">(4,Item,2)</td><td class=""Separator2"">(5,Separator,2)</td><td class=""Item3"">(6,Item,3)</td><td></td>
2974         </tr><tr>
2975                 <td colspan=""4"" class=""Footer-1"">(7,Footer,-1)</td>
2976         </tr>
2977 </table>";
2978                 Assert.AreEqual (exp, v, "#126");
2979         }
2980
2981
2982         [Test]
2983         public void RepeatInfo_2cols_7itms_horiz_tbl_ftr_sep ()
2984         {
2985                 // cols              : 2
2986                 // cnt               : 7
2987                 // RepeatDirection   : Horizontal
2988                 // RepeatLayout      : Table
2989                 // OuterTableImplied : False
2990                 // Header            : False
2991                 // Footer            : True
2992                 // Separator         : True
2993
2994
2995                 string v = RepeatInfoUser.DoTest (2, 7, RepeatDirection.Horizontal, RepeatLayout.Table, false, false, true, true);
2996                 string exp = @"<table class=""mainstyle"">
2997         <tr>
2998                 <td class=""Item0"">(0,Item,0)</td><td class=""Separator0"">(1,Separator,0)</td><td class=""Item1"">(2,Item,1)</td><td class=""Separator1"">(3,Separator,1)</td>
2999         </tr><tr>
3000                 <td class=""Item2"">(4,Item,2)</td><td class=""Separator2"">(5,Separator,2)</td><td class=""Item3"">(6,Item,3)</td><td class=""Separator3"">(7,Separator,3)</td>
3001         </tr><tr>
3002                 <td class=""Item4"">(8,Item,4)</td><td class=""Separator4"">(9,Separator,4)</td><td class=""Item5"">(10,Item,5)</td><td class=""Separator5"">(11,Separator,5)</td>
3003         </tr><tr>
3004                 <td class=""Item6"">(12,Item,6)</td><td></td><td></td><td></td>
3005         </tr><tr>
3006                 <td colspan=""4"" class=""Footer-1"">(13,Footer,-1)</td>
3007         </tr>
3008 </table>";
3009                 Assert.AreEqual (exp, v, "#127");
3010         }
3011
3012
3013         [Test]
3014         public void RepeatInfo_3cols_9itms_horiz_tbl_ftr_sep ()
3015         {
3016                 // cols              : 3
3017                 // cnt               : 9
3018                 // RepeatDirection   : Horizontal
3019                 // RepeatLayout      : Table
3020                 // OuterTableImplied : False
3021                 // Header            : False
3022                 // Footer            : True
3023                 // Separator         : True
3024
3025
3026                 string v = RepeatInfoUser.DoTest (3, 9, RepeatDirection.Horizontal, RepeatLayout.Table, false, false, true, true);
3027                 string exp = @"<table>
3028         <tr>
3029                 <td class=""Item0"">(0,Item,0)</td><td class=""Separator0"">(1,Separator,0)</td><td class=""Item1"">(2,Item,1)</td><td class=""Separator1"">(3,Separator,1)</td><td class=""Item2"">(4,Item,2)</td><td class=""Separator2"">(5,Separator,2)</td>
3030         </tr><tr>
3031                 <td class=""Item3"">(6,Item,3)</td><td class=""Separator3"">(7,Separator,3)</td><td class=""Item4"">(8,Item,4)</td><td class=""Separator4"">(9,Separator,4)</td><td class=""Item5"">(10,Item,5)</td><td class=""Separator5"">(11,Separator,5)</td>
3032         </tr><tr>
3033                 <td class=""Item6"">(12,Item,6)</td><td class=""Separator6"">(13,Separator,6)</td><td class=""Item7"">(14,Item,7)</td><td class=""Separator7"">(15,Separator,7)</td><td class=""Item8"">(16,Item,8)</td><td></td>
3034         </tr><tr>
3035                 <td colspan=""6"" class=""Footer-1"">(17,Footer,-1)</td>
3036         </tr>
3037 </table>";
3038                 Assert.AreEqual (exp, v, "#128");
3039         }
3040
3041
3042         [Test]
3043         public void RepeatInfo_3cols_7itms_horiz_tbl_ftr_sep ()
3044         {
3045                 // cols              : 3
3046                 // cnt               : 7
3047                 // RepeatDirection   : Horizontal
3048                 // RepeatLayout      : Table
3049                 // OuterTableImplied : False
3050                 // Header            : False
3051                 // Footer            : True
3052                 // Separator         : True
3053
3054
3055                 string v = RepeatInfoUser.DoTest (3, 7, RepeatDirection.Horizontal, RepeatLayout.Table, false, false, true, true);
3056                 string exp = @"<table>
3057         <tr>
3058                 <td class=""Item0"">(0,Item,0)</td><td class=""Separator0"">(1,Separator,0)</td><td class=""Item1"">(2,Item,1)</td><td class=""Separator1"">(3,Separator,1)</td><td class=""Item2"">(4,Item,2)</td><td class=""Separator2"">(5,Separator,2)</td>
3059         </tr><tr>
3060                 <td class=""Item3"">(6,Item,3)</td><td class=""Separator3"">(7,Separator,3)</td><td class=""Item4"">(8,Item,4)</td><td class=""Separator4"">(9,Separator,4)</td><td class=""Item5"">(10,Item,5)</td><td class=""Separator5"">(11,Separator,5)</td>
3061         </tr><tr>
3062                 <td class=""Item6"">(12,Item,6)</td><td></td><td></td><td></td><td></td><td></td>
3063         </tr><tr>
3064                 <td colspan=""6"" class=""Footer-1"">(13,Footer,-1)</td>
3065         </tr>
3066 </table>";
3067                 Assert.AreEqual (exp, v, "#129");
3068         }
3069
3070
3071         [Test]
3072         public void RepeatInfo_0cols_0itms_vert_tbl_ftr_sep ()
3073         {
3074                 // cols              : 0
3075                 // cnt               : 0
3076                 // RepeatDirection   : Vertical
3077                 // RepeatLayout      : Table
3078                 // OuterTableImplied : False
3079                 // Header            : False
3080                 // Footer            : True
3081                 // Separator         : True
3082
3083
3084                 string v = RepeatInfoUser.DoTest (0, 0, RepeatDirection.Vertical, RepeatLayout.Table, false, false, true, true);
3085                 string exp = @"<table class=""mainstyle"">
3086         <tr>
3087                 <td class=""Footer-1"">(0,Footer,-1)</td>
3088         </tr>
3089 </table>";
3090                 Assert.AreEqual (exp, v, "#130");
3091         }
3092
3093
3094         [Test]
3095         public void RepeatInfo_0cols_1itms_vert_tbl_ftr_sep ()
3096         {
3097                 // cols              : 0
3098                 // cnt               : 1
3099                 // RepeatDirection   : Vertical
3100                 // RepeatLayout      : Table
3101                 // OuterTableImplied : False
3102                 // Header            : False
3103                 // Footer            : True
3104                 // Separator         : True
3105
3106
3107                 string v = RepeatInfoUser.DoTest (0, 1, RepeatDirection.Vertical, RepeatLayout.Table, false, false, true, true);
3108                 string exp = @"<table class=""mainstyle"">
3109         <tr>
3110                 <td class=""Item0"">(0,Item,0)</td>
3111         </tr><tr>
3112                 <td class=""Footer-1"">(1,Footer,-1)</td>
3113         </tr>
3114 </table>";
3115                 Assert.AreEqual (exp, v, "#131");
3116         }
3117
3118
3119         [Test]
3120         public void RepeatInfo_0cols_2itms_vert_tbl_ftr_sep ()
3121         {
3122                 // cols              : 0
3123                 // cnt               : 2
3124                 // RepeatDirection   : Vertical
3125                 // RepeatLayout      : Table
3126                 // OuterTableImplied : False
3127                 // Header            : False
3128                 // Footer            : True
3129                 // Separator         : True
3130
3131
3132                 string v = RepeatInfoUser.DoTest (0, 2, RepeatDirection.Vertical, RepeatLayout.Table, false, false, true, true);
3133                 string exp = @"<table class=""mainstyle"">
3134         <tr>
3135                 <td class=""Item0"">(0,Item,0)</td>
3136         </tr><tr>
3137                 <td class=""Separator0"">(1,Separator,0)</td>
3138         </tr><tr>
3139                 <td class=""Item1"">(2,Item,1)</td>
3140         </tr><tr>
3141                 <td class=""Footer-1"">(3,Footer,-1)</td>
3142         </tr>
3143 </table>";
3144                 Assert.AreEqual (exp, v, "#132");
3145         }
3146
3147
3148         [Test]
3149         public void RepeatInfo_0cols_5itms_vert_tbl_ftr_sep ()
3150         {
3151                 // cols              : 0
3152                 // cnt               : 5
3153                 // RepeatDirection   : Vertical
3154                 // RepeatLayout      : Table
3155                 // OuterTableImplied : False
3156                 // Header            : False
3157                 // Footer            : True
3158                 // Separator         : True
3159
3160
3161                 string v = RepeatInfoUser.DoTest (0, 5, RepeatDirection.Vertical, RepeatLayout.Table, false, false, true, true);
3162                 string exp = @"<table class=""mainstyle"">
3163         <tr>
3164                 <td class=""Item0"">(0,Item,0)</td>
3165         </tr><tr>
3166                 <td class=""Separator0"">(1,Separator,0)</td>
3167         </tr><tr>
3168                 <td class=""Item1"">(2,Item,1)</td>
3169         </tr><tr>
3170                 <td class=""Separator1"">(3,Separator,1)</td>
3171         </tr><tr>
3172                 <td class=""Item2"">(4,Item,2)</td>
3173         </tr><tr>
3174                 <td class=""Separator2"">(5,Separator,2)</td>
3175         </tr><tr>
3176                 <td class=""Item3"">(6,Item,3)</td>
3177         </tr><tr>
3178                 <td class=""Separator3"">(7,Separator,3)</td>
3179         </tr><tr>
3180                 <td class=""Item4"">(8,Item,4)</td>
3181         </tr><tr>
3182                 <td class=""Footer-1"">(9,Footer,-1)</td>
3183         </tr>
3184 </table>";
3185                 Assert.AreEqual (exp, v, "#133");
3186         }
3187
3188
3189         [Test]
3190         public void RepeatInfo_1cols_0itms_vert_tbl_ftr_sep ()
3191         {
3192                 // cols              : 1
3193                 // cnt               : 0
3194                 // RepeatDirection   : Vertical
3195                 // RepeatLayout      : Table
3196                 // OuterTableImplied : False
3197                 // Header            : False
3198                 // Footer            : True
3199                 // Separator         : True
3200
3201
3202                 string v = RepeatInfoUser.DoTest (1, 0, RepeatDirection.Vertical, RepeatLayout.Table, false, false, true, true);
3203                 string exp = @"<table class=""mainstyle"">
3204         <tr>
3205                 <td class=""Footer-1"">(0,Footer,-1)</td>
3206         </tr>
3207 </table>";
3208                 Assert.AreEqual (exp, v, "#134");
3209         }
3210
3211
3212         [Test]
3213         public void RepeatInfo_1cols_5itms_vert_tbl_ftr_sep ()
3214         {
3215                 // cols              : 1
3216                 // cnt               : 5
3217                 // RepeatDirection   : Vertical
3218                 // RepeatLayout      : Table
3219                 // OuterTableImplied : False
3220                 // Header            : False
3221                 // Footer            : True
3222                 // Separator         : True
3223
3224
3225                 string v = RepeatInfoUser.DoTest (1, 5, RepeatDirection.Vertical, RepeatLayout.Table, false, false, true, true);
3226                 string exp = @"<table class=""mainstyle"">
3227         <tr>
3228                 <td class=""Item0"">(0,Item,0)</td>
3229         </tr><tr>
3230                 <td class=""Separator0"">(1,Separator,0)</td>
3231         </tr><tr>
3232                 <td class=""Item1"">(2,Item,1)</td>
3233         </tr><tr>
3234                 <td class=""Separator1"">(3,Separator,1)</td>
3235         </tr><tr>
3236                 <td class=""Item2"">(4,Item,2)</td>
3237         </tr><tr>
3238                 <td class=""Separator2"">(5,Separator,2)</td>
3239         </tr><tr>
3240                 <td class=""Item3"">(6,Item,3)</td>
3241         </tr><tr>
3242                 <td class=""Separator3"">(7,Separator,3)</td>
3243         </tr><tr>
3244                 <td class=""Item4"">(8,Item,4)</td>
3245         </tr><tr>
3246                 <td class=""Footer-1"">(9,Footer,-1)</td>
3247         </tr>
3248 </table>";
3249                 Assert.AreEqual (exp, v, "#135");
3250         }
3251
3252
3253         [Test]
3254         public void RepeatInfo_2cols_4itms_vert_tbl_ftr_sep ()
3255         {
3256                 // cols              : 2
3257                 // cnt               : 4
3258                 // RepeatDirection   : Vertical
3259                 // RepeatLayout      : Table
3260                 // OuterTableImplied : False
3261                 // Header            : False
3262                 // Footer            : True
3263                 // Separator         : True
3264
3265
3266                 string v = RepeatInfoUser.DoTest (2, 4, RepeatDirection.Vertical, RepeatLayout.Table, false, false, true, true);
3267                 string exp = @"<table class=""mainstyle"">
3268         <tr>
3269                 <td class=""Item0"">(0,Item,0)</td><td class=""Separator0"">(1,Separator,0)</td><td class=""Item2"">(2,Item,2)</td><td class=""Separator2"">(3,Separator,2)</td>
3270         </tr><tr>
3271                 <td class=""Item1"">(4,Item,1)</td><td class=""Separator1"">(5,Separator,1)</td><td class=""Item3"">(6,Item,3)</td><td></td>
3272         </tr><tr>
3273                 <td colspan=""4"" class=""Footer-1"">(7,Footer,-1)</td>
3274         </tr>
3275 </table>";
3276                 Assert.AreEqual (exp, v, "#136");
3277         }
3278
3279
3280         [Test]
3281         public void RepeatInfo_2cols_7itms_vert_tbl_ftr_sep ()
3282         {
3283                 // cols              : 2
3284                 // cnt               : 7
3285                 // RepeatDirection   : Vertical
3286                 // RepeatLayout      : Table
3287                 // OuterTableImplied : False
3288                 // Header            : False
3289                 // Footer            : True
3290                 // Separator         : True
3291
3292
3293                 string v = RepeatInfoUser.DoTest (2, 7, RepeatDirection.Vertical, RepeatLayout.Table, false, false, true, true);
3294                 string exp = @"<table class=""mainstyle"">
3295         <tr>
3296                 <td class=""Item0"">(0,Item,0)</td><td class=""Separator0"">(1,Separator,0)</td><td class=""Item4"">(2,Item,4)</td><td class=""Separator4"">(3,Separator,4)</td>
3297         </tr><tr>
3298                 <td class=""Item1"">(4,Item,1)</td><td class=""Separator1"">(5,Separator,1)</td><td class=""Item5"">(6,Item,5)</td><td class=""Separator5"">(7,Separator,5)</td>
3299         </tr><tr>
3300                 <td class=""Item2"">(8,Item,2)</td><td class=""Separator2"">(9,Separator,2)</td><td class=""Item6"">(10,Item,6)</td><td></td>
3301         </tr><tr>
3302                 <td class=""Item3"">(11,Item,3)</td><td class=""Separator3"">(12,Separator,3)</td><td></td><td></td>
3303         </tr><tr>
3304                 <td colspan=""4"" class=""Footer-1"">(13,Footer,-1)</td>
3305         </tr>
3306 </table>";
3307                 Assert.AreEqual (exp, v, "#137");
3308         }
3309
3310
3311         [Test]
3312         public void RepeatInfo_3cols_9itms_vert_tbl_ftr_sep ()
3313         {
3314                 // cols              : 3
3315                 // cnt               : 9
3316                 // RepeatDirection   : Vertical
3317                 // RepeatLayout      : Table
3318                 // OuterTableImplied : False
3319                 // Header            : False
3320                 // Footer            : True
3321                 // Separator         : True
3322
3323
3324                 string v = RepeatInfoUser.DoTest (3, 9, RepeatDirection.Vertical, RepeatLayout.Table, false, false, true, true);
3325                 string exp = @"<table>
3326         <tr>
3327                 <td class=""Item0"">(0,Item,0)</td><td class=""Separator0"">(1,Separator,0)</td><td class=""Item3"">(2,Item,3)</td><td class=""Separator3"">(3,Separator,3)</td><td class=""Item6"">(4,Item,6)</td><td class=""Separator6"">(5,Separator,6)</td>
3328         </tr><tr>
3329                 <td class=""Item1"">(6,Item,1)</td><td class=""Separator1"">(7,Separator,1)</td><td class=""Item4"">(8,Item,4)</td><td class=""Separator4"">(9,Separator,4)</td><td class=""Item7"">(10,Item,7)</td><td class=""Separator7"">(11,Separator,7)</td>
3330         </tr><tr>
3331                 <td class=""Item2"">(12,Item,2)</td><td class=""Separator2"">(13,Separator,2)</td><td class=""Item5"">(14,Item,5)</td><td class=""Separator5"">(15,Separator,5)</td><td class=""Item8"">(16,Item,8)</td><td></td>
3332         </tr><tr>
3333                 <td colspan=""6"" class=""Footer-1"">(17,Footer,-1)</td>
3334         </tr>
3335 </table>";
3336                 Assert.AreEqual (exp, v, "#138");
3337         }
3338
3339
3340         [Test]
3341         public void RepeatInfo_3cols_7itms_vert_tbl_ftr_sep ()
3342         {
3343                 // cols              : 3
3344                 // cnt               : 7
3345                 // RepeatDirection   : Vertical
3346                 // RepeatLayout      : Table
3347                 // OuterTableImplied : False
3348                 // Header            : False
3349                 // Footer            : True
3350                 // Separator         : True
3351
3352
3353                 string v = RepeatInfoUser.DoTest (3, 7, RepeatDirection.Vertical, RepeatLayout.Table, false, false, true, true);
3354                 string exp = @"<table>
3355         <tr>
3356                 <td class=""Item0"">(0,Item,0)</td><td class=""Separator0"">(1,Separator,0)</td><td class=""Item3"">(2,Item,3)</td><td class=""Separator3"">(3,Separator,3)</td><td class=""Item5"">(4,Item,5)</td><td class=""Separator5"">(5,Separator,5)</td>
3357         </tr><tr>
3358                 <td class=""Item1"">(6,Item,1)</td><td class=""Separator1"">(7,Separator,1)</td><td class=""Item4"">(8,Item,4)</td><td class=""Separator4"">(9,Separator,4)</td><td class=""Item6"">(10,Item,6)</td><td></td>
3359         </tr><tr>
3360                 <td class=""Item2"">(11,Item,2)</td><td class=""Separator2"">(12,Separator,2)</td><td></td><td></td><td></td><td></td>
3361         </tr><tr>
3362                 <td colspan=""6"" class=""Footer-1"">(13,Footer,-1)</td>
3363         </tr>
3364 </table>";
3365                 Assert.AreEqual (exp, v, "#139");
3366         }
3367
3368
3369         [Test]
3370         public void RepeatInfo_0cols_0itms_horiz_flow_ftr_sep ()
3371         {
3372                 // cols              : 0
3373                 // cnt               : 0
3374                 // RepeatDirection   : Horizontal
3375                 // RepeatLayout      : Flow
3376                 // OuterTableImplied : False
3377                 // Header            : False
3378                 // Footer            : True
3379                 // Separator         : True
3380
3381
3382                 string v = RepeatInfoUser.DoTest (0, 0, RepeatDirection.Horizontal, RepeatLayout.Flow, false, false, true, true);
3383                 string exp = @"<span class=""mainstyle"">(0,Footer,-1)</span>";
3384                 Assert.AreEqual (exp, v, "#140");
3385         }
3386
3387
3388         [Test]
3389         public void RepeatInfo_0cols_1itms_horiz_flow_ftr_sep ()
3390         {
3391                 // cols              : 0
3392                 // cnt               : 1
3393                 // RepeatDirection   : Horizontal
3394                 // RepeatLayout      : Flow
3395                 // OuterTableImplied : False
3396                 // Header            : False
3397                 // Footer            : True
3398                 // Separator         : True
3399
3400
3401                 string v = RepeatInfoUser.DoTest (0, 1, RepeatDirection.Horizontal, RepeatLayout.Flow, false, false, true, true);
3402                 string exp = @"<span class=""mainstyle"">(0,Item,0)(1,Footer,-1)</span>";
3403                 Assert.AreEqual (exp, v, "#141");
3404         }
3405
3406
3407         [Test]
3408         public void RepeatInfo_0cols_2itms_horiz_flow_ftr_sep ()
3409         {
3410                 // cols              : 0
3411                 // cnt               : 2
3412                 // RepeatDirection   : Horizontal
3413                 // RepeatLayout      : Flow
3414                 // OuterTableImplied : False
3415                 // Header            : False
3416                 // Footer            : True
3417                 // Separator         : True
3418
3419
3420                 string v = RepeatInfoUser.DoTest (0, 2, RepeatDirection.Horizontal, RepeatLayout.Flow, false, false, true, true);
3421                 string exp = @"<span class=""mainstyle"">(0,Item,0)(1,Separator,0)(2,Item,1)(3,Footer,-1)</span>";
3422                 Assert.AreEqual (exp, v, "#142");
3423         }
3424
3425
3426         [Test]
3427         public void RepeatInfo_0cols_5itms_horiz_flow_ftr_sep ()
3428         {
3429                 // cols              : 0
3430                 // cnt               : 5
3431                 // RepeatDirection   : Horizontal
3432                 // RepeatLayout      : Flow
3433                 // OuterTableImplied : False
3434                 // Header            : False
3435                 // Footer            : True
3436                 // Separator         : True
3437
3438
3439                 string v = RepeatInfoUser.DoTest (0, 5, RepeatDirection.Horizontal, RepeatLayout.Flow, false, false, true, true);
3440                 string exp = @"<span class=""mainstyle"">(0,Item,0)(1,Separator,0)(2,Item,1)(3,Separator,1)(4,Item,2)(5,Separator,2)(6,Item,3)(7,Separator,3)(8,Item,4)(9,Footer,-1)</span>";
3441                 Assert.AreEqual (exp, v, "#143");
3442         }
3443
3444
3445         [Test]
3446         public void RepeatInfo_1cols_0itms_horiz_flow_ftr_sep ()
3447         {
3448                 // cols              : 1
3449                 // cnt               : 0
3450                 // RepeatDirection   : Horizontal
3451                 // RepeatLayout      : Flow
3452                 // OuterTableImplied : False
3453                 // Header            : False
3454                 // Footer            : True
3455                 // Separator         : True
3456
3457
3458                 string v = RepeatInfoUser.DoTest (1, 0, RepeatDirection.Horizontal, RepeatLayout.Flow, false, false, true, true);
3459                 string exp = @"<span class=""mainstyle"">(0,Footer,-1)</span>";
3460                 Assert.AreEqual (exp, v, "#144");
3461         }
3462
3463
3464         [Test]
3465         public void RepeatInfo_1cols_5itms_horiz_flow_ftr_sep ()
3466         {
3467                 // cols              : 1
3468                 // cnt               : 5
3469                 // RepeatDirection   : Horizontal
3470                 // RepeatLayout      : Flow
3471                 // OuterTableImplied : False
3472                 // Header            : False
3473                 // Footer            : True
3474                 // Separator         : True
3475
3476
3477                 string v = RepeatInfoUser.DoTest (1, 5, RepeatDirection.Horizontal, RepeatLayout.Flow, false, false, true, true);
3478                 string exp = @"<span class=""mainstyle"">(0,Item,0)(1,Separator,0)<br />(2,Item,1)(3,Separator,1)<br />(4,Item,2)(5,Separator,2)<br />(6,Item,3)(7,Separator,3)<br />(8,Item,4)<br />(9,Footer,-1)</span>";
3479                 Assert.AreEqual (exp, v, "#145");
3480         }
3481
3482
3483         [Test]
3484         public void RepeatInfo_2cols_4itms_horiz_flow_ftr_sep ()
3485         {
3486                 // cols              : 2
3487                 // cnt               : 4
3488                 // RepeatDirection   : Horizontal
3489                 // RepeatLayout      : Flow
3490                 // OuterTableImplied : False
3491                 // Header            : False
3492                 // Footer            : True
3493                 // Separator         : True
3494
3495
3496                 string v = RepeatInfoUser.DoTest (2, 4, RepeatDirection.Horizontal, RepeatLayout.Flow, false, false, true, true);
3497                 string exp = @"<span class=""mainstyle"">(0,Item,0)(1,Separator,0)(2,Item,1)(3,Separator,1)<br />(4,Item,2)(5,Separator,2)(6,Item,3)<br />(7,Footer,-1)</span>";
3498                 Assert.AreEqual (exp, v, "#146");
3499         }
3500
3501
3502         [Test]
3503         public void RepeatInfo_2cols_7itms_horiz_flow_ftr_sep ()
3504         {
3505                 // cols              : 2
3506                 // cnt               : 7
3507                 // RepeatDirection   : Horizontal
3508                 // RepeatLayout      : Flow
3509                 // OuterTableImplied : False
3510                 // Header            : False
3511                 // Footer            : True
3512                 // Separator         : True
3513
3514
3515                 string v = RepeatInfoUser.DoTest (2, 7, RepeatDirection.Horizontal, RepeatLayout.Flow, false, false, true, true);
3516                 string exp = @"<span class=""mainstyle"">(0,Item,0)(1,Separator,0)(2,Item,1)(3,Separator,1)<br />(4,Item,2)(5,Separator,2)(6,Item,3)(7,Separator,3)<br />(8,Item,4)(9,Separator,4)(10,Item,5)(11,Separator,5)<br />(12,Item,6)<br />(13,Footer,-1)</span>";
3517                 Assert.AreEqual (exp, v, "#147");
3518         }
3519
3520
3521         [Test]
3522         public void RepeatInfo_3cols_9itms_horiz_flow_ftr_sep ()
3523         {
3524                 // cols              : 3
3525                 // cnt               : 9
3526                 // RepeatDirection   : Horizontal
3527                 // RepeatLayout      : Flow
3528                 // OuterTableImplied : False
3529                 // Header            : False
3530                 // Footer            : True
3531                 // Separator         : True
3532
3533
3534                 string v = RepeatInfoUser.DoTest (3, 9, RepeatDirection.Horizontal, RepeatLayout.Flow, false, false, true, true);
3535                 string exp = @"<span>(0,Item,0)(1,Separator,0)(2,Item,1)(3,Separator,1)(4,Item,2)(5,Separator,2)<br />(6,Item,3)(7,Separator,3)(8,Item,4)(9,Separator,4)(10,Item,5)(11,Separator,5)<br />(12,Item,6)(13,Separator,6)(14,Item,7)(15,Separator,7)(16,Item,8)<br />(17,Footer,-1)</span>";
3536                 Assert.AreEqual (exp, v, "#148");
3537         }
3538
3539
3540         [Test]
3541         public void RepeatInfo_3cols_7itms_horiz_flow_ftr_sep ()
3542         {
3543                 // cols              : 3
3544                 // cnt               : 7
3545                 // RepeatDirection   : Horizontal
3546                 // RepeatLayout      : Flow
3547                 // OuterTableImplied : False
3548                 // Header            : False
3549                 // Footer            : True
3550                 // Separator         : True
3551
3552
3553                 string v = RepeatInfoUser.DoTest (3, 7, RepeatDirection.Horizontal, RepeatLayout.Flow, false, false, true, true);
3554                 string exp = @"<span>(0,Item,0)(1,Separator,0)(2,Item,1)(3,Separator,1)(4,Item,2)(5,Separator,2)<br />(6,Item,3)(7,Separator,3)(8,Item,4)(9,Separator,4)(10,Item,5)(11,Separator,5)<br />(12,Item,6)<br />(13,Footer,-1)</span>";
3555                 Assert.AreEqual (exp, v, "#149");
3556         }
3557
3558
3559         [Test]
3560         public void RepeatInfo_0cols_0itms_vert_flow_ftr_sep ()
3561         {
3562                 // cols              : 0
3563                 // cnt               : 0
3564                 // RepeatDirection   : Vertical
3565                 // RepeatLayout      : Flow
3566                 // OuterTableImplied : False
3567                 // Header            : False
3568                 // Footer            : True
3569                 // Separator         : True
3570
3571
3572                 string v = RepeatInfoUser.DoTest (0, 0, RepeatDirection.Vertical, RepeatLayout.Flow, false, false, true, true);
3573                 string exp = @"<span class=""mainstyle"">(0,Footer,-1)</span>";
3574                 Assert.AreEqual (exp, v, "#150");
3575         }
3576
3577
3578         [Test]
3579         public void RepeatInfo_0cols_1itms_vert_flow_ftr_sep ()
3580         {
3581                 // cols              : 0
3582                 // cnt               : 1
3583                 // RepeatDirection   : Vertical
3584                 // RepeatLayout      : Flow
3585                 // OuterTableImplied : False
3586                 // Header            : False
3587                 // Footer            : True
3588                 // Separator         : True
3589
3590
3591                 string v = RepeatInfoUser.DoTest (0, 1, RepeatDirection.Vertical, RepeatLayout.Flow, false, false, true, true);
3592                 string exp = @"<span class=""mainstyle"">(0,Item,0)<br />(1,Footer,-1)</span>";
3593                 Assert.AreEqual (exp, v, "#151");
3594         }
3595
3596
3597         [Test]
3598         public void RepeatInfo_0cols_2itms_vert_flow_ftr_sep ()
3599         {
3600                 // cols              : 0
3601                 // cnt               : 2
3602                 // RepeatDirection   : Vertical
3603                 // RepeatLayout      : Flow
3604                 // OuterTableImplied : False
3605                 // Header            : False
3606                 // Footer            : True
3607                 // Separator         : True
3608
3609
3610                 string v = RepeatInfoUser.DoTest (0, 2, RepeatDirection.Vertical, RepeatLayout.Flow, false, false, true, true);
3611                 string exp = @"<span class=""mainstyle"">(0,Item,0)<br />(1,Separator,0)<br />(2,Item,1)<br />(3,Footer,-1)</span>";
3612                 Assert.AreEqual (exp, v, "#152");
3613         }
3614
3615
3616         [Test]
3617         public void RepeatInfo_0cols_5itms_vert_flow_ftr_sep ()
3618         {
3619                 // cols              : 0
3620                 // cnt               : 5
3621                 // RepeatDirection   : Vertical
3622                 // RepeatLayout      : Flow
3623                 // OuterTableImplied : False
3624                 // Header            : False
3625                 // Footer            : True
3626                 // Separator         : True
3627
3628
3629                 string v = RepeatInfoUser.DoTest (0, 5, RepeatDirection.Vertical, RepeatLayout.Flow, false, false, true, true);
3630                 string exp = @"<span class=""mainstyle"">(0,Item,0)<br />(1,Separator,0)<br />(2,Item,1)<br />(3,Separator,1)<br />(4,Item,2)<br />(5,Separator,2)<br />(6,Item,3)<br />(7,Separator,3)<br />(8,Item,4)<br />(9,Footer,-1)</span>";
3631                 Assert.AreEqual (exp, v, "#153");
3632         }
3633
3634
3635         [Test]
3636         public void RepeatInfo_1cols_0itms_vert_flow_ftr_sep ()
3637         {
3638                 // cols              : 1
3639                 // cnt               : 0
3640                 // RepeatDirection   : Vertical
3641                 // RepeatLayout      : Flow
3642                 // OuterTableImplied : False
3643                 // Header            : False
3644                 // Footer            : True
3645                 // Separator         : True
3646
3647
3648                 string v = RepeatInfoUser.DoTest (1, 0, RepeatDirection.Vertical, RepeatLayout.Flow, false, false, true, true);
3649                 string exp = @"<span class=""mainstyle"">(0,Footer,-1)</span>";
3650                 Assert.AreEqual (exp, v, "#154");
3651         }
3652
3653
3654         [Test]
3655         public void RepeatInfo_1cols_5itms_vert_flow_ftr_sep ()
3656         {
3657                 // cols              : 1
3658                 // cnt               : 5
3659                 // RepeatDirection   : Vertical
3660                 // RepeatLayout      : Flow
3661                 // OuterTableImplied : False
3662                 // Header            : False
3663                 // Footer            : True
3664                 // Separator         : True
3665
3666
3667                 string v = RepeatInfoUser.DoTest (1, 5, RepeatDirection.Vertical, RepeatLayout.Flow, false, false, true, true);
3668                 string exp = @"<span class=""mainstyle"">(0,Item,0)<br />(1,Separator,0)<br />(2,Item,1)<br />(3,Separator,1)<br />(4,Item,2)<br />(5,Separator,2)<br />(6,Item,3)<br />(7,Separator,3)<br />(8,Item,4)<br />(9,Footer,-1)</span>";
3669                 Assert.AreEqual (exp, v, "#155");
3670         }
3671
3672
3673         [Test]
3674         public void RepeatInfo_2cols_4itms_vert_flow_ftr_sep ()
3675         {
3676                 // cols              : 2
3677                 // cnt               : 4
3678                 // RepeatDirection   : Vertical
3679                 // RepeatLayout      : Flow
3680                 // OuterTableImplied : False
3681                 // Header            : False
3682                 // Footer            : True
3683                 // Separator         : True
3684
3685
3686                 string v = RepeatInfoUser.DoTest (2, 4, RepeatDirection.Vertical, RepeatLayout.Flow, false, false, true, true);
3687                 string exp = @"<span class=""mainstyle"">(0,Item,0)(1,Separator,0)(2,Item,2)(3,Separator,2)<br />(4,Item,1)(5,Separator,1)(6,Item,3)<br />(7,Footer,-1)</span>";
3688                 Assert.AreEqual (exp, v, "#156");
3689         }
3690
3691
3692         [Test]
3693         public void RepeatInfo_2cols_7itms_vert_flow_ftr_sep ()
3694         {
3695                 // cols              : 2
3696                 // cnt               : 7
3697                 // RepeatDirection   : Vertical
3698                 // RepeatLayout      : Flow
3699                 // OuterTableImplied : False
3700                 // Header            : False
3701                 // Footer            : True
3702                 // Separator         : True
3703
3704
3705                 string v = RepeatInfoUser.DoTest (2, 7, RepeatDirection.Vertical, RepeatLayout.Flow, false, false, true, true);
3706                 string exp = @"<span class=""mainstyle"">(0,Item,0)(1,Separator,0)(2,Item,4)(3,Separator,4)<br />(4,Item,1)(5,Separator,1)(6,Item,5)(7,Separator,5)<br />(8,Item,2)(9,Separator,2)(10,Item,6)<br />(11,Item,3)(12,Separator,3)<br />(13,Footer,-1)</span>";
3707                 Assert.AreEqual (exp, v, "#157");
3708         }
3709
3710
3711         [Test]
3712         public void RepeatInfo_3cols_9itms_vert_flow_ftr_sep ()
3713         {
3714                 // cols              : 3
3715                 // cnt               : 9
3716                 // RepeatDirection   : Vertical
3717                 // RepeatLayout      : Flow
3718                 // OuterTableImplied : False
3719                 // Header            : False
3720                 // Footer            : True
3721                 // Separator         : True
3722
3723
3724                 string v = RepeatInfoUser.DoTest (3, 9, RepeatDirection.Vertical, RepeatLayout.Flow, false, false, true, true);
3725                 string exp = @"<span>(0,Item,0)(1,Separator,0)(2,Item,3)(3,Separator,3)(4,Item,6)(5,Separator,6)<br />(6,Item,1)(7,Separator,1)(8,Item,4)(9,Separator,4)(10,Item,7)(11,Separator,7)<br />(12,Item,2)(13,Separator,2)(14,Item,5)(15,Separator,5)(16,Item,8)<br />(17,Footer,-1)</span>";
3726                 Assert.AreEqual (exp, v, "#158");
3727         }
3728
3729
3730         [Test]
3731         public void RepeatInfo_3cols_7itms_vert_flow_ftr_sep ()
3732         {
3733                 // cols              : 3
3734                 // cnt               : 7
3735                 // RepeatDirection   : Vertical
3736                 // RepeatLayout      : Flow
3737                 // OuterTableImplied : False
3738                 // Header            : False
3739                 // Footer            : True
3740                 // Separator         : True
3741
3742
3743                 string v = RepeatInfoUser.DoTest (3, 7, RepeatDirection.Vertical, RepeatLayout.Flow, false, false, true, true);
3744                 string exp = @"<span>(0,Item,0)(1,Separator,0)(2,Item,3)(3,Separator,3)(4,Item,5)(5,Separator,5)<br />(6,Item,1)(7,Separator,1)(8,Item,4)(9,Separator,4)(10,Item,6)<br />(11,Item,2)(12,Separator,2)<br />(13,Footer,-1)</span>";
3745                 Assert.AreEqual (exp, v, "#159");
3746         }
3747
3748
3749         [Test]
3750         public void RepeatInfo_0cols_0itms_horiz_tbl_otrtblimp_hdr_sep ()
3751         {
3752                 // cols              : 0
3753                 // cnt               : 0
3754                 // RepeatDirection   : Horizontal
3755                 // RepeatLayout      : Table
3756                 // OuterTableImplied : True
3757                 // Header            : True
3758                 // Footer            : False
3759                 // Separator         : True
3760
3761
3762                 string v = RepeatInfoUser.DoTest (0, 0, RepeatDirection.Horizontal, RepeatLayout.Table, true, true, false, true);
3763                 string exp = @"<table class=""mainstyle"">
3764         <tr>
3765                 <td colspan=""0"" class=""Header-1"">(0,Header,-1)</td>
3766         </tr>
3767 </table>";
3768                 Assert.AreEqual (exp, v, "#160");
3769         }
3770
3771
3772         [Test]
3773         public void RepeatInfo_0cols_1itms_horiz_tbl_otrtblimp_hdr_sep ()
3774         {
3775                 // cols              : 0
3776                 // cnt               : 1
3777                 // RepeatDirection   : Horizontal
3778                 // RepeatLayout      : Table
3779                 // OuterTableImplied : True
3780                 // Header            : True
3781                 // Footer            : False
3782                 // Separator         : True
3783
3784
3785                 string v = RepeatInfoUser.DoTest (0, 1, RepeatDirection.Horizontal, RepeatLayout.Table, true, true, false, true);
3786                 string exp = @"<table class=""mainstyle"">
3787         <tr>
3788                 <td colspan=""2"" class=""Header-1"">(0,Header,-1)</td>
3789         </tr><tr>
3790                 <td class=""Item0"">(1,Item,0)</td><td></td>
3791         </tr>
3792 </table>";
3793                 Assert.AreEqual (exp, v, "#161");
3794         }
3795
3796
3797         [Test]
3798         public void RepeatInfo_0cols_2itms_horiz_tbl_otrtblimp_hdr_sep ()
3799         {
3800                 // cols              : 0
3801                 // cnt               : 2
3802                 // RepeatDirection   : Horizontal
3803                 // RepeatLayout      : Table
3804                 // OuterTableImplied : True
3805                 // Header            : True
3806                 // Footer            : False
3807                 // Separator         : True
3808
3809
3810                 string v = RepeatInfoUser.DoTest (0, 2, RepeatDirection.Horizontal, RepeatLayout.Table, true, true, false, true);
3811                 string exp = @"<table class=""mainstyle"">
3812         <tr>
3813                 <td colspan=""4"" class=""Header-1"">(0,Header,-1)</td>
3814         </tr><tr>
3815                 <td class=""Item0"">(1,Item,0)</td><td class=""Separator0"">(2,Separator,0)</td><td class=""Item1"">(3,Item,1)</td><td></td>
3816         </tr>
3817 </table>";
3818                 Assert.AreEqual (exp, v, "#162");
3819         }
3820
3821
3822         [Test]
3823         public void RepeatInfo_0cols_5itms_horiz_tbl_otrtblimp_hdr_sep ()
3824         {
3825                 // cols              : 0
3826                 // cnt               : 5
3827                 // RepeatDirection   : Horizontal
3828                 // RepeatLayout      : Table
3829                 // OuterTableImplied : True
3830                 // Header            : True
3831                 // Footer            : False
3832                 // Separator         : True
3833
3834
3835                 string v = RepeatInfoUser.DoTest (0, 5, RepeatDirection.Horizontal, RepeatLayout.Table, true, true, false, true);
3836                 string exp = @"<table class=""mainstyle"">
3837         <tr>
3838                 <td colspan=""10"" class=""Header-1"">(0,Header,-1)</td>
3839         </tr><tr>
3840                 <td class=""Item0"">(1,Item,0)</td><td class=""Separator0"">(2,Separator,0)</td><td class=""Item1"">(3,Item,1)</td><td class=""Separator1"">(4,Separator,1)</td><td class=""Item2"">(5,Item,2)</td><td class=""Separator2"">(6,Separator,2)</td><td class=""Item3"">(7,Item,3)</td><td class=""Separator3"">(8,Separator,3)</td><td class=""Item4"">(9,Item,4)</td><td></td>
3841         </tr>
3842 </table>";
3843                 Assert.AreEqual (exp, v, "#163");
3844         }
3845
3846
3847         [Test]
3848         public void RepeatInfo_1cols_0itms_horiz_tbl_otrtblimp_hdr_sep ()
3849         {
3850                 // cols              : 1
3851                 // cnt               : 0
3852                 // RepeatDirection   : Horizontal
3853                 // RepeatLayout      : Table
3854                 // OuterTableImplied : True
3855                 // Header            : True
3856                 // Footer            : False
3857                 // Separator         : True
3858
3859
3860                 string v = RepeatInfoUser.DoTest (1, 0, RepeatDirection.Horizontal, RepeatLayout.Table, true, true, false, true);
3861                 string exp = @"<table class=""mainstyle"">
3862         <tr>
3863                 <td colspan=""2"" class=""Header-1"">(0,Header,-1)</td>
3864         </tr>
3865 </table>";
3866                 Assert.AreEqual (exp, v, "#164");
3867         }
3868
3869
3870         [Test]
3871         public void RepeatInfo_1cols_5itms_horiz_tbl_otrtblimp_hdr_sep ()
3872         {
3873                 // cols              : 1
3874                 // cnt               : 5
3875                 // RepeatDirection   : Horizontal
3876                 // RepeatLayout      : Table
3877                 // OuterTableImplied : True
3878                 // Header            : True
3879                 // Footer            : False
3880                 // Separator         : True
3881
3882
3883                 string v = RepeatInfoUser.DoTest (1, 5, RepeatDirection.Horizontal, RepeatLayout.Table, true, true, false, true);
3884                 string exp = @"<table class=""mainstyle"">
3885         <tr>
3886                 <td colspan=""2"" class=""Header-1"">(0,Header,-1)</td>
3887         </tr><tr>
3888                 <td class=""Item0"">(1,Item,0)</td><td class=""Separator0"">(2,Separator,0)</td>
3889         </tr><tr>
3890                 <td class=""Item1"">(3,Item,1)</td><td class=""Separator1"">(4,Separator,1)</td>
3891         </tr><tr>
3892                 <td class=""Item2"">(5,Item,2)</td><td class=""Separator2"">(6,Separator,2)</td>
3893         </tr><tr>
3894                 <td class=""Item3"">(7,Item,3)</td><td class=""Separator3"">(8,Separator,3)</td>
3895         </tr><tr>
3896                 <td class=""Item4"">(9,Item,4)</td><td></td>
3897         </tr>
3898 </table>";
3899                 Assert.AreEqual (exp, v, "#165");
3900         }
3901
3902
3903         [Test]
3904         public void RepeatInfo_2cols_4itms_horiz_tbl_otrtblimp_hdr_sep ()
3905         {
3906                 // cols              : 2
3907                 // cnt               : 4
3908                 // RepeatDirection   : Horizontal
3909                 // RepeatLayout      : Table
3910                 // OuterTableImplied : True
3911                 // Header            : True
3912                 // Footer            : False
3913                 // Separator         : True
3914
3915
3916                 string v = RepeatInfoUser.DoTest (2, 4, RepeatDirection.Horizontal, RepeatLayout.Table, true, true, false, true);
3917                 string exp = @"<table class=""mainstyle"">
3918         <tr>
3919                 <td colspan=""4"" class=""Header-1"">(0,Header,-1)</td>
3920         </tr><tr>
3921                 <td class=""Item0"">(1,Item,0)</td><td class=""Separator0"">(2,Separator,0)</td><td class=""Item1"">(3,Item,1)</td><td class=""Separator1"">(4,Separator,1)</td>
3922         </tr><tr>
3923                 <td class=""Item2"">(5,Item,2)</td><td class=""Separator2"">(6,Separator,2)</td><td class=""Item3"">(7,Item,3)</td><td></td>
3924         </tr>
3925 </table>";
3926                 Assert.AreEqual (exp, v, "#166");
3927         }
3928
3929
3930         [Test]
3931         public void RepeatInfo_2cols_7itms_horiz_tbl_otrtblimp_hdr_sep ()
3932         {
3933                 // cols              : 2
3934                 // cnt               : 7
3935                 // RepeatDirection   : Horizontal
3936                 // RepeatLayout      : Table
3937                 // OuterTableImplied : True
3938                 // Header            : True
3939                 // Footer            : False
3940                 // Separator         : True
3941
3942
3943                 string v = RepeatInfoUser.DoTest (2, 7, RepeatDirection.Horizontal, RepeatLayout.Table, true, true, false, true);
3944                 string exp = @"<table class=""mainstyle"">
3945         <tr>
3946                 <td colspan=""4"" class=""Header-1"">(0,Header,-1)</td>
3947         </tr><tr>
3948                 <td class=""Item0"">(1,Item,0)</td><td class=""Separator0"">(2,Separator,0)</td><td class=""Item1"">(3,Item,1)</td><td class=""Separator1"">(4,Separator,1)</td>
3949         </tr><tr>
3950                 <td class=""Item2"">(5,Item,2)</td><td class=""Separator2"">(6,Separator,2)</td><td class=""Item3"">(7,Item,3)</td><td class=""Separator3"">(8,Separator,3)</td>
3951         </tr><tr>
3952                 <td class=""Item4"">(9,Item,4)</td><td class=""Separator4"">(10,Separator,4)</td><td class=""Item5"">(11,Item,5)</td><td class=""Separator5"">(12,Separator,5)</td>
3953         </tr><tr>
3954                 <td class=""Item6"">(13,Item,6)</td><td></td><td></td><td></td>
3955         </tr>
3956 </table>";
3957                 Assert.AreEqual (exp, v, "#167");
3958         }
3959
3960
3961         [Test]
3962         public void RepeatInfo_3cols_9itms_horiz_tbl_otrtblimp_hdr_sep ()
3963         {
3964                 // cols              : 3
3965                 // cnt               : 9
3966                 // RepeatDirection   : Horizontal
3967                 // RepeatLayout      : Table
3968                 // OuterTableImplied : True
3969                 // Header            : True
3970                 // Footer            : False
3971                 // Separator         : True
3972
3973
3974                 string v = RepeatInfoUser.DoTest (3, 9, RepeatDirection.Horizontal, RepeatLayout.Table, true, true, false, true);
3975                 string exp = @"<table>
3976         <tr>
3977                 <td colspan=""6"" class=""Header-1"">(0,Header,-1)</td>
3978         </tr><tr>
3979                 <td class=""Item0"">(1,Item,0)</td><td class=""Separator0"">(2,Separator,0)</td><td class=""Item1"">(3,Item,1)</td><td class=""Separator1"">(4,Separator,1)</td><td class=""Item2"">(5,Item,2)</td><td class=""Separator2"">(6,Separator,2)</td>
3980         </tr><tr>
3981                 <td class=""Item3"">(7,Item,3)</td><td class=""Separator3"">(8,Separator,3)</td><td class=""Item4"">(9,Item,4)</td><td class=""Separator4"">(10,Separator,4)</td><td class=""Item5"">(11,Item,5)</td><td class=""Separator5"">(12,Separator,5)</td>
3982         </tr><tr>
3983                 <td class=""Item6"">(13,Item,6)</td><td class=""Separator6"">(14,Separator,6)</td><td class=""Item7"">(15,Item,7)</td><td class=""Separator7"">(16,Separator,7)</td><td class=""Item8"">(17,Item,8)</td><td></td>
3984         </tr>
3985 </table>";
3986                 Assert.AreEqual (exp, v, "#168");
3987         }
3988
3989
3990         [Test]
3991         public void RepeatInfo_3cols_7itms_horiz_tbl_otrtblimp_hdr_sep ()
3992         {
3993                 // cols              : 3
3994                 // cnt               : 7
3995                 // RepeatDirection   : Horizontal
3996                 // RepeatLayout      : Table
3997                 // OuterTableImplied : True
3998                 // Header            : True
3999                 // Footer            : False
4000                 // Separator         : True
4001
4002
4003                 string v = RepeatInfoUser.DoTest (3, 7, RepeatDirection.Horizontal, RepeatLayout.Table, true, true, false, true);
4004                 string exp = @"<table>
4005         <tr>
4006                 <td colspan=""6"" class=""Header-1"">(0,Header,-1)</td>
4007         </tr><tr>
4008                 <td class=""Item0"">(1,Item,0)</td><td class=""Separator0"">(2,Separator,0)</td><td class=""Item1"">(3,Item,1)</td><td class=""Separator1"">(4,Separator,1)</td><td class=""Item2"">(5,Item,2)</td><td class=""Separator2"">(6,Separator,2)</td>
4009         </tr><tr>
4010                 <td class=""Item3"">(7,Item,3)</td><td class=""Separator3"">(8,Separator,3)</td><td class=""Item4"">(9,Item,4)</td><td class=""Separator4"">(10,Separator,4)</td><td class=""Item5"">(11,Item,5)</td><td class=""Separator5"">(12,Separator,5)</td>
4011         </tr><tr>
4012                 <td class=""Item6"">(13,Item,6)</td><td></td><td></td><td></td><td></td><td></td>
4013         </tr>
4014 </table>";
4015                 Assert.AreEqual (exp, v, "#169");
4016         }
4017
4018
4019         [Test]
4020         public void RepeatInfo_0cols_0itms_vert_tbl_otrtblimp_hdr_sep ()
4021         {
4022                 // cols              : 0
4023                 // cnt               : 0
4024                 // RepeatDirection   : Vertical
4025                 // RepeatLayout      : Table
4026                 // OuterTableImplied : True
4027                 // Header            : True
4028                 // Footer            : False
4029                 // Separator         : True
4030
4031
4032                 string v = RepeatInfoUser.DoTest (0, 0, RepeatDirection.Vertical, RepeatLayout.Table, true, true, false, true);
4033                 string exp = @"(0,Header,-1)";
4034                 Assert.AreEqual (exp, v, "#170");
4035         }
4036
4037
4038         [Test]
4039         public void RepeatInfo_0cols_1itms_vert_tbl_otrtblimp_hdr_sep ()
4040         {
4041                 // cols              : 0
4042                 // cnt               : 1
4043                 // RepeatDirection   : Vertical
4044                 // RepeatLayout      : Table
4045                 // OuterTableImplied : True
4046                 // Header            : True
4047                 // Footer            : False
4048                 // Separator         : True
4049
4050
4051                 string v = RepeatInfoUser.DoTest (0, 1, RepeatDirection.Vertical, RepeatLayout.Table, true, true, false, true);
4052                 string exp = @"(0,Header,-1)(1,Item,0)";
4053                 Assert.AreEqual (exp, v, "#171");
4054         }
4055
4056
4057         [Test]
4058         public void RepeatInfo_0cols_2itms_vert_tbl_otrtblimp_hdr_sep ()
4059         {
4060                 // cols              : 0
4061                 // cnt               : 2
4062                 // RepeatDirection   : Vertical
4063                 // RepeatLayout      : Table
4064                 // OuterTableImplied : True
4065                 // Header            : True
4066                 // Footer            : False
4067                 // Separator         : True
4068
4069
4070                 string v = RepeatInfoUser.DoTest (0, 2, RepeatDirection.Vertical, RepeatLayout.Table, true, true, false, true);
4071                 string exp = @"(0,Header,-1)(1,Item,0)(2,Separator,0)(3,Item,1)";
4072                 Assert.AreEqual (exp, v, "#172");
4073         }
4074
4075
4076         [Test]
4077         public void RepeatInfo_0cols_5itms_vert_tbl_otrtblimp_hdr_sep ()
4078         {
4079                 // cols              : 0
4080                 // cnt               : 5
4081                 // RepeatDirection   : Vertical
4082                 // RepeatLayout      : Table
4083                 // OuterTableImplied : True
4084                 // Header            : True
4085                 // Footer            : False
4086                 // Separator         : True
4087
4088
4089                 string v = RepeatInfoUser.DoTest (0, 5, RepeatDirection.Vertical, RepeatLayout.Table, true, true, false, true);
4090                 string exp = @"(0,Header,-1)(1,Item,0)(2,Separator,0)(3,Item,1)(4,Separator,1)(5,Item,2)(6,Separator,2)(7,Item,3)(8,Separator,3)(9,Item,4)";
4091                 Assert.AreEqual (exp, v, "#173");
4092         }
4093
4094
4095         [Test]
4096         public void RepeatInfo_1cols_0itms_vert_tbl_otrtblimp_hdr_sep ()
4097         {
4098                 // cols              : 1
4099                 // cnt               : 0
4100                 // RepeatDirection   : Vertical
4101                 // RepeatLayout      : Table
4102                 // OuterTableImplied : True
4103                 // Header            : True
4104                 // Footer            : False
4105                 // Separator         : True
4106
4107
4108                 string v = RepeatInfoUser.DoTest (1, 0, RepeatDirection.Vertical, RepeatLayout.Table, true, true, false, true);
4109                 string exp = @"(0,Header,-1)";
4110                 Assert.AreEqual (exp, v, "#174");
4111         }
4112
4113
4114         [Test]
4115         public void RepeatInfo_1cols_5itms_vert_tbl_otrtblimp_hdr_sep ()
4116         {
4117                 // cols              : 1
4118                 // cnt               : 5
4119                 // RepeatDirection   : Vertical
4120                 // RepeatLayout      : Table
4121                 // OuterTableImplied : True
4122                 // Header            : True
4123                 // Footer            : False
4124                 // Separator         : True
4125
4126
4127                 string v = RepeatInfoUser.DoTest (1, 5, RepeatDirection.Vertical, RepeatLayout.Table, true, true, false, true);
4128                 string exp = @"(0,Header,-1)(1,Item,0)(2,Separator,0)(3,Item,1)(4,Separator,1)(5,Item,2)(6,Separator,2)(7,Item,3)(8,Separator,3)(9,Item,4)";
4129                 Assert.AreEqual (exp, v, "#175");
4130         }
4131
4132
4133         [Test]
4134         public void RepeatInfo_2cols_4itms_vert_tbl_otrtblimp_hdr_sep ()
4135         {
4136                 // cols              : 2
4137                 // cnt               : 4
4138                 // RepeatDirection   : Vertical
4139                 // RepeatLayout      : Table
4140                 // OuterTableImplied : True
4141                 // Header            : True
4142                 // Footer            : False
4143                 // Separator         : True
4144
4145
4146                 string v = RepeatInfoUser.DoTest (2, 4, RepeatDirection.Vertical, RepeatLayout.Table, true, true, false, true);
4147                 string exp = @"(0,Header,-1)(1,Item,0)(2,Separator,0)(3,Item,2)(4,Separator,2)(5,Item,1)(6,Separator,1)(7,Item,3)";
4148                 Assert.AreEqual (exp, v, "#176");
4149         }
4150
4151
4152         [Test]
4153         public void RepeatInfo_2cols_7itms_vert_tbl_otrtblimp_hdr_sep ()
4154         {
4155                 // cols              : 2
4156                 // cnt               : 7
4157                 // RepeatDirection   : Vertical
4158                 // RepeatLayout      : Table
4159                 // OuterTableImplied : True
4160                 // Header            : True
4161                 // Footer            : False
4162                 // Separator         : True
4163
4164
4165                 string v = RepeatInfoUser.DoTest (2, 7, RepeatDirection.Vertical, RepeatLayout.Table, true, true, false, true);
4166                 string exp = @"(0,Header,-1)(1,Item,0)(2,Separator,0)(3,Item,4)(4,Separator,4)(5,Item,1)(6,Separator,1)(7,Item,5)(8,Separator,5)(9,Item,2)(10,Separator,2)(11,Item,6)(12,Item,3)(13,Separator,3)";
4167                 Assert.AreEqual (exp, v, "#177");
4168         }
4169
4170
4171         [Test]
4172         public void RepeatInfo_3cols_9itms_vert_tbl_otrtblimp_hdr_sep ()
4173         {
4174                 // cols              : 3
4175                 // cnt               : 9
4176                 // RepeatDirection   : Vertical
4177                 // RepeatLayout      : Table
4178                 // OuterTableImplied : True
4179                 // Header            : True
4180                 // Footer            : False
4181                 // Separator         : True
4182
4183
4184                 string v = RepeatInfoUser.DoTest (3, 9, RepeatDirection.Vertical, RepeatLayout.Table, true, true, false, true);
4185                 string exp = @"(0,Header,-1)(1,Item,0)(2,Separator,0)(3,Item,3)(4,Separator,3)(5,Item,6)(6,Separator,6)(7,Item,1)(8,Separator,1)(9,Item,4)(10,Separator,4)(11,Item,7)(12,Separator,7)(13,Item,2)(14,Separator,2)(15,Item,5)(16,Separator,5)(17,Item,8)";
4186                 Assert.AreEqual (exp, v, "#178");
4187         }
4188
4189
4190         [Test]
4191         public void RepeatInfo_3cols_7itms_vert_tbl_otrtblimp_hdr_sep ()
4192         {
4193                 // cols              : 3
4194                 // cnt               : 7
4195                 // RepeatDirection   : Vertical
4196                 // RepeatLayout      : Table
4197                 // OuterTableImplied : True
4198                 // Header            : True
4199                 // Footer            : False
4200                 // Separator         : True
4201
4202
4203                 string v = RepeatInfoUser.DoTest (3, 7, RepeatDirection.Vertical, RepeatLayout.Table, true, true, false, true);
4204                 string exp = @"(0,Header,-1)(1,Item,0)(2,Separator,0)(3,Item,3)(4,Separator,3)(5,Item,5)(6,Separator,5)(7,Item,1)(8,Separator,1)(9,Item,4)(10,Separator,4)(11,Item,6)(12,Item,2)(13,Separator,2)";
4205                 Assert.AreEqual (exp, v, "#179");
4206         }
4207
4208
4209         [Test]
4210         public void RepeatInfo_0cols_0itms_horiz_flow_otrtblimp_hdr_sep ()
4211         {
4212                 // cols              : 0
4213                 // cnt               : 0
4214                 // RepeatDirection   : Horizontal
4215                 // RepeatLayout      : Flow
4216                 // OuterTableImplied : True
4217                 // Header            : True
4218                 // Footer            : False
4219                 // Separator         : True
4220
4221
4222                 string v = RepeatInfoUser.DoTest (0, 0, RepeatDirection.Horizontal, RepeatLayout.Flow, true, true, false, true);
4223                 string exp = @"<span class=""mainstyle"">(0,Header,-1)</span>";
4224                 Assert.AreEqual (exp, v, "#180");
4225         }
4226
4227
4228         [Test]
4229         public void RepeatInfo_0cols_1itms_horiz_flow_otrtblimp_hdr_sep ()
4230         {
4231                 // cols              : 0
4232                 // cnt               : 1
4233                 // RepeatDirection   : Horizontal
4234                 // RepeatLayout      : Flow
4235                 // OuterTableImplied : True
4236                 // Header            : True
4237                 // Footer            : False
4238                 // Separator         : True
4239
4240
4241                 string v = RepeatInfoUser.DoTest (0, 1, RepeatDirection.Horizontal, RepeatLayout.Flow, true, true, false, true);
4242                 string exp = @"<span class=""mainstyle"">(0,Header,-1)(1,Item,0)</span>";
4243                 Assert.AreEqual (exp, v, "#181");
4244         }
4245
4246
4247         [Test]
4248         public void RepeatInfo_0cols_2itms_horiz_flow_otrtblimp_hdr_sep ()
4249         {
4250                 // cols              : 0
4251                 // cnt               : 2
4252                 // RepeatDirection   : Horizontal
4253                 // RepeatLayout      : Flow
4254                 // OuterTableImplied : True
4255                 // Header            : True
4256                 // Footer            : False
4257                 // Separator         : True
4258
4259
4260                 string v = RepeatInfoUser.DoTest (0, 2, RepeatDirection.Horizontal, RepeatLayout.Flow, true, true, false, true);
4261                 string exp = @"<span class=""mainstyle"">(0,Header,-1)(1,Item,0)(2,Separator,0)(3,Item,1)</span>";
4262                 Assert.AreEqual (exp, v, "#182");
4263         }
4264
4265
4266         [Test]
4267         public void RepeatInfo_0cols_5itms_horiz_flow_otrtblimp_hdr_sep ()
4268         {
4269                 // cols              : 0
4270                 // cnt               : 5
4271                 // RepeatDirection   : Horizontal
4272                 // RepeatLayout      : Flow
4273                 // OuterTableImplied : True
4274                 // Header            : True
4275                 // Footer            : False
4276                 // Separator         : True
4277
4278
4279                 string v = RepeatInfoUser.DoTest (0, 5, RepeatDirection.Horizontal, RepeatLayout.Flow, true, true, false, true);
4280                 string exp = @"<span class=""mainstyle"">(0,Header,-1)(1,Item,0)(2,Separator,0)(3,Item,1)(4,Separator,1)(5,Item,2)(6,Separator,2)(7,Item,3)(8,Separator,3)(9,Item,4)</span>";
4281                 Assert.AreEqual (exp, v, "#183");
4282         }
4283
4284
4285         [Test]
4286         public void RepeatInfo_1cols_0itms_horiz_flow_otrtblimp_hdr_sep ()
4287         {
4288                 // cols              : 1
4289                 // cnt               : 0
4290                 // RepeatDirection   : Horizontal
4291                 // RepeatLayout      : Flow
4292                 // OuterTableImplied : True
4293                 // Header            : True
4294                 // Footer            : False
4295                 // Separator         : True
4296
4297
4298                 string v = RepeatInfoUser.DoTest (1, 0, RepeatDirection.Horizontal, RepeatLayout.Flow, true, true, false, true);
4299                 string exp = @"<span class=""mainstyle"">(0,Header,-1)</span>";
4300                 Assert.AreEqual (exp, v, "#184");
4301         }
4302
4303
4304         [Test]
4305         public void RepeatInfo_1cols_5itms_horiz_flow_otrtblimp_hdr_sep ()
4306         {
4307                 // cols              : 1
4308                 // cnt               : 5
4309                 // RepeatDirection   : Horizontal
4310                 // RepeatLayout      : Flow
4311                 // OuterTableImplied : True
4312                 // Header            : True
4313                 // Footer            : False
4314                 // Separator         : True
4315
4316
4317                 string v = RepeatInfoUser.DoTest (1, 5, RepeatDirection.Horizontal, RepeatLayout.Flow, true, true, false, true);
4318                 string exp = @"<span class=""mainstyle"">(0,Header,-1)<br />(1,Item,0)(2,Separator,0)<br />(3,Item,1)(4,Separator,1)<br />(5,Item,2)(6,Separator,2)<br />(7,Item,3)(8,Separator,3)<br />(9,Item,4)<br /></span>";
4319                 Assert.AreEqual (exp, v, "#185");
4320         }
4321
4322
4323         [Test]
4324         public void RepeatInfo_2cols_4itms_horiz_flow_otrtblimp_hdr_sep ()
4325         {
4326                 // cols              : 2
4327                 // cnt               : 4
4328                 // RepeatDirection   : Horizontal
4329                 // RepeatLayout      : Flow
4330                 // OuterTableImplied : True
4331                 // Header            : True
4332                 // Footer            : False
4333                 // Separator         : True
4334
4335
4336                 string v = RepeatInfoUser.DoTest (2, 4, RepeatDirection.Horizontal, RepeatLayout.Flow, true, true, false, true);
4337                 string exp = @"<span class=""mainstyle"">(0,Header,-1)<br />(1,Item,0)(2,Separator,0)(3,Item,1)(4,Separator,1)<br />(5,Item,2)(6,Separator,2)(7,Item,3)<br /></span>";
4338                 Assert.AreEqual (exp, v, "#186");
4339         }
4340
4341
4342         [Test]
4343         public void RepeatInfo_2cols_7itms_horiz_flow_otrtblimp_hdr_sep ()
4344         {
4345                 // cols              : 2
4346                 // cnt               : 7
4347                 // RepeatDirection   : Horizontal
4348                 // RepeatLayout      : Flow
4349                 // OuterTableImplied : True
4350                 // Header            : True
4351                 // Footer            : False
4352                 // Separator         : True
4353
4354
4355                 string v = RepeatInfoUser.DoTest (2, 7, RepeatDirection.Horizontal, RepeatLayout.Flow, true, true, false, true);
4356                 string exp = @"<span class=""mainstyle"">(0,Header,-1)<br />(1,Item,0)(2,Separator,0)(3,Item,1)(4,Separator,1)<br />(5,Item,2)(6,Separator,2)(7,Item,3)(8,Separator,3)<br />(9,Item,4)(10,Separator,4)(11,Item,5)(12,Separator,5)<br />(13,Item,6)<br /></span>";
4357                 Assert.AreEqual (exp, v, "#187");
4358         }
4359
4360
4361         [Test]
4362         public void RepeatInfo_3cols_9itms_horiz_flow_otrtblimp_hdr_sep ()
4363         {
4364                 // cols              : 3
4365                 // cnt               : 9
4366                 // RepeatDirection   : Horizontal
4367                 // RepeatLayout      : Flow
4368                 // OuterTableImplied : True
4369                 // Header            : True
4370                 // Footer            : False
4371                 // Separator         : True
4372
4373
4374                 string v = RepeatInfoUser.DoTest (3, 9, RepeatDirection.Horizontal, RepeatLayout.Flow, true, true, false, true);
4375                 string exp = @"<span>(0,Header,-1)<br />(1,Item,0)(2,Separator,0)(3,Item,1)(4,Separator,1)(5,Item,2)(6,Separator,2)<br />(7,Item,3)(8,Separator,3)(9,Item,4)(10,Separator,4)(11,Item,5)(12,Separator,5)<br />(13,Item,6)(14,Separator,6)(15,Item,7)(16,Separator,7)(17,Item,8)<br /></span>";
4376                 Assert.AreEqual (exp, v, "#188");
4377         }
4378
4379
4380         [Test]
4381         public void RepeatInfo_3cols_7itms_horiz_flow_otrtblimp_hdr_sep ()
4382         {
4383                 // cols              : 3
4384                 // cnt               : 7
4385                 // RepeatDirection   : Horizontal
4386                 // RepeatLayout      : Flow
4387                 // OuterTableImplied : True
4388                 // Header            : True
4389                 // Footer            : False
4390                 // Separator         : True
4391
4392
4393                 string v = RepeatInfoUser.DoTest (3, 7, RepeatDirection.Horizontal, RepeatLayout.Flow, true, true, false, true);
4394                 string exp = @"<span>(0,Header,-1)<br />(1,Item,0)(2,Separator,0)(3,Item,1)(4,Separator,1)(5,Item,2)(6,Separator,2)<br />(7,Item,3)(8,Separator,3)(9,Item,4)(10,Separator,4)(11,Item,5)(12,Separator,5)<br />(13,Item,6)<br /></span>";
4395                 Assert.AreEqual (exp, v, "#189");
4396         }
4397
4398
4399         [Test]
4400         public void RepeatInfo_0cols_0itms_vert_flow_otrtblimp_hdr_sep ()
4401         {
4402                 // cols              : 0
4403                 // cnt               : 0
4404                 // RepeatDirection   : Vertical
4405                 // RepeatLayout      : Flow
4406                 // OuterTableImplied : True
4407                 // Header            : True
4408                 // Footer            : False
4409                 // Separator         : True
4410
4411
4412                 string v = RepeatInfoUser.DoTest (0, 0, RepeatDirection.Vertical, RepeatLayout.Flow, true, true, false, true);
4413                 string exp = @"(0,Header,-1)";
4414                 Assert.AreEqual (exp, v, "#190");
4415         }
4416
4417
4418         [Test]
4419         public void RepeatInfo_0cols_1itms_vert_flow_otrtblimp_hdr_sep ()
4420         {
4421                 // cols              : 0
4422                 // cnt               : 1
4423                 // RepeatDirection   : Vertical
4424                 // RepeatLayout      : Flow
4425                 // OuterTableImplied : True
4426                 // Header            : True
4427                 // Footer            : False
4428                 // Separator         : True
4429
4430
4431                 string v = RepeatInfoUser.DoTest (0, 1, RepeatDirection.Vertical, RepeatLayout.Flow, true, true, false, true);
4432                 string exp = @"(0,Header,-1)(1,Item,0)";
4433                 Assert.AreEqual (exp, v, "#191");
4434         }
4435
4436
4437         [Test]
4438         public void RepeatInfo_0cols_2itms_vert_flow_otrtblimp_hdr_sep ()
4439         {
4440                 // cols              : 0
4441                 // cnt               : 2
4442                 // RepeatDirection   : Vertical
4443                 // RepeatLayout      : Flow
4444                 // OuterTableImplied : True
4445                 // Header            : True
4446                 // Footer            : False
4447                 // Separator         : True
4448
4449
4450                 string v = RepeatInfoUser.DoTest (0, 2, RepeatDirection.Vertical, RepeatLayout.Flow, true, true, false, true);
4451                 string exp = @"(0,Header,-1)(1,Item,0)(2,Separator,0)(3,Item,1)";
4452                 Assert.AreEqual (exp, v, "#192");
4453         }
4454
4455
4456         [Test]
4457         public void RepeatInfo_0cols_5itms_vert_flow_otrtblimp_hdr_sep ()
4458         {
4459                 // cols              : 0
4460                 // cnt               : 5
4461                 // RepeatDirection   : Vertical
4462                 // RepeatLayout      : Flow
4463                 // OuterTableImplied : True
4464                 // Header            : True
4465                 // Footer            : False
4466                 // Separator         : True
4467
4468
4469                 string v = RepeatInfoUser.DoTest (0, 5, RepeatDirection.Vertical, RepeatLayout.Flow, true, true, false, true);
4470                 string exp = @"(0,Header,-1)(1,Item,0)(2,Separator,0)(3,Item,1)(4,Separator,1)(5,Item,2)(6,Separator,2)(7,Item,3)(8,Separator,3)(9,Item,4)";
4471                 Assert.AreEqual (exp, v, "#193");
4472         }
4473
4474
4475         [Test]
4476         public void RepeatInfo_1cols_0itms_vert_flow_otrtblimp_hdr_sep ()
4477         {
4478                 // cols              : 1
4479                 // cnt               : 0
4480                 // RepeatDirection   : Vertical
4481                 // RepeatLayout      : Flow
4482                 // OuterTableImplied : True
4483                 // Header            : True
4484                 // Footer            : False
4485                 // Separator         : True
4486
4487
4488                 string v = RepeatInfoUser.DoTest (1, 0, RepeatDirection.Vertical, RepeatLayout.Flow, true, true, false, true);
4489                 string exp = @"(0,Header,-1)";
4490                 Assert.AreEqual (exp, v, "#194");
4491         }
4492
4493
4494         [Test]
4495         public void RepeatInfo_1cols_5itms_vert_flow_otrtblimp_hdr_sep ()
4496         {
4497                 // cols              : 1
4498                 // cnt               : 5
4499                 // RepeatDirection   : Vertical
4500                 // RepeatLayout      : Flow
4501                 // OuterTableImplied : True
4502                 // Header            : True
4503                 // Footer            : False
4504                 // Separator         : True
4505
4506
4507                 string v = RepeatInfoUser.DoTest (1, 5, RepeatDirection.Vertical, RepeatLayout.Flow, true, true, false, true);
4508                 string exp = @"(0,Header,-1)(1,Item,0)(2,Separator,0)(3,Item,1)(4,Separator,1)(5,Item,2)(6,Separator,2)(7,Item,3)(8,Separator,3)(9,Item,4)";
4509                 Assert.AreEqual (exp, v, "#195");
4510         }
4511
4512
4513         [Test]
4514         public void RepeatInfo_2cols_4itms_vert_flow_otrtblimp_hdr_sep ()
4515         {
4516                 // cols              : 2
4517                 // cnt               : 4
4518                 // RepeatDirection   : Vertical
4519                 // RepeatLayout      : Flow
4520                 // OuterTableImplied : True
4521                 // Header            : True
4522                 // Footer            : False
4523                 // Separator         : True
4524
4525
4526                 string v = RepeatInfoUser.DoTest (2, 4, RepeatDirection.Vertical, RepeatLayout.Flow, true, true, false, true);
4527                 string exp = @"(0,Header,-1)(1,Item,0)(2,Separator,0)(3,Item,2)(4,Separator,2)(5,Item,1)(6,Separator,1)(7,Item,3)";
4528                 Assert.AreEqual (exp, v, "#196");
4529         }
4530
4531
4532         [Test]
4533         public void RepeatInfo_2cols_7itms_vert_flow_otrtblimp_hdr_sep ()
4534         {
4535                 // cols              : 2
4536                 // cnt               : 7
4537                 // RepeatDirection   : Vertical
4538                 // RepeatLayout      : Flow
4539                 // OuterTableImplied : True
4540                 // Header            : True
4541                 // Footer            : False
4542                 // Separator         : True
4543
4544
4545                 string v = RepeatInfoUser.DoTest (2, 7, RepeatDirection.Vertical, RepeatLayout.Flow, true, true, false, true);
4546                 string exp = @"(0,Header,-1)(1,Item,0)(2,Separator,0)(3,Item,4)(4,Separator,4)(5,Item,1)(6,Separator,1)(7,Item,5)(8,Separator,5)(9,Item,2)(10,Separator,2)(11,Item,6)(12,Item,3)(13,Separator,3)";
4547                 Assert.AreEqual (exp, v, "#197");
4548         }
4549
4550
4551         [Test]
4552         public void RepeatInfo_3cols_9itms_vert_flow_otrtblimp_hdr_sep ()
4553         {
4554                 // cols              : 3
4555                 // cnt               : 9
4556                 // RepeatDirection   : Vertical
4557                 // RepeatLayout      : Flow
4558                 // OuterTableImplied : True
4559                 // Header            : True
4560                 // Footer            : False
4561                 // Separator         : True
4562
4563
4564                 string v = RepeatInfoUser.DoTest (3, 9, RepeatDirection.Vertical, RepeatLayout.Flow, true, true, false, true);
4565                 string exp = @"(0,Header,-1)(1,Item,0)(2,Separator,0)(3,Item,3)(4,Separator,3)(5,Item,6)(6,Separator,6)(7,Item,1)(8,Separator,1)(9,Item,4)(10,Separator,4)(11,Item,7)(12,Separator,7)(13,Item,2)(14,Separator,2)(15,Item,5)(16,Separator,5)(17,Item,8)";
4566                 Assert.AreEqual (exp, v, "#198");
4567         }
4568
4569
4570         [Test]
4571         public void RepeatInfo_3cols_7itms_vert_flow_otrtblimp_hdr_sep ()
4572         {
4573                 // cols              : 3
4574                 // cnt               : 7
4575                 // RepeatDirection   : Vertical
4576                 // RepeatLayout      : Flow
4577                 // OuterTableImplied : True
4578                 // Header            : True
4579                 // Footer            : False
4580                 // Separator         : True
4581
4582
4583                 string v = RepeatInfoUser.DoTest (3, 7, RepeatDirection.Vertical, RepeatLayout.Flow, true, true, false, true);
4584                 string exp = @"(0,Header,-1)(1,Item,0)(2,Separator,0)(3,Item,3)(4,Separator,3)(5,Item,5)(6,Separator,5)(7,Item,1)(8,Separator,1)(9,Item,4)(10,Separator,4)(11,Item,6)(12,Item,2)(13,Separator,2)";
4585                 Assert.AreEqual (exp, v, "#199");
4586         }
4587
4588
4589         [Test]
4590         public void RepeatInfo_0cols_0itms_horiz_tbl_hdr_sep ()
4591         {
4592                 // cols              : 0
4593                 // cnt               : 0
4594                 // RepeatDirection   : Horizontal
4595                 // RepeatLayout      : Table
4596                 // OuterTableImplied : False
4597                 // Header            : True
4598                 // Footer            : False
4599                 // Separator         : True
4600
4601
4602                 string v = RepeatInfoUser.DoTest (0, 0, RepeatDirection.Horizontal, RepeatLayout.Table, false, true, false, true);
4603                 string exp = @"<table class=""mainstyle"">
4604         <tr>
4605                 <td colspan=""0"" class=""Header-1"">(0,Header,-1)</td>
4606         </tr>
4607 </table>";
4608                 Assert.AreEqual (exp, v, "#200");
4609         }
4610
4611
4612         [Test]
4613         public void RepeatInfo_0cols_1itms_horiz_tbl_hdr_sep ()
4614         {
4615                 // cols              : 0
4616                 // cnt               : 1
4617                 // RepeatDirection   : Horizontal
4618                 // RepeatLayout      : Table
4619                 // OuterTableImplied : False
4620                 // Header            : True
4621                 // Footer            : False
4622                 // Separator         : True
4623
4624
4625                 string v = RepeatInfoUser.DoTest (0, 1, RepeatDirection.Horizontal, RepeatLayout.Table, false, true, false, true);
4626                 string exp = @"<table class=""mainstyle"">
4627         <tr>
4628                 <td colspan=""2"" class=""Header-1"">(0,Header,-1)</td>
4629         </tr><tr>
4630                 <td class=""Item0"">(1,Item,0)</td><td></td>
4631         </tr>
4632 </table>";
4633                 Assert.AreEqual (exp, v, "#201");
4634         }
4635
4636
4637         [Test]
4638         public void RepeatInfo_0cols_2itms_horiz_tbl_hdr_sep ()
4639         {
4640                 // cols              : 0
4641                 // cnt               : 2
4642                 // RepeatDirection   : Horizontal
4643                 // RepeatLayout      : Table
4644                 // OuterTableImplied : False
4645                 // Header            : True
4646                 // Footer            : False
4647                 // Separator         : True
4648
4649
4650                 string v = RepeatInfoUser.DoTest (0, 2, RepeatDirection.Horizontal, RepeatLayout.Table, false, true, false, true);
4651                 string exp = @"<table class=""mainstyle"">
4652         <tr>
4653                 <td colspan=""4"" class=""Header-1"">(0,Header,-1)</td>
4654         </tr><tr>
4655                 <td class=""Item0"">(1,Item,0)</td><td class=""Separator0"">(2,Separator,0)</td><td class=""Item1"">(3,Item,1)</td><td></td>
4656         </tr>
4657 </table>";
4658                 Assert.AreEqual (exp, v, "#202");
4659         }
4660
4661
4662         [Test]
4663         public void RepeatInfo_0cols_5itms_horiz_tbl_hdr_sep ()
4664         {
4665                 // cols              : 0
4666                 // cnt               : 5
4667                 // RepeatDirection   : Horizontal
4668                 // RepeatLayout      : Table
4669                 // OuterTableImplied : False
4670                 // Header            : True
4671                 // Footer            : False
4672                 // Separator         : True
4673
4674
4675                 string v = RepeatInfoUser.DoTest (0, 5, RepeatDirection.Horizontal, RepeatLayout.Table, false, true, false, true);
4676                 string exp = @"<table class=""mainstyle"">
4677         <tr>
4678                 <td colspan=""10"" class=""Header-1"">(0,Header,-1)</td>
4679         </tr><tr>
4680                 <td class=""Item0"">(1,Item,0)</td><td class=""Separator0"">(2,Separator,0)</td><td class=""Item1"">(3,Item,1)</td><td class=""Separator1"">(4,Separator,1)</td><td class=""Item2"">(5,Item,2)</td><td class=""Separator2"">(6,Separator,2)</td><td class=""Item3"">(7,Item,3)</td><td class=""Separator3"">(8,Separator,3)</td><td class=""Item4"">(9,Item,4)</td><td></td>
4681         </tr>
4682 </table>";
4683                 Assert.AreEqual (exp, v, "#203");
4684         }
4685
4686
4687         [Test]
4688         public void RepeatInfo_1cols_0itms_horiz_tbl_hdr_sep ()
4689         {
4690                 // cols              : 1
4691                 // cnt               : 0
4692                 // RepeatDirection   : Horizontal
4693                 // RepeatLayout      : Table
4694                 // OuterTableImplied : False
4695                 // Header            : True
4696                 // Footer            : False
4697                 // Separator         : True
4698
4699
4700                 string v = RepeatInfoUser.DoTest (1, 0, RepeatDirection.Horizontal, RepeatLayout.Table, false, true, false, true);
4701                 string exp = @"<table class=""mainstyle"">
4702         <tr>
4703                 <td colspan=""2"" class=""Header-1"">(0,Header,-1)</td>
4704         </tr>
4705 </table>";
4706                 Assert.AreEqual (exp, v, "#204");
4707         }
4708
4709
4710         [Test]
4711         public void RepeatInfo_1cols_5itms_horiz_tbl_hdr_sep ()
4712         {
4713                 // cols              : 1
4714                 // cnt               : 5
4715                 // RepeatDirection   : Horizontal
4716                 // RepeatLayout      : Table
4717                 // OuterTableImplied : False
4718                 // Header            : True
4719                 // Footer            : False
4720                 // Separator         : True
4721
4722
4723                 string v = RepeatInfoUser.DoTest (1, 5, RepeatDirection.Horizontal, RepeatLayout.Table, false, true, false, true);
4724                 string exp = @"<table class=""mainstyle"">
4725         <tr>
4726                 <td colspan=""2"" class=""Header-1"">(0,Header,-1)</td>
4727         </tr><tr>
4728                 <td class=""Item0"">(1,Item,0)</td><td class=""Separator0"">(2,Separator,0)</td>
4729         </tr><tr>
4730                 <td class=""Item1"">(3,Item,1)</td><td class=""Separator1"">(4,Separator,1)</td>
4731         </tr><tr>
4732                 <td class=""Item2"">(5,Item,2)</td><td class=""Separator2"">(6,Separator,2)</td>
4733         </tr><tr>
4734                 <td class=""Item3"">(7,Item,3)</td><td class=""Separator3"">(8,Separator,3)</td>
4735         </tr><tr>
4736                 <td class=""Item4"">(9,Item,4)</td><td></td>
4737         </tr>
4738 </table>";
4739                 Assert.AreEqual (exp, v, "#205");
4740         }
4741
4742
4743         [Test]
4744         public void RepeatInfo_2cols_4itms_horiz_tbl_hdr_sep ()
4745         {
4746                 // cols              : 2
4747                 // cnt               : 4
4748                 // RepeatDirection   : Horizontal
4749                 // RepeatLayout      : Table
4750                 // OuterTableImplied : False
4751                 // Header            : True
4752                 // Footer            : False
4753                 // Separator         : True
4754
4755
4756                 string v = RepeatInfoUser.DoTest (2, 4, RepeatDirection.Horizontal, RepeatLayout.Table, false, true, false, true);
4757                 string exp = @"<table class=""mainstyle"">
4758         <tr>
4759                 <td colspan=""4"" class=""Header-1"">(0,Header,-1)</td>
4760         </tr><tr>
4761                 <td class=""Item0"">(1,Item,0)</td><td class=""Separator0"">(2,Separator,0)</td><td class=""Item1"">(3,Item,1)</td><td class=""Separator1"">(4,Separator,1)</td>
4762         </tr><tr>
4763                 <td class=""Item2"">(5,Item,2)</td><td class=""Separator2"">(6,Separator,2)</td><td class=""Item3"">(7,Item,3)</td><td></td>
4764         </tr>
4765 </table>";
4766                 Assert.AreEqual (exp, v, "#206");
4767         }
4768
4769
4770         [Test]
4771         public void RepeatInfo_2cols_7itms_horiz_tbl_hdr_sep ()
4772         {
4773                 // cols              : 2
4774                 // cnt               : 7
4775                 // RepeatDirection   : Horizontal
4776                 // RepeatLayout      : Table
4777                 // OuterTableImplied : False
4778                 // Header            : True
4779                 // Footer            : False
4780                 // Separator         : True
4781
4782
4783                 string v = RepeatInfoUser.DoTest (2, 7, RepeatDirection.Horizontal, RepeatLayout.Table, false, true, false, true);
4784                 string exp = @"<table class=""mainstyle"">
4785         <tr>
4786                 <td colspan=""4"" class=""Header-1"">(0,Header,-1)</td>
4787         </tr><tr>
4788                 <td class=""Item0"">(1,Item,0)</td><td class=""Separator0"">(2,Separator,0)</td><td class=""Item1"">(3,Item,1)</td><td class=""Separator1"">(4,Separator,1)</td>
4789         </tr><tr>
4790                 <td class=""Item2"">(5,Item,2)</td><td class=""Separator2"">(6,Separator,2)</td><td class=""Item3"">(7,Item,3)</td><td class=""Separator3"">(8,Separator,3)</td>
4791         </tr><tr>
4792                 <td class=""Item4"">(9,Item,4)</td><td class=""Separator4"">(10,Separator,4)</td><td class=""Item5"">(11,Item,5)</td><td class=""Separator5"">(12,Separator,5)</td>
4793         </tr><tr>
4794                 <td class=""Item6"">(13,Item,6)</td><td></td><td></td><td></td>
4795         </tr>
4796 </table>";
4797                 Assert.AreEqual (exp, v, "#207");
4798         }
4799
4800
4801         [Test]
4802         public void RepeatInfo_3cols_9itms_horiz_tbl_hdr_sep ()
4803         {
4804                 // cols              : 3
4805                 // cnt               : 9
4806                 // RepeatDirection   : Horizontal
4807                 // RepeatLayout      : Table
4808                 // OuterTableImplied : False
4809                 // Header            : True
4810                 // Footer            : False
4811                 // Separator         : True
4812
4813
4814                 string v = RepeatInfoUser.DoTest (3, 9, RepeatDirection.Horizontal, RepeatLayout.Table, false, true, false, true);
4815                 string exp = @"<table>
4816         <tr>
4817                 <td colspan=""6"" class=""Header-1"">(0,Header,-1)</td>
4818         </tr><tr>
4819                 <td class=""Item0"">(1,Item,0)</td><td class=""Separator0"">(2,Separator,0)</td><td class=""Item1"">(3,Item,1)</td><td class=""Separator1"">(4,Separator,1)</td><td class=""Item2"">(5,Item,2)</td><td class=""Separator2"">(6,Separator,2)</td>
4820         </tr><tr>
4821                 <td class=""Item3"">(7,Item,3)</td><td class=""Separator3"">(8,Separator,3)</td><td class=""Item4"">(9,Item,4)</td><td class=""Separator4"">(10,Separator,4)</td><td class=""Item5"">(11,Item,5)</td><td class=""Separator5"">(12,Separator,5)</td>
4822         </tr><tr>
4823                 <td class=""Item6"">(13,Item,6)</td><td class=""Separator6"">(14,Separator,6)</td><td class=""Item7"">(15,Item,7)</td><td class=""Separator7"">(16,Separator,7)</td><td class=""Item8"">(17,Item,8)</td><td></td>
4824         </tr>
4825 </table>";
4826                 Assert.AreEqual (exp, v, "#208");
4827         }
4828
4829
4830         [Test]
4831         public void RepeatInfo_3cols_7itms_horiz_tbl_hdr_sep ()
4832         {
4833                 // cols              : 3
4834                 // cnt               : 7
4835                 // RepeatDirection   : Horizontal
4836                 // RepeatLayout      : Table
4837                 // OuterTableImplied : False
4838                 // Header            : True
4839                 // Footer            : False
4840                 // Separator         : True
4841
4842
4843                 string v = RepeatInfoUser.DoTest (3, 7, RepeatDirection.Horizontal, RepeatLayout.Table, false, true, false, true);
4844                 string exp = @"<table>
4845         <tr>
4846                 <td colspan=""6"" class=""Header-1"">(0,Header,-1)</td>
4847         </tr><tr>
4848                 <td class=""Item0"">(1,Item,0)</td><td class=""Separator0"">(2,Separator,0)</td><td class=""Item1"">(3,Item,1)</td><td class=""Separator1"">(4,Separator,1)</td><td class=""Item2"">(5,Item,2)</td><td class=""Separator2"">(6,Separator,2)</td>
4849         </tr><tr>
4850                 <td class=""Item3"">(7,Item,3)</td><td class=""Separator3"">(8,Separator,3)</td><td class=""Item4"">(9,Item,4)</td><td class=""Separator4"">(10,Separator,4)</td><td class=""Item5"">(11,Item,5)</td><td class=""Separator5"">(12,Separator,5)</td>
4851         </tr><tr>
4852                 <td class=""Item6"">(13,Item,6)</td><td></td><td></td><td></td><td></td><td></td>
4853         </tr>
4854 </table>";
4855                 Assert.AreEqual (exp, v, "#209");
4856         }
4857
4858
4859         [Test]
4860         public void RepeatInfo_0cols_0itms_vert_tbl_hdr_sep ()
4861         {
4862                 // cols              : 0
4863                 // cnt               : 0
4864                 // RepeatDirection   : Vertical
4865                 // RepeatLayout      : Table
4866                 // OuterTableImplied : False
4867                 // Header            : True
4868                 // Footer            : False
4869                 // Separator         : True
4870
4871
4872                 string v = RepeatInfoUser.DoTest (0, 0, RepeatDirection.Vertical, RepeatLayout.Table, false, true, false, true);
4873                 string exp = @"<table class=""mainstyle"">
4874         <tr>
4875                 <td class=""Header-1"">(0,Header,-1)</td>
4876         </tr>
4877 </table>";
4878                 Assert.AreEqual (exp, v, "#210");
4879         }
4880
4881
4882         [Test]
4883         public void RepeatInfo_0cols_1itms_vert_tbl_hdr_sep ()
4884         {
4885                 // cols              : 0
4886                 // cnt               : 1
4887                 // RepeatDirection   : Vertical
4888                 // RepeatLayout      : Table
4889                 // OuterTableImplied : False
4890                 // Header            : True
4891                 // Footer            : False
4892                 // Separator         : True
4893
4894
4895                 string v = RepeatInfoUser.DoTest (0, 1, RepeatDirection.Vertical, RepeatLayout.Table, false, true, false, true);
4896                 string exp = @"<table class=""mainstyle"">
4897         <tr>
4898                 <td class=""Header-1"">(0,Header,-1)</td>
4899         </tr><tr>
4900                 <td class=""Item0"">(1,Item,0)</td>
4901         </tr>
4902 </table>";
4903                 Assert.AreEqual (exp, v, "#211");
4904         }
4905
4906
4907         [Test]
4908         public void RepeatInfo_0cols_2itms_vert_tbl_hdr_sep ()
4909         {
4910                 // cols              : 0
4911                 // cnt               : 2
4912                 // RepeatDirection   : Vertical
4913                 // RepeatLayout      : Table
4914                 // OuterTableImplied : False
4915                 // Header            : True
4916                 // Footer            : False
4917                 // Separator         : True
4918
4919
4920                 string v = RepeatInfoUser.DoTest (0, 2, RepeatDirection.Vertical, RepeatLayout.Table, false, true, false, true);
4921                 string exp = @"<table class=""mainstyle"">
4922         <tr>
4923                 <td class=""Header-1"">(0,Header,-1)</td>
4924         </tr><tr>
4925                 <td class=""Item0"">(1,Item,0)</td>
4926         </tr><tr>
4927                 <td class=""Separator0"">(2,Separator,0)</td>
4928         </tr><tr>
4929                 <td class=""Item1"">(3,Item,1)</td>
4930         </tr>
4931 </table>";
4932                 Assert.AreEqual (exp, v, "#212");
4933         }
4934
4935
4936         [Test]
4937         public void RepeatInfo_0cols_5itms_vert_tbl_hdr_sep ()
4938         {
4939                 // cols              : 0
4940                 // cnt               : 5
4941                 // RepeatDirection   : Vertical
4942                 // RepeatLayout      : Table
4943                 // OuterTableImplied : False
4944                 // Header            : True
4945                 // Footer            : False
4946                 // Separator         : True
4947
4948
4949                 string v = RepeatInfoUser.DoTest (0, 5, RepeatDirection.Vertical, RepeatLayout.Table, false, true, false, true);
4950                 string exp = @"<table class=""mainstyle"">
4951         <tr>
4952                 <td class=""Header-1"">(0,Header,-1)</td>
4953         </tr><tr>
4954                 <td class=""Item0"">(1,Item,0)</td>
4955         </tr><tr>
4956                 <td class=""Separator0"">(2,Separator,0)</td>
4957         </tr><tr>
4958                 <td class=""Item1"">(3,Item,1)</td>
4959         </tr><tr>
4960                 <td class=""Separator1"">(4,Separator,1)</td>
4961         </tr><tr>
4962                 <td class=""Item2"">(5,Item,2)</td>
4963         </tr><tr>
4964                 <td class=""Separator2"">(6,Separator,2)</td>
4965         </tr><tr>
4966                 <td class=""Item3"">(7,Item,3)</td>
4967         </tr><tr>
4968                 <td class=""Separator3"">(8,Separator,3)</td>
4969         </tr><tr>
4970                 <td class=""Item4"">(9,Item,4)</td>
4971         </tr>
4972 </table>";
4973                 Assert.AreEqual (exp, v, "#213");
4974         }
4975
4976
4977         [Test]
4978         public void RepeatInfo_1cols_0itms_vert_tbl_hdr_sep ()
4979         {
4980                 // cols              : 1
4981                 // cnt               : 0
4982                 // RepeatDirection   : Vertical
4983                 // RepeatLayout      : Table
4984                 // OuterTableImplied : False
4985                 // Header            : True
4986                 // Footer            : False
4987                 // Separator         : True
4988
4989
4990                 string v = RepeatInfoUser.DoTest (1, 0, RepeatDirection.Vertical, RepeatLayout.Table, false, true, false, true);
4991                 string exp = @"<table class=""mainstyle"">
4992         <tr>
4993                 <td class=""Header-1"">(0,Header,-1)</td>
4994         </tr>
4995 </table>";
4996                 Assert.AreEqual (exp, v, "#214");
4997         }
4998
4999
5000         [Test]
5001         public void RepeatInfo_1cols_5itms_vert_tbl_hdr_sep ()
5002         {
5003                 // cols              : 1
5004                 // cnt               : 5
5005                 // RepeatDirection   : Vertical
5006                 // RepeatLayout      : Table
5007                 // OuterTableImplied : False
5008                 // Header            : True
5009                 // Footer            : False
5010                 // Separator         : True
5011
5012
5013                 string v = RepeatInfoUser.DoTest (1, 5, RepeatDirection.Vertical, RepeatLayout.Table, false, true, false, true);
5014                 string exp = @"<table class=""mainstyle"">
5015         <tr>
5016                 <td class=""Header-1"">(0,Header,-1)</td>
5017         </tr><tr>
5018                 <td class=""Item0"">(1,Item,0)</td>
5019         </tr><tr>
5020                 <td class=""Separator0"">(2,Separator,0)</td>
5021         </tr><tr>
5022                 <td class=""Item1"">(3,Item,1)</td>
5023         </tr><tr>
5024                 <td class=""Separator1"">(4,Separator,1)</td>
5025         </tr><tr>
5026                 <td class=""Item2"">(5,Item,2)</td>
5027         </tr><tr>
5028                 <td class=""Separator2"">(6,Separator,2)</td>
5029         </tr><tr>
5030                 <td class=""Item3"">(7,Item,3)</td>
5031         </tr><tr>
5032                 <td class=""Separator3"">(8,Separator,3)</td>
5033         </tr><tr>
5034                 <td class=""Item4"">(9,Item,4)</td>
5035         </tr>
5036 </table>";
5037                 Assert.AreEqual (exp, v, "#215");
5038         }
5039
5040
5041         [Test]
5042         public void RepeatInfo_2cols_4itms_vert_tbl_hdr_sep ()
5043         {
5044                 // cols              : 2
5045                 // cnt               : 4
5046                 // RepeatDirection   : Vertical
5047                 // RepeatLayout      : Table
5048                 // OuterTableImplied : False
5049                 // Header            : True
5050                 // Footer            : False
5051                 // Separator         : True
5052
5053
5054                 string v = RepeatInfoUser.DoTest (2, 4, RepeatDirection.Vertical, RepeatLayout.Table, false, true, false, true);
5055                 string exp = @"<table class=""mainstyle"">
5056         <tr>
5057                 <td colspan=""4"" class=""Header-1"">(0,Header,-1)</td>
5058         </tr><tr>
5059                 <td class=""Item0"">(1,Item,0)</td><td class=""Separator0"">(2,Separator,0)</td><td class=""Item2"">(3,Item,2)</td><td class=""Separator2"">(4,Separator,2)</td>
5060         </tr><tr>
5061                 <td class=""Item1"">(5,Item,1)</td><td class=""Separator1"">(6,Separator,1)</td><td class=""Item3"">(7,Item,3)</td><td></td>
5062         </tr>
5063 </table>";
5064                 Assert.AreEqual (exp, v, "#216");
5065         }
5066
5067
5068         [Test]
5069         public void RepeatInfo_2cols_7itms_vert_tbl_hdr_sep ()
5070         {
5071                 // cols              : 2
5072                 // cnt               : 7
5073                 // RepeatDirection   : Vertical
5074                 // RepeatLayout      : Table
5075                 // OuterTableImplied : False
5076                 // Header            : True
5077                 // Footer            : False
5078                 // Separator         : True
5079
5080
5081                 string v = RepeatInfoUser.DoTest (2, 7, RepeatDirection.Vertical, RepeatLayout.Table, false, true, false, true);
5082                 string exp = @"<table class=""mainstyle"">
5083         <tr>
5084                 <td colspan=""4"" class=""Header-1"">(0,Header,-1)</td>
5085         </tr><tr>
5086                 <td class=""Item0"">(1,Item,0)</td><td class=""Separator0"">(2,Separator,0)</td><td class=""Item4"">(3,Item,4)</td><td class=""Separator4"">(4,Separator,4)</td>
5087         </tr><tr>
5088                 <td class=""Item1"">(5,Item,1)</td><td class=""Separator1"">(6,Separator,1)</td><td class=""Item5"">(7,Item,5)</td><td class=""Separator5"">(8,Separator,5)</td>
5089         </tr><tr>
5090                 <td class=""Item2"">(9,Item,2)</td><td class=""Separator2"">(10,Separator,2)</td><td class=""Item6"">(11,Item,6)</td><td></td>
5091         </tr><tr>
5092                 <td class=""Item3"">(12,Item,3)</td><td class=""Separator3"">(13,Separator,3)</td><td></td><td></td>
5093         </tr>
5094 </table>";
5095                 Assert.AreEqual (exp, v, "#217");
5096         }
5097
5098
5099         [Test]
5100         public void RepeatInfo_3cols_9itms_vert_tbl_hdr_sep ()
5101         {
5102                 // cols              : 3
5103                 // cnt               : 9
5104                 // RepeatDirection   : Vertical
5105                 // RepeatLayout      : Table
5106                 // OuterTableImplied : False
5107                 // Header            : True
5108                 // Footer            : False
5109                 // Separator         : True
5110
5111
5112                 string v = RepeatInfoUser.DoTest (3, 9, RepeatDirection.Vertical, RepeatLayout.Table, false, true, false, true);
5113                 string exp = @"<table>
5114         <tr>
5115                 <td colspan=""6"" class=""Header-1"">(0,Header,-1)</td>
5116         </tr><tr>
5117                 <td class=""Item0"">(1,Item,0)</td><td class=""Separator0"">(2,Separator,0)</td><td class=""Item3"">(3,Item,3)</td><td class=""Separator3"">(4,Separator,3)</td><td class=""Item6"">(5,Item,6)</td><td class=""Separator6"">(6,Separator,6)</td>
5118         </tr><tr>
5119                 <td class=""Item1"">(7,Item,1)</td><td class=""Separator1"">(8,Separator,1)</td><td class=""Item4"">(9,Item,4)</td><td class=""Separator4"">(10,Separator,4)</td><td class=""Item7"">(11,Item,7)</td><td class=""Separator7"">(12,Separator,7)</td>
5120         </tr><tr>
5121                 <td class=""Item2"">(13,Item,2)</td><td class=""Separator2"">(14,Separator,2)</td><td class=""Item5"">(15,Item,5)</td><td class=""Separator5"">(16,Separator,5)</td><td class=""Item8"">(17,Item,8)</td><td></td>
5122         </tr>
5123 </table>";
5124                 Assert.AreEqual (exp, v, "#218");
5125         }
5126
5127
5128         [Test]
5129         public void RepeatInfo_3cols_7itms_vert_tbl_hdr_sep ()
5130         {
5131                 // cols              : 3
5132                 // cnt               : 7
5133                 // RepeatDirection   : Vertical
5134                 // RepeatLayout      : Table
5135                 // OuterTableImplied : False
5136                 // Header            : True
5137                 // Footer            : False
5138                 // Separator         : True
5139
5140
5141                 string v = RepeatInfoUser.DoTest (3, 7, RepeatDirection.Vertical, RepeatLayout.Table, false, true, false, true);
5142                 string exp = @"<table>
5143         <tr>
5144                 <td colspan=""6"" class=""Header-1"">(0,Header,-1)</td>
5145         </tr><tr>
5146                 <td class=""Item0"">(1,Item,0)</td><td class=""Separator0"">(2,Separator,0)</td><td class=""Item3"">(3,Item,3)</td><td class=""Separator3"">(4,Separator,3)</td><td class=""Item5"">(5,Item,5)</td><td class=""Separator5"">(6,Separator,5)</td>
5147         </tr><tr>
5148                 <td class=""Item1"">(7,Item,1)</td><td class=""Separator1"">(8,Separator,1)</td><td class=""Item4"">(9,Item,4)</td><td class=""Separator4"">(10,Separator,4)</td><td class=""Item6"">(11,Item,6)</td><td></td>
5149         </tr><tr>
5150                 <td class=""Item2"">(12,Item,2)</td><td class=""Separator2"">(13,Separator,2)</td><td></td><td></td><td></td><td></td>
5151         </tr>
5152 </table>";
5153                 Assert.AreEqual (exp, v, "#219");
5154         }
5155
5156
5157         [Test]
5158         public void RepeatInfo_0cols_0itms_horiz_flow_hdr_sep ()
5159         {
5160                 // cols              : 0
5161                 // cnt               : 0
5162                 // RepeatDirection   : Horizontal
5163                 // RepeatLayout      : Flow
5164                 // OuterTableImplied : False
5165                 // Header            : True
5166                 // Footer            : False
5167                 // Separator         : True
5168
5169
5170                 string v = RepeatInfoUser.DoTest (0, 0, RepeatDirection.Horizontal, RepeatLayout.Flow, false, true, false, true);
5171                 string exp = @"<span class=""mainstyle"">(0,Header,-1)</span>";
5172                 Assert.AreEqual (exp, v, "#220");
5173         }
5174
5175
5176         [Test]
5177         public void RepeatInfo_0cols_1itms_horiz_flow_hdr_sep ()
5178         {
5179                 // cols              : 0
5180                 // cnt               : 1
5181                 // RepeatDirection   : Horizontal
5182                 // RepeatLayout      : Flow
5183                 // OuterTableImplied : False
5184                 // Header            : True
5185                 // Footer            : False
5186                 // Separator         : True
5187
5188
5189                 string v = RepeatInfoUser.DoTest (0, 1, RepeatDirection.Horizontal, RepeatLayout.Flow, false, true, false, true);
5190                 string exp = @"<span class=""mainstyle"">(0,Header,-1)(1,Item,0)</span>";
5191                 Assert.AreEqual (exp, v, "#221");
5192         }
5193
5194
5195         [Test]
5196         public void RepeatInfo_0cols_2itms_horiz_flow_hdr_sep ()
5197         {
5198                 // cols              : 0
5199                 // cnt               : 2
5200                 // RepeatDirection   : Horizontal
5201                 // RepeatLayout      : Flow
5202                 // OuterTableImplied : False
5203                 // Header            : True
5204                 // Footer            : False
5205                 // Separator         : True
5206
5207
5208                 string v = RepeatInfoUser.DoTest (0, 2, RepeatDirection.Horizontal, RepeatLayout.Flow, false, true, false, true);
5209                 string exp = @"<span class=""mainstyle"">(0,Header,-1)(1,Item,0)(2,Separator,0)(3,Item,1)</span>";
5210                 Assert.AreEqual (exp, v, "#222");
5211         }
5212
5213
5214         [Test]
5215         public void RepeatInfo_0cols_5itms_horiz_flow_hdr_sep ()
5216         {
5217                 // cols              : 0
5218                 // cnt               : 5
5219                 // RepeatDirection   : Horizontal
5220                 // RepeatLayout      : Flow
5221                 // OuterTableImplied : False
5222                 // Header            : True
5223                 // Footer            : False
5224                 // Separator         : True
5225
5226
5227                 string v = RepeatInfoUser.DoTest (0, 5, RepeatDirection.Horizontal, RepeatLayout.Flow, false, true, false, true);
5228                 string exp = @"<span class=""mainstyle"">(0,Header,-1)(1,Item,0)(2,Separator,0)(3,Item,1)(4,Separator,1)(5,Item,2)(6,Separator,2)(7,Item,3)(8,Separator,3)(9,Item,4)</span>";
5229                 Assert.AreEqual (exp, v, "#223");
5230         }
5231
5232
5233         [Test]
5234         public void RepeatInfo_1cols_0itms_horiz_flow_hdr_sep ()
5235         {
5236                 // cols              : 1
5237                 // cnt               : 0
5238                 // RepeatDirection   : Horizontal
5239                 // RepeatLayout      : Flow
5240                 // OuterTableImplied : False
5241                 // Header            : True
5242                 // Footer            : False
5243                 // Separator         : True
5244
5245
5246                 string v = RepeatInfoUser.DoTest (1, 0, RepeatDirection.Horizontal, RepeatLayout.Flow, false, true, false, true);
5247                 string exp = @"<span class=""mainstyle"">(0,Header,-1)</span>";
5248                 Assert.AreEqual (exp, v, "#224");
5249         }
5250
5251
5252         [Test]
5253         public void RepeatInfo_1cols_5itms_horiz_flow_hdr_sep ()
5254         {
5255                 // cols              : 1
5256                 // cnt               : 5
5257                 // RepeatDirection   : Horizontal
5258                 // RepeatLayout      : Flow
5259                 // OuterTableImplied : False
5260                 // Header            : True
5261                 // Footer            : False
5262                 // Separator         : True
5263
5264
5265                 string v = RepeatInfoUser.DoTest (1, 5, RepeatDirection.Horizontal, RepeatLayout.Flow, false, true, false, true);
5266                 string exp = @"<span class=""mainstyle"">(0,Header,-1)<br />(1,Item,0)(2,Separator,0)<br />(3,Item,1)(4,Separator,1)<br />(5,Item,2)(6,Separator,2)<br />(7,Item,3)(8,Separator,3)<br />(9,Item,4)<br /></span>";
5267                 Assert.AreEqual (exp, v, "#225");
5268         }
5269
5270
5271         [Test]
5272         public void RepeatInfo_2cols_4itms_horiz_flow_hdr_sep ()
5273         {
5274                 // cols              : 2
5275                 // cnt               : 4
5276                 // RepeatDirection   : Horizontal
5277                 // RepeatLayout      : Flow
5278                 // OuterTableImplied : False
5279                 // Header            : True
5280                 // Footer            : False
5281                 // Separator         : True
5282
5283
5284                 string v = RepeatInfoUser.DoTest (2, 4, RepeatDirection.Horizontal, RepeatLayout.Flow, false, true, false, true);
5285                 string exp = @"<span class=""mainstyle"">(0,Header,-1)<br />(1,Item,0)(2,Separator,0)(3,Item,1)(4,Separator,1)<br />(5,Item,2)(6,Separator,2)(7,Item,3)<br /></span>";
5286                 Assert.AreEqual (exp, v, "#226");
5287         }
5288
5289
5290         [Test]
5291         public void RepeatInfo_2cols_7itms_horiz_flow_hdr_sep ()
5292         {
5293                 // cols              : 2
5294                 // cnt               : 7
5295                 // RepeatDirection   : Horizontal
5296                 // RepeatLayout      : Flow
5297                 // OuterTableImplied : False
5298                 // Header            : True
5299                 // Footer            : False
5300                 // Separator         : True
5301
5302
5303                 string v = RepeatInfoUser.DoTest (2, 7, RepeatDirection.Horizontal, RepeatLayout.Flow, false, true, false, true);
5304                 string exp = @"<span class=""mainstyle"">(0,Header,-1)<br />(1,Item,0)(2,Separator,0)(3,Item,1)(4,Separator,1)<br />(5,Item,2)(6,Separator,2)(7,Item,3)(8,Separator,3)<br />(9,Item,4)(10,Separator,4)(11,Item,5)(12,Separator,5)<br />(13,Item,6)<br /></span>";
5305                 Assert.AreEqual (exp, v, "#227");
5306         }
5307
5308
5309         [Test]
5310         public void RepeatInfo_3cols_9itms_horiz_flow_hdr_sep ()
5311         {
5312                 // cols              : 3
5313                 // cnt               : 9
5314                 // RepeatDirection   : Horizontal
5315                 // RepeatLayout      : Flow
5316                 // OuterTableImplied : False
5317                 // Header            : True
5318                 // Footer            : False
5319                 // Separator         : True
5320
5321
5322                 string v = RepeatInfoUser.DoTest (3, 9, RepeatDirection.Horizontal, RepeatLayout.Flow, false, true, false, true);
5323                 string exp = @"<span>(0,Header,-1)<br />(1,Item,0)(2,Separator,0)(3,Item,1)(4,Separator,1)(5,Item,2)(6,Separator,2)<br />(7,Item,3)(8,Separator,3)(9,Item,4)(10,Separator,4)(11,Item,5)(12,Separator,5)<br />(13,Item,6)(14,Separator,6)(15,Item,7)(16,Separator,7)(17,Item,8)<br /></span>";
5324                 Assert.AreEqual (exp, v, "#228");
5325         }
5326
5327
5328         [Test]
5329         public void RepeatInfo_3cols_7itms_horiz_flow_hdr_sep ()
5330         {
5331                 // cols              : 3
5332                 // cnt               : 7
5333                 // RepeatDirection   : Horizontal
5334                 // RepeatLayout      : Flow
5335                 // OuterTableImplied : False
5336                 // Header            : True
5337                 // Footer            : False
5338                 // Separator         : True
5339
5340
5341                 string v = RepeatInfoUser.DoTest (3, 7, RepeatDirection.Horizontal, RepeatLayout.Flow, false, true, false, true);
5342                 string exp = @"<span>(0,Header,-1)<br />(1,Item,0)(2,Separator,0)(3,Item,1)(4,Separator,1)(5,Item,2)(6,Separator,2)<br />(7,Item,3)(8,Separator,3)(9,Item,4)(10,Separator,4)(11,Item,5)(12,Separator,5)<br />(13,Item,6)<br /></span>";
5343                 Assert.AreEqual (exp, v, "#229");
5344         }
5345
5346
5347         [Test]
5348         public void RepeatInfo_0cols_0itms_vert_flow_hdr_sep ()
5349         {
5350                 // cols              : 0
5351                 // cnt               : 0
5352                 // RepeatDirection   : Vertical
5353                 // RepeatLayout      : Flow
5354                 // OuterTableImplied : False
5355                 // Header            : True
5356                 // Footer            : False
5357                 // Separator         : True
5358
5359
5360                 string v = RepeatInfoUser.DoTest (0, 0, RepeatDirection.Vertical, RepeatLayout.Flow, false, true, false, true);
5361                 string exp = @"<span class=""mainstyle"">(0,Header,-1)<br /></span>";
5362                 Assert.AreEqual (exp, v, "#230");
5363         }
5364
5365
5366         [Test]
5367         public void RepeatInfo_0cols_1itms_vert_flow_hdr_sep ()
5368         {
5369                 // cols              : 0
5370                 // cnt               : 1
5371                 // RepeatDirection   : Vertical
5372                 // RepeatLayout      : Flow
5373                 // OuterTableImplied : False
5374                 // Header            : True
5375                 // Footer            : False
5376                 // Separator         : True
5377
5378
5379                 string v = RepeatInfoUser.DoTest (0, 1, RepeatDirection.Vertical, RepeatLayout.Flow, false, true, false, true);
5380                 string exp = @"<span class=""mainstyle"">(0,Header,-1)<br />(1,Item,0)</span>";
5381                 Assert.AreEqual (exp, v, "#231");
5382         }
5383
5384
5385         [Test]
5386         public void RepeatInfo_0cols_2itms_vert_flow_hdr_sep ()
5387         {
5388                 // cols              : 0
5389                 // cnt               : 2
5390                 // RepeatDirection   : Vertical
5391                 // RepeatLayout      : Flow
5392                 // OuterTableImplied : False
5393                 // Header            : True
5394                 // Footer            : False
5395                 // Separator         : True
5396
5397
5398                 string v = RepeatInfoUser.DoTest (0, 2, RepeatDirection.Vertical, RepeatLayout.Flow, false, true, false, true);
5399                 string exp = @"<span class=""mainstyle"">(0,Header,-1)<br />(1,Item,0)<br />(2,Separator,0)<br />(3,Item,1)</span>";
5400                 Assert.AreEqual (exp, v, "#232");
5401         }
5402
5403
5404         [Test]
5405         public void RepeatInfo_0cols_5itms_vert_flow_hdr_sep ()
5406         {
5407                 // cols              : 0
5408                 // cnt               : 5
5409                 // RepeatDirection   : Vertical
5410                 // RepeatLayout      : Flow
5411                 // OuterTableImplied : False
5412                 // Header            : True
5413                 // Footer            : False
5414                 // Separator         : True
5415
5416
5417                 string v = RepeatInfoUser.DoTest (0, 5, RepeatDirection.Vertical, RepeatLayout.Flow, false, true, false, true);
5418                 string exp = @"<span class=""mainstyle"">(0,Header,-1)<br />(1,Item,0)<br />(2,Separator,0)<br />(3,Item,1)<br />(4,Separator,1)<br />(5,Item,2)<br />(6,Separator,2)<br />(7,Item,3)<br />(8,Separator,3)<br />(9,Item,4)</span>";
5419                 Assert.AreEqual (exp, v, "#233");
5420         }
5421
5422
5423         [Test]
5424         public void RepeatInfo_1cols_0itms_vert_flow_hdr_sep ()
5425         {
5426                 // cols              : 1
5427                 // cnt               : 0
5428                 // RepeatDirection   : Vertical
5429                 // RepeatLayout      : Flow
5430                 // OuterTableImplied : False
5431                 // Header            : True
5432                 // Footer            : False
5433                 // Separator         : True
5434
5435
5436                 string v = RepeatInfoUser.DoTest (1, 0, RepeatDirection.Vertical, RepeatLayout.Flow, false, true, false, true);
5437                 string exp = @"<span class=""mainstyle"">(0,Header,-1)<br /></span>";
5438                 Assert.AreEqual (exp, v, "#234");
5439         }
5440
5441
5442         [Test]
5443         public void RepeatInfo_1cols_5itms_vert_flow_hdr_sep ()
5444         {
5445                 // cols              : 1
5446                 // cnt               : 5
5447                 // RepeatDirection   : Vertical
5448                 // RepeatLayout      : Flow
5449                 // OuterTableImplied : False
5450                 // Header            : True
5451                 // Footer            : False
5452                 // Separator         : True
5453
5454
5455                 string v = RepeatInfoUser.DoTest (1, 5, RepeatDirection.Vertical, RepeatLayout.Flow, false, true, false, true);
5456                 string exp = @"<span class=""mainstyle"">(0,Header,-1)<br />(1,Item,0)<br />(2,Separator,0)<br />(3,Item,1)<br />(4,Separator,1)<br />(5,Item,2)<br />(6,Separator,2)<br />(7,Item,3)<br />(8,Separator,3)<br />(9,Item,4)</span>";
5457                 Assert.AreEqual (exp, v, "#235");
5458         }
5459
5460
5461         [Test]
5462         public void RepeatInfo_2cols_4itms_vert_flow_hdr_sep ()
5463         {
5464                 // cols              : 2
5465                 // cnt               : 4
5466                 // RepeatDirection   : Vertical
5467                 // RepeatLayout      : Flow
5468                 // OuterTableImplied : False
5469                 // Header            : True
5470                 // Footer            : False
5471                 // Separator         : True
5472
5473
5474                 string v = RepeatInfoUser.DoTest (2, 4, RepeatDirection.Vertical, RepeatLayout.Flow, false, true, false, true);
5475                 string exp = @"<span class=""mainstyle"">(0,Header,-1)<br />(1,Item,0)(2,Separator,0)(3,Item,2)(4,Separator,2)<br />(5,Item,1)(6,Separator,1)(7,Item,3)</span>";
5476                 Assert.AreEqual (exp, v, "#236");
5477         }
5478
5479
5480         [Test]
5481         public void RepeatInfo_2cols_7itms_vert_flow_hdr_sep ()
5482         {
5483                 // cols              : 2
5484                 // cnt               : 7
5485                 // RepeatDirection   : Vertical
5486                 // RepeatLayout      : Flow
5487                 // OuterTableImplied : False
5488                 // Header            : True
5489                 // Footer            : False
5490                 // Separator         : True
5491
5492
5493                 string v = RepeatInfoUser.DoTest (2, 7, RepeatDirection.Vertical, RepeatLayout.Flow, false, true, false, true);
5494                 string exp = @"<span class=""mainstyle"">(0,Header,-1)<br />(1,Item,0)(2,Separator,0)(3,Item,4)(4,Separator,4)<br />(5,Item,1)(6,Separator,1)(7,Item,5)(8,Separator,5)<br />(9,Item,2)(10,Separator,2)(11,Item,6)<br />(12,Item,3)(13,Separator,3)</span>";
5495                 Assert.AreEqual (exp, v, "#237");
5496         }
5497
5498
5499         [Test]
5500         public void RepeatInfo_3cols_9itms_vert_flow_hdr_sep ()
5501         {
5502                 // cols              : 3
5503                 // cnt               : 9
5504                 // RepeatDirection   : Vertical
5505                 // RepeatLayout      : Flow
5506                 // OuterTableImplied : False
5507                 // Header            : True
5508                 // Footer            : False
5509                 // Separator         : True
5510
5511
5512                 string v = RepeatInfoUser.DoTest (3, 9, RepeatDirection.Vertical, RepeatLayout.Flow, false, true, false, true);
5513                 string exp = @"<span>(0,Header,-1)<br />(1,Item,0)(2,Separator,0)(3,Item,3)(4,Separator,3)(5,Item,6)(6,Separator,6)<br />(7,Item,1)(8,Separator,1)(9,Item,4)(10,Separator,4)(11,Item,7)(12,Separator,7)<br />(13,Item,2)(14,Separator,2)(15,Item,5)(16,Separator,5)(17,Item,8)</span>";
5514                 Assert.AreEqual (exp, v, "#238");
5515         }
5516
5517
5518         [Test]
5519         public void RepeatInfo_3cols_7itms_vert_flow_hdr_sep ()
5520         {
5521                 // cols              : 3
5522                 // cnt               : 7
5523                 // RepeatDirection   : Vertical
5524                 // RepeatLayout      : Flow
5525                 // OuterTableImplied : False
5526                 // Header            : True
5527                 // Footer            : False
5528                 // Separator         : True
5529
5530
5531                 string v = RepeatInfoUser.DoTest (3, 7, RepeatDirection.Vertical, RepeatLayout.Flow, false, true, false, true);
5532                 string exp = @"<span>(0,Header,-1)<br />(1,Item,0)(2,Separator,0)(3,Item,3)(4,Separator,3)(5,Item,5)(6,Separator,5)<br />(7,Item,1)(8,Separator,1)(9,Item,4)(10,Separator,4)(11,Item,6)<br />(12,Item,2)(13,Separator,2)</span>";
5533                 Assert.AreEqual (exp, v, "#239");
5534         }
5535
5536
5537         [Test]
5538         public void RepeatInfo_0cols_0itms_horiz_tbl_otrtblimp_sep ()
5539         {
5540                 // cols              : 0
5541                 // cnt               : 0
5542                 // RepeatDirection   : Horizontal
5543                 // RepeatLayout      : Table
5544                 // OuterTableImplied : True
5545                 // Header            : False
5546                 // Footer            : False
5547                 // Separator         : True
5548
5549
5550                 string v = RepeatInfoUser.DoTest (0, 0, RepeatDirection.Horizontal, RepeatLayout.Table, true, false, false, true);
5551                 string exp = @"<table class=""mainstyle"">
5552
5553 </table>";
5554                 Assert.AreEqual (exp, v, "#240");
5555         }
5556
5557
5558         [Test]
5559         public void RepeatInfo_0cols_1itms_horiz_tbl_otrtblimp_sep ()
5560         {
5561                 // cols              : 0
5562                 // cnt               : 1
5563                 // RepeatDirection   : Horizontal
5564                 // RepeatLayout      : Table
5565                 // OuterTableImplied : True
5566                 // Header            : False
5567                 // Footer            : False
5568                 // Separator         : True
5569
5570
5571                 string v = RepeatInfoUser.DoTest (0, 1, RepeatDirection.Horizontal, RepeatLayout.Table, true, false, false, true);
5572                 string exp = @"<table class=""mainstyle"">
5573         <tr>
5574                 <td class=""Item0"">(0,Item,0)</td><td></td>
5575         </tr>
5576 </table>";
5577                 Assert.AreEqual (exp, v, "#241");
5578         }
5579
5580
5581         [Test]
5582         public void RepeatInfo_0cols_2itms_horiz_tbl_otrtblimp_sep ()
5583         {
5584                 // cols              : 0
5585                 // cnt               : 2
5586                 // RepeatDirection   : Horizontal
5587                 // RepeatLayout      : Table
5588                 // OuterTableImplied : True
5589                 // Header            : False
5590                 // Footer            : False
5591                 // Separator         : True
5592
5593
5594                 string v = RepeatInfoUser.DoTest (0, 2, RepeatDirection.Horizontal, RepeatLayout.Table, true, false, false, true);
5595                 string exp = @"<table class=""mainstyle"">
5596         <tr>
5597                 <td class=""Item0"">(0,Item,0)</td><td class=""Separator0"">(1,Separator,0)</td><td class=""Item1"">(2,Item,1)</td><td></td>
5598         </tr>
5599 </table>";
5600                 Assert.AreEqual (exp, v, "#242");
5601         }
5602
5603
5604         [Test]
5605         public void RepeatInfo_0cols_5itms_horiz_tbl_otrtblimp_sep ()
5606         {
5607                 // cols              : 0
5608                 // cnt               : 5
5609                 // RepeatDirection   : Horizontal
5610                 // RepeatLayout      : Table
5611                 // OuterTableImplied : True
5612                 // Header            : False
5613                 // Footer            : False
5614                 // Separator         : True
5615
5616
5617                 string v = RepeatInfoUser.DoTest (0, 5, RepeatDirection.Horizontal, RepeatLayout.Table, true, false, false, true);
5618                 string exp = @"<table class=""mainstyle"">
5619         <tr>
5620                 <td class=""Item0"">(0,Item,0)</td><td class=""Separator0"">(1,Separator,0)</td><td class=""Item1"">(2,Item,1)</td><td class=""Separator1"">(3,Separator,1)</td><td class=""Item2"">(4,Item,2)</td><td class=""Separator2"">(5,Separator,2)</td><td class=""Item3"">(6,Item,3)</td><td class=""Separator3"">(7,Separator,3)</td><td class=""Item4"">(8,Item,4)</td><td></td>
5621         </tr>
5622 </table>";
5623                 Assert.AreEqual (exp, v, "#243");
5624         }
5625
5626
5627         [Test]
5628         public void RepeatInfo_1cols_0itms_horiz_tbl_otrtblimp_sep ()
5629         {
5630                 // cols              : 1
5631                 // cnt               : 0
5632                 // RepeatDirection   : Horizontal
5633                 // RepeatLayout      : Table
5634                 // OuterTableImplied : True
5635                 // Header            : False
5636                 // Footer            : False
5637                 // Separator         : True
5638
5639
5640                 string v = RepeatInfoUser.DoTest (1, 0, RepeatDirection.Horizontal, RepeatLayout.Table, true, false, false, true);
5641                 string exp = @"<table class=""mainstyle"">
5642
5643 </table>";
5644                 Assert.AreEqual (exp, v, "#244");
5645         }
5646
5647
5648         [Test]
5649         public void RepeatInfo_1cols_5itms_horiz_tbl_otrtblimp_sep ()
5650         {
5651                 // cols              : 1
5652                 // cnt               : 5
5653                 // RepeatDirection   : Horizontal
5654                 // RepeatLayout      : Table
5655                 // OuterTableImplied : True
5656                 // Header            : False
5657                 // Footer            : False
5658                 // Separator         : True
5659
5660
5661                 string v = RepeatInfoUser.DoTest (1, 5, RepeatDirection.Horizontal, RepeatLayout.Table, true, false, false, true);
5662                 string exp = @"<table class=""mainstyle"">
5663         <tr>
5664                 <td class=""Item0"">(0,Item,0)</td><td class=""Separator0"">(1,Separator,0)</td>
5665         </tr><tr>
5666                 <td class=""Item1"">(2,Item,1)</td><td class=""Separator1"">(3,Separator,1)</td>
5667         </tr><tr>
5668                 <td class=""Item2"">(4,Item,2)</td><td class=""Separator2"">(5,Separator,2)</td>
5669         </tr><tr>
5670                 <td class=""Item3"">(6,Item,3)</td><td class=""Separator3"">(7,Separator,3)</td>
5671         </tr><tr>
5672                 <td class=""Item4"">(8,Item,4)</td><td></td>
5673         </tr>
5674 </table>";
5675                 Assert.AreEqual (exp, v, "#245");
5676         }
5677
5678
5679         [Test]
5680         public void RepeatInfo_2cols_4itms_horiz_tbl_otrtblimp_sep ()
5681         {
5682                 // cols              : 2
5683                 // cnt               : 4
5684                 // RepeatDirection   : Horizontal
5685                 // RepeatLayout      : Table
5686                 // OuterTableImplied : True
5687                 // Header            : False
5688                 // Footer            : False
5689                 // Separator         : True
5690
5691
5692                 string v = RepeatInfoUser.DoTest (2, 4, RepeatDirection.Horizontal, RepeatLayout.Table, true, false, false, true);
5693                 string exp = @"<table class=""mainstyle"">
5694         <tr>
5695                 <td class=""Item0"">(0,Item,0)</td><td class=""Separator0"">(1,Separator,0)</td><td class=""Item1"">(2,Item,1)</td><td class=""Separator1"">(3,Separator,1)</td>
5696         </tr><tr>
5697                 <td class=""Item2"">(4,Item,2)</td><td class=""Separator2"">(5,Separator,2)</td><td class=""Item3"">(6,Item,3)</td><td></td>
5698         </tr>
5699 </table>";
5700                 Assert.AreEqual (exp, v, "#246");
5701         }
5702
5703
5704         [Test]
5705         public void RepeatInfo_2cols_7itms_horiz_tbl_otrtblimp_sep ()
5706         {
5707                 // cols              : 2
5708                 // cnt               : 7
5709                 // RepeatDirection   : Horizontal
5710                 // RepeatLayout      : Table
5711                 // OuterTableImplied : True
5712                 // Header            : False
5713                 // Footer            : False
5714                 // Separator         : True
5715
5716
5717                 string v = RepeatInfoUser.DoTest (2, 7, RepeatDirection.Horizontal, RepeatLayout.Table, true, false, false, true);
5718                 string exp = @"<table class=""mainstyle"">
5719         <tr>
5720                 <td class=""Item0"">(0,Item,0)</td><td class=""Separator0"">(1,Separator,0)</td><td class=""Item1"">(2,Item,1)</td><td class=""Separator1"">(3,Separator,1)</td>
5721         </tr><tr>
5722                 <td class=""Item2"">(4,Item,2)</td><td class=""Separator2"">(5,Separator,2)</td><td class=""Item3"">(6,Item,3)</td><td class=""Separator3"">(7,Separator,3)</td>
5723         </tr><tr>
5724                 <td class=""Item4"">(8,Item,4)</td><td class=""Separator4"">(9,Separator,4)</td><td class=""Item5"">(10,Item,5)</td><td class=""Separator5"">(11,Separator,5)</td>
5725         </tr><tr>
5726                 <td class=""Item6"">(12,Item,6)</td><td></td><td></td><td></td>
5727         </tr>
5728 </table>";
5729                 Assert.AreEqual (exp, v, "#247");
5730         }
5731
5732
5733         [Test]
5734         public void RepeatInfo_3cols_9itms_horiz_tbl_otrtblimp_sep ()
5735         {
5736                 // cols              : 3
5737                 // cnt               : 9
5738                 // RepeatDirection   : Horizontal
5739                 // RepeatLayout      : Table
5740                 // OuterTableImplied : True
5741                 // Header            : False
5742                 // Footer            : False
5743                 // Separator         : True
5744
5745
5746                 string v = RepeatInfoUser.DoTest (3, 9, RepeatDirection.Horizontal, RepeatLayout.Table, true, false, false, true);
5747                 string exp = @"<table>
5748         <tr>
5749                 <td class=""Item0"">(0,Item,0)</td><td class=""Separator0"">(1,Separator,0)</td><td class=""Item1"">(2,Item,1)</td><td class=""Separator1"">(3,Separator,1)</td><td class=""Item2"">(4,Item,2)</td><td class=""Separator2"">(5,Separator,2)</td>
5750         </tr><tr>
5751                 <td class=""Item3"">(6,Item,3)</td><td class=""Separator3"">(7,Separator,3)</td><td class=""Item4"">(8,Item,4)</td><td class=""Separator4"">(9,Separator,4)</td><td class=""Item5"">(10,Item,5)</td><td class=""Separator5"">(11,Separator,5)</td>
5752         </tr><tr>
5753                 <td class=""Item6"">(12,Item,6)</td><td class=""Separator6"">(13,Separator,6)</td><td class=""Item7"">(14,Item,7)</td><td class=""Separator7"">(15,Separator,7)</td><td class=""Item8"">(16,Item,8)</td><td></td>
5754         </tr>
5755 </table>";
5756                 Assert.AreEqual (exp, v, "#248");
5757         }
5758
5759
5760         [Test]
5761         public void RepeatInfo_3cols_7itms_horiz_tbl_otrtblimp_sep ()
5762         {
5763                 // cols              : 3
5764                 // cnt               : 7
5765                 // RepeatDirection   : Horizontal
5766                 // RepeatLayout      : Table
5767                 // OuterTableImplied : True
5768                 // Header            : False
5769                 // Footer            : False
5770                 // Separator         : True
5771
5772
5773                 string v = RepeatInfoUser.DoTest (3, 7, RepeatDirection.Horizontal, RepeatLayout.Table, true, false, false, true);
5774                 string exp = @"<table>
5775         <tr>
5776                 <td class=""Item0"">(0,Item,0)</td><td class=""Separator0"">(1,Separator,0)</td><td class=""Item1"">(2,Item,1)</td><td class=""Separator1"">(3,Separator,1)</td><td class=""Item2"">(4,Item,2)</td><td class=""Separator2"">(5,Separator,2)</td>
5777         </tr><tr>
5778                 <td class=""Item3"">(6,Item,3)</td><td class=""Separator3"">(7,Separator,3)</td><td class=""Item4"">(8,Item,4)</td><td class=""Separator4"">(9,Separator,4)</td><td class=""Item5"">(10,Item,5)</td><td class=""Separator5"">(11,Separator,5)</td>
5779         </tr><tr>
5780                 <td class=""Item6"">(12,Item,6)</td><td></td><td></td><td></td><td></td><td></td>
5781         </tr>
5782 </table>";
5783                 Assert.AreEqual (exp, v, "#249");
5784         }
5785
5786
5787         [Test]
5788         public void RepeatInfo_0cols_0itms_vert_tbl_otrtblimp_sep ()
5789         {
5790                 // cols              : 0
5791                 // cnt               : 0
5792                 // RepeatDirection   : Vertical
5793                 // RepeatLayout      : Table
5794                 // OuterTableImplied : True
5795                 // Header            : False
5796                 // Footer            : False
5797                 // Separator         : True
5798
5799
5800                 string v = RepeatInfoUser.DoTest (0, 0, RepeatDirection.Vertical, RepeatLayout.Table, true, false, false, true);
5801                 string exp = @"";
5802                 Assert.AreEqual (exp, v, "#250");
5803         }
5804
5805
5806         [Test]
5807         public void RepeatInfo_0cols_1itms_vert_tbl_otrtblimp_sep ()
5808         {
5809                 // cols              : 0
5810                 // cnt               : 1
5811                 // RepeatDirection   : Vertical
5812                 // RepeatLayout      : Table
5813                 // OuterTableImplied : True
5814                 // Header            : False
5815                 // Footer            : False
5816                 // Separator         : True
5817
5818
5819                 string v = RepeatInfoUser.DoTest (0, 1, RepeatDirection.Vertical, RepeatLayout.Table, true, false, false, true);
5820                 string exp = @"(0,Item,0)";
5821                 Assert.AreEqual (exp, v, "#251");
5822         }
5823
5824
5825         [Test]
5826         public void RepeatInfo_0cols_2itms_vert_tbl_otrtblimp_sep ()
5827         {
5828                 // cols              : 0
5829                 // cnt               : 2
5830                 // RepeatDirection   : Vertical
5831                 // RepeatLayout      : Table
5832                 // OuterTableImplied : True
5833                 // Header            : False
5834                 // Footer            : False
5835                 // Separator         : True
5836
5837
5838                 string v = RepeatInfoUser.DoTest (0, 2, RepeatDirection.Vertical, RepeatLayout.Table, true, false, false, true);
5839                 string exp = @"(0,Item,0)(1,Separator,0)(2,Item,1)";
5840                 Assert.AreEqual (exp, v, "#252");
5841         }
5842
5843
5844         [Test]
5845         public void RepeatInfo_0cols_5itms_vert_tbl_otrtblimp_sep ()
5846         {
5847                 // cols              : 0
5848                 // cnt               : 5
5849                 // RepeatDirection   : Vertical
5850                 // RepeatLayout      : Table
5851                 // OuterTableImplied : True
5852                 // Header            : False
5853                 // Footer            : False
5854                 // Separator         : True
5855
5856
5857                 string v = RepeatInfoUser.DoTest (0, 5, RepeatDirection.Vertical, RepeatLayout.Table, true, false, false, true);
5858                 string exp = @"(0,Item,0)(1,Separator,0)(2,Item,1)(3,Separator,1)(4,Item,2)(5,Separator,2)(6,Item,3)(7,Separator,3)(8,Item,4)";
5859                 Assert.AreEqual (exp, v, "#253");
5860         }
5861
5862
5863         [Test]
5864         public void RepeatInfo_1cols_0itms_vert_tbl_otrtblimp_sep ()
5865         {
5866                 // cols              : 1
5867                 // cnt               : 0
5868                 // RepeatDirection   : Vertical
5869                 // RepeatLayout      : Table
5870                 // OuterTableImplied : True
5871                 // Header            : False
5872                 // Footer            : False
5873                 // Separator         : True
5874
5875
5876                 string v = RepeatInfoUser.DoTest (1, 0, RepeatDirection.Vertical, RepeatLayout.Table, true, false, false, true);
5877                 string exp = @"";
5878                 Assert.AreEqual (exp, v, "#254");
5879         }
5880
5881
5882         [Test]
5883         public void RepeatInfo_1cols_5itms_vert_tbl_otrtblimp_sep ()
5884         {
5885                 // cols              : 1
5886                 // cnt               : 5
5887                 // RepeatDirection   : Vertical
5888                 // RepeatLayout      : Table
5889                 // OuterTableImplied : True
5890                 // Header            : False
5891                 // Footer            : False
5892                 // Separator         : True
5893
5894
5895                 string v = RepeatInfoUser.DoTest (1, 5, RepeatDirection.Vertical, RepeatLayout.Table, true, false, false, true);
5896                 string exp = @"(0,Item,0)(1,Separator,0)(2,Item,1)(3,Separator,1)(4,Item,2)(5,Separator,2)(6,Item,3)(7,Separator,3)(8,Item,4)";
5897                 Assert.AreEqual (exp, v, "#255");
5898         }
5899
5900
5901         [Test]
5902         public void RepeatInfo_2cols_4itms_vert_tbl_otrtblimp_sep ()
5903         {
5904                 // cols              : 2
5905                 // cnt               : 4
5906                 // RepeatDirection   : Vertical
5907                 // RepeatLayout      : Table
5908                 // OuterTableImplied : True
5909                 // Header            : False
5910                 // Footer            : False
5911                 // Separator         : True
5912
5913
5914                 string v = RepeatInfoUser.DoTest (2, 4, RepeatDirection.Vertical, RepeatLayout.Table, true, false, false, true);
5915                 string exp = @"(0,Item,0)(1,Separator,0)(2,Item,2)(3,Separator,2)(4,Item,1)(5,Separator,1)(6,Item,3)";
5916                 Assert.AreEqual (exp, v, "#256");
5917         }
5918
5919
5920         [Test]
5921         public void RepeatInfo_2cols_7itms_vert_tbl_otrtblimp_sep ()
5922         {
5923                 // cols              : 2
5924                 // cnt               : 7
5925                 // RepeatDirection   : Vertical
5926                 // RepeatLayout      : Table
5927                 // OuterTableImplied : True
5928                 // Header            : False
5929                 // Footer            : False
5930                 // Separator         : True
5931
5932
5933                 string v = RepeatInfoUser.DoTest (2, 7, RepeatDirection.Vertical, RepeatLayout.Table, true, false, false, true);
5934                 string exp = @"(0,Item,0)(1,Separator,0)(2,Item,4)(3,Separator,4)(4,Item,1)(5,Separator,1)(6,Item,5)(7,Separator,5)(8,Item,2)(9,Separator,2)(10,Item,6)(11,Item,3)(12,Separator,3)";
5935                 Assert.AreEqual (exp, v, "#257");
5936         }
5937
5938
5939         [Test]
5940         public void RepeatInfo_3cols_9itms_vert_tbl_otrtblimp_sep ()
5941         {
5942                 // cols              : 3
5943                 // cnt               : 9
5944                 // RepeatDirection   : Vertical
5945                 // RepeatLayout      : Table
5946                 // OuterTableImplied : True
5947                 // Header            : False
5948                 // Footer            : False
5949                 // Separator         : True
5950
5951
5952                 string v = RepeatInfoUser.DoTest (3, 9, RepeatDirection.Vertical, RepeatLayout.Table, true, false, false, true);
5953                 string exp = @"(0,Item,0)(1,Separator,0)(2,Item,3)(3,Separator,3)(4,Item,6)(5,Separator,6)(6,Item,1)(7,Separator,1)(8,Item,4)(9,Separator,4)(10,Item,7)(11,Separator,7)(12,Item,2)(13,Separator,2)(14,Item,5)(15,Separator,5)(16,Item,8)";
5954                 Assert.AreEqual (exp, v, "#258");
5955         }
5956
5957
5958         [Test]
5959         public void RepeatInfo_3cols_7itms_vert_tbl_otrtblimp_sep ()
5960         {
5961                 // cols              : 3
5962                 // cnt               : 7
5963                 // RepeatDirection   : Vertical
5964                 // RepeatLayout      : Table
5965                 // OuterTableImplied : True
5966                 // Header            : False
5967                 // Footer            : False
5968                 // Separator         : True
5969
5970
5971                 string v = RepeatInfoUser.DoTest (3, 7, RepeatDirection.Vertical, RepeatLayout.Table, true, false, false, true);
5972                 string exp = @"(0,Item,0)(1,Separator,0)(2,Item,3)(3,Separator,3)(4,Item,5)(5,Separator,5)(6,Item,1)(7,Separator,1)(8,Item,4)(9,Separator,4)(10,Item,6)(11,Item,2)(12,Separator,2)";
5973                 Assert.AreEqual (exp, v, "#259");
5974         }
5975
5976
5977         [Test]
5978         public void RepeatInfo_0cols_0itms_horiz_flow_otrtblimp_sep ()
5979         {
5980                 // cols              : 0
5981                 // cnt               : 0
5982                 // RepeatDirection   : Horizontal
5983                 // RepeatLayout      : Flow
5984                 // OuterTableImplied : True
5985                 // Header            : False
5986                 // Footer            : False
5987                 // Separator         : True
5988
5989
5990                 string v = RepeatInfoUser.DoTest (0, 0, RepeatDirection.Horizontal, RepeatLayout.Flow, true, false, false, true);
5991                 string exp = @"<span class=""mainstyle""></span>";
5992                 Assert.AreEqual (exp, v, "#260");
5993         }
5994
5995
5996         [Test]
5997         public void RepeatInfo_0cols_1itms_horiz_flow_otrtblimp_sep ()
5998         {
5999                 // cols              : 0
6000                 // cnt               : 1
6001                 // RepeatDirection   : Horizontal
6002                 // RepeatLayout      : Flow
6003                 // OuterTableImplied : True
6004                 // Header            : False
6005                 // Footer            : False
6006                 // Separator         : True
6007
6008
6009                 string v = RepeatInfoUser.DoTest (0, 1, RepeatDirection.Horizontal, RepeatLayout.Flow, true, false, false, true);
6010                 string exp = @"<span class=""mainstyle"">(0,Item,0)</span>";
6011                 Assert.AreEqual (exp, v, "#261");
6012         }
6013
6014
6015         [Test]
6016         public void RepeatInfo_0cols_2itms_horiz_flow_otrtblimp_sep ()
6017         {
6018                 // cols              : 0
6019                 // cnt               : 2
6020                 // RepeatDirection   : Horizontal
6021                 // RepeatLayout      : Flow
6022                 // OuterTableImplied : True
6023                 // Header            : False
6024                 // Footer            : False
6025                 // Separator         : True
6026
6027
6028                 string v = RepeatInfoUser.DoTest (0, 2, RepeatDirection.Horizontal, RepeatLayout.Flow, true, false, false, true);
6029                 string exp = @"<span class=""mainstyle"">(0,Item,0)(1,Separator,0)(2,Item,1)</span>";
6030                 Assert.AreEqual (exp, v, "#262");
6031         }
6032
6033
6034         [Test]
6035         public void RepeatInfo_0cols_5itms_horiz_flow_otrtblimp_sep ()
6036         {
6037                 // cols              : 0
6038                 // cnt               : 5
6039                 // RepeatDirection   : Horizontal
6040                 // RepeatLayout      : Flow
6041                 // OuterTableImplied : True
6042                 // Header            : False
6043                 // Footer            : False
6044                 // Separator         : True
6045
6046
6047                 string v = RepeatInfoUser.DoTest (0, 5, RepeatDirection.Horizontal, RepeatLayout.Flow, true, false, false, true);
6048                 string exp = @"<span class=""mainstyle"">(0,Item,0)(1,Separator,0)(2,Item,1)(3,Separator,1)(4,Item,2)(5,Separator,2)(6,Item,3)(7,Separator,3)(8,Item,4)</span>";
6049                 Assert.AreEqual (exp, v, "#263");
6050         }
6051
6052
6053         [Test]
6054         public void RepeatInfo_1cols_0itms_horiz_flow_otrtblimp_sep ()
6055         {
6056                 // cols              : 1
6057                 // cnt               : 0
6058                 // RepeatDirection   : Horizontal
6059                 // RepeatLayout      : Flow
6060                 // OuterTableImplied : True
6061                 // Header            : False
6062                 // Footer            : False
6063                 // Separator         : True
6064
6065
6066                 string v = RepeatInfoUser.DoTest (1, 0, RepeatDirection.Horizontal, RepeatLayout.Flow, true, false, false, true);
6067                 string exp = @"<span class=""mainstyle""></span>";
6068                 Assert.AreEqual (exp, v, "#264");
6069         }
6070
6071
6072         [Test]
6073         public void RepeatInfo_1cols_5itms_horiz_flow_otrtblimp_sep ()
6074         {
6075                 // cols              : 1
6076                 // cnt               : 5
6077                 // RepeatDirection   : Horizontal
6078                 // RepeatLayout      : Flow
6079                 // OuterTableImplied : True
6080                 // Header            : False
6081                 // Footer            : False
6082                 // Separator         : True
6083
6084
6085                 string v = RepeatInfoUser.DoTest (1, 5, RepeatDirection.Horizontal, RepeatLayout.Flow, true, false, false, true);
6086                 string exp = @"<span class=""mainstyle"">(0,Item,0)(1,Separator,0)<br />(2,Item,1)(3,Separator,1)<br />(4,Item,2)(5,Separator,2)<br />(6,Item,3)(7,Separator,3)<br />(8,Item,4)<br /></span>";
6087                 Assert.AreEqual (exp, v, "#265");
6088         }
6089
6090
6091         [Test]
6092         public void RepeatInfo_2cols_4itms_horiz_flow_otrtblimp_sep ()
6093         {
6094                 // cols              : 2
6095                 // cnt               : 4
6096                 // RepeatDirection   : Horizontal
6097                 // RepeatLayout      : Flow
6098                 // OuterTableImplied : True
6099                 // Header            : False
6100                 // Footer            : False
6101                 // Separator         : True
6102
6103
6104                 string v = RepeatInfoUser.DoTest (2, 4, RepeatDirection.Horizontal, RepeatLayout.Flow, true, false, false, true);
6105                 string exp = @"<span class=""mainstyle"">(0,Item,0)(1,Separator,0)(2,Item,1)(3,Separator,1)<br />(4,Item,2)(5,Separator,2)(6,Item,3)<br /></span>";
6106                 Assert.AreEqual (exp, v, "#266");
6107         }
6108
6109
6110         [Test]
6111         public void RepeatInfo_2cols_7itms_horiz_flow_otrtblimp_sep ()
6112         {
6113                 // cols              : 2
6114                 // cnt               : 7
6115                 // RepeatDirection   : Horizontal
6116                 // RepeatLayout      : Flow
6117                 // OuterTableImplied : True
6118                 // Header            : False
6119                 // Footer            : False
6120                 // Separator         : True
6121
6122
6123                 string v = RepeatInfoUser.DoTest (2, 7, RepeatDirection.Horizontal, RepeatLayout.Flow, true, false, false, true);
6124                 string exp = @"<span class=""mainstyle"">(0,Item,0)(1,Separator,0)(2,Item,1)(3,Separator,1)<br />(4,Item,2)(5,Separator,2)(6,Item,3)(7,Separator,3)<br />(8,Item,4)(9,Separator,4)(10,Item,5)(11,Separator,5)<br />(12,Item,6)<br /></span>";
6125                 Assert.AreEqual (exp, v, "#267");
6126         }
6127
6128
6129         [Test]
6130         public void RepeatInfo_3cols_9itms_horiz_flow_otrtblimp_sep ()
6131         {
6132                 // cols              : 3
6133                 // cnt               : 9
6134                 // RepeatDirection   : Horizontal
6135                 // RepeatLayout      : Flow
6136                 // OuterTableImplied : True
6137                 // Header            : False
6138                 // Footer            : False
6139                 // Separator         : True
6140
6141
6142                 string v = RepeatInfoUser.DoTest (3, 9, RepeatDirection.Horizontal, RepeatLayout.Flow, true, false, false, true);
6143                 string exp = @"<span>(0,Item,0)(1,Separator,0)(2,Item,1)(3,Separator,1)(4,Item,2)(5,Separator,2)<br />(6,Item,3)(7,Separator,3)(8,Item,4)(9,Separator,4)(10,Item,5)(11,Separator,5)<br />(12,Item,6)(13,Separator,6)(14,Item,7)(15,Separator,7)(16,Item,8)<br /></span>";
6144                 Assert.AreEqual (exp, v, "#268");
6145         }
6146
6147
6148         [Test]
6149         public void RepeatInfo_3cols_7itms_horiz_flow_otrtblimp_sep ()
6150         {
6151                 // cols              : 3
6152                 // cnt               : 7
6153                 // RepeatDirection   : Horizontal
6154                 // RepeatLayout      : Flow
6155                 // OuterTableImplied : True
6156                 // Header            : False
6157                 // Footer            : False
6158                 // Separator         : True
6159
6160
6161                 string v = RepeatInfoUser.DoTest (3, 7, RepeatDirection.Horizontal, RepeatLayout.Flow, true, false, false, true);
6162                 string exp = @"<span>(0,Item,0)(1,Separator,0)(2,Item,1)(3,Separator,1)(4,Item,2)(5,Separator,2)<br />(6,Item,3)(7,Separator,3)(8,Item,4)(9,Separator,4)(10,Item,5)(11,Separator,5)<br />(12,Item,6)<br /></span>";
6163                 Assert.AreEqual (exp, v, "#269");
6164         }
6165
6166
6167         [Test]
6168         public void RepeatInfo_0cols_0itms_vert_flow_otrtblimp_sep ()
6169         {
6170                 // cols              : 0
6171                 // cnt               : 0
6172                 // RepeatDirection   : Vertical
6173                 // RepeatLayout      : Flow
6174                 // OuterTableImplied : True
6175                 // Header            : False
6176                 // Footer            : False
6177                 // Separator         : True
6178
6179
6180                 string v = RepeatInfoUser.DoTest (0, 0, RepeatDirection.Vertical, RepeatLayout.Flow, true, false, false, true);
6181                 string exp = @"";
6182                 Assert.AreEqual (exp, v, "#270");
6183         }
6184
6185
6186         [Test]
6187         public void RepeatInfo_0cols_1itms_vert_flow_otrtblimp_sep ()
6188         {
6189                 // cols              : 0
6190                 // cnt               : 1
6191                 // RepeatDirection   : Vertical
6192                 // RepeatLayout      : Flow
6193                 // OuterTableImplied : True
6194                 // Header            : False
6195                 // Footer            : False
6196                 // Separator         : True
6197
6198
6199                 string v = RepeatInfoUser.DoTest (0, 1, RepeatDirection.Vertical, RepeatLayout.Flow, true, false, false, true);
6200                 string exp = @"(0,Item,0)";
6201                 Assert.AreEqual (exp, v, "#271");
6202         }
6203
6204
6205         [Test]
6206         public void RepeatInfo_0cols_2itms_vert_flow_otrtblimp_sep ()
6207         {
6208                 // cols              : 0
6209                 // cnt               : 2
6210                 // RepeatDirection   : Vertical
6211                 // RepeatLayout      : Flow
6212                 // OuterTableImplied : True
6213                 // Header            : False
6214                 // Footer            : False
6215                 // Separator         : True
6216
6217
6218                 string v = RepeatInfoUser.DoTest (0, 2, RepeatDirection.Vertical, RepeatLayout.Flow, true, false, false, true);
6219                 string exp = @"(0,Item,0)(1,Separator,0)(2,Item,1)";
6220                 Assert.AreEqual (exp, v, "#272");
6221         }
6222
6223
6224         [Test]
6225         public void RepeatInfo_0cols_5itms_vert_flow_otrtblimp_sep ()
6226         {
6227                 // cols              : 0
6228                 // cnt               : 5
6229                 // RepeatDirection   : Vertical
6230                 // RepeatLayout      : Flow
6231                 // OuterTableImplied : True
6232                 // Header            : False
6233                 // Footer            : False
6234                 // Separator         : True
6235
6236
6237                 string v = RepeatInfoUser.DoTest (0, 5, RepeatDirection.Vertical, RepeatLayout.Flow, true, false, false, true);
6238                 string exp = @"(0,Item,0)(1,Separator,0)(2,Item,1)(3,Separator,1)(4,Item,2)(5,Separator,2)(6,Item,3)(7,Separator,3)(8,Item,4)";
6239                 Assert.AreEqual (exp, v, "#273");
6240         }
6241
6242
6243         [Test]
6244         public void RepeatInfo_1cols_0itms_vert_flow_otrtblimp_sep ()
6245         {
6246                 // cols              : 1
6247                 // cnt               : 0
6248                 // RepeatDirection   : Vertical
6249                 // RepeatLayout      : Flow
6250                 // OuterTableImplied : True
6251                 // Header            : False
6252                 // Footer            : False
6253                 // Separator         : True
6254
6255
6256                 string v = RepeatInfoUser.DoTest (1, 0, RepeatDirection.Vertical, RepeatLayout.Flow, true, false, false, true);
6257                 string exp = @"";
6258                 Assert.AreEqual (exp, v, "#274");
6259         }
6260
6261
6262         [Test]
6263         public void RepeatInfo_1cols_5itms_vert_flow_otrtblimp_sep ()
6264         {
6265                 // cols              : 1
6266                 // cnt               : 5
6267                 // RepeatDirection   : Vertical
6268                 // RepeatLayout      : Flow
6269                 // OuterTableImplied : True
6270                 // Header            : False
6271                 // Footer            : False
6272                 // Separator         : True
6273
6274
6275                 string v = RepeatInfoUser.DoTest (1, 5, RepeatDirection.Vertical, RepeatLayout.Flow, true, false, false, true);
6276                 string exp = @"(0,Item,0)(1,Separator,0)(2,Item,1)(3,Separator,1)(4,Item,2)(5,Separator,2)(6,Item,3)(7,Separator,3)(8,Item,4)";
6277                 Assert.AreEqual (exp, v, "#275");
6278         }
6279
6280
6281         [Test]
6282         public void RepeatInfo_2cols_4itms_vert_flow_otrtblimp_sep ()
6283         {
6284                 // cols              : 2
6285                 // cnt               : 4
6286                 // RepeatDirection   : Vertical
6287                 // RepeatLayout      : Flow
6288                 // OuterTableImplied : True
6289                 // Header            : False
6290                 // Footer            : False
6291                 // Separator         : True
6292
6293
6294                 string v = RepeatInfoUser.DoTest (2, 4, RepeatDirection.Vertical, RepeatLayout.Flow, true, false, false, true);
6295                 string exp = @"(0,Item,0)(1,Separator,0)(2,Item,2)(3,Separator,2)(4,Item,1)(5,Separator,1)(6,Item,3)";
6296                 Assert.AreEqual (exp, v, "#276");
6297         }
6298
6299
6300         [Test]
6301         public void RepeatInfo_2cols_7itms_vert_flow_otrtblimp_sep ()
6302         {
6303                 // cols              : 2
6304                 // cnt               : 7
6305                 // RepeatDirection   : Vertical
6306                 // RepeatLayout      : Flow
6307                 // OuterTableImplied : True
6308                 // Header            : False
6309                 // Footer            : False
6310                 // Separator         : True
6311
6312
6313                 string v = RepeatInfoUser.DoTest (2, 7, RepeatDirection.Vertical, RepeatLayout.Flow, true, false, false, true);
6314                 string exp = @"(0,Item,0)(1,Separator,0)(2,Item,4)(3,Separator,4)(4,Item,1)(5,Separator,1)(6,Item,5)(7,Separator,5)(8,Item,2)(9,Separator,2)(10,Item,6)(11,Item,3)(12,Separator,3)";
6315                 Assert.AreEqual (exp, v, "#277");
6316         }
6317
6318
6319         [Test]
6320         public void RepeatInfo_3cols_9itms_vert_flow_otrtblimp_sep ()
6321         {
6322                 // cols              : 3
6323                 // cnt               : 9
6324                 // RepeatDirection   : Vertical
6325                 // RepeatLayout      : Flow
6326                 // OuterTableImplied : True
6327                 // Header            : False
6328                 // Footer            : False
6329                 // Separator         : True
6330
6331
6332                 string v = RepeatInfoUser.DoTest (3, 9, RepeatDirection.Vertical, RepeatLayout.Flow, true, false, false, true);
6333                 string exp = @"(0,Item,0)(1,Separator,0)(2,Item,3)(3,Separator,3)(4,Item,6)(5,Separator,6)(6,Item,1)(7,Separator,1)(8,Item,4)(9,Separator,4)(10,Item,7)(11,Separator,7)(12,Item,2)(13,Separator,2)(14,Item,5)(15,Separator,5)(16,Item,8)";
6334                 Assert.AreEqual (exp, v, "#278");
6335         }
6336
6337
6338         [Test]
6339         public void RepeatInfo_3cols_7itms_vert_flow_otrtblimp_sep ()
6340         {
6341                 // cols              : 3
6342                 // cnt               : 7
6343                 // RepeatDirection   : Vertical
6344                 // RepeatLayout      : Flow
6345                 // OuterTableImplied : True
6346                 // Header            : False
6347                 // Footer            : False
6348                 // Separator         : True
6349
6350
6351                 string v = RepeatInfoUser.DoTest (3, 7, RepeatDirection.Vertical, RepeatLayout.Flow, true, false, false, true);
6352                 string exp = @"(0,Item,0)(1,Separator,0)(2,Item,3)(3,Separator,3)(4,Item,5)(5,Separator,5)(6,Item,1)(7,Separator,1)(8,Item,4)(9,Separator,4)(10,Item,6)(11,Item,2)(12,Separator,2)";
6353                 Assert.AreEqual (exp, v, "#279");
6354         }
6355
6356
6357         [Test]
6358         public void RepeatInfo_0cols_0itms_horiz_tbl_sep ()
6359         {
6360                 // cols              : 0
6361                 // cnt               : 0
6362                 // RepeatDirection   : Horizontal
6363                 // RepeatLayout      : Table
6364                 // OuterTableImplied : False
6365                 // Header            : False
6366                 // Footer            : False
6367                 // Separator         : True
6368
6369
6370                 string v = RepeatInfoUser.DoTest (0, 0, RepeatDirection.Horizontal, RepeatLayout.Table, false, false, false, true);
6371                 string exp = @"<table class=""mainstyle"">
6372
6373 </table>";
6374                 Assert.AreEqual (exp, v, "#280");
6375         }
6376
6377
6378         [Test]
6379         public void RepeatInfo_0cols_1itms_horiz_tbl_sep ()
6380         {
6381                 // cols              : 0
6382                 // cnt               : 1
6383                 // RepeatDirection   : Horizontal
6384                 // RepeatLayout      : Table
6385                 // OuterTableImplied : False
6386                 // Header            : False
6387                 // Footer            : False
6388                 // Separator         : True
6389
6390
6391                 string v = RepeatInfoUser.DoTest (0, 1, RepeatDirection.Horizontal, RepeatLayout.Table, false, false, false, true);
6392                 string exp = @"<table class=""mainstyle"">
6393         <tr>
6394                 <td class=""Item0"">(0,Item,0)</td><td></td>
6395         </tr>
6396 </table>";
6397                 Assert.AreEqual (exp, v, "#281");
6398         }
6399
6400
6401         [Test]
6402         public void RepeatInfo_0cols_2itms_horiz_tbl_sep ()
6403         {
6404                 // cols              : 0
6405                 // cnt               : 2
6406                 // RepeatDirection   : Horizontal
6407                 // RepeatLayout      : Table
6408                 // OuterTableImplied : False
6409                 // Header            : False
6410                 // Footer            : False
6411                 // Separator         : True
6412
6413
6414                 string v = RepeatInfoUser.DoTest (0, 2, RepeatDirection.Horizontal, RepeatLayout.Table, false, false, false, true);
6415                 string exp = @"<table class=""mainstyle"">
6416         <tr>
6417                 <td class=""Item0"">(0,Item,0)</td><td class=""Separator0"">(1,Separator,0)</td><td class=""Item1"">(2,Item,1)</td><td></td>
6418         </tr>
6419 </table>";
6420                 Assert.AreEqual (exp, v, "#282");
6421         }
6422
6423
6424         [Test]
6425         public void RepeatInfo_0cols_5itms_horiz_tbl_sep ()
6426         {
6427                 // cols              : 0
6428                 // cnt               : 5
6429                 // RepeatDirection   : Horizontal
6430                 // RepeatLayout      : Table
6431                 // OuterTableImplied : False
6432                 // Header            : False
6433                 // Footer            : False
6434                 // Separator         : True
6435
6436
6437                 string v = RepeatInfoUser.DoTest (0, 5, RepeatDirection.Horizontal, RepeatLayout.Table, false, false, false, true);
6438                 string exp = @"<table class=""mainstyle"">
6439         <tr>
6440                 <td class=""Item0"">(0,Item,0)</td><td class=""Separator0"">(1,Separator,0)</td><td class=""Item1"">(2,Item,1)</td><td class=""Separator1"">(3,Separator,1)</td><td class=""Item2"">(4,Item,2)</td><td class=""Separator2"">(5,Separator,2)</td><td class=""Item3"">(6,Item,3)</td><td class=""Separator3"">(7,Separator,3)</td><td class=""Item4"">(8,Item,4)</td><td></td>
6441         </tr>
6442 </table>";
6443                 Assert.AreEqual (exp, v, "#283");
6444         }
6445
6446
6447         [Test]
6448         public void RepeatInfo_1cols_0itms_horiz_tbl_sep ()
6449         {
6450                 // cols              : 1
6451                 // cnt               : 0
6452                 // RepeatDirection   : Horizontal
6453                 // RepeatLayout      : Table
6454                 // OuterTableImplied : False
6455                 // Header            : False
6456                 // Footer            : False
6457                 // Separator         : True
6458
6459
6460                 string v = RepeatInfoUser.DoTest (1, 0, RepeatDirection.Horizontal, RepeatLayout.Table, false, false, false, true);
6461                 string exp = @"<table class=""mainstyle"">
6462
6463 </table>";
6464                 Assert.AreEqual (exp, v, "#284");
6465         }
6466
6467
6468         [Test]
6469         public void RepeatInfo_1cols_5itms_horiz_tbl_sep ()
6470         {
6471                 // cols              : 1
6472                 // cnt               : 5
6473                 // RepeatDirection   : Horizontal
6474                 // RepeatLayout      : Table
6475                 // OuterTableImplied : False
6476                 // Header            : False
6477                 // Footer            : False
6478                 // Separator         : True
6479
6480
6481                 string v = RepeatInfoUser.DoTest (1, 5, RepeatDirection.Horizontal, RepeatLayout.Table, false, false, false, true);
6482                 string exp = @"<table class=""mainstyle"">
6483         <tr>
6484                 <td class=""Item0"">(0,Item,0)</td><td class=""Separator0"">(1,Separator,0)</td>
6485         </tr><tr>
6486                 <td class=""Item1"">(2,Item,1)</td><td class=""Separator1"">(3,Separator,1)</td>
6487         </tr><tr>
6488                 <td class=""Item2"">(4,Item,2)</td><td class=""Separator2"">(5,Separator,2)</td>
6489         </tr><tr>
6490                 <td class=""Item3"">(6,Item,3)</td><td class=""Separator3"">(7,Separator,3)</td>
6491         </tr><tr>
6492                 <td class=""Item4"">(8,Item,4)</td><td></td>
6493         </tr>
6494 </table>";
6495                 Assert.AreEqual (exp, v, "#285");
6496         }
6497
6498
6499         [Test]
6500         public void RepeatInfo_2cols_4itms_horiz_tbl_sep ()
6501         {
6502                 // cols              : 2
6503                 // cnt               : 4
6504                 // RepeatDirection   : Horizontal
6505                 // RepeatLayout      : Table
6506                 // OuterTableImplied : False
6507                 // Header            : False
6508                 // Footer            : False
6509                 // Separator         : True
6510
6511
6512                 string v = RepeatInfoUser.DoTest (2, 4, RepeatDirection.Horizontal, RepeatLayout.Table, false, false, false, true);
6513                 string exp = @"<table class=""mainstyle"">
6514         <tr>
6515                 <td class=""Item0"">(0,Item,0)</td><td class=""Separator0"">(1,Separator,0)</td><td class=""Item1"">(2,Item,1)</td><td class=""Separator1"">(3,Separator,1)</td>
6516         </tr><tr>
6517                 <td class=""Item2"">(4,Item,2)</td><td class=""Separator2"">(5,Separator,2)</td><td class=""Item3"">(6,Item,3)</td><td></td>
6518         </tr>
6519 </table>";
6520                 Assert.AreEqual (exp, v, "#286");
6521         }
6522
6523
6524         [Test]
6525         public void RepeatInfo_2cols_7itms_horiz_tbl_sep ()
6526         {
6527                 // cols              : 2
6528                 // cnt               : 7
6529                 // RepeatDirection   : Horizontal
6530                 // RepeatLayout      : Table
6531                 // OuterTableImplied : False
6532                 // Header            : False
6533                 // Footer            : False
6534                 // Separator         : True
6535
6536
6537                 string v = RepeatInfoUser.DoTest (2, 7, RepeatDirection.Horizontal, RepeatLayout.Table, false, false, false, true);
6538                 string exp = @"<table class=""mainstyle"">
6539         <tr>
6540                 <td class=""Item0"">(0,Item,0)</td><td class=""Separator0"">(1,Separator,0)</td><td class=""Item1"">(2,Item,1)</td><td class=""Separator1"">(3,Separator,1)</td>
6541         </tr><tr>
6542                 <td class=""Item2"">(4,Item,2)</td><td class=""Separator2"">(5,Separator,2)</td><td class=""Item3"">(6,Item,3)</td><td class=""Separator3"">(7,Separator,3)</td>
6543         </tr><tr>
6544                 <td class=""Item4"">(8,Item,4)</td><td class=""Separator4"">(9,Separator,4)</td><td class=""Item5"">(10,Item,5)</td><td class=""Separator5"">(11,Separator,5)</td>
6545         </tr><tr>
6546                 <td class=""Item6"">(12,Item,6)</td><td></td><td></td><td></td>
6547         </tr>
6548 </table>";
6549                 Assert.AreEqual (exp, v, "#287");
6550         }
6551
6552
6553         [Test]
6554         public void RepeatInfo_3cols_9itms_horiz_tbl_sep ()
6555         {
6556                 // cols              : 3
6557                 // cnt               : 9
6558                 // RepeatDirection   : Horizontal
6559                 // RepeatLayout      : Table
6560                 // OuterTableImplied : False
6561                 // Header            : False
6562                 // Footer            : False
6563                 // Separator         : True
6564
6565
6566                 string v = RepeatInfoUser.DoTest (3, 9, RepeatDirection.Horizontal, RepeatLayout.Table, false, false, false, true);
6567                 string exp = @"<table>
6568         <tr>
6569                 <td class=""Item0"">(0,Item,0)</td><td class=""Separator0"">(1,Separator,0)</td><td class=""Item1"">(2,Item,1)</td><td class=""Separator1"">(3,Separator,1)</td><td class=""Item2"">(4,Item,2)</td><td class=""Separator2"">(5,Separator,2)</td>
6570         </tr><tr>
6571                 <td class=""Item3"">(6,Item,3)</td><td class=""Separator3"">(7,Separator,3)</td><td class=""Item4"">(8,Item,4)</td><td class=""Separator4"">(9,Separator,4)</td><td class=""Item5"">(10,Item,5)</td><td class=""Separator5"">(11,Separator,5)</td>
6572         </tr><tr>
6573                 <td class=""Item6"">(12,Item,6)</td><td class=""Separator6"">(13,Separator,6)</td><td class=""Item7"">(14,Item,7)</td><td class=""Separator7"">(15,Separator,7)</td><td class=""Item8"">(16,Item,8)</td><td></td>
6574         </tr>
6575 </table>";
6576                 Assert.AreEqual (exp, v, "#288");
6577         }
6578
6579
6580         [Test]
6581         public void RepeatInfo_3cols_7itms_horiz_tbl_sep ()
6582         {
6583                 // cols              : 3
6584                 // cnt               : 7
6585                 // RepeatDirection   : Horizontal
6586                 // RepeatLayout      : Table
6587                 // OuterTableImplied : False
6588                 // Header            : False
6589                 // Footer            : False
6590                 // Separator         : True
6591
6592
6593                 string v = RepeatInfoUser.DoTest (3, 7, RepeatDirection.Horizontal, RepeatLayout.Table, false, false, false, true);
6594                 string exp = @"<table>
6595         <tr>
6596                 <td class=""Item0"">(0,Item,0)</td><td class=""Separator0"">(1,Separator,0)</td><td class=""Item1"">(2,Item,1)</td><td class=""Separator1"">(3,Separator,1)</td><td class=""Item2"">(4,Item,2)</td><td class=""Separator2"">(5,Separator,2)</td>
6597         </tr><tr>
6598                 <td class=""Item3"">(6,Item,3)</td><td class=""Separator3"">(7,Separator,3)</td><td class=""Item4"">(8,Item,4)</td><td class=""Separator4"">(9,Separator,4)</td><td class=""Item5"">(10,Item,5)</td><td class=""Separator5"">(11,Separator,5)</td>
6599         </tr><tr>
6600                 <td class=""Item6"">(12,Item,6)</td><td></td><td></td><td></td><td></td><td></td>
6601         </tr>
6602 </table>";
6603                 Assert.AreEqual (exp, v, "#289");
6604         }
6605
6606
6607         [Test]
6608         public void RepeatInfo_0cols_0itms_vert_tbl_sep ()
6609         {
6610                 // cols              : 0
6611                 // cnt               : 0
6612                 // RepeatDirection   : Vertical
6613                 // RepeatLayout      : Table
6614                 // OuterTableImplied : False
6615                 // Header            : False
6616                 // Footer            : False
6617                 // Separator         : True
6618
6619
6620                 string v = RepeatInfoUser.DoTest (0, 0, RepeatDirection.Vertical, RepeatLayout.Table, false, false, false, true);
6621                 string exp = @"<table class=""mainstyle"">
6622
6623 </table>";
6624                 Assert.AreEqual (exp, v, "#290");
6625         }
6626
6627
6628         [Test]
6629         public void RepeatInfo_0cols_1itms_vert_tbl_sep ()
6630         {
6631                 // cols              : 0
6632                 // cnt               : 1
6633                 // RepeatDirection   : Vertical
6634                 // RepeatLayout      : Table
6635                 // OuterTableImplied : False
6636                 // Header            : False
6637                 // Footer            : False
6638                 // Separator         : True
6639
6640
6641                 string v = RepeatInfoUser.DoTest (0, 1, RepeatDirection.Vertical, RepeatLayout.Table, false, false, false, true);
6642                 string exp = @"<table class=""mainstyle"">
6643         <tr>
6644                 <td class=""Item0"">(0,Item,0)</td>
6645         </tr>
6646 </table>";
6647                 Assert.AreEqual (exp, v, "#291");
6648         }
6649
6650
6651         [Test]
6652         public void RepeatInfo_0cols_2itms_vert_tbl_sep ()
6653         {
6654                 // cols              : 0
6655                 // cnt               : 2
6656                 // RepeatDirection   : Vertical
6657                 // RepeatLayout      : Table
6658                 // OuterTableImplied : False
6659                 // Header            : False
6660                 // Footer            : False
6661                 // Separator         : True
6662
6663
6664                 string v = RepeatInfoUser.DoTest (0, 2, RepeatDirection.Vertical, RepeatLayout.Table, false, false, false, true);
6665                 string exp = @"<table class=""mainstyle"">
6666         <tr>
6667                 <td class=""Item0"">(0,Item,0)</td>
6668         </tr><tr>
6669                 <td class=""Separator0"">(1,Separator,0)</td>
6670         </tr><tr>
6671                 <td class=""Item1"">(2,Item,1)</td>
6672         </tr>
6673 </table>";
6674                 Assert.AreEqual (exp, v, "#292");
6675         }
6676
6677
6678         [Test]
6679         public void RepeatInfo_0cols_5itms_vert_tbl_sep ()
6680         {
6681                 // cols              : 0
6682                 // cnt               : 5
6683                 // RepeatDirection   : Vertical
6684                 // RepeatLayout      : Table
6685                 // OuterTableImplied : False
6686                 // Header            : False
6687                 // Footer            : False
6688                 // Separator         : True
6689
6690
6691                 string v = RepeatInfoUser.DoTest (0, 5, RepeatDirection.Vertical, RepeatLayout.Table, false, false, false, true);
6692                 string exp = @"<table class=""mainstyle"">
6693         <tr>
6694                 <td class=""Item0"">(0,Item,0)</td>
6695         </tr><tr>
6696                 <td class=""Separator0"">(1,Separator,0)</td>
6697         </tr><tr>
6698                 <td class=""Item1"">(2,Item,1)</td>
6699         </tr><tr>
6700                 <td class=""Separator1"">(3,Separator,1)</td>
6701         </tr><tr>
6702                 <td class=""Item2"">(4,Item,2)</td>
6703         </tr><tr>
6704                 <td class=""Separator2"">(5,Separator,2)</td>
6705         </tr><tr>
6706                 <td class=""Item3"">(6,Item,3)</td>
6707         </tr><tr>
6708                 <td class=""Separator3"">(7,Separator,3)</td>
6709         </tr><tr>
6710                 <td class=""Item4"">(8,Item,4)</td>
6711         </tr>
6712 </table>";
6713                 Assert.AreEqual (exp, v, "#293");
6714         }
6715
6716
6717         [Test]
6718         public void RepeatInfo_1cols_0itms_vert_tbl_sep ()
6719         {
6720                 // cols              : 1
6721                 // cnt               : 0
6722                 // RepeatDirection   : Vertical
6723                 // RepeatLayout      : Table
6724                 // OuterTableImplied : False
6725                 // Header            : False
6726                 // Footer            : False
6727                 // Separator         : True
6728
6729
6730                 string v = RepeatInfoUser.DoTest (1, 0, RepeatDirection.Vertical, RepeatLayout.Table, false, false, false, true);
6731                 string exp = @"<table class=""mainstyle"">
6732
6733 </table>";
6734                 Assert.AreEqual (exp, v, "#294");
6735         }
6736
6737
6738         [Test]
6739         public void RepeatInfo_1cols_5itms_vert_tbl_sep ()
6740         {
6741                 // cols              : 1
6742                 // cnt               : 5
6743                 // RepeatDirection   : Vertical
6744                 // RepeatLayout      : Table
6745                 // OuterTableImplied : False
6746                 // Header            : False
6747                 // Footer            : False
6748                 // Separator         : True
6749
6750
6751                 string v = RepeatInfoUser.DoTest (1, 5, RepeatDirection.Vertical, RepeatLayout.Table, false, false, false, true);
6752                 string exp = @"<table class=""mainstyle"">
6753         <tr>
6754                 <td class=""Item0"">(0,Item,0)</td>
6755         </tr><tr>
6756                 <td class=""Separator0"">(1,Separator,0)</td>
6757         </tr><tr>
6758                 <td class=""Item1"">(2,Item,1)</td>
6759         </tr><tr>
6760                 <td class=""Separator1"">(3,Separator,1)</td>
6761         </tr><tr>
6762                 <td class=""Item2"">(4,Item,2)</td>
6763         </tr><tr>
6764                 <td class=""Separator2"">(5,Separator,2)</td>
6765         </tr><tr>
6766                 <td class=""Item3"">(6,Item,3)</td>
6767         </tr><tr>
6768                 <td class=""Separator3"">(7,Separator,3)</td>
6769         </tr><tr>
6770                 <td class=""Item4"">(8,Item,4)</td>
6771         </tr>
6772 </table>";
6773                 Assert.AreEqual (exp, v, "#295");
6774         }
6775
6776
6777         [Test]
6778         public void RepeatInfo_2cols_4itms_vert_tbl_sep ()
6779         {
6780                 // cols              : 2
6781                 // cnt               : 4
6782                 // RepeatDirection   : Vertical
6783                 // RepeatLayout      : Table
6784                 // OuterTableImplied : False
6785                 // Header            : False
6786                 // Footer            : False
6787                 // Separator         : True
6788
6789
6790                 string v = RepeatInfoUser.DoTest (2, 4, RepeatDirection.Vertical, RepeatLayout.Table, false, false, false, true);
6791                 string exp = @"<table class=""mainstyle"">
6792         <tr>
6793                 <td class=""Item0"">(0,Item,0)</td><td class=""Separator0"">(1,Separator,0)</td><td class=""Item2"">(2,Item,2)</td><td class=""Separator2"">(3,Separator,2)</td>
6794         </tr><tr>
6795                 <td class=""Item1"">(4,Item,1)</td><td class=""Separator1"">(5,Separator,1)</td><td class=""Item3"">(6,Item,3)</td><td></td>
6796         </tr>
6797 </table>";
6798                 Assert.AreEqual (exp, v, "#296");
6799         }
6800
6801
6802         [Test]
6803         public void RepeatInfo_2cols_7itms_vert_tbl_sep ()
6804         {
6805                 // cols              : 2
6806                 // cnt               : 7
6807                 // RepeatDirection   : Vertical
6808                 // RepeatLayout      : Table
6809                 // OuterTableImplied : False
6810                 // Header            : False
6811                 // Footer            : False
6812                 // Separator         : True
6813
6814
6815                 string v = RepeatInfoUser.DoTest (2, 7, RepeatDirection.Vertical, RepeatLayout.Table, false, false, false, true);
6816                 string exp = @"<table class=""mainstyle"">
6817         <tr>
6818                 <td class=""Item0"">(0,Item,0)</td><td class=""Separator0"">(1,Separator,0)</td><td class=""Item4"">(2,Item,4)</td><td class=""Separator4"">(3,Separator,4)</td>
6819         </tr><tr>
6820                 <td class=""Item1"">(4,Item,1)</td><td class=""Separator1"">(5,Separator,1)</td><td class=""Item5"">(6,Item,5)</td><td class=""Separator5"">(7,Separator,5)</td>
6821         </tr><tr>
6822                 <td class=""Item2"">(8,Item,2)</td><td class=""Separator2"">(9,Separator,2)</td><td class=""Item6"">(10,Item,6)</td><td></td>
6823         </tr><tr>
6824                 <td class=""Item3"">(11,Item,3)</td><td class=""Separator3"">(12,Separator,3)</td><td></td><td></td>
6825         </tr>
6826 </table>";
6827                 Assert.AreEqual (exp, v, "#297");
6828         }
6829
6830
6831         [Test]
6832         public void RepeatInfo_3cols_9itms_vert_tbl_sep ()
6833         {
6834                 // cols              : 3
6835                 // cnt               : 9
6836                 // RepeatDirection   : Vertical
6837                 // RepeatLayout      : Table
6838                 // OuterTableImplied : False
6839                 // Header            : False
6840                 // Footer            : False
6841                 // Separator         : True
6842
6843
6844                 string v = RepeatInfoUser.DoTest (3, 9, RepeatDirection.Vertical, RepeatLayout.Table, false, false, false, true);
6845                 string exp = @"<table>
6846         <tr>
6847                 <td class=""Item0"">(0,Item,0)</td><td class=""Separator0"">(1,Separator,0)</td><td class=""Item3"">(2,Item,3)</td><td class=""Separator3"">(3,Separator,3)</td><td class=""Item6"">(4,Item,6)</td><td class=""Separator6"">(5,Separator,6)</td>
6848         </tr><tr>
6849                 <td class=""Item1"">(6,Item,1)</td><td class=""Separator1"">(7,Separator,1)</td><td class=""Item4"">(8,Item,4)</td><td class=""Separator4"">(9,Separator,4)</td><td class=""Item7"">(10,Item,7)</td><td class=""Separator7"">(11,Separator,7)</td>
6850         </tr><tr>
6851                 <td class=""Item2"">(12,Item,2)</td><td class=""Separator2"">(13,Separator,2)</td><td class=""Item5"">(14,Item,5)</td><td class=""Separator5"">(15,Separator,5)</td><td class=""Item8"">(16,Item,8)</td><td></td>
6852         </tr>
6853 </table>";
6854                 Assert.AreEqual (exp, v, "#298");
6855         }
6856
6857
6858         [Test]
6859         public void RepeatInfo_3cols_7itms_vert_tbl_sep ()
6860         {
6861                 // cols              : 3
6862                 // cnt               : 7
6863                 // RepeatDirection   : Vertical
6864                 // RepeatLayout      : Table
6865                 // OuterTableImplied : False
6866                 // Header            : False
6867                 // Footer            : False
6868                 // Separator         : True
6869
6870
6871                 string v = RepeatInfoUser.DoTest (3, 7, RepeatDirection.Vertical, RepeatLayout.Table, false, false, false, true);
6872                 string exp = @"<table>
6873         <tr>
6874                 <td class=""Item0"">(0,Item,0)</td><td class=""Separator0"">(1,Separator,0)</td><td class=""Item3"">(2,Item,3)</td><td class=""Separator3"">(3,Separator,3)</td><td class=""Item5"">(4,Item,5)</td><td class=""Separator5"">(5,Separator,5)</td>
6875         </tr><tr>
6876                 <td class=""Item1"">(6,Item,1)</td><td class=""Separator1"">(7,Separator,1)</td><td class=""Item4"">(8,Item,4)</td><td class=""Separator4"">(9,Separator,4)</td><td class=""Item6"">(10,Item,6)</td><td></td>
6877         </tr><tr>
6878                 <td class=""Item2"">(11,Item,2)</td><td class=""Separator2"">(12,Separator,2)</td><td></td><td></td><td></td><td></td>
6879         </tr>
6880 </table>";
6881                 Assert.AreEqual (exp, v, "#299");
6882         }
6883
6884
6885         [Test]
6886         public void RepeatInfo_0cols_0itms_horiz_flow_sep ()
6887         {
6888                 // cols              : 0
6889                 // cnt               : 0
6890                 // RepeatDirection   : Horizontal
6891                 // RepeatLayout      : Flow
6892                 // OuterTableImplied : False
6893                 // Header            : False
6894                 // Footer            : False
6895                 // Separator         : True
6896
6897
6898                 string v = RepeatInfoUser.DoTest (0, 0, RepeatDirection.Horizontal, RepeatLayout.Flow, false, false, false, true);
6899                 string exp = @"<span class=""mainstyle""></span>";
6900                 Assert.AreEqual (exp, v, "#300");
6901         }
6902
6903
6904         [Test]
6905         public void RepeatInfo_0cols_1itms_horiz_flow_sep ()
6906         {
6907                 // cols              : 0
6908                 // cnt               : 1
6909                 // RepeatDirection   : Horizontal
6910                 // RepeatLayout      : Flow
6911                 // OuterTableImplied : False
6912                 // Header            : False
6913                 // Footer            : False
6914                 // Separator         : True
6915
6916
6917                 string v = RepeatInfoUser.DoTest (0, 1, RepeatDirection.Horizontal, RepeatLayout.Flow, false, false, false, true);
6918                 string exp = @"<span class=""mainstyle"">(0,Item,0)</span>";
6919                 Assert.AreEqual (exp, v, "#301");
6920         }
6921
6922
6923         [Test]
6924         public void RepeatInfo_0cols_2itms_horiz_flow_sep ()
6925         {
6926                 // cols              : 0
6927                 // cnt               : 2
6928                 // RepeatDirection   : Horizontal
6929                 // RepeatLayout      : Flow
6930                 // OuterTableImplied : False
6931                 // Header            : False
6932                 // Footer            : False
6933                 // Separator         : True
6934
6935
6936                 string v = RepeatInfoUser.DoTest (0, 2, RepeatDirection.Horizontal, RepeatLayout.Flow, false, false, false, true);
6937                 string exp = @"<span class=""mainstyle"">(0,Item,0)(1,Separator,0)(2,Item,1)</span>";
6938                 Assert.AreEqual (exp, v, "#302");
6939         }
6940
6941
6942         [Test]
6943         public void RepeatInfo_0cols_5itms_horiz_flow_sep ()
6944         {
6945                 // cols              : 0
6946                 // cnt               : 5
6947                 // RepeatDirection   : Horizontal
6948                 // RepeatLayout      : Flow
6949                 // OuterTableImplied : False
6950                 // Header            : False
6951                 // Footer            : False
6952                 // Separator         : True
6953
6954
6955                 string v = RepeatInfoUser.DoTest (0, 5, RepeatDirection.Horizontal, RepeatLayout.Flow, false, false, false, true);
6956                 string exp = @"<span class=""mainstyle"">(0,Item,0)(1,Separator,0)(2,Item,1)(3,Separator,1)(4,Item,2)(5,Separator,2)(6,Item,3)(7,Separator,3)(8,Item,4)</span>";
6957                 Assert.AreEqual (exp, v, "#303");
6958         }
6959
6960
6961         [Test]
6962         public void RepeatInfo_1cols_0itms_horiz_flow_sep ()
6963         {
6964                 // cols              : 1
6965                 // cnt               : 0
6966                 // RepeatDirection   : Horizontal
6967                 // RepeatLayout      : Flow
6968                 // OuterTableImplied : False
6969                 // Header            : False
6970                 // Footer            : False
6971                 // Separator         : True
6972
6973
6974                 string v = RepeatInfoUser.DoTest (1, 0, RepeatDirection.Horizontal, RepeatLayout.Flow, false, false, false, true);
6975                 string exp = @"<span class=""mainstyle""></span>";
6976                 Assert.AreEqual (exp, v, "#304");
6977         }
6978
6979
6980         [Test]
6981         public void RepeatInfo_1cols_5itms_horiz_flow_sep ()
6982         {
6983                 // cols              : 1
6984                 // cnt               : 5
6985                 // RepeatDirection   : Horizontal
6986                 // RepeatLayout      : Flow
6987                 // OuterTableImplied : False
6988                 // Header            : False
6989                 // Footer            : False
6990                 // Separator         : True
6991
6992
6993                 string v = RepeatInfoUser.DoTest (1, 5, RepeatDirection.Horizontal, RepeatLayout.Flow, false, false, false, true);
6994                 string exp = @"<span class=""mainstyle"">(0,Item,0)(1,Separator,0)<br />(2,Item,1)(3,Separator,1)<br />(4,Item,2)(5,Separator,2)<br />(6,Item,3)(7,Separator,3)<br />(8,Item,4)<br /></span>";
6995                 Assert.AreEqual (exp, v, "#305");
6996         }
6997
6998
6999         [Test]
7000         public void RepeatInfo_2cols_4itms_horiz_flow_sep ()
7001         {
7002                 // cols              : 2
7003                 // cnt               : 4
7004                 // RepeatDirection   : Horizontal
7005                 // RepeatLayout      : Flow
7006                 // OuterTableImplied : False
7007                 // Header            : False
7008                 // Footer            : False
7009                 // Separator         : True
7010
7011
7012                 string v = RepeatInfoUser.DoTest (2, 4, RepeatDirection.Horizontal, RepeatLayout.Flow, false, false, false, true);
7013                 string exp = @"<span class=""mainstyle"">(0,Item,0)(1,Separator,0)(2,Item,1)(3,Separator,1)<br />(4,Item,2)(5,Separator,2)(6,Item,3)<br /></span>";
7014                 Assert.AreEqual (exp, v, "#306");
7015         }
7016
7017
7018         [Test]
7019         public void RepeatInfo_2cols_7itms_horiz_flow_sep ()
7020         {
7021                 // cols              : 2
7022                 // cnt               : 7
7023                 // RepeatDirection   : Horizontal
7024                 // RepeatLayout      : Flow
7025                 // OuterTableImplied : False
7026                 // Header            : False
7027                 // Footer            : False
7028                 // Separator         : True
7029
7030
7031                 string v = RepeatInfoUser.DoTest (2, 7, RepeatDirection.Horizontal, RepeatLayout.Flow, false, false, false, true);
7032                 string exp = @"<span class=""mainstyle"">(0,Item,0)(1,Separator,0)(2,Item,1)(3,Separator,1)<br />(4,Item,2)(5,Separator,2)(6,Item,3)(7,Separator,3)<br />(8,Item,4)(9,Separator,4)(10,Item,5)(11,Separator,5)<br />(12,Item,6)<br /></span>";
7033                 Assert.AreEqual (exp, v, "#307");
7034         }
7035
7036
7037         [Test]
7038         public void RepeatInfo_3cols_9itms_horiz_flow_sep ()
7039         {
7040                 // cols              : 3
7041                 // cnt               : 9
7042                 // RepeatDirection   : Horizontal
7043                 // RepeatLayout      : Flow
7044                 // OuterTableImplied : False
7045                 // Header            : False
7046                 // Footer            : False
7047                 // Separator         : True
7048
7049
7050                 string v = RepeatInfoUser.DoTest (3, 9, RepeatDirection.Horizontal, RepeatLayout.Flow, false, false, false, true);
7051                 string exp = @"<span>(0,Item,0)(1,Separator,0)(2,Item,1)(3,Separator,1)(4,Item,2)(5,Separator,2)<br />(6,Item,3)(7,Separator,3)(8,Item,4)(9,Separator,4)(10,Item,5)(11,Separator,5)<br />(12,Item,6)(13,Separator,6)(14,Item,7)(15,Separator,7)(16,Item,8)<br /></span>";
7052                 Assert.AreEqual (exp, v, "#308");
7053         }
7054
7055
7056         [Test]
7057         public void RepeatInfo_3cols_7itms_horiz_flow_sep ()
7058         {
7059                 // cols              : 3
7060                 // cnt               : 7
7061                 // RepeatDirection   : Horizontal
7062                 // RepeatLayout      : Flow
7063                 // OuterTableImplied : False
7064                 // Header            : False
7065                 // Footer            : False
7066                 // Separator         : True
7067
7068
7069                 string v = RepeatInfoUser.DoTest (3, 7, RepeatDirection.Horizontal, RepeatLayout.Flow, false, false, false, true);
7070                 string exp = @"<span>(0,Item,0)(1,Separator,0)(2,Item,1)(3,Separator,1)(4,Item,2)(5,Separator,2)<br />(6,Item,3)(7,Separator,3)(8,Item,4)(9,Separator,4)(10,Item,5)(11,Separator,5)<br />(12,Item,6)<br /></span>";
7071                 Assert.AreEqual (exp, v, "#309");
7072         }
7073
7074
7075         [Test]
7076         public void RepeatInfo_0cols_0itms_vert_flow_sep ()
7077         {
7078                 // cols              : 0
7079                 // cnt               : 0
7080                 // RepeatDirection   : Vertical
7081                 // RepeatLayout      : Flow
7082                 // OuterTableImplied : False
7083                 // Header            : False
7084                 // Footer            : False
7085                 // Separator         : True
7086
7087
7088                 string v = RepeatInfoUser.DoTest (0, 0, RepeatDirection.Vertical, RepeatLayout.Flow, false, false, false, true);
7089                 string exp = @"<span class=""mainstyle""></span>";
7090                 Assert.AreEqual (exp, v, "#310");
7091         }
7092
7093
7094         [Test]
7095         public void RepeatInfo_0cols_1itms_vert_flow_sep ()
7096         {
7097                 // cols              : 0
7098                 // cnt               : 1
7099                 // RepeatDirection   : Vertical
7100                 // RepeatLayout      : Flow
7101                 // OuterTableImplied : False
7102                 // Header            : False
7103                 // Footer            : False
7104                 // Separator         : True
7105
7106
7107                 string v = RepeatInfoUser.DoTest (0, 1, RepeatDirection.Vertical, RepeatLayout.Flow, false, false, false, true);
7108                 string exp = @"<span class=""mainstyle"">(0,Item,0)</span>";
7109                 Assert.AreEqual (exp, v, "#311");
7110         }
7111
7112
7113         [Test]
7114         public void RepeatInfo_0cols_2itms_vert_flow_sep ()
7115         {
7116                 // cols              : 0
7117                 // cnt               : 2
7118                 // RepeatDirection   : Vertical
7119                 // RepeatLayout      : Flow
7120                 // OuterTableImplied : False
7121                 // Header            : False
7122                 // Footer            : False
7123                 // Separator         : True
7124
7125
7126                 string v = RepeatInfoUser.DoTest (0, 2, RepeatDirection.Vertical, RepeatLayout.Flow, false, false, false, true);
7127                 string exp = @"<span class=""mainstyle"">(0,Item,0)<br />(1,Separator,0)<br />(2,Item,1)</span>";
7128                 Assert.AreEqual (exp, v, "#312");
7129         }
7130
7131
7132         [Test]
7133         public void RepeatInfo_0cols_5itms_vert_flow_sep ()
7134         {
7135                 // cols              : 0
7136                 // cnt               : 5
7137                 // RepeatDirection   : Vertical
7138                 // RepeatLayout      : Flow
7139                 // OuterTableImplied : False
7140                 // Header            : False
7141                 // Footer            : False
7142                 // Separator         : True
7143
7144
7145                 string v = RepeatInfoUser.DoTest (0, 5, RepeatDirection.Vertical, RepeatLayout.Flow, false, false, false, true);
7146                 string exp = @"<span class=""mainstyle"">(0,Item,0)<br />(1,Separator,0)<br />(2,Item,1)<br />(3,Separator,1)<br />(4,Item,2)<br />(5,Separator,2)<br />(6,Item,3)<br />(7,Separator,3)<br />(8,Item,4)</span>";
7147                 Assert.AreEqual (exp, v, "#313");
7148         }
7149
7150
7151         [Test]
7152         public void RepeatInfo_1cols_0itms_vert_flow_sep ()
7153         {
7154                 // cols              : 1
7155                 // cnt               : 0
7156                 // RepeatDirection   : Vertical
7157                 // RepeatLayout      : Flow
7158                 // OuterTableImplied : False
7159                 // Header            : False
7160                 // Footer            : False
7161                 // Separator         : True
7162
7163
7164                 string v = RepeatInfoUser.DoTest (1, 0, RepeatDirection.Vertical, RepeatLayout.Flow, false, false, false, true);
7165                 string exp = @"<span class=""mainstyle""></span>";
7166                 Assert.AreEqual (exp, v, "#314");
7167         }
7168
7169
7170         [Test]
7171         public void RepeatInfo_1cols_5itms_vert_flow_sep ()
7172         {
7173                 // cols              : 1
7174                 // cnt               : 5
7175                 // RepeatDirection   : Vertical
7176                 // RepeatLayout      : Flow
7177                 // OuterTableImplied : False
7178                 // Header            : False
7179                 // Footer            : False
7180                 // Separator         : True
7181
7182
7183                 string v = RepeatInfoUser.DoTest (1, 5, RepeatDirection.Vertical, RepeatLayout.Flow, false, false, false, true);
7184                 string exp = @"<span class=""mainstyle"">(0,Item,0)<br />(1,Separator,0)<br />(2,Item,1)<br />(3,Separator,1)<br />(4,Item,2)<br />(5,Separator,2)<br />(6,Item,3)<br />(7,Separator,3)<br />(8,Item,4)</span>";
7185                 Assert.AreEqual (exp, v, "#315");
7186         }
7187
7188
7189         [Test]
7190         public void RepeatInfo_2cols_4itms_vert_flow_sep ()
7191         {
7192                 // cols              : 2
7193                 // cnt               : 4
7194                 // RepeatDirection   : Vertical
7195                 // RepeatLayout      : Flow
7196                 // OuterTableImplied : False
7197                 // Header            : False
7198                 // Footer            : False
7199                 // Separator         : True
7200
7201
7202                 string v = RepeatInfoUser.DoTest (2, 4, RepeatDirection.Vertical, RepeatLayout.Flow, false, false, false, true);
7203                 string exp = @"<span class=""mainstyle"">(0,Item,0)(1,Separator,0)(2,Item,2)(3,Separator,2)<br />(4,Item,1)(5,Separator,1)(6,Item,3)</span>";
7204                 Assert.AreEqual (exp, v, "#316");
7205         }
7206
7207
7208         [Test]
7209         public void RepeatInfo_2cols_7itms_vert_flow_sep ()
7210         {
7211                 // cols              : 2
7212                 // cnt               : 7
7213                 // RepeatDirection   : Vertical
7214                 // RepeatLayout      : Flow
7215                 // OuterTableImplied : False
7216                 // Header            : False
7217                 // Footer            : False
7218                 // Separator         : True
7219
7220
7221                 string v = RepeatInfoUser.DoTest (2, 7, RepeatDirection.Vertical, RepeatLayout.Flow, false, false, false, true);
7222                 string exp = @"<span class=""mainstyle"">(0,Item,0)(1,Separator,0)(2,Item,4)(3,Separator,4)<br />(4,Item,1)(5,Separator,1)(6,Item,5)(7,Separator,5)<br />(8,Item,2)(9,Separator,2)(10,Item,6)<br />(11,Item,3)(12,Separator,3)</span>";
7223                 Assert.AreEqual (exp, v, "#317");
7224         }
7225
7226
7227         [Test]
7228         public void RepeatInfo_3cols_9itms_vert_flow_sep ()
7229         {
7230                 // cols              : 3
7231                 // cnt               : 9
7232                 // RepeatDirection   : Vertical
7233                 // RepeatLayout      : Flow
7234                 // OuterTableImplied : False
7235                 // Header            : False
7236                 // Footer            : False
7237                 // Separator         : True
7238
7239
7240                 string v = RepeatInfoUser.DoTest (3, 9, RepeatDirection.Vertical, RepeatLayout.Flow, false, false, false, true);
7241                 string exp = @"<span>(0,Item,0)(1,Separator,0)(2,Item,3)(3,Separator,3)(4,Item,6)(5,Separator,6)<br />(6,Item,1)(7,Separator,1)(8,Item,4)(9,Separator,4)(10,Item,7)(11,Separator,7)<br />(12,Item,2)(13,Separator,2)(14,Item,5)(15,Separator,5)(16,Item,8)</span>";
7242                 Assert.AreEqual (exp, v, "#318");
7243         }
7244
7245
7246         [Test]
7247         public void RepeatInfo_3cols_7itms_vert_flow_sep ()
7248         {
7249                 // cols              : 3
7250                 // cnt               : 7
7251                 // RepeatDirection   : Vertical
7252                 // RepeatLayout      : Flow
7253                 // OuterTableImplied : False
7254                 // Header            : False
7255                 // Footer            : False
7256                 // Separator         : True
7257
7258
7259                 string v = RepeatInfoUser.DoTest (3, 7, RepeatDirection.Vertical, RepeatLayout.Flow, false, false, false, true);
7260                 string exp = @"<span>(0,Item,0)(1,Separator,0)(2,Item,3)(3,Separator,3)(4,Item,5)(5,Separator,5)<br />(6,Item,1)(7,Separator,1)(8,Item,4)(9,Separator,4)(10,Item,6)<br />(11,Item,2)(12,Separator,2)</span>";
7261                 Assert.AreEqual (exp, v, "#319");
7262         }
7263
7264
7265         [Test]
7266         public void RepeatInfo_0cols_0itms_horiz_tbl_otrtblimp_hdr_ftr ()
7267         {
7268                 // cols              : 0
7269                 // cnt               : 0
7270                 // RepeatDirection   : Horizontal
7271                 // RepeatLayout      : Table
7272                 // OuterTableImplied : True
7273                 // Header            : True
7274                 // Footer            : True
7275                 // Separator         : False
7276
7277
7278                 string v = RepeatInfoUser.DoTest (0, 0, RepeatDirection.Horizontal, RepeatLayout.Table, true, true, true, false);
7279                 string exp = @"<table class=""mainstyle"">
7280         <tr>
7281                 <td colspan=""0"" class=""Header-1"">(0,Header,-1)</td>
7282         </tr><tr>
7283                 <td colspan=""0"" class=""Footer-1"">(1,Footer,-1)</td>
7284         </tr>
7285 </table>";
7286                 Assert.AreEqual (exp, v, "#320");
7287         }
7288
7289
7290         [Test]
7291         public void RepeatInfo_0cols_1itms_horiz_tbl_otrtblimp_hdr_ftr ()
7292         {
7293                 // cols              : 0
7294                 // cnt               : 1
7295                 // RepeatDirection   : Horizontal
7296                 // RepeatLayout      : Table
7297                 // OuterTableImplied : True
7298                 // Header            : True
7299                 // Footer            : True
7300                 // Separator         : False
7301
7302
7303                 string v = RepeatInfoUser.DoTest (0, 1, RepeatDirection.Horizontal, RepeatLayout.Table, true, true, true, false);
7304                 string exp = @"<table class=""mainstyle"">
7305         <tr>
7306                 <td class=""Header-1"">(0,Header,-1)</td>
7307         </tr><tr>
7308                 <td class=""Item0"">(1,Item,0)</td>
7309         </tr><tr>
7310                 <td class=""Footer-1"">(2,Footer,-1)</td>
7311         </tr>
7312 </table>";
7313                 Assert.AreEqual (exp, v, "#321");
7314         }
7315
7316
7317         [Test]
7318         public void RepeatInfo_0cols_2itms_horiz_tbl_otrtblimp_hdr_ftr ()
7319         {
7320                 // cols              : 0
7321                 // cnt               : 2
7322                 // RepeatDirection   : Horizontal
7323                 // RepeatLayout      : Table
7324                 // OuterTableImplied : True
7325                 // Header            : True
7326                 // Footer            : True
7327                 // Separator         : False
7328
7329
7330                 string v = RepeatInfoUser.DoTest (0, 2, RepeatDirection.Horizontal, RepeatLayout.Table, true, true, true, false);
7331                 string exp = @"<table class=""mainstyle"">
7332         <tr>
7333                 <td colspan=""2"" class=""Header-1"">(0,Header,-1)</td>
7334         </tr><tr>
7335                 <td class=""Item0"">(1,Item,0)</td><td class=""Item1"">(2,Item,1)</td>
7336         </tr><tr>
7337                 <td colspan=""2"" class=""Footer-1"">(3,Footer,-1)</td>
7338         </tr>
7339 </table>";
7340                 Assert.AreEqual (exp, v, "#322");
7341         }
7342
7343
7344         [Test]
7345         public void RepeatInfo_0cols_5itms_horiz_tbl_otrtblimp_hdr_ftr ()
7346         {
7347                 // cols              : 0
7348                 // cnt               : 5
7349                 // RepeatDirection   : Horizontal
7350                 // RepeatLayout      : Table
7351                 // OuterTableImplied : True
7352                 // Header            : True
7353                 // Footer            : True
7354                 // Separator         : False
7355
7356
7357                 string v = RepeatInfoUser.DoTest (0, 5, RepeatDirection.Horizontal, RepeatLayout.Table, true, true, true, false);
7358                 string exp = @"<table class=""mainstyle"">
7359         <tr>
7360                 <td colspan=""5"" class=""Header-1"">(0,Header,-1)</td>
7361         </tr><tr>
7362                 <td class=""Item0"">(1,Item,0)</td><td class=""Item1"">(2,Item,1)</td><td class=""Item2"">(3,Item,2)</td><td class=""Item3"">(4,Item,3)</td><td class=""Item4"">(5,Item,4)</td>
7363         </tr><tr>
7364                 <td colspan=""5"" class=""Footer-1"">(6,Footer,-1)</td>
7365         </tr>
7366 </table>";
7367                 Assert.AreEqual (exp, v, "#323");
7368         }
7369
7370
7371         [Test]
7372         public void RepeatInfo_1cols_0itms_horiz_tbl_otrtblimp_hdr_ftr ()
7373         {
7374                 // cols              : 1
7375                 // cnt               : 0
7376                 // RepeatDirection   : Horizontal
7377                 // RepeatLayout      : Table
7378                 // OuterTableImplied : True
7379                 // Header            : True
7380                 // Footer            : True
7381                 // Separator         : False
7382
7383
7384                 string v = RepeatInfoUser.DoTest (1, 0, RepeatDirection.Horizontal, RepeatLayout.Table, true, true, true, false);
7385                 string exp = @"<table class=""mainstyle"">
7386         <tr>
7387                 <td class=""Header-1"">(0,Header,-1)</td>
7388         </tr><tr>
7389                 <td class=""Footer-1"">(1,Footer,-1)</td>
7390         </tr>
7391 </table>";
7392                 Assert.AreEqual (exp, v, "#324");
7393         }
7394
7395
7396         [Test]
7397         public void RepeatInfo_1cols_5itms_horiz_tbl_otrtblimp_hdr_ftr ()
7398         {
7399                 // cols              : 1
7400                 // cnt               : 5
7401                 // RepeatDirection   : Horizontal
7402                 // RepeatLayout      : Table
7403                 // OuterTableImplied : True
7404                 // Header            : True
7405                 // Footer            : True
7406                 // Separator         : False
7407
7408
7409                 string v = RepeatInfoUser.DoTest (1, 5, RepeatDirection.Horizontal, RepeatLayout.Table, true, true, true, false);
7410                 string exp = @"<table class=""mainstyle"">
7411         <tr>
7412                 <td class=""Header-1"">(0,Header,-1)</td>
7413         </tr><tr>
7414                 <td class=""Item0"">(1,Item,0)</td>
7415         </tr><tr>
7416                 <td class=""Item1"">(2,Item,1)</td>
7417         </tr><tr>
7418                 <td class=""Item2"">(3,Item,2)</td>
7419         </tr><tr>
7420                 <td class=""Item3"">(4,Item,3)</td>
7421         </tr><tr>
7422                 <td class=""Item4"">(5,Item,4)</td>
7423         </tr><tr>
7424                 <td class=""Footer-1"">(6,Footer,-1)</td>
7425         </tr>
7426 </table>";
7427                 Assert.AreEqual (exp, v, "#325");
7428         }
7429
7430
7431         [Test]
7432         public void RepeatInfo_2cols_4itms_horiz_tbl_otrtblimp_hdr_ftr ()
7433         {
7434                 // cols              : 2
7435                 // cnt               : 4
7436                 // RepeatDirection   : Horizontal
7437                 // RepeatLayout      : Table
7438                 // OuterTableImplied : True
7439                 // Header            : True
7440                 // Footer            : True
7441                 // Separator         : False
7442
7443
7444                 string v = RepeatInfoUser.DoTest (2, 4, RepeatDirection.Horizontal, RepeatLayout.Table, true, true, true, false);
7445                 string exp = @"<table class=""mainstyle"">
7446         <tr>
7447                 <td colspan=""2"" class=""Header-1"">(0,Header,-1)</td>
7448         </tr><tr>
7449                 <td class=""Item0"">(1,Item,0)</td><td class=""Item1"">(2,Item,1)</td>
7450         </tr><tr>
7451                 <td class=""Item2"">(3,Item,2)</td><td class=""Item3"">(4,Item,3)</td>
7452         </tr><tr>
7453                 <td colspan=""2"" class=""Footer-1"">(5,Footer,-1)</td>
7454         </tr>
7455 </table>";
7456                 Assert.AreEqual (exp, v, "#326");
7457         }
7458
7459
7460         [Test]
7461         public void RepeatInfo_2cols_7itms_horiz_tbl_otrtblimp_hdr_ftr ()
7462         {
7463                 // cols              : 2
7464                 // cnt               : 7
7465                 // RepeatDirection   : Horizontal
7466                 // RepeatLayout      : Table
7467                 // OuterTableImplied : True
7468                 // Header            : True
7469                 // Footer            : True
7470                 // Separator         : False
7471
7472
7473                 string v = RepeatInfoUser.DoTest (2, 7, RepeatDirection.Horizontal, RepeatLayout.Table, true, true, true, false);
7474                 string exp = @"<table class=""mainstyle"">
7475         <tr>
7476                 <td colspan=""2"" class=""Header-1"">(0,Header,-1)</td>
7477         </tr><tr>
7478                 <td class=""Item0"">(1,Item,0)</td><td class=""Item1"">(2,Item,1)</td>
7479         </tr><tr>
7480                 <td class=""Item2"">(3,Item,2)</td><td class=""Item3"">(4,Item,3)</td>
7481         </tr><tr>
7482                 <td class=""Item4"">(5,Item,4)</td><td class=""Item5"">(6,Item,5)</td>
7483         </tr><tr>
7484                 <td class=""Item6"">(7,Item,6)</td><td></td>
7485         </tr><tr>
7486                 <td colspan=""2"" class=""Footer-1"">(8,Footer,-1)</td>
7487         </tr>
7488 </table>";
7489                 Assert.AreEqual (exp, v, "#327");
7490         }
7491
7492
7493         [Test]
7494         public void RepeatInfo_3cols_9itms_horiz_tbl_otrtblimp_hdr_ftr ()
7495         {
7496                 // cols              : 3
7497                 // cnt               : 9
7498                 // RepeatDirection   : Horizontal
7499                 // RepeatLayout      : Table
7500                 // OuterTableImplied : True
7501                 // Header            : True
7502                 // Footer            : True
7503                 // Separator         : False
7504
7505
7506                 string v = RepeatInfoUser.DoTest (3, 9, RepeatDirection.Horizontal, RepeatLayout.Table, true, true, true, false);
7507                 string exp = @"<table>
7508         <tr>
7509                 <td colspan=""3"" class=""Header-1"">(0,Header,-1)</td>
7510         </tr><tr>
7511                 <td class=""Item0"">(1,Item,0)</td><td class=""Item1"">(2,Item,1)</td><td class=""Item2"">(3,Item,2)</td>
7512         </tr><tr>
7513                 <td class=""Item3"">(4,Item,3)</td><td class=""Item4"">(5,Item,4)</td><td class=""Item5"">(6,Item,5)</td>
7514         </tr><tr>
7515                 <td class=""Item6"">(7,Item,6)</td><td class=""Item7"">(8,Item,7)</td><td class=""Item8"">(9,Item,8)</td>
7516         </tr><tr>
7517                 <td colspan=""3"" class=""Footer-1"">(10,Footer,-1)</td>
7518         </tr>
7519 </table>";
7520                 Assert.AreEqual (exp, v, "#328");
7521         }
7522
7523
7524         [Test]
7525         public void RepeatInfo_3cols_7itms_horiz_tbl_otrtblimp_hdr_ftr ()
7526         {
7527                 // cols              : 3
7528                 // cnt               : 7
7529                 // RepeatDirection   : Horizontal
7530                 // RepeatLayout      : Table
7531                 // OuterTableImplied : True
7532                 // Header            : True
7533                 // Footer            : True
7534                 // Separator         : False
7535
7536
7537                 string v = RepeatInfoUser.DoTest (3, 7, RepeatDirection.Horizontal, RepeatLayout.Table, true, true, true, false);
7538                 string exp = @"<table>
7539         <tr>
7540                 <td colspan=""3"" class=""Header-1"">(0,Header,-1)</td>
7541         </tr><tr>
7542                 <td class=""Item0"">(1,Item,0)</td><td class=""Item1"">(2,Item,1)</td><td class=""Item2"">(3,Item,2)</td>
7543         </tr><tr>
7544                 <td class=""Item3"">(4,Item,3)</td><td class=""Item4"">(5,Item,4)</td><td class=""Item5"">(6,Item,5)</td>
7545         </tr><tr>
7546                 <td class=""Item6"">(7,Item,6)</td><td></td><td></td>
7547         </tr><tr>
7548                 <td colspan=""3"" class=""Footer-1"">(8,Footer,-1)</td>
7549         </tr>
7550 </table>";
7551                 Assert.AreEqual (exp, v, "#329");
7552         }
7553
7554
7555         [Test]
7556         public void RepeatInfo_0cols_0itms_vert_tbl_otrtblimp_hdr_ftr ()
7557         {
7558                 // cols              : 0
7559                 // cnt               : 0
7560                 // RepeatDirection   : Vertical
7561                 // RepeatLayout      : Table
7562                 // OuterTableImplied : True
7563                 // Header            : True
7564                 // Footer            : True
7565                 // Separator         : False
7566
7567
7568                 string v = RepeatInfoUser.DoTest (0, 0, RepeatDirection.Vertical, RepeatLayout.Table, true, true, true, false);
7569                 string exp = @"(0,Header,-1)(1,Footer,-1)";
7570                 Assert.AreEqual (exp, v, "#330");
7571         }
7572
7573
7574         [Test]
7575         public void RepeatInfo_0cols_1itms_vert_tbl_otrtblimp_hdr_ftr ()
7576         {
7577                 // cols              : 0
7578                 // cnt               : 1
7579                 // RepeatDirection   : Vertical
7580                 // RepeatLayout      : Table
7581                 // OuterTableImplied : True
7582                 // Header            : True
7583                 // Footer            : True
7584                 // Separator         : False
7585
7586
7587                 string v = RepeatInfoUser.DoTest (0, 1, RepeatDirection.Vertical, RepeatLayout.Table, true, true, true, false);
7588                 string exp = @"(0,Header,-1)(1,Item,0)(2,Footer,-1)";
7589                 Assert.AreEqual (exp, v, "#331");
7590         }
7591
7592
7593         [Test]
7594         public void RepeatInfo_0cols_2itms_vert_tbl_otrtblimp_hdr_ftr ()
7595         {
7596                 // cols              : 0
7597                 // cnt               : 2
7598                 // RepeatDirection   : Vertical
7599                 // RepeatLayout      : Table
7600                 // OuterTableImplied : True
7601                 // Header            : True
7602                 // Footer            : True
7603                 // Separator         : False
7604
7605
7606                 string v = RepeatInfoUser.DoTest (0, 2, RepeatDirection.Vertical, RepeatLayout.Table, true, true, true, false);
7607                 string exp = @"(0,Header,-1)(1,Item,0)(2,Item,1)(3,Footer,-1)";
7608                 Assert.AreEqual (exp, v, "#332");
7609         }
7610
7611
7612         [Test]
7613         public void RepeatInfo_0cols_5itms_vert_tbl_otrtblimp_hdr_ftr ()
7614         {
7615                 // cols              : 0
7616                 // cnt               : 5
7617                 // RepeatDirection   : Vertical
7618                 // RepeatLayout      : Table
7619                 // OuterTableImplied : True
7620                 // Header            : True
7621                 // Footer            : True
7622                 // Separator         : False
7623
7624
7625                 string v = RepeatInfoUser.DoTest (0, 5, RepeatDirection.Vertical, RepeatLayout.Table, true, true, true, false);
7626                 string exp = @"(0,Header,-1)(1,Item,0)(2,Item,1)(3,Item,2)(4,Item,3)(5,Item,4)(6,Footer,-1)";
7627                 Assert.AreEqual (exp, v, "#333");
7628         }
7629
7630
7631         [Test]
7632         public void RepeatInfo_1cols_0itms_vert_tbl_otrtblimp_hdr_ftr ()
7633         {
7634                 // cols              : 1
7635                 // cnt               : 0
7636                 // RepeatDirection   : Vertical
7637                 // RepeatLayout      : Table
7638                 // OuterTableImplied : True
7639                 // Header            : True
7640                 // Footer            : True
7641                 // Separator         : False
7642
7643
7644                 string v = RepeatInfoUser.DoTest (1, 0, RepeatDirection.Vertical, RepeatLayout.Table, true, true, true, false);
7645                 string exp = @"(0,Header,-1)(1,Footer,-1)";
7646                 Assert.AreEqual (exp, v, "#334");
7647         }
7648
7649
7650         [Test]
7651         public void RepeatInfo_1cols_5itms_vert_tbl_otrtblimp_hdr_ftr ()
7652         {
7653                 // cols              : 1
7654                 // cnt               : 5
7655                 // RepeatDirection   : Vertical
7656                 // RepeatLayout      : Table
7657                 // OuterTableImplied : True
7658                 // Header            : True
7659                 // Footer            : True
7660                 // Separator         : False
7661
7662
7663                 string v = RepeatInfoUser.DoTest (1, 5, RepeatDirection.Vertical, RepeatLayout.Table, true, true, true, false);
7664                 string exp = @"(0,Header,-1)(1,Item,0)(2,Item,1)(3,Item,2)(4,Item,3)(5,Item,4)(6,Footer,-1)";
7665                 Assert.AreEqual (exp, v, "#335");
7666         }
7667
7668
7669         [Test]
7670         public void RepeatInfo_2cols_4itms_vert_tbl_otrtblimp_hdr_ftr ()
7671         {
7672                 // cols              : 2
7673                 // cnt               : 4
7674                 // RepeatDirection   : Vertical
7675                 // RepeatLayout      : Table
7676                 // OuterTableImplied : True
7677                 // Header            : True
7678                 // Footer            : True
7679                 // Separator         : False
7680
7681
7682                 string v = RepeatInfoUser.DoTest (2, 4, RepeatDirection.Vertical, RepeatLayout.Table, true, true, true, false);
7683                 string exp = @"(0,Header,-1)(1,Item,0)(2,Item,2)(3,Item,1)(4,Item,3)(5,Footer,-1)";
7684                 Assert.AreEqual (exp, v, "#336");
7685         }
7686
7687
7688         [Test]
7689         public void RepeatInfo_2cols_7itms_vert_tbl_otrtblimp_hdr_ftr ()
7690         {
7691                 // cols              : 2
7692                 // cnt               : 7
7693                 // RepeatDirection   : Vertical
7694                 // RepeatLayout      : Table
7695                 // OuterTableImplied : True
7696                 // Header            : True
7697                 // Footer            : True
7698                 // Separator         : False
7699
7700
7701                 string v = RepeatInfoUser.DoTest (2, 7, RepeatDirection.Vertical, RepeatLayout.Table, true, true, true, false);
7702                 string exp = @"(0,Header,-1)(1,Item,0)(2,Item,4)(3,Item,1)(4,Item,5)(5,Item,2)(6,Item,6)(7,Item,3)(8,Footer,-1)";
7703                 Assert.AreEqual (exp, v, "#337");
7704         }
7705
7706
7707         [Test]
7708         public void RepeatInfo_3cols_9itms_vert_tbl_otrtblimp_hdr_ftr ()
7709         {
7710                 // cols              : 3
7711                 // cnt               : 9
7712                 // RepeatDirection   : Vertical
7713                 // RepeatLayout      : Table
7714                 // OuterTableImplied : True
7715                 // Header            : True
7716                 // Footer            : True
7717                 // Separator         : False
7718
7719
7720                 string v = RepeatInfoUser.DoTest (3, 9, RepeatDirection.Vertical, RepeatLayout.Table, true, true, true, false);
7721                 string exp = @"(0,Header,-1)(1,Item,0)(2,Item,3)(3,Item,6)(4,Item,1)(5,Item,4)(6,Item,7)(7,Item,2)(8,Item,5)(9,Item,8)(10,Footer,-1)";
7722                 Assert.AreEqual (exp, v, "#338");
7723         }
7724
7725
7726         [Test]
7727         public void RepeatInfo_3cols_7itms_vert_tbl_otrtblimp_hdr_ftr ()
7728         {
7729                 // cols              : 3
7730                 // cnt               : 7
7731                 // RepeatDirection   : Vertical
7732                 // RepeatLayout      : Table
7733                 // OuterTableImplied : True
7734                 // Header            : True
7735                 // Footer            : True
7736                 // Separator         : False
7737
7738
7739                 string v = RepeatInfoUser.DoTest (3, 7, RepeatDirection.Vertical, RepeatLayout.Table, true, true, true, false);
7740                 string exp = @"(0,Header,-1)(1,Item,0)(2,Item,3)(3,Item,5)(4,Item,1)(5,Item,4)(6,Item,6)(7,Item,2)(8,Footer,-1)";
7741                 Assert.AreEqual (exp, v, "#339");
7742         }
7743
7744
7745         [Test]
7746         public void RepeatInfo_0cols_0itms_horiz_flow_otrtblimp_hdr_ftr ()
7747         {
7748                 // cols              : 0
7749                 // cnt               : 0
7750                 // RepeatDirection   : Horizontal
7751                 // RepeatLayout      : Flow
7752                 // OuterTableImplied : True
7753                 // Header            : True
7754                 // Footer            : True
7755                 // Separator         : False
7756
7757
7758                 string v = RepeatInfoUser.DoTest (0, 0, RepeatDirection.Horizontal, RepeatLayout.Flow, true, true, true, false);
7759                 string exp = @"<span class=""mainstyle"">(0,Header,-1)(1,Footer,-1)</span>";
7760                 Assert.AreEqual (exp, v, "#340");
7761         }
7762
7763
7764         [Test]
7765         public void RepeatInfo_0cols_1itms_horiz_flow_otrtblimp_hdr_ftr ()
7766         {
7767                 // cols              : 0
7768                 // cnt               : 1
7769                 // RepeatDirection   : Horizontal
7770                 // RepeatLayout      : Flow
7771                 // OuterTableImplied : True
7772                 // Header            : True
7773                 // Footer            : True
7774                 // Separator         : False
7775
7776
7777                 string v = RepeatInfoUser.DoTest (0, 1, RepeatDirection.Horizontal, RepeatLayout.Flow, true, true, true, false);
7778                 string exp = @"<span class=""mainstyle"">(0,Header,-1)(1,Item,0)(2,Footer,-1)</span>";
7779                 Assert.AreEqual (exp, v, "#341");
7780         }
7781
7782
7783         [Test]
7784         public void RepeatInfo_0cols_2itms_horiz_flow_otrtblimp_hdr_ftr ()
7785         {
7786                 // cols              : 0
7787                 // cnt               : 2
7788                 // RepeatDirection   : Horizontal
7789                 // RepeatLayout      : Flow
7790                 // OuterTableImplied : True
7791                 // Header            : True
7792                 // Footer            : True
7793                 // Separator         : False
7794
7795
7796                 string v = RepeatInfoUser.DoTest (0, 2, RepeatDirection.Horizontal, RepeatLayout.Flow, true, true, true, false);
7797                 string exp = @"<span class=""mainstyle"">(0,Header,-1)(1,Item,0)(2,Item,1)(3,Footer,-1)</span>";
7798                 Assert.AreEqual (exp, v, "#342");
7799         }
7800
7801
7802         [Test]
7803         public void RepeatInfo_0cols_5itms_horiz_flow_otrtblimp_hdr_ftr ()
7804         {
7805                 // cols              : 0
7806                 // cnt               : 5
7807                 // RepeatDirection   : Horizontal
7808                 // RepeatLayout      : Flow
7809                 // OuterTableImplied : True
7810                 // Header            : True
7811                 // Footer            : True
7812                 // Separator         : False
7813
7814
7815                 string v = RepeatInfoUser.DoTest (0, 5, RepeatDirection.Horizontal, RepeatLayout.Flow, true, true, true, false);
7816                 string exp = @"<span class=""mainstyle"">(0,Header,-1)(1,Item,0)(2,Item,1)(3,Item,2)(4,Item,3)(5,Item,4)(6,Footer,-1)</span>";
7817                 Assert.AreEqual (exp, v, "#343");
7818         }
7819
7820
7821         [Test]
7822         public void RepeatInfo_1cols_0itms_horiz_flow_otrtblimp_hdr_ftr ()
7823         {
7824                 // cols              : 1
7825                 // cnt               : 0
7826                 // RepeatDirection   : Horizontal
7827                 // RepeatLayout      : Flow
7828                 // OuterTableImplied : True
7829                 // Header            : True
7830                 // Footer            : True
7831                 // Separator         : False
7832
7833
7834                 string v = RepeatInfoUser.DoTest (1, 0, RepeatDirection.Horizontal, RepeatLayout.Flow, true, true, true, false);
7835                 string exp = @"<span class=""mainstyle"">(0,Header,-1)(1,Footer,-1)</span>";
7836                 Assert.AreEqual (exp, v, "#344");
7837         }
7838
7839
7840         [Test]
7841         public void RepeatInfo_1cols_5itms_horiz_flow_otrtblimp_hdr_ftr ()
7842         {
7843                 // cols              : 1
7844                 // cnt               : 5
7845                 // RepeatDirection   : Horizontal
7846                 // RepeatLayout      : Flow
7847                 // OuterTableImplied : True
7848                 // Header            : True
7849                 // Footer            : True
7850                 // Separator         : False
7851
7852
7853                 string v = RepeatInfoUser.DoTest (1, 5, RepeatDirection.Horizontal, RepeatLayout.Flow, true, true, true, false);
7854                 string exp = @"<span class=""mainstyle"">(0,Header,-1)<br />(1,Item,0)<br />(2,Item,1)<br />(3,Item,2)<br />(4,Item,3)<br />(5,Item,4)<br />(6,Footer,-1)</span>";
7855                 Assert.AreEqual (exp, v, "#345");
7856         }
7857
7858
7859         [Test]
7860         public void RepeatInfo_2cols_4itms_horiz_flow_otrtblimp_hdr_ftr ()
7861         {
7862                 // cols              : 2
7863                 // cnt               : 4
7864                 // RepeatDirection   : Horizontal
7865                 // RepeatLayout      : Flow
7866                 // OuterTableImplied : True
7867                 // Header            : True
7868                 // Footer            : True
7869                 // Separator         : False
7870
7871
7872                 string v = RepeatInfoUser.DoTest (2, 4, RepeatDirection.Horizontal, RepeatLayout.Flow, true, true, true, false);
7873                 string exp = @"<span class=""mainstyle"">(0,Header,-1)<br />(1,Item,0)(2,Item,1)<br />(3,Item,2)(4,Item,3)<br />(5,Footer,-1)</span>";
7874                 Assert.AreEqual (exp, v, "#346");
7875         }
7876
7877
7878         [Test]
7879         public void RepeatInfo_2cols_7itms_horiz_flow_otrtblimp_hdr_ftr ()
7880         {
7881                 // cols              : 2
7882                 // cnt               : 7
7883                 // RepeatDirection   : Horizontal
7884                 // RepeatLayout      : Flow
7885                 // OuterTableImplied : True
7886                 // Header            : True
7887                 // Footer            : True
7888                 // Separator         : False
7889
7890
7891                 string v = RepeatInfoUser.DoTest (2, 7, RepeatDirection.Horizontal, RepeatLayout.Flow, true, true, true, false);
7892                 string exp = @"<span class=""mainstyle"">(0,Header,-1)<br />(1,Item,0)(2,Item,1)<br />(3,Item,2)(4,Item,3)<br />(5,Item,4)(6,Item,5)<br />(7,Item,6)<br />(8,Footer,-1)</span>";
7893                 Assert.AreEqual (exp, v, "#347");
7894         }
7895
7896
7897         [Test]
7898         public void RepeatInfo_3cols_9itms_horiz_flow_otrtblimp_hdr_ftr ()
7899         {
7900                 // cols              : 3
7901                 // cnt               : 9
7902                 // RepeatDirection   : Horizontal
7903                 // RepeatLayout      : Flow
7904                 // OuterTableImplied : True
7905                 // Header            : True
7906                 // Footer            : True
7907                 // Separator         : False
7908
7909
7910                 string v = RepeatInfoUser.DoTest (3, 9, RepeatDirection.Horizontal, RepeatLayout.Flow, true, true, true, false);
7911                 string exp = @"<span>(0,Header,-1)<br />(1,Item,0)(2,Item,1)(3,Item,2)<br />(4,Item,3)(5,Item,4)(6,Item,5)<br />(7,Item,6)(8,Item,7)(9,Item,8)<br />(10,Footer,-1)</span>";
7912                 Assert.AreEqual (exp, v, "#348");
7913         }
7914
7915
7916         [Test]
7917         public void RepeatInfo_3cols_7itms_horiz_flow_otrtblimp_hdr_ftr ()
7918         {
7919                 // cols              : 3
7920                 // cnt               : 7
7921                 // RepeatDirection   : Horizontal
7922                 // RepeatLayout      : Flow
7923                 // OuterTableImplied : True
7924                 // Header            : True
7925                 // Footer            : True
7926                 // Separator         : False
7927
7928
7929                 string v = RepeatInfoUser.DoTest (3, 7, RepeatDirection.Horizontal, RepeatLayout.Flow, true, true, true, false);
7930                 string exp = @"<span>(0,Header,-1)<br />(1,Item,0)(2,Item,1)(3,Item,2)<br />(4,Item,3)(5,Item,4)(6,Item,5)<br />(7,Item,6)<br />(8,Footer,-1)</span>";
7931                 Assert.AreEqual (exp, v, "#349");
7932         }
7933
7934
7935         [Test]
7936         public void RepeatInfo_0cols_0itms_vert_flow_otrtblimp_hdr_ftr ()
7937         {
7938                 // cols              : 0
7939                 // cnt               : 0
7940                 // RepeatDirection   : Vertical
7941                 // RepeatLayout      : Flow
7942                 // OuterTableImplied : True
7943                 // Header            : True
7944                 // Footer            : True
7945                 // Separator         : False
7946
7947
7948                 string v = RepeatInfoUser.DoTest (0, 0, RepeatDirection.Vertical, RepeatLayout.Flow, true, true, true, false);
7949                 string exp = @"(0,Header,-1)(1,Footer,-1)";
7950                 Assert.AreEqual (exp, v, "#350");
7951         }
7952
7953
7954         [Test]
7955         public void RepeatInfo_0cols_1itms_vert_flow_otrtblimp_hdr_ftr ()
7956         {
7957                 // cols              : 0
7958                 // cnt               : 1
7959                 // RepeatDirection   : Vertical
7960                 // RepeatLayout      : Flow
7961                 // OuterTableImplied : True
7962                 // Header            : True
7963                 // Footer            : True
7964                 // Separator         : False
7965
7966
7967                 string v = RepeatInfoUser.DoTest (0, 1, RepeatDirection.Vertical, RepeatLayout.Flow, true, true, true, false);
7968                 string exp = @"(0,Header,-1)(1,Item,0)(2,Footer,-1)";
7969                 Assert.AreEqual (exp, v, "#351");
7970         }
7971
7972
7973         [Test]
7974         public void RepeatInfo_0cols_2itms_vert_flow_otrtblimp_hdr_ftr ()
7975         {
7976                 // cols              : 0
7977                 // cnt               : 2
7978                 // RepeatDirection   : Vertical
7979                 // RepeatLayout      : Flow
7980                 // OuterTableImplied : True
7981                 // Header            : True
7982                 // Footer            : True
7983                 // Separator         : False
7984
7985
7986                 string v = RepeatInfoUser.DoTest (0, 2, RepeatDirection.Vertical, RepeatLayout.Flow, true, true, true, false);
7987                 string exp = @"(0,Header,-1)(1,Item,0)(2,Item,1)(3,Footer,-1)";
7988                 Assert.AreEqual (exp, v, "#352");
7989         }
7990
7991
7992         [Test]
7993         public void RepeatInfo_0cols_5itms_vert_flow_otrtblimp_hdr_ftr ()
7994         {
7995                 // cols              : 0
7996                 // cnt               : 5
7997                 // RepeatDirection   : Vertical
7998                 // RepeatLayout      : Flow
7999                 // OuterTableImplied : True
8000                 // Header            : True
8001                 // Footer            : True
8002                 // Separator         : False
8003
8004
8005                 string v = RepeatInfoUser.DoTest (0, 5, RepeatDirection.Vertical, RepeatLayout.Flow, true, true, true, false);
8006                 string exp = @"(0,Header,-1)(1,Item,0)(2,Item,1)(3,Item,2)(4,Item,3)(5,Item,4)(6,Footer,-1)";
8007                 Assert.AreEqual (exp, v, "#353");
8008         }
8009
8010
8011         [Test]
8012         public void RepeatInfo_1cols_0itms_vert_flow_otrtblimp_hdr_ftr ()
8013         {
8014                 // cols              : 1
8015                 // cnt               : 0
8016                 // RepeatDirection   : Vertical
8017                 // RepeatLayout      : Flow
8018                 // OuterTableImplied : True
8019                 // Header            : True
8020                 // Footer            : True
8021                 // Separator         : False
8022
8023
8024                 string v = RepeatInfoUser.DoTest (1, 0, RepeatDirection.Vertical, RepeatLayout.Flow, true, true, true, false);
8025                 string exp = @"(0,Header,-1)(1,Footer,-1)";
8026                 Assert.AreEqual (exp, v, "#354");
8027         }
8028
8029
8030         [Test]
8031         public void RepeatInfo_1cols_5itms_vert_flow_otrtblimp_hdr_ftr ()
8032         {
8033                 // cols              : 1
8034                 // cnt               : 5
8035                 // RepeatDirection   : Vertical
8036                 // RepeatLayout      : Flow
8037                 // OuterTableImplied : True
8038                 // Header            : True
8039                 // Footer            : True
8040                 // Separator         : False
8041
8042
8043                 string v = RepeatInfoUser.DoTest (1, 5, RepeatDirection.Vertical, RepeatLayout.Flow, true, true, true, false);
8044                 string exp = @"(0,Header,-1)(1,Item,0)(2,Item,1)(3,Item,2)(4,Item,3)(5,Item,4)(6,Footer,-1)";
8045                 Assert.AreEqual (exp, v, "#355");
8046         }
8047
8048
8049         [Test]
8050         public void RepeatInfo_2cols_4itms_vert_flow_otrtblimp_hdr_ftr ()
8051         {
8052                 // cols              : 2
8053                 // cnt               : 4
8054                 // RepeatDirection   : Vertical
8055                 // RepeatLayout      : Flow
8056                 // OuterTableImplied : True
8057                 // Header            : True
8058                 // Footer            : True
8059                 // Separator         : False
8060
8061
8062                 string v = RepeatInfoUser.DoTest (2, 4, RepeatDirection.Vertical, RepeatLayout.Flow, true, true, true, false);
8063                 string exp = @"(0,Header,-1)(1,Item,0)(2,Item,2)(3,Item,1)(4,Item,3)(5,Footer,-1)";
8064                 Assert.AreEqual (exp, v, "#356");
8065         }
8066
8067
8068         [Test]
8069         public void RepeatInfo_2cols_7itms_vert_flow_otrtblimp_hdr_ftr ()
8070         {
8071                 // cols              : 2
8072                 // cnt               : 7
8073                 // RepeatDirection   : Vertical
8074                 // RepeatLayout      : Flow
8075                 // OuterTableImplied : True
8076                 // Header            : True
8077                 // Footer            : True
8078                 // Separator         : False
8079
8080
8081                 string v = RepeatInfoUser.DoTest (2, 7, RepeatDirection.Vertical, RepeatLayout.Flow, true, true, true, false);
8082                 string exp = @"(0,Header,-1)(1,Item,0)(2,Item,4)(3,Item,1)(4,Item,5)(5,Item,2)(6,Item,6)(7,Item,3)(8,Footer,-1)";
8083                 Assert.AreEqual (exp, v, "#357");
8084         }
8085
8086
8087         [Test]
8088         public void RepeatInfo_3cols_9itms_vert_flow_otrtblimp_hdr_ftr ()
8089         {
8090                 // cols              : 3
8091                 // cnt               : 9
8092                 // RepeatDirection   : Vertical
8093                 // RepeatLayout      : Flow
8094                 // OuterTableImplied : True
8095                 // Header            : True
8096                 // Footer            : True
8097                 // Separator         : False
8098
8099
8100                 string v = RepeatInfoUser.DoTest (3, 9, RepeatDirection.Vertical, RepeatLayout.Flow, true, true, true, false);
8101                 string exp = @"(0,Header,-1)(1,Item,0)(2,Item,3)(3,Item,6)(4,Item,1)(5,Item,4)(6,Item,7)(7,Item,2)(8,Item,5)(9,Item,8)(10,Footer,-1)";
8102                 Assert.AreEqual (exp, v, "#358");
8103         }
8104
8105
8106         [Test]
8107         public void RepeatInfo_3cols_7itms_vert_flow_otrtblimp_hdr_ftr ()
8108         {
8109                 // cols              : 3
8110                 // cnt               : 7
8111                 // RepeatDirection   : Vertical
8112                 // RepeatLayout      : Flow
8113                 // OuterTableImplied : True
8114                 // Header            : True
8115                 // Footer            : True
8116                 // Separator         : False
8117
8118
8119                 string v = RepeatInfoUser.DoTest (3, 7, RepeatDirection.Vertical, RepeatLayout.Flow, true, true, true, false);
8120                 string exp = @"(0,Header,-1)(1,Item,0)(2,Item,3)(3,Item,5)(4,Item,1)(5,Item,4)(6,Item,6)(7,Item,2)(8,Footer,-1)";
8121                 Assert.AreEqual (exp, v, "#359");
8122         }
8123
8124
8125         [Test]
8126         public void RepeatInfo_0cols_0itms_horiz_tbl_hdr_ftr ()
8127         {
8128                 // cols              : 0
8129                 // cnt               : 0
8130                 // RepeatDirection   : Horizontal
8131                 // RepeatLayout      : Table
8132                 // OuterTableImplied : False
8133                 // Header            : True
8134                 // Footer            : True
8135                 // Separator         : False
8136
8137
8138                 string v = RepeatInfoUser.DoTest (0, 0, RepeatDirection.Horizontal, RepeatLayout.Table, false, true, true, false);
8139                 string exp = @"<table class=""mainstyle"">
8140         <tr>
8141                 <td colspan=""0"" class=""Header-1"">(0,Header,-1)</td>
8142         </tr><tr>
8143                 <td colspan=""0"" class=""Footer-1"">(1,Footer,-1)</td>
8144         </tr>
8145 </table>";
8146                 Assert.AreEqual (exp, v, "#360");
8147         }
8148
8149
8150         [Test]
8151         public void RepeatInfo_0cols_1itms_horiz_tbl_hdr_ftr ()
8152         {
8153                 // cols              : 0
8154                 // cnt               : 1
8155                 // RepeatDirection   : Horizontal
8156                 // RepeatLayout      : Table
8157                 // OuterTableImplied : False
8158                 // Header            : True
8159                 // Footer            : True
8160                 // Separator         : False
8161
8162
8163                 string v = RepeatInfoUser.DoTest (0, 1, RepeatDirection.Horizontal, RepeatLayout.Table, false, true, true, false);
8164                 string exp = @"<table class=""mainstyle"">
8165         <tr>
8166                 <td class=""Header-1"">(0,Header,-1)</td>
8167         </tr><tr>
8168                 <td class=""Item0"">(1,Item,0)</td>
8169         </tr><tr>
8170                 <td class=""Footer-1"">(2,Footer,-1)</td>
8171         </tr>
8172 </table>";
8173                 Assert.AreEqual (exp, v, "#361");
8174         }
8175
8176
8177         [Test]
8178         public void RepeatInfo_0cols_2itms_horiz_tbl_hdr_ftr ()
8179         {
8180                 // cols              : 0
8181                 // cnt               : 2
8182                 // RepeatDirection   : Horizontal
8183                 // RepeatLayout      : Table
8184                 // OuterTableImplied : False
8185                 // Header            : True
8186                 // Footer            : True
8187                 // Separator         : False
8188
8189
8190                 string v = RepeatInfoUser.DoTest (0, 2, RepeatDirection.Horizontal, RepeatLayout.Table, false, true, true, false);
8191                 string exp = @"<table class=""mainstyle"">
8192         <tr>
8193                 <td colspan=""2"" class=""Header-1"">(0,Header,-1)</td>
8194         </tr><tr>
8195                 <td class=""Item0"">(1,Item,0)</td><td class=""Item1"">(2,Item,1)</td>
8196         </tr><tr>
8197                 <td colspan=""2"" class=""Footer-1"">(3,Footer,-1)</td>
8198         </tr>
8199 </table>";
8200                 Assert.AreEqual (exp, v, "#362");
8201         }
8202
8203
8204         [Test]
8205         public void RepeatInfo_0cols_5itms_horiz_tbl_hdr_ftr ()
8206         {
8207                 // cols              : 0
8208                 // cnt               : 5
8209                 // RepeatDirection   : Horizontal
8210                 // RepeatLayout      : Table
8211                 // OuterTableImplied : False
8212                 // Header            : True
8213                 // Footer            : True
8214                 // Separator         : False
8215
8216
8217                 string v = RepeatInfoUser.DoTest (0, 5, RepeatDirection.Horizontal, RepeatLayout.Table, false, true, true, false);
8218                 string exp = @"<table class=""mainstyle"">
8219         <tr>
8220                 <td colspan=""5"" class=""Header-1"">(0,Header,-1)</td>
8221         </tr><tr>
8222                 <td class=""Item0"">(1,Item,0)</td><td class=""Item1"">(2,Item,1)</td><td class=""Item2"">(3,Item,2)</td><td class=""Item3"">(4,Item,3)</td><td class=""Item4"">(5,Item,4)</td>
8223         </tr><tr>
8224                 <td colspan=""5"" class=""Footer-1"">(6,Footer,-1)</td>
8225         </tr>
8226 </table>";
8227                 Assert.AreEqual (exp, v, "#363");
8228         }
8229
8230
8231         [Test]
8232         public void RepeatInfo_1cols_0itms_horiz_tbl_hdr_ftr ()
8233         {
8234                 // cols              : 1
8235                 // cnt               : 0
8236                 // RepeatDirection   : Horizontal
8237                 // RepeatLayout      : Table
8238                 // OuterTableImplied : False
8239                 // Header            : True
8240                 // Footer            : True
8241                 // Separator         : False
8242
8243
8244                 string v = RepeatInfoUser.DoTest (1, 0, RepeatDirection.Horizontal, RepeatLayout.Table, false, true, true, false);
8245                 string exp = @"<table class=""mainstyle"">
8246         <tr>
8247                 <td class=""Header-1"">(0,Header,-1)</td>
8248         </tr><tr>
8249                 <td class=""Footer-1"">(1,Footer,-1)</td>
8250         </tr>
8251 </table>";
8252                 Assert.AreEqual (exp, v, "#364");
8253         }
8254
8255
8256         [Test]
8257         public void RepeatInfo_1cols_5itms_horiz_tbl_hdr_ftr ()
8258         {
8259                 // cols              : 1
8260                 // cnt               : 5
8261                 // RepeatDirection   : Horizontal
8262                 // RepeatLayout      : Table
8263                 // OuterTableImplied : False
8264                 // Header            : True
8265                 // Footer            : True
8266                 // Separator         : False
8267
8268
8269                 string v = RepeatInfoUser.DoTest (1, 5, RepeatDirection.Horizontal, RepeatLayout.Table, false, true, true, false);
8270                 string exp = @"<table class=""mainstyle"">
8271         <tr>
8272                 <td class=""Header-1"">(0,Header,-1)</td>
8273         </tr><tr>
8274                 <td class=""Item0"">(1,Item,0)</td>
8275         </tr><tr>
8276                 <td class=""Item1"">(2,Item,1)</td>
8277         </tr><tr>
8278                 <td class=""Item2"">(3,Item,2)</td>
8279         </tr><tr>
8280                 <td class=""Item3"">(4,Item,3)</td>
8281         </tr><tr>
8282                 <td class=""Item4"">(5,Item,4)</td>
8283         </tr><tr>
8284                 <td class=""Footer-1"">(6,Footer,-1)</td>
8285         </tr>
8286 </table>";
8287                 Assert.AreEqual (exp, v, "#365");
8288         }
8289
8290
8291         [Test]
8292         public void RepeatInfo_2cols_4itms_horiz_tbl_hdr_ftr ()
8293         {
8294                 // cols              : 2
8295                 // cnt               : 4
8296                 // RepeatDirection   : Horizontal
8297                 // RepeatLayout      : Table
8298                 // OuterTableImplied : False
8299                 // Header            : True
8300                 // Footer            : True
8301                 // Separator         : False
8302
8303
8304                 string v = RepeatInfoUser.DoTest (2, 4, RepeatDirection.Horizontal, RepeatLayout.Table, false, true, true, false);
8305                 string exp = @"<table class=""mainstyle"">
8306         <tr>
8307                 <td colspan=""2"" class=""Header-1"">(0,Header,-1)</td>
8308         </tr><tr>
8309                 <td class=""Item0"">(1,Item,0)</td><td class=""Item1"">(2,Item,1)</td>
8310         </tr><tr>
8311                 <td class=""Item2"">(3,Item,2)</td><td class=""Item3"">(4,Item,3)</td>
8312         </tr><tr>
8313                 <td colspan=""2"" class=""Footer-1"">(5,Footer,-1)</td>
8314         </tr>
8315 </table>";
8316                 Assert.AreEqual (exp, v, "#366");
8317         }
8318
8319
8320         [Test]
8321         public void RepeatInfo_2cols_7itms_horiz_tbl_hdr_ftr ()
8322         {
8323                 // cols              : 2
8324                 // cnt               : 7
8325                 // RepeatDirection   : Horizontal
8326                 // RepeatLayout      : Table
8327                 // OuterTableImplied : False
8328                 // Header            : True
8329                 // Footer            : True
8330                 // Separator         : False
8331
8332
8333                 string v = RepeatInfoUser.DoTest (2, 7, RepeatDirection.Horizontal, RepeatLayout.Table, false, true, true, false);
8334                 string exp = @"<table class=""mainstyle"">
8335         <tr>
8336                 <td colspan=""2"" class=""Header-1"">(0,Header,-1)</td>
8337         </tr><tr>
8338                 <td class=""Item0"">(1,Item,0)</td><td class=""Item1"">(2,Item,1)</td>
8339         </tr><tr>
8340                 <td class=""Item2"">(3,Item,2)</td><td class=""Item3"">(4,Item,3)</td>
8341         </tr><tr>
8342                 <td class=""Item4"">(5,Item,4)</td><td class=""Item5"">(6,Item,5)</td>
8343         </tr><tr>
8344                 <td class=""Item6"">(7,Item,6)</td><td></td>
8345         </tr><tr>
8346                 <td colspan=""2"" class=""Footer-1"">(8,Footer,-1)</td>
8347         </tr>
8348 </table>";
8349                 Assert.AreEqual (exp, v, "#367");
8350         }
8351
8352
8353         [Test]
8354         public void RepeatInfo_3cols_9itms_horiz_tbl_hdr_ftr ()
8355         {
8356                 // cols              : 3
8357                 // cnt               : 9
8358                 // RepeatDirection   : Horizontal
8359                 // RepeatLayout      : Table
8360                 // OuterTableImplied : False
8361                 // Header            : True
8362                 // Footer            : True
8363                 // Separator         : False
8364
8365
8366                 string v = RepeatInfoUser.DoTest (3, 9, RepeatDirection.Horizontal, RepeatLayout.Table, false, true, true, false);
8367                 string exp = @"<table>
8368         <tr>
8369                 <td colspan=""3"" class=""Header-1"">(0,Header,-1)</td>
8370         </tr><tr>
8371                 <td class=""Item0"">(1,Item,0)</td><td class=""Item1"">(2,Item,1)</td><td class=""Item2"">(3,Item,2)</td>
8372         </tr><tr>
8373                 <td class=""Item3"">(4,Item,3)</td><td class=""Item4"">(5,Item,4)</td><td class=""Item5"">(6,Item,5)</td>
8374         </tr><tr>
8375                 <td class=""Item6"">(7,Item,6)</td><td class=""Item7"">(8,Item,7)</td><td class=""Item8"">(9,Item,8)</td>
8376         </tr><tr>
8377                 <td colspan=""3"" class=""Footer-1"">(10,Footer,-1)</td>
8378         </tr>
8379 </table>";
8380                 Assert.AreEqual (exp, v, "#368");
8381         }
8382
8383
8384         [Test]
8385         public void RepeatInfo_3cols_7itms_horiz_tbl_hdr_ftr ()
8386         {
8387                 // cols              : 3
8388                 // cnt               : 7
8389                 // RepeatDirection   : Horizontal
8390                 // RepeatLayout      : Table
8391                 // OuterTableImplied : False
8392                 // Header            : True
8393                 // Footer            : True
8394                 // Separator         : False
8395
8396
8397                 string v = RepeatInfoUser.DoTest (3, 7, RepeatDirection.Horizontal, RepeatLayout.Table, false, true, true, false);
8398                 string exp = @"<table>
8399         <tr>
8400                 <td colspan=""3"" class=""Header-1"">(0,Header,-1)</td>
8401         </tr><tr>
8402                 <td class=""Item0"">(1,Item,0)</td><td class=""Item1"">(2,Item,1)</td><td class=""Item2"">(3,Item,2)</td>
8403         </tr><tr>
8404                 <td class=""Item3"">(4,Item,3)</td><td class=""Item4"">(5,Item,4)</td><td class=""Item5"">(6,Item,5)</td>
8405         </tr><tr>
8406                 <td class=""Item6"">(7,Item,6)</td><td></td><td></td>
8407         </tr><tr>
8408                 <td colspan=""3"" class=""Footer-1"">(8,Footer,-1)</td>
8409         </tr>
8410 </table>";
8411                 Assert.AreEqual (exp, v, "#369");
8412         }
8413
8414
8415         [Test]
8416         public void RepeatInfo_0cols_0itms_vert_tbl_hdr_ftr ()
8417         {
8418                 // cols              : 0
8419                 // cnt               : 0
8420                 // RepeatDirection   : Vertical
8421                 // RepeatLayout      : Table
8422                 // OuterTableImplied : False
8423                 // Header            : True
8424                 // Footer            : True
8425                 // Separator         : False
8426
8427
8428                 string v = RepeatInfoUser.DoTest (0, 0, RepeatDirection.Vertical, RepeatLayout.Table, false, true, true, false);
8429                 string exp = @"<table class=""mainstyle"">
8430         <tr>
8431                 <td class=""Header-1"">(0,Header,-1)</td>
8432         </tr><tr>
8433                 <td class=""Footer-1"">(1,Footer,-1)</td>
8434         </tr>
8435 </table>";
8436                 Assert.AreEqual (exp, v, "#370");
8437         }
8438
8439
8440         [Test]
8441         public void RepeatInfo_0cols_1itms_vert_tbl_hdr_ftr ()
8442         {
8443                 // cols              : 0
8444                 // cnt               : 1
8445                 // RepeatDirection   : Vertical
8446                 // RepeatLayout      : Table
8447                 // OuterTableImplied : False
8448                 // Header            : True
8449                 // Footer            : True
8450                 // Separator         : False
8451
8452
8453                 string v = RepeatInfoUser.DoTest (0, 1, RepeatDirection.Vertical, RepeatLayout.Table, false, true, true, false);
8454                 string exp = @"<table class=""mainstyle"">
8455         <tr>
8456                 <td class=""Header-1"">(0,Header,-1)</td>
8457         </tr><tr>
8458                 <td class=""Item0"">(1,Item,0)</td>
8459         </tr><tr>
8460                 <td class=""Footer-1"">(2,Footer,-1)</td>
8461         </tr>
8462 </table>";
8463                 Assert.AreEqual (exp, v, "#371");
8464         }
8465
8466
8467         [Test]
8468         public void RepeatInfo_0cols_2itms_vert_tbl_hdr_ftr ()
8469         {
8470                 // cols              : 0
8471                 // cnt               : 2
8472                 // RepeatDirection   : Vertical
8473                 // RepeatLayout      : Table
8474                 // OuterTableImplied : False
8475                 // Header            : True
8476                 // Footer            : True
8477                 // Separator         : False
8478
8479
8480                 string v = RepeatInfoUser.DoTest (0, 2, RepeatDirection.Vertical, RepeatLayout.Table, false, true, true, false);
8481                 string exp = @"<table class=""mainstyle"">
8482         <tr>
8483                 <td class=""Header-1"">(0,Header,-1)</td>
8484         </tr><tr>
8485                 <td class=""Item0"">(1,Item,0)</td>
8486         </tr><tr>
8487                 <td class=""Item1"">(2,Item,1)</td>
8488         </tr><tr>
8489                 <td class=""Footer-1"">(3,Footer,-1)</td>
8490         </tr>
8491 </table>";
8492                 Assert.AreEqual (exp, v, "#372");
8493         }
8494
8495
8496         [Test]
8497         public void RepeatInfo_0cols_5itms_vert_tbl_hdr_ftr ()
8498         {
8499                 // cols              : 0
8500                 // cnt               : 5
8501                 // RepeatDirection   : Vertical
8502                 // RepeatLayout      : Table
8503                 // OuterTableImplied : False
8504                 // Header            : True
8505                 // Footer            : True
8506                 // Separator         : False
8507
8508
8509                 string v = RepeatInfoUser.DoTest (0, 5, RepeatDirection.Vertical, RepeatLayout.Table, false, true, true, false);
8510                 string exp = @"<table class=""mainstyle"">
8511         <tr>
8512                 <td class=""Header-1"">(0,Header,-1)</td>
8513         </tr><tr>
8514                 <td class=""Item0"">(1,Item,0)</td>
8515         </tr><tr>
8516                 <td class=""Item1"">(2,Item,1)</td>
8517         </tr><tr>
8518                 <td class=""Item2"">(3,Item,2)</td>
8519         </tr><tr>
8520                 <td class=""Item3"">(4,Item,3)</td>
8521         </tr><tr>
8522                 <td class=""Item4"">(5,Item,4)</td>
8523         </tr><tr>
8524                 <td class=""Footer-1"">(6,Footer,-1)</td>
8525         </tr>
8526 </table>";
8527                 Assert.AreEqual (exp, v, "#373");
8528         }
8529
8530
8531         [Test]
8532         public void RepeatInfo_1cols_0itms_vert_tbl_hdr_ftr ()
8533         {
8534                 // cols              : 1
8535                 // cnt               : 0
8536                 // RepeatDirection   : Vertical
8537                 // RepeatLayout      : Table
8538                 // OuterTableImplied : False
8539                 // Header            : True
8540                 // Footer            : True
8541                 // Separator         : False
8542
8543
8544                 string v = RepeatInfoUser.DoTest (1, 0, RepeatDirection.Vertical, RepeatLayout.Table, false, true, true, false);
8545                 string exp = @"<table class=""mainstyle"">
8546         <tr>
8547                 <td class=""Header-1"">(0,Header,-1)</td>
8548         </tr><tr>
8549                 <td class=""Footer-1"">(1,Footer,-1)</td>
8550         </tr>
8551 </table>";
8552                 Assert.AreEqual (exp, v, "#374");
8553         }
8554
8555
8556         [Test]
8557         public void RepeatInfo_1cols_5itms_vert_tbl_hdr_ftr ()
8558         {
8559                 // cols              : 1
8560                 // cnt               : 5
8561                 // RepeatDirection   : Vertical
8562                 // RepeatLayout      : Table
8563                 // OuterTableImplied : False
8564                 // Header            : True
8565                 // Footer            : True
8566                 // Separator         : False
8567
8568
8569                 string v = RepeatInfoUser.DoTest (1, 5, RepeatDirection.Vertical, RepeatLayout.Table, false, true, true, false);
8570                 string exp = @"<table class=""mainstyle"">
8571         <tr>
8572                 <td class=""Header-1"">(0,Header,-1)</td>
8573         </tr><tr>
8574                 <td class=""Item0"">(1,Item,0)</td>
8575         </tr><tr>
8576                 <td class=""Item1"">(2,Item,1)</td>
8577         </tr><tr>
8578                 <td class=""Item2"">(3,Item,2)</td>
8579         </tr><tr>
8580                 <td class=""Item3"">(4,Item,3)</td>
8581         </tr><tr>
8582                 <td class=""Item4"">(5,Item,4)</td>
8583         </tr><tr>
8584                 <td class=""Footer-1"">(6,Footer,-1)</td>
8585         </tr>
8586 </table>";
8587                 Assert.AreEqual (exp, v, "#375");
8588         }
8589
8590
8591         [Test]
8592         public void RepeatInfo_2cols_4itms_vert_tbl_hdr_ftr ()
8593         {
8594                 // cols              : 2
8595                 // cnt               : 4
8596                 // RepeatDirection   : Vertical
8597                 // RepeatLayout      : Table
8598                 // OuterTableImplied : False
8599                 // Header            : True
8600                 // Footer            : True
8601                 // Separator         : False
8602
8603
8604                 string v = RepeatInfoUser.DoTest (2, 4, RepeatDirection.Vertical, RepeatLayout.Table, false, true, true, false);
8605                 string exp = @"<table class=""mainstyle"">
8606         <tr>
8607                 <td colspan=""2"" class=""Header-1"">(0,Header,-1)</td>
8608         </tr><tr>
8609                 <td class=""Item0"">(1,Item,0)</td><td class=""Item2"">(2,Item,2)</td>
8610         </tr><tr>
8611                 <td class=""Item1"">(3,Item,1)</td><td class=""Item3"">(4,Item,3)</td>
8612         </tr><tr>
8613                 <td colspan=""2"" class=""Footer-1"">(5,Footer,-1)</td>
8614         </tr>
8615 </table>";
8616                 Assert.AreEqual (exp, v, "#376");
8617         }
8618
8619
8620         [Test]
8621         public void RepeatInfo_2cols_7itms_vert_tbl_hdr_ftr ()
8622         {
8623                 // cols              : 2
8624                 // cnt               : 7
8625                 // RepeatDirection   : Vertical
8626                 // RepeatLayout      : Table
8627                 // OuterTableImplied : False
8628                 // Header            : True
8629                 // Footer            : True
8630                 // Separator         : False
8631
8632
8633                 string v = RepeatInfoUser.DoTest (2, 7, RepeatDirection.Vertical, RepeatLayout.Table, false, true, true, false);
8634                 string exp = @"<table class=""mainstyle"">
8635         <tr>
8636                 <td colspan=""2"" class=""Header-1"">(0,Header,-1)</td>
8637         </tr><tr>
8638                 <td class=""Item0"">(1,Item,0)</td><td class=""Item4"">(2,Item,4)</td>
8639         </tr><tr>
8640                 <td class=""Item1"">(3,Item,1)</td><td class=""Item5"">(4,Item,5)</td>
8641         </tr><tr>
8642                 <td class=""Item2"">(5,Item,2)</td><td class=""Item6"">(6,Item,6)</td>
8643         </tr><tr>
8644                 <td class=""Item3"">(7,Item,3)</td><td></td>
8645         </tr><tr>
8646                 <td colspan=""2"" class=""Footer-1"">(8,Footer,-1)</td>
8647         </tr>
8648 </table>";
8649                 Assert.AreEqual (exp, v, "#377");
8650         }
8651
8652
8653         [Test]
8654         public void RepeatInfo_3cols_9itms_vert_tbl_hdr_ftr ()
8655         {
8656                 // cols              : 3
8657                 // cnt               : 9
8658                 // RepeatDirection   : Vertical
8659                 // RepeatLayout      : Table
8660                 // OuterTableImplied : False
8661                 // Header            : True
8662                 // Footer            : True
8663                 // Separator         : False
8664
8665
8666                 string v = RepeatInfoUser.DoTest (3, 9, RepeatDirection.Vertical, RepeatLayout.Table, false, true, true, false);
8667                 string exp = @"<table>
8668         <tr>
8669                 <td colspan=""3"" class=""Header-1"">(0,Header,-1)</td>
8670         </tr><tr>
8671                 <td class=""Item0"">(1,Item,0)</td><td class=""Item3"">(2,Item,3)</td><td class=""Item6"">(3,Item,6)</td>
8672         </tr><tr>
8673                 <td class=""Item1"">(4,Item,1)</td><td class=""Item4"">(5,Item,4)</td><td class=""Item7"">(6,Item,7)</td>
8674         </tr><tr>
8675                 <td class=""Item2"">(7,Item,2)</td><td class=""Item5"">(8,Item,5)</td><td class=""Item8"">(9,Item,8)</td>
8676         </tr><tr>
8677                 <td colspan=""3"" class=""Footer-1"">(10,Footer,-1)</td>
8678         </tr>
8679 </table>";
8680                 Assert.AreEqual (exp, v, "#378");
8681         }
8682
8683
8684         [Test]
8685         public void RepeatInfo_3cols_7itms_vert_tbl_hdr_ftr ()
8686         {
8687                 // cols              : 3
8688                 // cnt               : 7
8689                 // RepeatDirection   : Vertical
8690                 // RepeatLayout      : Table
8691                 // OuterTableImplied : False
8692                 // Header            : True
8693                 // Footer            : True
8694                 // Separator         : False
8695
8696
8697                 string v = RepeatInfoUser.DoTest (3, 7, RepeatDirection.Vertical, RepeatLayout.Table, false, true, true, false);
8698                 string exp = @"<table>
8699         <tr>
8700                 <td colspan=""3"" class=""Header-1"">(0,Header,-1)</td>
8701         </tr><tr>
8702                 <td class=""Item0"">(1,Item,0)</td><td class=""Item3"">(2,Item,3)</td><td class=""Item5"">(3,Item,5)</td>
8703         </tr><tr>
8704                 <td class=""Item1"">(4,Item,1)</td><td class=""Item4"">(5,Item,4)</td><td class=""Item6"">(6,Item,6)</td>
8705         </tr><tr>
8706                 <td class=""Item2"">(7,Item,2)</td><td></td><td></td>
8707         </tr><tr>
8708                 <td colspan=""3"" class=""Footer-1"">(8,Footer,-1)</td>
8709         </tr>
8710 </table>";
8711                 Assert.AreEqual (exp, v, "#379");
8712         }
8713
8714
8715         [Test]
8716         public void RepeatInfo_0cols_0itms_horiz_flow_hdr_ftr ()
8717         {
8718                 // cols              : 0
8719                 // cnt               : 0
8720                 // RepeatDirection   : Horizontal
8721                 // RepeatLayout      : Flow
8722                 // OuterTableImplied : False
8723                 // Header            : True
8724                 // Footer            : True
8725                 // Separator         : False
8726
8727
8728                 string v = RepeatInfoUser.DoTest (0, 0, RepeatDirection.Horizontal, RepeatLayout.Flow, false, true, true, false);
8729                 string exp = @"<span class=""mainstyle"">(0,Header,-1)(1,Footer,-1)</span>";
8730                 Assert.AreEqual (exp, v, "#380");
8731         }
8732
8733
8734         [Test]
8735         public void RepeatInfo_0cols_1itms_horiz_flow_hdr_ftr ()
8736         {
8737                 // cols              : 0
8738                 // cnt               : 1
8739                 // RepeatDirection   : Horizontal
8740                 // RepeatLayout      : Flow
8741                 // OuterTableImplied : False
8742                 // Header            : True
8743                 // Footer            : True
8744                 // Separator         : False
8745
8746
8747                 string v = RepeatInfoUser.DoTest (0, 1, RepeatDirection.Horizontal, RepeatLayout.Flow, false, true, true, false);
8748                 string exp = @"<span class=""mainstyle"">(0,Header,-1)(1,Item,0)(2,Footer,-1)</span>";
8749                 Assert.AreEqual (exp, v, "#381");
8750         }
8751
8752
8753         [Test]
8754         public void RepeatInfo_0cols_2itms_horiz_flow_hdr_ftr ()
8755         {
8756                 // cols              : 0
8757                 // cnt               : 2
8758                 // RepeatDirection   : Horizontal
8759                 // RepeatLayout      : Flow
8760                 // OuterTableImplied : False
8761                 // Header            : True
8762                 // Footer            : True
8763                 // Separator         : False
8764
8765
8766                 string v = RepeatInfoUser.DoTest (0, 2, RepeatDirection.Horizontal, RepeatLayout.Flow, false, true, true, false);
8767                 string exp = @"<span class=""mainstyle"">(0,Header,-1)(1,Item,0)(2,Item,1)(3,Footer,-1)</span>";
8768                 Assert.AreEqual (exp, v, "#382");
8769         }
8770
8771
8772         [Test]
8773         public void RepeatInfo_0cols_5itms_horiz_flow_hdr_ftr ()
8774         {
8775                 // cols              : 0
8776                 // cnt               : 5
8777                 // RepeatDirection   : Horizontal
8778                 // RepeatLayout      : Flow
8779                 // OuterTableImplied : False
8780                 // Header            : True
8781                 // Footer            : True
8782                 // Separator         : False
8783
8784
8785                 string v = RepeatInfoUser.DoTest (0, 5, RepeatDirection.Horizontal, RepeatLayout.Flow, false, true, true, false);
8786                 string exp = @"<span class=""mainstyle"">(0,Header,-1)(1,Item,0)(2,Item,1)(3,Item,2)(4,Item,3)(5,Item,4)(6,Footer,-1)</span>";
8787                 Assert.AreEqual (exp, v, "#383");
8788         }
8789
8790
8791         [Test]
8792         public void RepeatInfo_1cols_0itms_horiz_flow_hdr_ftr ()
8793         {
8794                 // cols              : 1
8795                 // cnt               : 0
8796                 // RepeatDirection   : Horizontal
8797                 // RepeatLayout      : Flow
8798                 // OuterTableImplied : False
8799                 // Header            : True
8800                 // Footer            : True
8801                 // Separator         : False
8802
8803
8804                 string v = RepeatInfoUser.DoTest (1, 0, RepeatDirection.Horizontal, RepeatLayout.Flow, false, true, true, false);
8805                 string exp = @"<span class=""mainstyle"">(0,Header,-1)(1,Footer,-1)</span>";
8806                 Assert.AreEqual (exp, v, "#384");
8807         }
8808
8809
8810         [Test]
8811         public void RepeatInfo_1cols_5itms_horiz_flow_hdr_ftr ()
8812         {
8813                 // cols              : 1
8814                 // cnt               : 5
8815                 // RepeatDirection   : Horizontal
8816                 // RepeatLayout      : Flow
8817                 // OuterTableImplied : False
8818                 // Header            : True
8819                 // Footer            : True
8820                 // Separator         : False
8821
8822
8823                 string v = RepeatInfoUser.DoTest (1, 5, RepeatDirection.Horizontal, RepeatLayout.Flow, false, true, true, false);
8824                 string exp = @"<span class=""mainstyle"">(0,Header,-1)<br />(1,Item,0)<br />(2,Item,1)<br />(3,Item,2)<br />(4,Item,3)<br />(5,Item,4)<br />(6,Footer,-1)</span>";
8825                 Assert.AreEqual (exp, v, "#385");
8826         }
8827
8828
8829         [Test]
8830         public void RepeatInfo_2cols_4itms_horiz_flow_hdr_ftr ()
8831         {
8832                 // cols              : 2
8833                 // cnt               : 4
8834                 // RepeatDirection   : Horizontal
8835                 // RepeatLayout      : Flow
8836                 // OuterTableImplied : False
8837                 // Header            : True
8838                 // Footer            : True
8839                 // Separator         : False
8840
8841
8842                 string v = RepeatInfoUser.DoTest (2, 4, RepeatDirection.Horizontal, RepeatLayout.Flow, false, true, true, false);
8843                 string exp = @"<span class=""mainstyle"">(0,Header,-1)<br />(1,Item,0)(2,Item,1)<br />(3,Item,2)(4,Item,3)<br />(5,Footer,-1)</span>";
8844                 Assert.AreEqual (exp, v, "#386");
8845         }
8846
8847
8848         [Test]
8849         public void RepeatInfo_2cols_7itms_horiz_flow_hdr_ftr ()
8850         {
8851                 // cols              : 2
8852                 // cnt               : 7
8853                 // RepeatDirection   : Horizontal
8854                 // RepeatLayout      : Flow
8855                 // OuterTableImplied : False
8856                 // Header            : True
8857                 // Footer            : True
8858                 // Separator         : False
8859
8860
8861                 string v = RepeatInfoUser.DoTest (2, 7, RepeatDirection.Horizontal, RepeatLayout.Flow, false, true, true, false);
8862                 string exp = @"<span class=""mainstyle"">(0,Header,-1)<br />(1,Item,0)(2,Item,1)<br />(3,Item,2)(4,Item,3)<br />(5,Item,4)(6,Item,5)<br />(7,Item,6)<br />(8,Footer,-1)</span>";
8863                 Assert.AreEqual (exp, v, "#387");
8864         }
8865
8866
8867         [Test]
8868         public void RepeatInfo_3cols_9itms_horiz_flow_hdr_ftr ()
8869         {
8870                 // cols              : 3
8871                 // cnt               : 9
8872                 // RepeatDirection   : Horizontal
8873                 // RepeatLayout      : Flow
8874                 // OuterTableImplied : False
8875                 // Header            : True
8876                 // Footer            : True
8877                 // Separator         : False
8878
8879
8880                 string v = RepeatInfoUser.DoTest (3, 9, RepeatDirection.Horizontal, RepeatLayout.Flow, false, true, true, false);
8881                 string exp = @"<span>(0,Header,-1)<br />(1,Item,0)(2,Item,1)(3,Item,2)<br />(4,Item,3)(5,Item,4)(6,Item,5)<br />(7,Item,6)(8,Item,7)(9,Item,8)<br />(10,Footer,-1)</span>";
8882                 Assert.AreEqual (exp, v, "#388");
8883         }
8884
8885
8886         [Test]
8887         public void RepeatInfo_3cols_7itms_horiz_flow_hdr_ftr ()
8888         {
8889                 // cols              : 3
8890                 // cnt               : 7
8891                 // RepeatDirection   : Horizontal
8892                 // RepeatLayout      : Flow
8893                 // OuterTableImplied : False
8894                 // Header            : True
8895                 // Footer            : True
8896                 // Separator         : False
8897
8898
8899                 string v = RepeatInfoUser.DoTest (3, 7, RepeatDirection.Horizontal, RepeatLayout.Flow, false, true, true, false);
8900                 string exp = @"<span>(0,Header,-1)<br />(1,Item,0)(2,Item,1)(3,Item,2)<br />(4,Item,3)(5,Item,4)(6,Item,5)<br />(7,Item,6)<br />(8,Footer,-1)</span>";
8901                 Assert.AreEqual (exp, v, "#389");
8902         }
8903
8904
8905         [Test]
8906         public void RepeatInfo_0cols_0itms_vert_flow_hdr_ftr ()
8907         {
8908                 // cols              : 0
8909                 // cnt               : 0
8910                 // RepeatDirection   : Vertical
8911                 // RepeatLayout      : Flow
8912                 // OuterTableImplied : False
8913                 // Header            : True
8914                 // Footer            : True
8915                 // Separator         : False
8916
8917
8918                 string v = RepeatInfoUser.DoTest (0, 0, RepeatDirection.Vertical, RepeatLayout.Flow, false, true, true, false);
8919                 string exp = @"<span class=""mainstyle"">(0,Header,-1)<br />(1,Footer,-1)</span>";
8920                 Assert.AreEqual (exp, v, "#390");
8921         }
8922
8923
8924         [Test]
8925         public void RepeatInfo_0cols_1itms_vert_flow_hdr_ftr ()
8926         {
8927                 // cols              : 0
8928                 // cnt               : 1
8929                 // RepeatDirection   : Vertical
8930                 // RepeatLayout      : Flow
8931                 // OuterTableImplied : False
8932                 // Header            : True
8933                 // Footer            : True
8934                 // Separator         : False
8935
8936
8937                 string v = RepeatInfoUser.DoTest (0, 1, RepeatDirection.Vertical, RepeatLayout.Flow, false, true, true, false);
8938                 string exp = @"<span class=""mainstyle"">(0,Header,-1)<br />(1,Item,0)<br />(2,Footer,-1)</span>";
8939                 Assert.AreEqual (exp, v, "#391");
8940         }
8941
8942
8943         [Test]
8944         public void RepeatInfo_0cols_2itms_vert_flow_hdr_ftr ()
8945         {
8946                 // cols              : 0
8947                 // cnt               : 2
8948                 // RepeatDirection   : Vertical
8949                 // RepeatLayout      : Flow
8950                 // OuterTableImplied : False
8951                 // Header            : True
8952                 // Footer            : True
8953                 // Separator         : False
8954
8955
8956                 string v = RepeatInfoUser.DoTest (0, 2, RepeatDirection.Vertical, RepeatLayout.Flow, false, true, true, false);
8957                 string exp = @"<span class=""mainstyle"">(0,Header,-1)<br />(1,Item,0)<br />(2,Item,1)<br />(3,Footer,-1)</span>";
8958                 Assert.AreEqual (exp, v, "#392");
8959         }
8960
8961
8962         [Test]
8963         public void RepeatInfo_0cols_5itms_vert_flow_hdr_ftr ()
8964         {
8965                 // cols              : 0
8966                 // cnt               : 5
8967                 // RepeatDirection   : Vertical
8968                 // RepeatLayout      : Flow
8969                 // OuterTableImplied : False
8970                 // Header            : True
8971                 // Footer            : True
8972                 // Separator         : False
8973
8974
8975                 string v = RepeatInfoUser.DoTest (0, 5, RepeatDirection.Vertical, RepeatLayout.Flow, false, true, true, false);
8976                 string exp = @"<span class=""mainstyle"">(0,Header,-1)<br />(1,Item,0)<br />(2,Item,1)<br />(3,Item,2)<br />(4,Item,3)<br />(5,Item,4)<br />(6,Footer,-1)</span>";
8977                 Assert.AreEqual (exp, v, "#393");
8978         }
8979
8980
8981         [Test]
8982         public void RepeatInfo_1cols_0itms_vert_flow_hdr_ftr ()
8983         {
8984                 // cols              : 1
8985                 // cnt               : 0
8986                 // RepeatDirection   : Vertical
8987                 // RepeatLayout      : Flow
8988                 // OuterTableImplied : False
8989                 // Header            : True
8990                 // Footer            : True
8991                 // Separator         : False
8992
8993
8994                 string v = RepeatInfoUser.DoTest (1, 0, RepeatDirection.Vertical, RepeatLayout.Flow, false, true, true, false);
8995                 string exp = @"<span class=""mainstyle"">(0,Header,-1)<br />(1,Footer,-1)</span>";
8996                 Assert.AreEqual (exp, v, "#394");
8997         }
8998
8999
9000         [Test]
9001         public void RepeatInfo_1cols_5itms_vert_flow_hdr_ftr ()
9002         {
9003                 // cols              : 1
9004                 // cnt               : 5
9005                 // RepeatDirection   : Vertical
9006                 // RepeatLayout      : Flow
9007                 // OuterTableImplied : False
9008                 // Header            : True
9009                 // Footer            : True
9010                 // Separator         : False
9011
9012
9013                 string v = RepeatInfoUser.DoTest (1, 5, RepeatDirection.Vertical, RepeatLayout.Flow, false, true, true, false);
9014                 string exp = @"<span class=""mainstyle"">(0,Header,-1)<br />(1,Item,0)<br />(2,Item,1)<br />(3,Item,2)<br />(4,Item,3)<br />(5,Item,4)<br />(6,Footer,-1)</span>";
9015                 Assert.AreEqual (exp, v, "#395");
9016         }
9017
9018
9019         [Test]
9020         public void RepeatInfo_2cols_4itms_vert_flow_hdr_ftr ()
9021         {
9022                 // cols              : 2
9023                 // cnt               : 4
9024                 // RepeatDirection   : Vertical
9025                 // RepeatLayout      : Flow
9026                 // OuterTableImplied : False
9027                 // Header            : True
9028                 // Footer            : True
9029                 // Separator         : False
9030
9031
9032                 string v = RepeatInfoUser.DoTest (2, 4, RepeatDirection.Vertical, RepeatLayout.Flow, false, true, true, false);
9033                 string exp = @"<span class=""mainstyle"">(0,Header,-1)<br />(1,Item,0)(2,Item,2)<br />(3,Item,1)(4,Item,3)<br />(5,Footer,-1)</span>";
9034                 Assert.AreEqual (exp, v, "#396");
9035         }
9036
9037
9038         [Test]
9039         public void RepeatInfo_2cols_7itms_vert_flow_hdr_ftr ()
9040         {
9041                 // cols              : 2
9042                 // cnt               : 7
9043                 // RepeatDirection   : Vertical
9044                 // RepeatLayout      : Flow
9045                 // OuterTableImplied : False
9046                 // Header            : True
9047                 // Footer            : True
9048                 // Separator         : False
9049
9050
9051                 string v = RepeatInfoUser.DoTest (2, 7, RepeatDirection.Vertical, RepeatLayout.Flow, false, true, true, false);
9052                 string exp = @"<span class=""mainstyle"">(0,Header,-1)<br />(1,Item,0)(2,Item,4)<br />(3,Item,1)(4,Item,5)<br />(5,Item,2)(6,Item,6)<br />(7,Item,3)<br />(8,Footer,-1)</span>";
9053                 Assert.AreEqual (exp, v, "#397");
9054         }
9055
9056
9057         [Test]
9058         public void RepeatInfo_3cols_9itms_vert_flow_hdr_ftr ()
9059         {
9060                 // cols              : 3
9061                 // cnt               : 9
9062                 // RepeatDirection   : Vertical
9063                 // RepeatLayout      : Flow
9064                 // OuterTableImplied : False
9065                 // Header            : True
9066                 // Footer            : True
9067                 // Separator         : False
9068
9069
9070                 string v = RepeatInfoUser.DoTest (3, 9, RepeatDirection.Vertical, RepeatLayout.Flow, false, true, true, false);
9071                 string exp = @"<span>(0,Header,-1)<br />(1,Item,0)(2,Item,3)(3,Item,6)<br />(4,Item,1)(5,Item,4)(6,Item,7)<br />(7,Item,2)(8,Item,5)(9,Item,8)<br />(10,Footer,-1)</span>";
9072                 Assert.AreEqual (exp, v, "#398");
9073         }
9074
9075
9076         [Test]
9077         public void RepeatInfo_3cols_7itms_vert_flow_hdr_ftr ()
9078         {
9079                 // cols              : 3
9080                 // cnt               : 7
9081                 // RepeatDirection   : Vertical
9082                 // RepeatLayout      : Flow
9083                 // OuterTableImplied : False
9084                 // Header            : True
9085                 // Footer            : True
9086                 // Separator         : False
9087
9088
9089                 string v = RepeatInfoUser.DoTest (3, 7, RepeatDirection.Vertical, RepeatLayout.Flow, false, true, true, false);
9090                 string exp = @"<span>(0,Header,-1)<br />(1,Item,0)(2,Item,3)(3,Item,5)<br />(4,Item,1)(5,Item,4)(6,Item,6)<br />(7,Item,2)<br />(8,Footer,-1)</span>";
9091                 Assert.AreEqual (exp, v, "#399");
9092         }
9093
9094
9095         [Test]
9096         public void RepeatInfo_0cols_0itms_horiz_tbl_otrtblimp_ftr ()
9097         {
9098                 // cols              : 0
9099                 // cnt               : 0
9100                 // RepeatDirection   : Horizontal
9101                 // RepeatLayout      : Table
9102                 // OuterTableImplied : True
9103                 // Header            : False
9104                 // Footer            : True
9105                 // Separator         : False
9106
9107
9108                 string v = RepeatInfoUser.DoTest (0, 0, RepeatDirection.Horizontal, RepeatLayout.Table, true, false, true, false);
9109                 string exp = @"<table class=""mainstyle"">
9110         <tr>
9111                 <td colspan=""0"" class=""Footer-1"">(0,Footer,-1)</td>
9112         </tr>
9113 </table>";
9114                 Assert.AreEqual (exp, v, "#400");
9115         }
9116
9117
9118         [Test]
9119         public void RepeatInfo_0cols_1itms_horiz_tbl_otrtblimp_ftr ()
9120         {
9121                 // cols              : 0
9122                 // cnt               : 1
9123                 // RepeatDirection   : Horizontal
9124                 // RepeatLayout      : Table
9125                 // OuterTableImplied : True
9126                 // Header            : False
9127                 // Footer            : True
9128                 // Separator         : False
9129
9130
9131                 string v = RepeatInfoUser.DoTest (0, 1, RepeatDirection.Horizontal, RepeatLayout.Table, true, false, true, false);
9132                 string exp = @"<table class=""mainstyle"">
9133         <tr>
9134                 <td class=""Item0"">(0,Item,0)</td>
9135         </tr><tr>
9136                 <td class=""Footer-1"">(1,Footer,-1)</td>
9137         </tr>
9138 </table>";
9139                 Assert.AreEqual (exp, v, "#401");
9140         }
9141
9142
9143         [Test]
9144         public void RepeatInfo_0cols_2itms_horiz_tbl_otrtblimp_ftr ()
9145         {
9146                 // cols              : 0
9147                 // cnt               : 2
9148                 // RepeatDirection   : Horizontal
9149                 // RepeatLayout      : Table
9150                 // OuterTableImplied : True
9151                 // Header            : False
9152                 // Footer            : True
9153                 // Separator         : False
9154
9155
9156                 string v = RepeatInfoUser.DoTest (0, 2, RepeatDirection.Horizontal, RepeatLayout.Table, true, false, true, false);
9157                 string exp = @"<table class=""mainstyle"">
9158         <tr>
9159                 <td class=""Item0"">(0,Item,0)</td><td class=""Item1"">(1,Item,1)</td>
9160         </tr><tr>
9161                 <td colspan=""2"" class=""Footer-1"">(2,Footer,-1)</td>
9162         </tr>
9163 </table>";
9164                 Assert.AreEqual (exp, v, "#402");
9165         }
9166
9167
9168         [Test]
9169         public void RepeatInfo_0cols_5itms_horiz_tbl_otrtblimp_ftr ()
9170         {
9171                 // cols              : 0
9172                 // cnt               : 5
9173                 // RepeatDirection   : Horizontal
9174                 // RepeatLayout      : Table
9175                 // OuterTableImplied : True
9176                 // Header            : False
9177                 // Footer            : True
9178                 // Separator         : False
9179
9180
9181                 string v = RepeatInfoUser.DoTest (0, 5, RepeatDirection.Horizontal, RepeatLayout.Table, true, false, true, false);
9182                 string exp = @"<table class=""mainstyle"">
9183         <tr>
9184                 <td class=""Item0"">(0,Item,0)</td><td class=""Item1"">(1,Item,1)</td><td class=""Item2"">(2,Item,2)</td><td class=""Item3"">(3,Item,3)</td><td class=""Item4"">(4,Item,4)</td>
9185         </tr><tr>
9186                 <td colspan=""5"" class=""Footer-1"">(5,Footer,-1)</td>
9187         </tr>
9188 </table>";
9189                 Assert.AreEqual (exp, v, "#403");
9190         }
9191
9192
9193         [Test]
9194         public void RepeatInfo_1cols_0itms_horiz_tbl_otrtblimp_ftr ()
9195         {
9196                 // cols              : 1
9197                 // cnt               : 0
9198                 // RepeatDirection   : Horizontal
9199                 // RepeatLayout      : Table
9200                 // OuterTableImplied : True
9201                 // Header            : False
9202                 // Footer            : True
9203                 // Separator         : False
9204
9205
9206                 string v = RepeatInfoUser.DoTest (1, 0, RepeatDirection.Horizontal, RepeatLayout.Table, true, false, true, false);
9207                 string exp = @"<table class=""mainstyle"">
9208         <tr>
9209                 <td class=""Footer-1"">(0,Footer,-1)</td>
9210         </tr>
9211 </table>";
9212                 Assert.AreEqual (exp, v, "#404");
9213         }
9214
9215
9216         [Test]
9217         public void RepeatInfo_1cols_5itms_horiz_tbl_otrtblimp_ftr ()
9218         {
9219                 // cols              : 1
9220                 // cnt               : 5
9221                 // RepeatDirection   : Horizontal
9222                 // RepeatLayout      : Table
9223                 // OuterTableImplied : True
9224                 // Header            : False
9225                 // Footer            : True
9226                 // Separator         : False
9227
9228
9229                 string v = RepeatInfoUser.DoTest (1, 5, RepeatDirection.Horizontal, RepeatLayout.Table, true, false, true, false);
9230                 string exp = @"<table class=""mainstyle"">
9231         <tr>
9232                 <td class=""Item0"">(0,Item,0)</td>
9233         </tr><tr>
9234                 <td class=""Item1"">(1,Item,1)</td>
9235         </tr><tr>
9236                 <td class=""Item2"">(2,Item,2)</td>
9237         </tr><tr>
9238                 <td class=""Item3"">(3,Item,3)</td>
9239         </tr><tr>
9240                 <td class=""Item4"">(4,Item,4)</td>
9241         </tr><tr>
9242                 <td class=""Footer-1"">(5,Footer,-1)</td>
9243         </tr>
9244 </table>";
9245                 Assert.AreEqual (exp, v, "#405");
9246         }
9247
9248
9249         [Test]
9250         public void RepeatInfo_2cols_4itms_horiz_tbl_otrtblimp_ftr ()
9251         {
9252                 // cols              : 2
9253                 // cnt               : 4
9254                 // RepeatDirection   : Horizontal
9255                 // RepeatLayout      : Table
9256                 // OuterTableImplied : True
9257                 // Header            : False
9258                 // Footer            : True
9259                 // Separator         : False
9260
9261
9262                 string v = RepeatInfoUser.DoTest (2, 4, RepeatDirection.Horizontal, RepeatLayout.Table, true, false, true, false);
9263                 string exp = @"<table class=""mainstyle"">
9264         <tr>
9265                 <td class=""Item0"">(0,Item,0)</td><td class=""Item1"">(1,Item,1)</td>
9266         </tr><tr>
9267                 <td class=""Item2"">(2,Item,2)</td><td class=""Item3"">(3,Item,3)</td>
9268         </tr><tr>
9269                 <td colspan=""2"" class=""Footer-1"">(4,Footer,-1)</td>
9270         </tr>
9271 </table>";
9272                 Assert.AreEqual (exp, v, "#406");
9273         }
9274
9275
9276         [Test]
9277         public void RepeatInfo_2cols_7itms_horiz_tbl_otrtblimp_ftr ()
9278         {
9279                 // cols              : 2
9280                 // cnt               : 7
9281                 // RepeatDirection   : Horizontal
9282                 // RepeatLayout      : Table
9283                 // OuterTableImplied : True
9284                 // Header            : False
9285                 // Footer            : True
9286                 // Separator         : False
9287
9288
9289                 string v = RepeatInfoUser.DoTest (2, 7, RepeatDirection.Horizontal, RepeatLayout.Table, true, false, true, false);
9290                 string exp = @"<table class=""mainstyle"">
9291         <tr>
9292                 <td class=""Item0"">(0,Item,0)</td><td class=""Item1"">(1,Item,1)</td>
9293         </tr><tr>
9294                 <td class=""Item2"">(2,Item,2)</td><td class=""Item3"">(3,Item,3)</td>
9295         </tr><tr>
9296                 <td class=""Item4"">(4,Item,4)</td><td class=""Item5"">(5,Item,5)</td>
9297         </tr><tr>
9298                 <td class=""Item6"">(6,Item,6)</td><td></td>
9299         </tr><tr>
9300                 <td colspan=""2"" class=""Footer-1"">(7,Footer,-1)</td>
9301         </tr>
9302 </table>";
9303                 Assert.AreEqual (exp, v, "#407");
9304         }
9305
9306
9307         [Test]
9308         public void RepeatInfo_3cols_9itms_horiz_tbl_otrtblimp_ftr ()
9309         {
9310                 // cols              : 3
9311                 // cnt               : 9
9312                 // RepeatDirection   : Horizontal
9313                 // RepeatLayout      : Table
9314                 // OuterTableImplied : True
9315                 // Header            : False
9316                 // Footer            : True
9317                 // Separator         : False
9318
9319
9320                 string v = RepeatInfoUser.DoTest (3, 9, RepeatDirection.Horizontal, RepeatLayout.Table, true, false, true, false);
9321                 string exp = @"<table>
9322         <tr>
9323                 <td class=""Item0"">(0,Item,0)</td><td class=""Item1"">(1,Item,1)</td><td class=""Item2"">(2,Item,2)</td>
9324         </tr><tr>
9325                 <td class=""Item3"">(3,Item,3)</td><td class=""Item4"">(4,Item,4)</td><td class=""Item5"">(5,Item,5)</td>
9326         </tr><tr>
9327                 <td class=""Item6"">(6,Item,6)</td><td class=""Item7"">(7,Item,7)</td><td class=""Item8"">(8,Item,8)</td>
9328         </tr><tr>
9329                 <td colspan=""3"" class=""Footer-1"">(9,Footer,-1)</td>
9330         </tr>
9331 </table>";
9332                 Assert.AreEqual (exp, v, "#408");
9333         }
9334
9335
9336         [Test]
9337         public void RepeatInfo_3cols_7itms_horiz_tbl_otrtblimp_ftr ()
9338         {
9339                 // cols              : 3
9340                 // cnt               : 7
9341                 // RepeatDirection   : Horizontal
9342                 // RepeatLayout      : Table
9343                 // OuterTableImplied : True
9344                 // Header            : False
9345                 // Footer            : True
9346                 // Separator         : False
9347
9348
9349                 string v = RepeatInfoUser.DoTest (3, 7, RepeatDirection.Horizontal, RepeatLayout.Table, true, false, true, false);
9350                 string exp = @"<table>
9351         <tr>
9352                 <td class=""Item0"">(0,Item,0)</td><td class=""Item1"">(1,Item,1)</td><td class=""Item2"">(2,Item,2)</td>
9353         </tr><tr>
9354                 <td class=""Item3"">(3,Item,3)</td><td class=""Item4"">(4,Item,4)</td><td class=""Item5"">(5,Item,5)</td>
9355         </tr><tr>
9356                 <td class=""Item6"">(6,Item,6)</td><td></td><td></td>
9357         </tr><tr>
9358                 <td colspan=""3"" class=""Footer-1"">(7,Footer,-1)</td>
9359         </tr>
9360 </table>";
9361                 Assert.AreEqual (exp, v, "#409");
9362         }
9363
9364
9365         [Test]
9366         public void RepeatInfo_0cols_0itms_vert_tbl_otrtblimp_ftr ()
9367         {
9368                 // cols              : 0
9369                 // cnt               : 0
9370                 // RepeatDirection   : Vertical
9371                 // RepeatLayout      : Table
9372                 // OuterTableImplied : True
9373                 // Header            : False
9374                 // Footer            : True
9375                 // Separator         : False
9376
9377
9378                 string v = RepeatInfoUser.DoTest (0, 0, RepeatDirection.Vertical, RepeatLayout.Table, true, false, true, false);
9379                 string exp = @"(0,Footer,-1)";
9380                 Assert.AreEqual (exp, v, "#410");
9381         }
9382
9383
9384         [Test]
9385         public void RepeatInfo_0cols_1itms_vert_tbl_otrtblimp_ftr ()
9386         {
9387                 // cols              : 0
9388                 // cnt               : 1
9389                 // RepeatDirection   : Vertical
9390                 // RepeatLayout      : Table
9391                 // OuterTableImplied : True
9392                 // Header            : False
9393                 // Footer            : True
9394                 // Separator         : False
9395
9396
9397                 string v = RepeatInfoUser.DoTest (0, 1, RepeatDirection.Vertical, RepeatLayout.Table, true, false, true, false);
9398                 string exp = @"(0,Item,0)(1,Footer,-1)";
9399                 Assert.AreEqual (exp, v, "#411");
9400         }
9401
9402
9403         [Test]
9404         public void RepeatInfo_0cols_2itms_vert_tbl_otrtblimp_ftr ()
9405         {
9406                 // cols              : 0
9407                 // cnt               : 2
9408                 // RepeatDirection   : Vertical
9409                 // RepeatLayout      : Table
9410                 // OuterTableImplied : True
9411                 // Header            : False
9412                 // Footer            : True
9413                 // Separator         : False
9414
9415
9416                 string v = RepeatInfoUser.DoTest (0, 2, RepeatDirection.Vertical, RepeatLayout.Table, true, false, true, false);
9417                 string exp = @"(0,Item,0)(1,Item,1)(2,Footer,-1)";
9418                 Assert.AreEqual (exp, v, "#412");
9419         }
9420
9421
9422         [Test]
9423         public void RepeatInfo_0cols_5itms_vert_tbl_otrtblimp_ftr ()
9424         {
9425                 // cols              : 0
9426                 // cnt               : 5
9427                 // RepeatDirection   : Vertical
9428                 // RepeatLayout      : Table
9429                 // OuterTableImplied : True
9430                 // Header            : False
9431                 // Footer            : True
9432                 // Separator         : False
9433
9434
9435                 string v = RepeatInfoUser.DoTest (0, 5, RepeatDirection.Vertical, RepeatLayout.Table, true, false, true, false);
9436                 string exp = @"(0,Item,0)(1,Item,1)(2,Item,2)(3,Item,3)(4,Item,4)(5,Footer,-1)";
9437                 Assert.AreEqual (exp, v, "#413");
9438         }
9439
9440
9441         [Test]
9442         public void RepeatInfo_1cols_0itms_vert_tbl_otrtblimp_ftr ()
9443         {
9444                 // cols              : 1
9445                 // cnt               : 0
9446                 // RepeatDirection   : Vertical
9447                 // RepeatLayout      : Table
9448                 // OuterTableImplied : True
9449                 // Header            : False
9450                 // Footer            : True
9451                 // Separator         : False
9452
9453
9454                 string v = RepeatInfoUser.DoTest (1, 0, RepeatDirection.Vertical, RepeatLayout.Table, true, false, true, false);
9455                 string exp = @"(0,Footer,-1)";
9456                 Assert.AreEqual (exp, v, "#414");
9457         }
9458
9459
9460         [Test]
9461         public void RepeatInfo_1cols_5itms_vert_tbl_otrtblimp_ftr ()
9462         {
9463                 // cols              : 1
9464                 // cnt               : 5
9465                 // RepeatDirection   : Vertical
9466                 // RepeatLayout      : Table
9467                 // OuterTableImplied : True
9468                 // Header            : False
9469                 // Footer            : True
9470                 // Separator         : False
9471
9472
9473                 string v = RepeatInfoUser.DoTest (1, 5, RepeatDirection.Vertical, RepeatLayout.Table, true, false, true, false);
9474                 string exp = @"(0,Item,0)(1,Item,1)(2,Item,2)(3,Item,3)(4,Item,4)(5,Footer,-1)";
9475                 Assert.AreEqual (exp, v, "#415");
9476         }
9477
9478
9479         [Test]
9480         public void RepeatInfo_2cols_4itms_vert_tbl_otrtblimp_ftr ()
9481         {
9482                 // cols              : 2
9483                 // cnt               : 4
9484                 // RepeatDirection   : Vertical
9485                 // RepeatLayout      : Table
9486                 // OuterTableImplied : True
9487                 // Header            : False
9488                 // Footer            : True
9489                 // Separator         : False
9490
9491
9492                 string v = RepeatInfoUser.DoTest (2, 4, RepeatDirection.Vertical, RepeatLayout.Table, true, false, true, false);
9493                 string exp = @"(0,Item,0)(1,Item,2)(2,Item,1)(3,Item,3)(4,Footer,-1)";
9494                 Assert.AreEqual (exp, v, "#416");
9495         }
9496
9497
9498         [Test]
9499         public void RepeatInfo_2cols_7itms_vert_tbl_otrtblimp_ftr ()
9500         {
9501                 // cols              : 2
9502                 // cnt               : 7
9503                 // RepeatDirection   : Vertical
9504                 // RepeatLayout      : Table
9505                 // OuterTableImplied : True
9506                 // Header            : False
9507                 // Footer            : True
9508                 // Separator         : False
9509
9510
9511                 string v = RepeatInfoUser.DoTest (2, 7, RepeatDirection.Vertical, RepeatLayout.Table, true, false, true, false);
9512                 string exp = @"(0,Item,0)(1,Item,4)(2,Item,1)(3,Item,5)(4,Item,2)(5,Item,6)(6,Item,3)(7,Footer,-1)";
9513                 Assert.AreEqual (exp, v, "#417");
9514         }
9515
9516
9517         [Test]
9518         public void RepeatInfo_3cols_9itms_vert_tbl_otrtblimp_ftr ()
9519         {
9520                 // cols              : 3
9521                 // cnt               : 9
9522                 // RepeatDirection   : Vertical
9523                 // RepeatLayout      : Table
9524                 // OuterTableImplied : True
9525                 // Header            : False
9526                 // Footer            : True
9527                 // Separator         : False
9528
9529
9530                 string v = RepeatInfoUser.DoTest (3, 9, RepeatDirection.Vertical, RepeatLayout.Table, true, false, true, false);
9531                 string exp = @"(0,Item,0)(1,Item,3)(2,Item,6)(3,Item,1)(4,Item,4)(5,Item,7)(6,Item,2)(7,Item,5)(8,Item,8)(9,Footer,-1)";
9532                 Assert.AreEqual (exp, v, "#418");
9533         }
9534
9535
9536         [Test]
9537         public void RepeatInfo_3cols_7itms_vert_tbl_otrtblimp_ftr ()
9538         {
9539                 // cols              : 3
9540                 // cnt               : 7
9541                 // RepeatDirection   : Vertical
9542                 // RepeatLayout      : Table
9543                 // OuterTableImplied : True
9544                 // Header            : False
9545                 // Footer            : True
9546                 // Separator         : False
9547
9548
9549                 string v = RepeatInfoUser.DoTest (3, 7, RepeatDirection.Vertical, RepeatLayout.Table, true, false, true, false);
9550                 string exp = @"(0,Item,0)(1,Item,3)(2,Item,5)(3,Item,1)(4,Item,4)(5,Item,6)(6,Item,2)(7,Footer,-1)";
9551                 Assert.AreEqual (exp, v, "#419");
9552         }
9553
9554
9555         [Test]
9556         public void RepeatInfo_0cols_0itms_horiz_flow_otrtblimp_ftr ()
9557         {
9558                 // cols              : 0
9559                 // cnt               : 0
9560                 // RepeatDirection   : Horizontal
9561                 // RepeatLayout      : Flow
9562                 // OuterTableImplied : True
9563                 // Header            : False
9564                 // Footer            : True
9565                 // Separator         : False
9566
9567
9568                 string v = RepeatInfoUser.DoTest (0, 0, RepeatDirection.Horizontal, RepeatLayout.Flow, true, false, true, false);
9569                 string exp = @"<span class=""mainstyle"">(0,Footer,-1)</span>";
9570                 Assert.AreEqual (exp, v, "#420");
9571         }
9572
9573
9574         [Test]
9575         public void RepeatInfo_0cols_1itms_horiz_flow_otrtblimp_ftr ()
9576         {
9577                 // cols              : 0
9578                 // cnt               : 1
9579                 // RepeatDirection   : Horizontal
9580                 // RepeatLayout      : Flow
9581                 // OuterTableImplied : True
9582                 // Header            : False
9583                 // Footer            : True
9584                 // Separator         : False
9585
9586
9587                 string v = RepeatInfoUser.DoTest (0, 1, RepeatDirection.Horizontal, RepeatLayout.Flow, true, false, true, false);
9588                 string exp = @"<span class=""mainstyle"">(0,Item,0)(1,Footer,-1)</span>";
9589                 Assert.AreEqual (exp, v, "#421");
9590         }
9591
9592
9593         [Test]
9594         public void RepeatInfo_0cols_2itms_horiz_flow_otrtblimp_ftr ()
9595         {
9596                 // cols              : 0
9597                 // cnt               : 2
9598                 // RepeatDirection   : Horizontal
9599                 // RepeatLayout      : Flow
9600                 // OuterTableImplied : True
9601                 // Header            : False
9602                 // Footer            : True
9603                 // Separator         : False
9604
9605
9606                 string v = RepeatInfoUser.DoTest (0, 2, RepeatDirection.Horizontal, RepeatLayout.Flow, true, false, true, false);
9607                 string exp = @"<span class=""mainstyle"">(0,Item,0)(1,Item,1)(2,Footer,-1)</span>";
9608                 Assert.AreEqual (exp, v, "#422");
9609         }
9610
9611
9612         [Test]
9613         public void RepeatInfo_0cols_5itms_horiz_flow_otrtblimp_ftr ()
9614         {
9615                 // cols              : 0
9616                 // cnt               : 5
9617                 // RepeatDirection   : Horizontal
9618                 // RepeatLayout      : Flow
9619                 // OuterTableImplied : True
9620                 // Header            : False
9621                 // Footer            : True
9622                 // Separator         : False
9623
9624
9625                 string v = RepeatInfoUser.DoTest (0, 5, RepeatDirection.Horizontal, RepeatLayout.Flow, true, false, true, false);
9626                 string exp = @"<span class=""mainstyle"">(0,Item,0)(1,Item,1)(2,Item,2)(3,Item,3)(4,Item,4)(5,Footer,-1)</span>";
9627                 Assert.AreEqual (exp, v, "#423");
9628         }
9629
9630
9631         [Test]
9632         public void RepeatInfo_1cols_0itms_horiz_flow_otrtblimp_ftr ()
9633         {
9634                 // cols              : 1
9635                 // cnt               : 0
9636                 // RepeatDirection   : Horizontal
9637                 // RepeatLayout      : Flow
9638                 // OuterTableImplied : True
9639                 // Header            : False
9640                 // Footer            : True
9641                 // Separator         : False
9642
9643
9644                 string v = RepeatInfoUser.DoTest (1, 0, RepeatDirection.Horizontal, RepeatLayout.Flow, true, false, true, false);
9645                 string exp = @"<span class=""mainstyle"">(0,Footer,-1)</span>";
9646                 Assert.AreEqual (exp, v, "#424");
9647         }
9648
9649
9650         [Test]
9651         public void RepeatInfo_1cols_5itms_horiz_flow_otrtblimp_ftr ()
9652         {
9653                 // cols              : 1
9654                 // cnt               : 5
9655                 // RepeatDirection   : Horizontal
9656                 // RepeatLayout      : Flow
9657                 // OuterTableImplied : True
9658                 // Header            : False
9659                 // Footer            : True
9660                 // Separator         : False
9661
9662
9663                 string v = RepeatInfoUser.DoTest (1, 5, RepeatDirection.Horizontal, RepeatLayout.Flow, true, false, true, false);
9664                 string exp = @"<span class=""mainstyle"">(0,Item,0)<br />(1,Item,1)<br />(2,Item,2)<br />(3,Item,3)<br />(4,Item,4)<br />(5,Footer,-1)</span>";
9665                 Assert.AreEqual (exp, v, "#425");
9666         }
9667
9668
9669         [Test]
9670         public void RepeatInfo_2cols_4itms_horiz_flow_otrtblimp_ftr ()
9671         {
9672                 // cols              : 2
9673                 // cnt               : 4
9674                 // RepeatDirection   : Horizontal
9675                 // RepeatLayout      : Flow
9676                 // OuterTableImplied : True
9677                 // Header            : False
9678                 // Footer            : True
9679                 // Separator         : False
9680
9681
9682                 string v = RepeatInfoUser.DoTest (2, 4, RepeatDirection.Horizontal, RepeatLayout.Flow, true, false, true, false);
9683                 string exp = @"<span class=""mainstyle"">(0,Item,0)(1,Item,1)<br />(2,Item,2)(3,Item,3)<br />(4,Footer,-1)</span>";
9684                 Assert.AreEqual (exp, v, "#426");
9685         }
9686
9687
9688         [Test]
9689         public void RepeatInfo_2cols_7itms_horiz_flow_otrtblimp_ftr ()
9690         {
9691                 // cols              : 2
9692                 // cnt               : 7
9693                 // RepeatDirection   : Horizontal
9694                 // RepeatLayout      : Flow
9695                 // OuterTableImplied : True
9696                 // Header            : False
9697                 // Footer            : True
9698                 // Separator         : False
9699
9700
9701                 string v = RepeatInfoUser.DoTest (2, 7, RepeatDirection.Horizontal, RepeatLayout.Flow, true, false, true, false);
9702                 string exp = @"<span class=""mainstyle"">(0,Item,0)(1,Item,1)<br />(2,Item,2)(3,Item,3)<br />(4,Item,4)(5,Item,5)<br />(6,Item,6)<br />(7,Footer,-1)</span>";
9703                 Assert.AreEqual (exp, v, "#427");
9704         }
9705
9706
9707         [Test]
9708         public void RepeatInfo_3cols_9itms_horiz_flow_otrtblimp_ftr ()
9709         {
9710                 // cols              : 3
9711                 // cnt               : 9
9712                 // RepeatDirection   : Horizontal
9713                 // RepeatLayout      : Flow
9714                 // OuterTableImplied : True
9715                 // Header            : False
9716                 // Footer            : True
9717                 // Separator         : False
9718
9719
9720                 string v = RepeatInfoUser.DoTest (3, 9, RepeatDirection.Horizontal, RepeatLayout.Flow, true, false, true, false);
9721                 string exp = @"<span>(0,Item,0)(1,Item,1)(2,Item,2)<br />(3,Item,3)(4,Item,4)(5,Item,5)<br />(6,Item,6)(7,Item,7)(8,Item,8)<br />(9,Footer,-1)</span>";
9722                 Assert.AreEqual (exp, v, "#428");
9723         }
9724
9725
9726         [Test]
9727         public void RepeatInfo_3cols_7itms_horiz_flow_otrtblimp_ftr ()
9728         {
9729                 // cols              : 3
9730                 // cnt               : 7
9731                 // RepeatDirection   : Horizontal
9732                 // RepeatLayout      : Flow
9733                 // OuterTableImplied : True
9734                 // Header            : False
9735                 // Footer            : True
9736                 // Separator         : False
9737
9738
9739                 string v = RepeatInfoUser.DoTest (3, 7, RepeatDirection.Horizontal, RepeatLayout.Flow, true, false, true, false);
9740                 string exp = @"<span>(0,Item,0)(1,Item,1)(2,Item,2)<br />(3,Item,3)(4,Item,4)(5,Item,5)<br />(6,Item,6)<br />(7,Footer,-1)</span>";
9741                 Assert.AreEqual (exp, v, "#429");
9742         }
9743
9744
9745         [Test]
9746         public void RepeatInfo_0cols_0itms_vert_flow_otrtblimp_ftr ()
9747         {
9748                 // cols              : 0
9749                 // cnt               : 0
9750                 // RepeatDirection   : Vertical
9751                 // RepeatLayout      : Flow
9752                 // OuterTableImplied : True
9753                 // Header            : False
9754                 // Footer            : True
9755                 // Separator         : False
9756
9757
9758                 string v = RepeatInfoUser.DoTest (0, 0, RepeatDirection.Vertical, RepeatLayout.Flow, true, false, true, false);
9759                 string exp = @"(0,Footer,-1)";
9760                 Assert.AreEqual (exp, v, "#430");
9761         }
9762
9763
9764         [Test]
9765         public void RepeatInfo_0cols_1itms_vert_flow_otrtblimp_ftr ()
9766         {
9767                 // cols              : 0
9768                 // cnt               : 1
9769                 // RepeatDirection   : Vertical
9770                 // RepeatLayout      : Flow
9771                 // OuterTableImplied : True
9772                 // Header            : False
9773                 // Footer            : True
9774                 // Separator         : False
9775
9776
9777                 string v = RepeatInfoUser.DoTest (0, 1, RepeatDirection.Vertical, RepeatLayout.Flow, true, false, true, false);
9778                 string exp = @"(0,Item,0)(1,Footer,-1)";
9779                 Assert.AreEqual (exp, v, "#431");
9780         }
9781
9782
9783         [Test]
9784         public void RepeatInfo_0cols_2itms_vert_flow_otrtblimp_ftr ()
9785         {
9786                 // cols              : 0
9787                 // cnt               : 2
9788                 // RepeatDirection   : Vertical
9789                 // RepeatLayout      : Flow
9790                 // OuterTableImplied : True
9791                 // Header            : False
9792                 // Footer            : True
9793                 // Separator         : False
9794
9795
9796                 string v = RepeatInfoUser.DoTest (0, 2, RepeatDirection.Vertical, RepeatLayout.Flow, true, false, true, false);
9797                 string exp = @"(0,Item,0)(1,Item,1)(2,Footer,-1)";
9798                 Assert.AreEqual (exp, v, "#432");
9799         }
9800
9801
9802         [Test]
9803         public void RepeatInfo_0cols_5itms_vert_flow_otrtblimp_ftr ()
9804         {
9805                 // cols              : 0
9806                 // cnt               : 5
9807                 // RepeatDirection   : Vertical
9808                 // RepeatLayout      : Flow
9809                 // OuterTableImplied : True
9810                 // Header            : False
9811                 // Footer            : True
9812                 // Separator         : False
9813
9814
9815                 string v = RepeatInfoUser.DoTest (0, 5, RepeatDirection.Vertical, RepeatLayout.Flow, true, false, true, false);
9816                 string exp = @"(0,Item,0)(1,Item,1)(2,Item,2)(3,Item,3)(4,Item,4)(5,Footer,-1)";
9817                 Assert.AreEqual (exp, v, "#433");
9818         }
9819
9820
9821         [Test]
9822         public void RepeatInfo_1cols_0itms_vert_flow_otrtblimp_ftr ()
9823         {
9824                 // cols              : 1
9825                 // cnt               : 0
9826                 // RepeatDirection   : Vertical
9827                 // RepeatLayout      : Flow
9828                 // OuterTableImplied : True
9829                 // Header            : False
9830                 // Footer            : True
9831                 // Separator         : False
9832
9833
9834                 string v = RepeatInfoUser.DoTest (1, 0, RepeatDirection.Vertical, RepeatLayout.Flow, true, false, true, false);
9835                 string exp = @"(0,Footer,-1)";
9836                 Assert.AreEqual (exp, v, "#434");
9837         }
9838
9839
9840         [Test]
9841         public void RepeatInfo_1cols_5itms_vert_flow_otrtblimp_ftr ()
9842         {
9843                 // cols              : 1
9844                 // cnt               : 5
9845                 // RepeatDirection   : Vertical
9846                 // RepeatLayout      : Flow
9847                 // OuterTableImplied : True
9848                 // Header            : False
9849                 // Footer            : True
9850                 // Separator         : False
9851
9852
9853                 string v = RepeatInfoUser.DoTest (1, 5, RepeatDirection.Vertical, RepeatLayout.Flow, true, false, true, false);
9854                 string exp = @"(0,Item,0)(1,Item,1)(2,Item,2)(3,Item,3)(4,Item,4)(5,Footer,-1)";
9855                 Assert.AreEqual (exp, v, "#435");
9856         }
9857
9858
9859         [Test]
9860         public void RepeatInfo_2cols_4itms_vert_flow_otrtblimp_ftr ()
9861         {
9862                 // cols              : 2
9863                 // cnt               : 4
9864                 // RepeatDirection   : Vertical
9865                 // RepeatLayout      : Flow
9866                 // OuterTableImplied : True
9867                 // Header            : False
9868                 // Footer            : True
9869                 // Separator         : False
9870
9871
9872                 string v = RepeatInfoUser.DoTest (2, 4, RepeatDirection.Vertical, RepeatLayout.Flow, true, false, true, false);
9873                 string exp = @"(0,Item,0)(1,Item,2)(2,Item,1)(3,Item,3)(4,Footer,-1)";
9874                 Assert.AreEqual (exp, v, "#436");
9875         }
9876
9877
9878         [Test]
9879         public void RepeatInfo_2cols_7itms_vert_flow_otrtblimp_ftr ()
9880         {
9881                 // cols              : 2
9882                 // cnt               : 7
9883                 // RepeatDirection   : Vertical
9884                 // RepeatLayout      : Flow
9885                 // OuterTableImplied : True
9886                 // Header            : False
9887                 // Footer            : True
9888                 // Separator         : False
9889
9890
9891                 string v = RepeatInfoUser.DoTest (2, 7, RepeatDirection.Vertical, RepeatLayout.Flow, true, false, true, false);
9892                 string exp = @"(0,Item,0)(1,Item,4)(2,Item,1)(3,Item,5)(4,Item,2)(5,Item,6)(6,Item,3)(7,Footer,-1)";
9893                 Assert.AreEqual (exp, v, "#437");
9894         }
9895
9896
9897         [Test]
9898         public void RepeatInfo_3cols_9itms_vert_flow_otrtblimp_ftr ()
9899         {
9900                 // cols              : 3
9901                 // cnt               : 9
9902                 // RepeatDirection   : Vertical
9903                 // RepeatLayout      : Flow
9904                 // OuterTableImplied : True
9905                 // Header            : False
9906                 // Footer            : True
9907                 // Separator         : False
9908
9909
9910                 string v = RepeatInfoUser.DoTest (3, 9, RepeatDirection.Vertical, RepeatLayout.Flow, true, false, true, false);
9911                 string exp = @"(0,Item,0)(1,Item,3)(2,Item,6)(3,Item,1)(4,Item,4)(5,Item,7)(6,Item,2)(7,Item,5)(8,Item,8)(9,Footer,-1)";
9912                 Assert.AreEqual (exp, v, "#438");
9913         }
9914
9915
9916         [Test]
9917         public void RepeatInfo_3cols_7itms_vert_flow_otrtblimp_ftr ()
9918         {
9919                 // cols              : 3
9920                 // cnt               : 7
9921                 // RepeatDirection   : Vertical
9922                 // RepeatLayout      : Flow
9923                 // OuterTableImplied : True
9924                 // Header            : False
9925                 // Footer            : True
9926                 // Separator         : False
9927
9928
9929                 string v = RepeatInfoUser.DoTest (3, 7, RepeatDirection.Vertical, RepeatLayout.Flow, true, false, true, false);
9930                 string exp = @"(0,Item,0)(1,Item,3)(2,Item,5)(3,Item,1)(4,Item,4)(5,Item,6)(6,Item,2)(7,Footer,-1)";
9931                 Assert.AreEqual (exp, v, "#439");
9932         }
9933
9934
9935         [Test]
9936         public void RepeatInfo_0cols_0itms_horiz_tbl_ftr ()
9937         {
9938                 // cols              : 0
9939                 // cnt               : 0
9940                 // RepeatDirection   : Horizontal
9941                 // RepeatLayout      : Table
9942                 // OuterTableImplied : False
9943                 // Header            : False
9944                 // Footer            : True
9945                 // Separator         : False
9946
9947
9948                 string v = RepeatInfoUser.DoTest (0, 0, RepeatDirection.Horizontal, RepeatLayout.Table, false, false, true, false);
9949                 string exp = @"<table class=""mainstyle"">
9950         <tr>
9951                 <td colspan=""0"" class=""Footer-1"">(0,Footer,-1)</td>
9952         </tr>
9953 </table>";
9954                 Assert.AreEqual (exp, v, "#440");
9955         }
9956
9957
9958         [Test]
9959         public void RepeatInfo_0cols_1itms_horiz_tbl_ftr ()
9960         {
9961                 // cols              : 0
9962                 // cnt               : 1
9963                 // RepeatDirection   : Horizontal
9964                 // RepeatLayout      : Table
9965                 // OuterTableImplied : False
9966                 // Header            : False
9967                 // Footer            : True
9968                 // Separator         : False
9969
9970
9971                 string v = RepeatInfoUser.DoTest (0, 1, RepeatDirection.Horizontal, RepeatLayout.Table, false, false, true, false);
9972                 string exp = @"<table class=""mainstyle"">
9973         <tr>
9974                 <td class=""Item0"">(0,Item,0)</td>
9975         </tr><tr>
9976                 <td class=""Footer-1"">(1,Footer,-1)</td>
9977         </tr>
9978 </table>";
9979                 Assert.AreEqual (exp, v, "#441");
9980         }
9981
9982
9983         [Test]
9984         public void RepeatInfo_0cols_2itms_horiz_tbl_ftr ()
9985         {
9986                 // cols              : 0
9987                 // cnt               : 2
9988                 // RepeatDirection   : Horizontal
9989                 // RepeatLayout      : Table
9990                 // OuterTableImplied : False
9991                 // Header            : False
9992                 // Footer            : True
9993                 // Separator         : False
9994
9995
9996                 string v = RepeatInfoUser.DoTest (0, 2, RepeatDirection.Horizontal, RepeatLayout.Table, false, false, true, false);
9997                 string exp = @"<table class=""mainstyle"">
9998         <tr>
9999                 <td class=""Item0"">(0,Item,0)</td><td class=""Item1"">(1,Item,1)</td>
10000         </tr><tr>
10001                 <td colspan=""2"" class=""Footer-1"">(2,Footer,-1)</td>
10002         </tr>
10003 </table>";
10004                 Assert.AreEqual (exp, v, "#442");
10005         }
10006
10007
10008         [Test]
10009         public void RepeatInfo_0cols_5itms_horiz_tbl_ftr ()
10010         {
10011                 // cols              : 0
10012                 // cnt               : 5
10013                 // RepeatDirection   : Horizontal
10014                 // RepeatLayout      : Table
10015                 // OuterTableImplied : False
10016                 // Header            : False
10017                 // Footer            : True
10018                 // Separator         : False
10019
10020
10021                 string v = RepeatInfoUser.DoTest (0, 5, RepeatDirection.Horizontal, RepeatLayout.Table, false, false, true, false);
10022                 string exp = @"<table class=""mainstyle"">
10023         <tr>
10024                 <td class=""Item0"">(0,Item,0)</td><td class=""Item1"">(1,Item,1)</td><td class=""Item2"">(2,Item,2)</td><td class=""Item3"">(3,Item,3)</td><td class=""Item4"">(4,Item,4)</td>
10025         </tr><tr>
10026                 <td colspan=""5"" class=""Footer-1"">(5,Footer,-1)</td>
10027         </tr>
10028 </table>";
10029                 Assert.AreEqual (exp, v, "#443");
10030         }
10031
10032
10033         [Test]
10034         public void RepeatInfo_1cols_0itms_horiz_tbl_ftr ()
10035         {
10036                 // cols              : 1
10037                 // cnt               : 0
10038                 // RepeatDirection   : Horizontal
10039                 // RepeatLayout      : Table
10040                 // OuterTableImplied : False
10041                 // Header            : False
10042                 // Footer            : True
10043                 // Separator         : False
10044
10045
10046                 string v = RepeatInfoUser.DoTest (1, 0, RepeatDirection.Horizontal, RepeatLayout.Table, false, false, true, false);
10047                 string exp = @"<table class=""mainstyle"">
10048         <tr>
10049                 <td class=""Footer-1"">(0,Footer,-1)</td>
10050         </tr>
10051 </table>";
10052                 Assert.AreEqual (exp, v, "#444");
10053         }
10054
10055
10056         [Test]
10057         public void RepeatInfo_1cols_5itms_horiz_tbl_ftr ()
10058         {
10059                 // cols              : 1
10060                 // cnt               : 5
10061                 // RepeatDirection   : Horizontal
10062                 // RepeatLayout      : Table
10063                 // OuterTableImplied : False
10064                 // Header            : False
10065                 // Footer            : True
10066                 // Separator         : False
10067
10068
10069                 string v = RepeatInfoUser.DoTest (1, 5, RepeatDirection.Horizontal, RepeatLayout.Table, false, false, true, false);
10070                 string exp = @"<table class=""mainstyle"">
10071         <tr>
10072                 <td class=""Item0"">(0,Item,0)</td>
10073         </tr><tr>
10074                 <td class=""Item1"">(1,Item,1)</td>
10075         </tr><tr>
10076                 <td class=""Item2"">(2,Item,2)</td>
10077         </tr><tr>
10078                 <td class=""Item3"">(3,Item,3)</td>
10079         </tr><tr>
10080                 <td class=""Item4"">(4,Item,4)</td>
10081         </tr><tr>
10082                 <td class=""Footer-1"">(5,Footer,-1)</td>
10083         </tr>
10084 </table>";
10085                 Assert.AreEqual (exp, v, "#445");
10086         }
10087
10088
10089         [Test]
10090         public void RepeatInfo_2cols_4itms_horiz_tbl_ftr ()
10091         {
10092                 // cols              : 2
10093                 // cnt               : 4
10094                 // RepeatDirection   : Horizontal
10095                 // RepeatLayout      : Table
10096                 // OuterTableImplied : False
10097                 // Header            : False
10098                 // Footer            : True
10099                 // Separator         : False
10100
10101
10102                 string v = RepeatInfoUser.DoTest (2, 4, RepeatDirection.Horizontal, RepeatLayout.Table, false, false, true, false);
10103                 string exp = @"<table class=""mainstyle"">
10104         <tr>
10105                 <td class=""Item0"">(0,Item,0)</td><td class=""Item1"">(1,Item,1)</td>
10106         </tr><tr>
10107                 <td class=""Item2"">(2,Item,2)</td><td class=""Item3"">(3,Item,3)</td>
10108         </tr><tr>
10109                 <td colspan=""2"" class=""Footer-1"">(4,Footer,-1)</td>
10110         </tr>
10111 </table>";
10112                 Assert.AreEqual (exp, v, "#446");
10113         }
10114
10115
10116         [Test]
10117         public void RepeatInfo_2cols_7itms_horiz_tbl_ftr ()
10118         {
10119                 // cols              : 2
10120                 // cnt               : 7
10121                 // RepeatDirection   : Horizontal
10122                 // RepeatLayout      : Table
10123                 // OuterTableImplied : False
10124                 // Header            : False
10125                 // Footer            : True
10126                 // Separator         : False
10127
10128
10129                 string v = RepeatInfoUser.DoTest (2, 7, RepeatDirection.Horizontal, RepeatLayout.Table, false, false, true, false);
10130                 string exp = @"<table class=""mainstyle"">
10131         <tr>
10132                 <td class=""Item0"">(0,Item,0)</td><td class=""Item1"">(1,Item,1)</td>
10133         </tr><tr>
10134                 <td class=""Item2"">(2,Item,2)</td><td class=""Item3"">(3,Item,3)</td>
10135         </tr><tr>
10136                 <td class=""Item4"">(4,Item,4)</td><td class=""Item5"">(5,Item,5)</td>
10137         </tr><tr>
10138                 <td class=""Item6"">(6,Item,6)</td><td></td>
10139         </tr><tr>
10140                 <td colspan=""2"" class=""Footer-1"">(7,Footer,-1)</td>
10141         </tr>
10142 </table>";
10143                 Assert.AreEqual (exp, v, "#447");
10144         }
10145
10146
10147         [Test]
10148         public void RepeatInfo_3cols_9itms_horiz_tbl_ftr ()
10149         {
10150                 // cols              : 3
10151                 // cnt               : 9
10152                 // RepeatDirection   : Horizontal
10153                 // RepeatLayout      : Table
10154                 // OuterTableImplied : False
10155                 // Header            : False
10156                 // Footer            : True
10157                 // Separator         : False
10158
10159
10160                 string v = RepeatInfoUser.DoTest (3, 9, RepeatDirection.Horizontal, RepeatLayout.Table, false, false, true, false);
10161                 string exp = @"<table>
10162         <tr>
10163                 <td class=""Item0"">(0,Item,0)</td><td class=""Item1"">(1,Item,1)</td><td class=""Item2"">(2,Item,2)</td>
10164         </tr><tr>
10165                 <td class=""Item3"">(3,Item,3)</td><td class=""Item4"">(4,Item,4)</td><td class=""Item5"">(5,Item,5)</td>
10166         </tr><tr>
10167                 <td class=""Item6"">(6,Item,6)</td><td class=""Item7"">(7,Item,7)</td><td class=""Item8"">(8,Item,8)</td>
10168         </tr><tr>
10169                 <td colspan=""3"" class=""Footer-1"">(9,Footer,-1)</td>
10170         </tr>
10171 </table>";
10172                 Assert.AreEqual (exp, v, "#448");
10173         }
10174
10175
10176         [Test]
10177         public void RepeatInfo_3cols_7itms_horiz_tbl_ftr ()
10178         {
10179                 // cols              : 3
10180                 // cnt               : 7
10181                 // RepeatDirection   : Horizontal
10182                 // RepeatLayout      : Table
10183                 // OuterTableImplied : False
10184                 // Header            : False
10185                 // Footer            : True
10186                 // Separator         : False
10187
10188
10189                 string v = RepeatInfoUser.DoTest (3, 7, RepeatDirection.Horizontal, RepeatLayout.Table, false, false, true, false);
10190                 string exp = @"<table>
10191         <tr>
10192                 <td class=""Item0"">(0,Item,0)</td><td class=""Item1"">(1,Item,1)</td><td class=""Item2"">(2,Item,2)</td>
10193         </tr><tr>
10194                 <td class=""Item3"">(3,Item,3)</td><td class=""Item4"">(4,Item,4)</td><td class=""Item5"">(5,Item,5)</td>
10195         </tr><tr>
10196                 <td class=""Item6"">(6,Item,6)</td><td></td><td></td>
10197         </tr><tr>
10198                 <td colspan=""3"" class=""Footer-1"">(7,Footer,-1)</td>
10199         </tr>
10200 </table>";
10201                 Assert.AreEqual (exp, v, "#449");
10202         }
10203
10204
10205         [Test]
10206         public void RepeatInfo_0cols_0itms_vert_tbl_ftr ()
10207         {
10208                 // cols              : 0
10209                 // cnt               : 0
10210                 // RepeatDirection   : Vertical
10211                 // RepeatLayout      : Table
10212                 // OuterTableImplied : False
10213                 // Header            : False
10214                 // Footer            : True
10215                 // Separator         : False
10216
10217
10218                 string v = RepeatInfoUser.DoTest (0, 0, RepeatDirection.Vertical, RepeatLayout.Table, false, false, true, false);
10219                 string exp = @"<table class=""mainstyle"">
10220         <tr>
10221                 <td class=""Footer-1"">(0,Footer,-1)</td>
10222         </tr>
10223 </table>";
10224                 Assert.AreEqual (exp, v, "#450");
10225         }
10226
10227
10228         [Test]
10229         public void RepeatInfo_0cols_1itms_vert_tbl_ftr ()
10230         {
10231                 // cols              : 0
10232                 // cnt               : 1
10233                 // RepeatDirection   : Vertical
10234                 // RepeatLayout      : Table
10235                 // OuterTableImplied : False
10236                 // Header            : False
10237                 // Footer            : True
10238                 // Separator         : False
10239
10240
10241                 string v = RepeatInfoUser.DoTest (0, 1, RepeatDirection.Vertical, RepeatLayout.Table, false, false, true, false);
10242                 string exp = @"<table class=""mainstyle"">
10243         <tr>
10244                 <td class=""Item0"">(0,Item,0)</td>
10245         </tr><tr>
10246                 <td class=""Footer-1"">(1,Footer,-1)</td>
10247         </tr>
10248 </table>";
10249                 Assert.AreEqual (exp, v, "#451");
10250         }
10251
10252
10253         [Test]
10254         public void RepeatInfo_0cols_2itms_vert_tbl_ftr ()
10255         {
10256                 // cols              : 0
10257                 // cnt               : 2
10258                 // RepeatDirection   : Vertical
10259                 // RepeatLayout      : Table
10260                 // OuterTableImplied : False
10261                 // Header            : False
10262                 // Footer            : True
10263                 // Separator         : False
10264
10265
10266                 string v = RepeatInfoUser.DoTest (0, 2, RepeatDirection.Vertical, RepeatLayout.Table, false, false, true, false);
10267                 string exp = @"<table class=""mainstyle"">
10268         <tr>
10269                 <td class=""Item0"">(0,Item,0)</td>
10270         </tr><tr>
10271                 <td class=""Item1"">(1,Item,1)</td>
10272         </tr><tr>
10273                 <td class=""Footer-1"">(2,Footer,-1)</td>
10274         </tr>
10275 </table>";
10276                 Assert.AreEqual (exp, v, "#452");
10277         }
10278
10279
10280         [Test]
10281         public void RepeatInfo_0cols_5itms_vert_tbl_ftr ()
10282         {
10283                 // cols              : 0
10284                 // cnt               : 5
10285                 // RepeatDirection   : Vertical
10286                 // RepeatLayout      : Table
10287                 // OuterTableImplied : False
10288                 // Header            : False
10289                 // Footer            : True
10290                 // Separator         : False
10291
10292
10293                 string v = RepeatInfoUser.DoTest (0, 5, RepeatDirection.Vertical, RepeatLayout.Table, false, false, true, false);
10294                 string exp = @"<table class=""mainstyle"">
10295         <tr>
10296                 <td class=""Item0"">(0,Item,0)</td>
10297         </tr><tr>
10298                 <td class=""Item1"">(1,Item,1)</td>
10299         </tr><tr>
10300                 <td class=""Item2"">(2,Item,2)</td>
10301         </tr><tr>
10302                 <td class=""Item3"">(3,Item,3)</td>
10303         </tr><tr>
10304                 <td class=""Item4"">(4,Item,4)</td>
10305         </tr><tr>
10306                 <td class=""Footer-1"">(5,Footer,-1)</td>
10307         </tr>
10308 </table>";
10309                 Assert.AreEqual (exp, v, "#453");
10310         }
10311
10312
10313         [Test]
10314         public void RepeatInfo_1cols_0itms_vert_tbl_ftr ()
10315         {
10316                 // cols              : 1
10317                 // cnt               : 0
10318                 // RepeatDirection   : Vertical
10319                 // RepeatLayout      : Table
10320                 // OuterTableImplied : False
10321                 // Header            : False
10322                 // Footer            : True
10323                 // Separator         : False
10324
10325
10326                 string v = RepeatInfoUser.DoTest (1, 0, RepeatDirection.Vertical, RepeatLayout.Table, false, false, true, false);
10327                 string exp = @"<table class=""mainstyle"">
10328         <tr>
10329                 <td class=""Footer-1"">(0,Footer,-1)</td>
10330         </tr>
10331 </table>";
10332                 Assert.AreEqual (exp, v, "#454");
10333         }
10334
10335
10336         [Test]
10337         public void RepeatInfo_1cols_5itms_vert_tbl_ftr ()
10338         {
10339                 // cols              : 1
10340                 // cnt               : 5
10341                 // RepeatDirection   : Vertical
10342                 // RepeatLayout      : Table
10343                 // OuterTableImplied : False
10344                 // Header            : False
10345                 // Footer            : True
10346                 // Separator         : False
10347
10348
10349                 string v = RepeatInfoUser.DoTest (1, 5, RepeatDirection.Vertical, RepeatLayout.Table, false, false, true, false);
10350                 string exp = @"<table class=""mainstyle"">
10351         <tr>
10352                 <td class=""Item0"">(0,Item,0)</td>
10353         </tr><tr>
10354                 <td class=""Item1"">(1,Item,1)</td>
10355         </tr><tr>
10356                 <td class=""Item2"">(2,Item,2)</td>
10357         </tr><tr>
10358                 <td class=""Item3"">(3,Item,3)</td>
10359         </tr><tr>
10360                 <td class=""Item4"">(4,Item,4)</td>
10361         </tr><tr>
10362                 <td class=""Footer-1"">(5,Footer,-1)</td>
10363         </tr>
10364 </table>";
10365                 Assert.AreEqual (exp, v, "#455");
10366         }
10367
10368
10369         [Test]
10370         public void RepeatInfo_2cols_4itms_vert_tbl_ftr ()
10371         {
10372                 // cols              : 2
10373                 // cnt               : 4
10374                 // RepeatDirection   : Vertical
10375                 // RepeatLayout      : Table
10376                 // OuterTableImplied : False
10377                 // Header            : False
10378                 // Footer            : True
10379                 // Separator         : False
10380
10381
10382                 string v = RepeatInfoUser.DoTest (2, 4, RepeatDirection.Vertical, RepeatLayout.Table, false, false, true, false);
10383                 string exp = @"<table class=""mainstyle"">
10384         <tr>
10385                 <td class=""Item0"">(0,Item,0)</td><td class=""Item2"">(1,Item,2)</td>
10386         </tr><tr>
10387                 <td class=""Item1"">(2,Item,1)</td><td class=""Item3"">(3,Item,3)</td>
10388         </tr><tr>
10389                 <td colspan=""2"" class=""Footer-1"">(4,Footer,-1)</td>
10390         </tr>
10391 </table>";
10392                 Assert.AreEqual (exp, v, "#456");
10393         }
10394
10395
10396         [Test]
10397         public void RepeatInfo_2cols_7itms_vert_tbl_ftr ()
10398         {
10399                 // cols              : 2
10400                 // cnt               : 7
10401                 // RepeatDirection   : Vertical
10402                 // RepeatLayout      : Table
10403                 // OuterTableImplied : False
10404                 // Header            : False
10405                 // Footer            : True
10406                 // Separator         : False
10407
10408
10409                 string v = RepeatInfoUser.DoTest (2, 7, RepeatDirection.Vertical, RepeatLayout.Table, false, false, true, false);
10410                 string exp = @"<table class=""mainstyle"">
10411         <tr>
10412                 <td class=""Item0"">(0,Item,0)</td><td class=""Item4"">(1,Item,4)</td>
10413         </tr><tr>
10414                 <td class=""Item1"">(2,Item,1)</td><td class=""Item5"">(3,Item,5)</td>
10415         </tr><tr>
10416                 <td class=""Item2"">(4,Item,2)</td><td class=""Item6"">(5,Item,6)</td>
10417         </tr><tr>
10418                 <td class=""Item3"">(6,Item,3)</td><td></td>
10419         </tr><tr>
10420                 <td colspan=""2"" class=""Footer-1"">(7,Footer,-1)</td>
10421         </tr>
10422 </table>";
10423                 Assert.AreEqual (exp, v, "#457");
10424         }
10425
10426
10427         [Test]
10428         public void RepeatInfo_3cols_9itms_vert_tbl_ftr ()
10429         {
10430                 // cols              : 3
10431                 // cnt               : 9
10432                 // RepeatDirection   : Vertical
10433                 // RepeatLayout      : Table
10434                 // OuterTableImplied : False
10435                 // Header            : False
10436                 // Footer            : True
10437                 // Separator         : False
10438
10439
10440                 string v = RepeatInfoUser.DoTest (3, 9, RepeatDirection.Vertical, RepeatLayout.Table, false, false, true, false);
10441                 string exp = @"<table>
10442         <tr>
10443                 <td class=""Item0"">(0,Item,0)</td><td class=""Item3"">(1,Item,3)</td><td class=""Item6"">(2,Item,6)</td>
10444         </tr><tr>
10445                 <td class=""Item1"">(3,Item,1)</td><td class=""Item4"">(4,Item,4)</td><td class=""Item7"">(5,Item,7)</td>
10446         </tr><tr>
10447                 <td class=""Item2"">(6,Item,2)</td><td class=""Item5"">(7,Item,5)</td><td class=""Item8"">(8,Item,8)</td>
10448         </tr><tr>
10449                 <td colspan=""3"" class=""Footer-1"">(9,Footer,-1)</td>
10450         </tr>
10451 </table>";
10452                 Assert.AreEqual (exp, v, "#458");
10453         }
10454
10455
10456         [Test]
10457         public void RepeatInfo_3cols_7itms_vert_tbl_ftr ()
10458         {
10459                 // cols              : 3
10460                 // cnt               : 7
10461                 // RepeatDirection   : Vertical
10462                 // RepeatLayout      : Table
10463                 // OuterTableImplied : False
10464                 // Header            : False
10465                 // Footer            : True
10466                 // Separator         : False
10467
10468
10469                 string v = RepeatInfoUser.DoTest (3, 7, RepeatDirection.Vertical, RepeatLayout.Table, false, false, true, false);
10470                 string exp = @"<table>
10471         <tr>
10472                 <td class=""Item0"">(0,Item,0)</td><td class=""Item3"">(1,Item,3)</td><td class=""Item5"">(2,Item,5)</td>
10473         </tr><tr>
10474                 <td class=""Item1"">(3,Item,1)</td><td class=""Item4"">(4,Item,4)</td><td class=""Item6"">(5,Item,6)</td>
10475         </tr><tr>
10476                 <td class=""Item2"">(6,Item,2)</td><td></td><td></td>
10477         </tr><tr>
10478                 <td colspan=""3"" class=""Footer-1"">(7,Footer,-1)</td>
10479         </tr>
10480 </table>";
10481                 Assert.AreEqual (exp, v, "#459");
10482         }
10483
10484
10485         [Test]
10486         public void RepeatInfo_0cols_0itms_horiz_flow_ftr ()
10487         {
10488                 // cols              : 0
10489                 // cnt               : 0
10490                 // RepeatDirection   : Horizontal
10491                 // RepeatLayout      : Flow
10492                 // OuterTableImplied : False
10493                 // Header            : False
10494                 // Footer            : True
10495                 // Separator         : False
10496
10497
10498                 string v = RepeatInfoUser.DoTest (0, 0, RepeatDirection.Horizontal, RepeatLayout.Flow, false, false, true, false);
10499                 string exp = @"<span class=""mainstyle"">(0,Footer,-1)</span>";
10500                 Assert.AreEqual (exp, v, "#460");
10501         }
10502
10503
10504         [Test]
10505         public void RepeatInfo_0cols_1itms_horiz_flow_ftr ()
10506         {
10507                 // cols              : 0
10508                 // cnt               : 1
10509                 // RepeatDirection   : Horizontal
10510                 // RepeatLayout      : Flow
10511                 // OuterTableImplied : False
10512                 // Header            : False
10513                 // Footer            : True
10514                 // Separator         : False
10515
10516
10517                 string v = RepeatInfoUser.DoTest (0, 1, RepeatDirection.Horizontal, RepeatLayout.Flow, false, false, true, false);
10518                 string exp = @"<span class=""mainstyle"">(0,Item,0)(1,Footer,-1)</span>";
10519                 Assert.AreEqual (exp, v, "#461");
10520         }
10521
10522
10523         [Test]
10524         public void RepeatInfo_0cols_2itms_horiz_flow_ftr ()
10525         {
10526                 // cols              : 0
10527                 // cnt               : 2
10528                 // RepeatDirection   : Horizontal
10529                 // RepeatLayout      : Flow
10530                 // OuterTableImplied : False
10531                 // Header            : False
10532                 // Footer            : True
10533                 // Separator         : False
10534
10535
10536                 string v = RepeatInfoUser.DoTest (0, 2, RepeatDirection.Horizontal, RepeatLayout.Flow, false, false, true, false);
10537                 string exp = @"<span class=""mainstyle"">(0,Item,0)(1,Item,1)(2,Footer,-1)</span>";
10538                 Assert.AreEqual (exp, v, "#462");
10539         }
10540
10541
10542         [Test]
10543         public void RepeatInfo_0cols_5itms_horiz_flow_ftr ()
10544         {
10545                 // cols              : 0
10546                 // cnt               : 5
10547                 // RepeatDirection   : Horizontal
10548                 // RepeatLayout      : Flow
10549                 // OuterTableImplied : False
10550                 // Header            : False
10551                 // Footer            : True
10552                 // Separator         : False
10553
10554
10555                 string v = RepeatInfoUser.DoTest (0, 5, RepeatDirection.Horizontal, RepeatLayout.Flow, false, false, true, false);
10556                 string exp = @"<span class=""mainstyle"">(0,Item,0)(1,Item,1)(2,Item,2)(3,Item,3)(4,Item,4)(5,Footer,-1)</span>";
10557                 Assert.AreEqual (exp, v, "#463");
10558         }
10559
10560
10561         [Test]
10562         public void RepeatInfo_1cols_0itms_horiz_flow_ftr ()
10563         {
10564                 // cols              : 1
10565                 // cnt               : 0
10566                 // RepeatDirection   : Horizontal
10567                 // RepeatLayout      : Flow
10568                 // OuterTableImplied : False
10569                 // Header            : False
10570                 // Footer            : True
10571                 // Separator         : False
10572
10573
10574                 string v = RepeatInfoUser.DoTest (1, 0, RepeatDirection.Horizontal, RepeatLayout.Flow, false, false, true, false);
10575                 string exp = @"<span class=""mainstyle"">(0,Footer,-1)</span>";
10576                 Assert.AreEqual (exp, v, "#464");
10577         }
10578
10579
10580         [Test]
10581         public void RepeatInfo_1cols_5itms_horiz_flow_ftr ()
10582         {
10583                 // cols              : 1
10584                 // cnt               : 5
10585                 // RepeatDirection   : Horizontal
10586                 // RepeatLayout      : Flow
10587                 // OuterTableImplied : False
10588                 // Header            : False
10589                 // Footer            : True
10590                 // Separator         : False
10591
10592
10593                 string v = RepeatInfoUser.DoTest (1, 5, RepeatDirection.Horizontal, RepeatLayout.Flow, false, false, true, false);
10594                 string exp = @"<span class=""mainstyle"">(0,Item,0)<br />(1,Item,1)<br />(2,Item,2)<br />(3,Item,3)<br />(4,Item,4)<br />(5,Footer,-1)</span>";
10595                 Assert.AreEqual (exp, v, "#465");
10596         }
10597
10598
10599         [Test]
10600         public void RepeatInfo_2cols_4itms_horiz_flow_ftr ()
10601         {
10602                 // cols              : 2
10603                 // cnt               : 4
10604                 // RepeatDirection   : Horizontal
10605                 // RepeatLayout      : Flow
10606                 // OuterTableImplied : False
10607                 // Header            : False
10608                 // Footer            : True
10609                 // Separator         : False
10610
10611
10612                 string v = RepeatInfoUser.DoTest (2, 4, RepeatDirection.Horizontal, RepeatLayout.Flow, false, false, true, false);
10613                 string exp = @"<span class=""mainstyle"">(0,Item,0)(1,Item,1)<br />(2,Item,2)(3,Item,3)<br />(4,Footer,-1)</span>";
10614                 Assert.AreEqual (exp, v, "#466");
10615         }
10616
10617
10618         [Test]
10619         public void RepeatInfo_2cols_7itms_horiz_flow_ftr ()
10620         {
10621                 // cols              : 2
10622                 // cnt               : 7
10623                 // RepeatDirection   : Horizontal
10624                 // RepeatLayout      : Flow
10625                 // OuterTableImplied : False
10626                 // Header            : False
10627                 // Footer            : True
10628                 // Separator         : False
10629
10630
10631                 string v = RepeatInfoUser.DoTest (2, 7, RepeatDirection.Horizontal, RepeatLayout.Flow, false, false, true, false);
10632                 string exp = @"<span class=""mainstyle"">(0,Item,0)(1,Item,1)<br />(2,Item,2)(3,Item,3)<br />(4,Item,4)(5,Item,5)<br />(6,Item,6)<br />(7,Footer,-1)</span>";
10633                 Assert.AreEqual (exp, v, "#467");
10634         }
10635
10636
10637         [Test]
10638         public void RepeatInfo_3cols_9itms_horiz_flow_ftr ()
10639         {
10640                 // cols              : 3
10641                 // cnt               : 9
10642                 // RepeatDirection   : Horizontal
10643                 // RepeatLayout      : Flow
10644                 // OuterTableImplied : False
10645                 // Header            : False
10646                 // Footer            : True
10647                 // Separator         : False
10648
10649
10650                 string v = RepeatInfoUser.DoTest (3, 9, RepeatDirection.Horizontal, RepeatLayout.Flow, false, false, true, false);
10651                 string exp = @"<span>(0,Item,0)(1,Item,1)(2,Item,2)<br />(3,Item,3)(4,Item,4)(5,Item,5)<br />(6,Item,6)(7,Item,7)(8,Item,8)<br />(9,Footer,-1)</span>";
10652                 Assert.AreEqual (exp, v, "#468");
10653         }
10654
10655
10656         [Test]
10657         public void RepeatInfo_3cols_7itms_horiz_flow_ftr ()
10658         {
10659                 // cols              : 3
10660                 // cnt               : 7
10661                 // RepeatDirection   : Horizontal
10662                 // RepeatLayout      : Flow
10663                 // OuterTableImplied : False
10664                 // Header            : False
10665                 // Footer            : True
10666                 // Separator         : False
10667
10668
10669                 string v = RepeatInfoUser.DoTest (3, 7, RepeatDirection.Horizontal, RepeatLayout.Flow, false, false, true, false);
10670                 string exp = @"<span>(0,Item,0)(1,Item,1)(2,Item,2)<br />(3,Item,3)(4,Item,4)(5,Item,5)<br />(6,Item,6)<br />(7,Footer,-1)</span>";
10671                 Assert.AreEqual (exp, v, "#469");
10672         }
10673
10674
10675         [Test]
10676         public void RepeatInfo_0cols_0itms_vert_flow_ftr ()
10677         {
10678                 // cols              : 0
10679                 // cnt               : 0
10680                 // RepeatDirection   : Vertical
10681                 // RepeatLayout      : Flow
10682                 // OuterTableImplied : False
10683                 // Header            : False
10684                 // Footer            : True
10685                 // Separator         : False
10686
10687
10688                 string v = RepeatInfoUser.DoTest (0, 0, RepeatDirection.Vertical, RepeatLayout.Flow, false, false, true, false);
10689                 string exp = @"<span class=""mainstyle"">(0,Footer,-1)</span>";
10690                 Assert.AreEqual (exp, v, "#470");
10691         }
10692
10693
10694         [Test]
10695         public void RepeatInfo_0cols_1itms_vert_flow_ftr ()
10696         {
10697                 // cols              : 0
10698                 // cnt               : 1
10699                 // RepeatDirection   : Vertical
10700                 // RepeatLayout      : Flow
10701                 // OuterTableImplied : False
10702                 // Header            : False
10703                 // Footer            : True
10704                 // Separator         : False
10705
10706
10707                 string v = RepeatInfoUser.DoTest (0, 1, RepeatDirection.Vertical, RepeatLayout.Flow, false, false, true, false);
10708                 string exp = @"<span class=""mainstyle"">(0,Item,0)<br />(1,Footer,-1)</span>";
10709                 Assert.AreEqual (exp, v, "#471");
10710         }
10711
10712
10713         [Test]
10714         public void RepeatInfo_0cols_2itms_vert_flow_ftr ()
10715         {
10716                 // cols              : 0
10717                 // cnt               : 2
10718                 // RepeatDirection   : Vertical
10719                 // RepeatLayout      : Flow
10720                 // OuterTableImplied : False
10721                 // Header            : False
10722                 // Footer            : True
10723                 // Separator         : False
10724
10725
10726                 string v = RepeatInfoUser.DoTest (0, 2, RepeatDirection.Vertical, RepeatLayout.Flow, false, false, true, false);
10727                 string exp = @"<span class=""mainstyle"">(0,Item,0)<br />(1,Item,1)<br />(2,Footer,-1)</span>";
10728                 Assert.AreEqual (exp, v, "#472");
10729         }
10730
10731
10732         [Test]
10733         public void RepeatInfo_0cols_5itms_vert_flow_ftr ()
10734         {
10735                 // cols              : 0
10736                 // cnt               : 5
10737                 // RepeatDirection   : Vertical
10738                 // RepeatLayout      : Flow
10739                 // OuterTableImplied : False
10740                 // Header            : False
10741                 // Footer            : True
10742                 // Separator         : False
10743
10744
10745                 string v = RepeatInfoUser.DoTest (0, 5, RepeatDirection.Vertical, RepeatLayout.Flow, false, false, true, false);
10746                 string exp = @"<span class=""mainstyle"">(0,Item,0)<br />(1,Item,1)<br />(2,Item,2)<br />(3,Item,3)<br />(4,Item,4)<br />(5,Footer,-1)</span>";
10747                 Assert.AreEqual (exp, v, "#473");
10748         }
10749
10750
10751         [Test]
10752         public void RepeatInfo_1cols_0itms_vert_flow_ftr ()
10753         {
10754                 // cols              : 1
10755                 // cnt               : 0
10756                 // RepeatDirection   : Vertical
10757                 // RepeatLayout      : Flow
10758                 // OuterTableImplied : False
10759                 // Header            : False
10760                 // Footer            : True
10761                 // Separator         : False
10762
10763
10764                 string v = RepeatInfoUser.DoTest (1, 0, RepeatDirection.Vertical, RepeatLayout.Flow, false, false, true, false);
10765                 string exp = @"<span class=""mainstyle"">(0,Footer,-1)</span>";
10766                 Assert.AreEqual (exp, v, "#474");
10767         }
10768
10769
10770         [Test]
10771         public void RepeatInfo_1cols_5itms_vert_flow_ftr ()
10772         {
10773                 // cols              : 1
10774                 // cnt               : 5
10775                 // RepeatDirection   : Vertical
10776                 // RepeatLayout      : Flow
10777                 // OuterTableImplied : False
10778                 // Header            : False
10779                 // Footer            : True
10780                 // Separator         : False
10781
10782
10783                 string v = RepeatInfoUser.DoTest (1, 5, RepeatDirection.Vertical, RepeatLayout.Flow, false, false, true, false);
10784                 string exp = @"<span class=""mainstyle"">(0,Item,0)<br />(1,Item,1)<br />(2,Item,2)<br />(3,Item,3)<br />(4,Item,4)<br />(5,Footer,-1)</span>";
10785                 Assert.AreEqual (exp, v, "#475");
10786         }
10787
10788
10789         [Test]
10790         public void RepeatInfo_2cols_4itms_vert_flow_ftr ()
10791         {
10792                 // cols              : 2
10793                 // cnt               : 4
10794                 // RepeatDirection   : Vertical
10795                 // RepeatLayout      : Flow
10796                 // OuterTableImplied : False
10797                 // Header            : False
10798                 // Footer            : True
10799                 // Separator         : False
10800
10801
10802                 string v = RepeatInfoUser.DoTest (2, 4, RepeatDirection.Vertical, RepeatLayout.Flow, false, false, true, false);
10803                 string exp = @"<span class=""mainstyle"">(0,Item,0)(1,Item,2)<br />(2,Item,1)(3,Item,3)<br />(4,Footer,-1)</span>";
10804                 Assert.AreEqual (exp, v, "#476");
10805         }
10806
10807
10808         [Test]
10809         public void RepeatInfo_2cols_7itms_vert_flow_ftr ()
10810         {
10811                 // cols              : 2
10812                 // cnt               : 7
10813                 // RepeatDirection   : Vertical
10814                 // RepeatLayout      : Flow
10815                 // OuterTableImplied : False
10816                 // Header            : False
10817                 // Footer            : True
10818                 // Separator         : False
10819
10820
10821                 string v = RepeatInfoUser.DoTest (2, 7, RepeatDirection.Vertical, RepeatLayout.Flow, false, false, true, false);
10822                 string exp = @"<span class=""mainstyle"">(0,Item,0)(1,Item,4)<br />(2,Item,1)(3,Item,5)<br />(4,Item,2)(5,Item,6)<br />(6,Item,3)<br />(7,Footer,-1)</span>";
10823                 Assert.AreEqual (exp, v, "#477");
10824         }
10825
10826
10827         [Test]
10828         public void RepeatInfo_3cols_9itms_vert_flow_ftr ()
10829         {
10830                 // cols              : 3
10831                 // cnt               : 9
10832                 // RepeatDirection   : Vertical
10833                 // RepeatLayout      : Flow
10834                 // OuterTableImplied : False
10835                 // Header            : False
10836                 // Footer            : True
10837                 // Separator         : False
10838
10839
10840                 string v = RepeatInfoUser.DoTest (3, 9, RepeatDirection.Vertical, RepeatLayout.Flow, false, false, true, false);
10841                 string exp = @"<span>(0,Item,0)(1,Item,3)(2,Item,6)<br />(3,Item,1)(4,Item,4)(5,Item,7)<br />(6,Item,2)(7,Item,5)(8,Item,8)<br />(9,Footer,-1)</span>";
10842                 Assert.AreEqual (exp, v, "#478");
10843         }
10844
10845
10846         [Test]
10847         public void RepeatInfo_3cols_7itms_vert_flow_ftr ()
10848         {
10849                 // cols              : 3
10850                 // cnt               : 7
10851                 // RepeatDirection   : Vertical
10852                 // RepeatLayout      : Flow
10853                 // OuterTableImplied : False
10854                 // Header            : False
10855                 // Footer            : True
10856                 // Separator         : False
10857
10858
10859                 string v = RepeatInfoUser.DoTest (3, 7, RepeatDirection.Vertical, RepeatLayout.Flow, false, false, true, false);
10860                 string exp = @"<span>(0,Item,0)(1,Item,3)(2,Item,5)<br />(3,Item,1)(4,Item,4)(5,Item,6)<br />(6,Item,2)<br />(7,Footer,-1)</span>";
10861                 Assert.AreEqual (exp, v, "#479");
10862         }
10863
10864
10865         [Test]
10866         public void RepeatInfo_0cols_0itms_horiz_tbl_otrtblimp_hdr ()
10867         {
10868                 // cols              : 0
10869                 // cnt               : 0
10870                 // RepeatDirection   : Horizontal
10871                 // RepeatLayout      : Table
10872                 // OuterTableImplied : True
10873                 // Header            : True
10874                 // Footer            : False
10875                 // Separator         : False
10876
10877
10878                 string v = RepeatInfoUser.DoTest (0, 0, RepeatDirection.Horizontal, RepeatLayout.Table, true, true, false, false);
10879                 string exp = @"<table class=""mainstyle"">
10880         <tr>
10881                 <td colspan=""0"" class=""Header-1"">(0,Header,-1)</td>
10882         </tr>
10883 </table>";
10884                 Assert.AreEqual (exp, v, "#480");
10885         }
10886
10887
10888         [Test]
10889         public void RepeatInfo_0cols_1itms_horiz_tbl_otrtblimp_hdr ()
10890         {
10891                 // cols              : 0
10892                 // cnt               : 1
10893                 // RepeatDirection   : Horizontal
10894                 // RepeatLayout      : Table
10895                 // OuterTableImplied : True
10896                 // Header            : True
10897                 // Footer            : False
10898                 // Separator         : False
10899
10900
10901                 string v = RepeatInfoUser.DoTest (0, 1, RepeatDirection.Horizontal, RepeatLayout.Table, true, true, false, false);
10902                 string exp = @"<table class=""mainstyle"">
10903         <tr>
10904                 <td class=""Header-1"">(0,Header,-1)</td>
10905         </tr><tr>
10906                 <td class=""Item0"">(1,Item,0)</td>
10907         </tr>
10908 </table>";
10909                 Assert.AreEqual (exp, v, "#481");
10910         }
10911
10912
10913         [Test]
10914         public void RepeatInfo_0cols_2itms_horiz_tbl_otrtblimp_hdr ()
10915         {
10916                 // cols              : 0
10917                 // cnt               : 2
10918                 // RepeatDirection   : Horizontal
10919                 // RepeatLayout      : Table
10920                 // OuterTableImplied : True
10921                 // Header            : True
10922                 // Footer            : False
10923                 // Separator         : False
10924
10925
10926                 string v = RepeatInfoUser.DoTest (0, 2, RepeatDirection.Horizontal, RepeatLayout.Table, true, true, false, false);
10927                 string exp = @"<table class=""mainstyle"">
10928         <tr>
10929                 <td colspan=""2"" class=""Header-1"">(0,Header,-1)</td>
10930         </tr><tr>
10931                 <td class=""Item0"">(1,Item,0)</td><td class=""Item1"">(2,Item,1)</td>
10932         </tr>
10933 </table>";
10934                 Assert.AreEqual (exp, v, "#482");
10935         }
10936
10937
10938         [Test]
10939         public void RepeatInfo_0cols_5itms_horiz_tbl_otrtblimp_hdr ()
10940         {
10941                 // cols              : 0
10942                 // cnt               : 5
10943                 // RepeatDirection   : Horizontal
10944                 // RepeatLayout      : Table
10945                 // OuterTableImplied : True
10946                 // Header            : True
10947                 // Footer            : False
10948                 // Separator         : False
10949
10950
10951                 string v = RepeatInfoUser.DoTest (0, 5, RepeatDirection.Horizontal, RepeatLayout.Table, true, true, false, false);
10952                 string exp = @"<table class=""mainstyle"">
10953         <tr>
10954                 <td colspan=""5"" class=""Header-1"">(0,Header,-1)</td>
10955         </tr><tr>
10956                 <td class=""Item0"">(1,Item,0)</td><td class=""Item1"">(2,Item,1)</td><td class=""Item2"">(3,Item,2)</td><td class=""Item3"">(4,Item,3)</td><td class=""Item4"">(5,Item,4)</td>
10957         </tr>
10958 </table>";
10959                 Assert.AreEqual (exp, v, "#483");
10960         }
10961
10962
10963         [Test]
10964         public void RepeatInfo_1cols_0itms_horiz_tbl_otrtblimp_hdr ()
10965         {
10966                 // cols              : 1
10967                 // cnt               : 0
10968                 // RepeatDirection   : Horizontal
10969                 // RepeatLayout      : Table
10970                 // OuterTableImplied : True
10971                 // Header            : True
10972                 // Footer            : False
10973                 // Separator         : False
10974
10975
10976                 string v = RepeatInfoUser.DoTest (1, 0, RepeatDirection.Horizontal, RepeatLayout.Table, true, true, false, false);
10977                 string exp = @"<table class=""mainstyle"">
10978         <tr>
10979                 <td class=""Header-1"">(0,Header,-1)</td>
10980         </tr>
10981 </table>";
10982                 Assert.AreEqual (exp, v, "#484");
10983         }
10984
10985
10986         [Test]
10987         public void RepeatInfo_1cols_5itms_horiz_tbl_otrtblimp_hdr ()
10988         {
10989                 // cols              : 1
10990                 // cnt               : 5
10991                 // RepeatDirection   : Horizontal
10992                 // RepeatLayout      : Table
10993                 // OuterTableImplied : True
10994                 // Header            : True
10995                 // Footer            : False
10996                 // Separator         : False
10997
10998
10999                 string v = RepeatInfoUser.DoTest (1, 5, RepeatDirection.Horizontal, RepeatLayout.Table, true, true, false, false);
11000                 string exp = @"<table class=""mainstyle"">
11001         <tr>
11002                 <td class=""Header-1"">(0,Header,-1)</td>
11003         </tr><tr>
11004                 <td class=""Item0"">(1,Item,0)</td>
11005         </tr><tr>
11006                 <td class=""Item1"">(2,Item,1)</td>
11007         </tr><tr>
11008                 <td class=""Item2"">(3,Item,2)</td>
11009         </tr><tr>
11010                 <td class=""Item3"">(4,Item,3)</td>
11011         </tr><tr>
11012                 <td class=""Item4"">(5,Item,4)</td>
11013         </tr>
11014 </table>";
11015                 Assert.AreEqual (exp, v, "#485");
11016         }
11017
11018
11019         [Test]
11020         public void RepeatInfo_2cols_4itms_horiz_tbl_otrtblimp_hdr ()
11021         {
11022                 // cols              : 2
11023                 // cnt               : 4
11024                 // RepeatDirection   : Horizontal
11025                 // RepeatLayout      : Table
11026                 // OuterTableImplied : True
11027                 // Header            : True
11028                 // Footer            : False
11029                 // Separator         : False
11030
11031
11032                 string v = RepeatInfoUser.DoTest (2, 4, RepeatDirection.Horizontal, RepeatLayout.Table, true, true, false, false);
11033                 string exp = @"<table class=""mainstyle"">
11034         <tr>
11035                 <td colspan=""2"" class=""Header-1"">(0,Header,-1)</td>
11036         </tr><tr>
11037                 <td class=""Item0"">(1,Item,0)</td><td class=""Item1"">(2,Item,1)</td>
11038         </tr><tr>
11039                 <td class=""Item2"">(3,Item,2)</td><td class=""Item3"">(4,Item,3)</td>
11040         </tr>
11041 </table>";
11042                 Assert.AreEqual (exp, v, "#486");
11043         }
11044
11045
11046         [Test]
11047         public void RepeatInfo_2cols_7itms_horiz_tbl_otrtblimp_hdr ()
11048         {
11049                 // cols              : 2
11050                 // cnt               : 7
11051                 // RepeatDirection   : Horizontal
11052                 // RepeatLayout      : Table
11053                 // OuterTableImplied : True
11054                 // Header            : True
11055                 // Footer            : False
11056                 // Separator         : False
11057
11058
11059                 string v = RepeatInfoUser.DoTest (2, 7, RepeatDirection.Horizontal, RepeatLayout.Table, true, true, false, false);
11060                 string exp = @"<table class=""mainstyle"">
11061         <tr>
11062                 <td colspan=""2"" class=""Header-1"">(0,Header,-1)</td>
11063         </tr><tr>
11064                 <td class=""Item0"">(1,Item,0)</td><td class=""Item1"">(2,Item,1)</td>
11065         </tr><tr>
11066                 <td class=""Item2"">(3,Item,2)</td><td class=""Item3"">(4,Item,3)</td>
11067         </tr><tr>
11068                 <td class=""Item4"">(5,Item,4)</td><td class=""Item5"">(6,Item,5)</td>
11069         </tr><tr>
11070                 <td class=""Item6"">(7,Item,6)</td><td></td>
11071         </tr>
11072 </table>";
11073                 Assert.AreEqual (exp, v, "#487");
11074         }
11075
11076
11077         [Test]
11078         public void RepeatInfo_3cols_9itms_horiz_tbl_otrtblimp_hdr ()
11079         {
11080                 // cols              : 3
11081                 // cnt               : 9
11082                 // RepeatDirection   : Horizontal
11083                 // RepeatLayout      : Table
11084                 // OuterTableImplied : True
11085                 // Header            : True
11086                 // Footer            : False
11087                 // Separator         : False
11088
11089
11090                 string v = RepeatInfoUser.DoTest (3, 9, RepeatDirection.Horizontal, RepeatLayout.Table, true, true, false, false);
11091                 string exp = @"<table>
11092         <tr>
11093                 <td colspan=""3"" class=""Header-1"">(0,Header,-1)</td>
11094         </tr><tr>
11095                 <td class=""Item0"">(1,Item,0)</td><td class=""Item1"">(2,Item,1)</td><td class=""Item2"">(3,Item,2)</td>
11096         </tr><tr>
11097                 <td class=""Item3"">(4,Item,3)</td><td class=""Item4"">(5,Item,4)</td><td class=""Item5"">(6,Item,5)</td>
11098         </tr><tr>
11099                 <td class=""Item6"">(7,Item,6)</td><td class=""Item7"">(8,Item,7)</td><td class=""Item8"">(9,Item,8)</td>
11100         </tr>
11101 </table>";
11102                 Assert.AreEqual (exp, v, "#488");
11103         }
11104
11105
11106         [Test]
11107         public void RepeatInfo_3cols_7itms_horiz_tbl_otrtblimp_hdr ()
11108         {
11109                 // cols              : 3
11110                 // cnt               : 7
11111                 // RepeatDirection   : Horizontal
11112                 // RepeatLayout      : Table
11113                 // OuterTableImplied : True
11114                 // Header            : True
11115                 // Footer            : False
11116                 // Separator         : False
11117
11118
11119                 string v = RepeatInfoUser.DoTest (3, 7, RepeatDirection.Horizontal, RepeatLayout.Table, true, true, false, false);
11120                 string exp = @"<table>
11121         <tr>
11122                 <td colspan=""3"" class=""Header-1"">(0,Header,-1)</td>
11123         </tr><tr>
11124                 <td class=""Item0"">(1,Item,0)</td><td class=""Item1"">(2,Item,1)</td><td class=""Item2"">(3,Item,2)</td>
11125         </tr><tr>
11126                 <td class=""Item3"">(4,Item,3)</td><td class=""Item4"">(5,Item,4)</td><td class=""Item5"">(6,Item,5)</td>
11127         </tr><tr>
11128                 <td class=""Item6"">(7,Item,6)</td><td></td><td></td>
11129         </tr>
11130 </table>";
11131                 Assert.AreEqual (exp, v, "#489");
11132         }
11133
11134
11135         [Test]
11136         public void RepeatInfo_0cols_0itms_vert_tbl_otrtblimp_hdr ()
11137         {
11138                 // cols              : 0
11139                 // cnt               : 0
11140                 // RepeatDirection   : Vertical
11141                 // RepeatLayout      : Table
11142                 // OuterTableImplied : True
11143                 // Header            : True
11144                 // Footer            : False
11145                 // Separator         : False
11146
11147
11148                 string v = RepeatInfoUser.DoTest (0, 0, RepeatDirection.Vertical, RepeatLayout.Table, true, true, false, false);
11149                 string exp = @"(0,Header,-1)";
11150                 Assert.AreEqual (exp, v, "#490");
11151         }
11152
11153
11154         [Test]
11155         public void RepeatInfo_0cols_1itms_vert_tbl_otrtblimp_hdr ()
11156         {
11157                 // cols              : 0
11158                 // cnt               : 1
11159                 // RepeatDirection   : Vertical
11160                 // RepeatLayout      : Table
11161                 // OuterTableImplied : True
11162                 // Header            : True
11163                 // Footer            : False
11164                 // Separator         : False
11165
11166
11167                 string v = RepeatInfoUser.DoTest (0, 1, RepeatDirection.Vertical, RepeatLayout.Table, true, true, false, false);
11168                 string exp = @"(0,Header,-1)(1,Item,0)";
11169                 Assert.AreEqual (exp, v, "#491");
11170         }
11171
11172
11173         [Test]
11174         public void RepeatInfo_0cols_2itms_vert_tbl_otrtblimp_hdr ()
11175         {
11176                 // cols              : 0
11177                 // cnt               : 2
11178                 // RepeatDirection   : Vertical
11179                 // RepeatLayout      : Table
11180                 // OuterTableImplied : True
11181                 // Header            : True
11182                 // Footer            : False
11183                 // Separator         : False
11184
11185
11186                 string v = RepeatInfoUser.DoTest (0, 2, RepeatDirection.Vertical, RepeatLayout.Table, true, true, false, false);
11187                 string exp = @"(0,Header,-1)(1,Item,0)(2,Item,1)";
11188                 Assert.AreEqual (exp, v, "#492");
11189         }
11190
11191
11192         [Test]
11193         public void RepeatInfo_0cols_5itms_vert_tbl_otrtblimp_hdr ()
11194         {
11195                 // cols              : 0
11196                 // cnt               : 5
11197                 // RepeatDirection   : Vertical
11198                 // RepeatLayout      : Table
11199                 // OuterTableImplied : True
11200                 // Header            : True
11201                 // Footer            : False
11202                 // Separator         : False
11203
11204
11205                 string v = RepeatInfoUser.DoTest (0, 5, RepeatDirection.Vertical, RepeatLayout.Table, true, true, false, false);
11206                 string exp = @"(0,Header,-1)(1,Item,0)(2,Item,1)(3,Item,2)(4,Item,3)(5,Item,4)";
11207                 Assert.AreEqual (exp, v, "#493");
11208         }
11209
11210
11211         [Test]
11212         public void RepeatInfo_1cols_0itms_vert_tbl_otrtblimp_hdr ()
11213         {
11214                 // cols              : 1
11215                 // cnt               : 0
11216                 // RepeatDirection   : Vertical
11217                 // RepeatLayout      : Table
11218                 // OuterTableImplied : True
11219                 // Header            : True
11220                 // Footer            : False
11221                 // Separator         : False
11222
11223
11224                 string v = RepeatInfoUser.DoTest (1, 0, RepeatDirection.Vertical, RepeatLayout.Table, true, true, false, false);
11225                 string exp = @"(0,Header,-1)";
11226                 Assert.AreEqual (exp, v, "#494");
11227         }
11228
11229
11230         [Test]
11231         public void RepeatInfo_1cols_5itms_vert_tbl_otrtblimp_hdr ()
11232         {
11233                 // cols              : 1
11234                 // cnt               : 5
11235                 // RepeatDirection   : Vertical
11236                 // RepeatLayout      : Table
11237                 // OuterTableImplied : True
11238                 // Header            : True
11239                 // Footer            : False
11240                 // Separator         : False
11241
11242
11243                 string v = RepeatInfoUser.DoTest (1, 5, RepeatDirection.Vertical, RepeatLayout.Table, true, true, false, false);
11244                 string exp = @"(0,Header,-1)(1,Item,0)(2,Item,1)(3,Item,2)(4,Item,3)(5,Item,4)";
11245                 Assert.AreEqual (exp, v, "#495");
11246         }
11247
11248
11249         [Test]
11250         public void RepeatInfo_2cols_4itms_vert_tbl_otrtblimp_hdr ()
11251         {
11252                 // cols              : 2
11253                 // cnt               : 4
11254                 // RepeatDirection   : Vertical
11255                 // RepeatLayout      : Table
11256                 // OuterTableImplied : True
11257                 // Header            : True
11258                 // Footer            : False
11259                 // Separator         : False
11260
11261
11262                 string v = RepeatInfoUser.DoTest (2, 4, RepeatDirection.Vertical, RepeatLayout.Table, true, true, false, false);
11263                 string exp = @"(0,Header,-1)(1,Item,0)(2,Item,2)(3,Item,1)(4,Item,3)";
11264                 Assert.AreEqual (exp, v, "#496");
11265         }
11266
11267
11268         [Test]
11269         public void RepeatInfo_2cols_7itms_vert_tbl_otrtblimp_hdr ()
11270         {
11271                 // cols              : 2
11272                 // cnt               : 7
11273                 // RepeatDirection   : Vertical
11274                 // RepeatLayout      : Table
11275                 // OuterTableImplied : True
11276                 // Header            : True
11277                 // Footer            : False
11278                 // Separator         : False
11279
11280
11281                 string v = RepeatInfoUser.DoTest (2, 7, RepeatDirection.Vertical, RepeatLayout.Table, true, true, false, false);
11282                 string exp = @"(0,Header,-1)(1,Item,0)(2,Item,4)(3,Item,1)(4,Item,5)(5,Item,2)(6,Item,6)(7,Item,3)";
11283                 Assert.AreEqual (exp, v, "#497");
11284         }
11285
11286
11287         [Test]
11288         public void RepeatInfo_3cols_9itms_vert_tbl_otrtblimp_hdr ()
11289         {
11290                 // cols              : 3
11291                 // cnt               : 9
11292                 // RepeatDirection   : Vertical
11293                 // RepeatLayout      : Table
11294                 // OuterTableImplied : True
11295                 // Header            : True
11296                 // Footer            : False
11297                 // Separator         : False
11298
11299
11300                 string v = RepeatInfoUser.DoTest (3, 9, RepeatDirection.Vertical, RepeatLayout.Table, true, true, false, false);
11301                 string exp = @"(0,Header,-1)(1,Item,0)(2,Item,3)(3,Item,6)(4,Item,1)(5,Item,4)(6,Item,7)(7,Item,2)(8,Item,5)(9,Item,8)";
11302                 Assert.AreEqual (exp, v, "#498");
11303         }
11304
11305
11306         [Test]
11307         public void RepeatInfo_3cols_7itms_vert_tbl_otrtblimp_hdr ()
11308         {
11309                 // cols              : 3
11310                 // cnt               : 7
11311                 // RepeatDirection   : Vertical
11312                 // RepeatLayout      : Table
11313                 // OuterTableImplied : True
11314                 // Header            : True
11315                 // Footer            : False
11316                 // Separator         : False
11317
11318
11319                 string v = RepeatInfoUser.DoTest (3, 7, RepeatDirection.Vertical, RepeatLayout.Table, true, true, false, false);
11320                 string exp = @"(0,Header,-1)(1,Item,0)(2,Item,3)(3,Item,5)(4,Item,1)(5,Item,4)(6,Item,6)(7,Item,2)";
11321                 Assert.AreEqual (exp, v, "#499");
11322         }
11323
11324
11325         [Test]
11326         public void RepeatInfo_0cols_0itms_horiz_flow_otrtblimp_hdr ()
11327         {
11328                 // cols              : 0
11329                 // cnt               : 0
11330                 // RepeatDirection   : Horizontal
11331                 // RepeatLayout      : Flow
11332                 // OuterTableImplied : True
11333                 // Header            : True
11334                 // Footer            : False
11335                 // Separator         : False
11336
11337
11338                 string v = RepeatInfoUser.DoTest (0, 0, RepeatDirection.Horizontal, RepeatLayout.Flow, true, true, false, false);
11339                 string exp = @"<span class=""mainstyle"">(0,Header,-1)</span>";
11340                 Assert.AreEqual (exp, v, "#500");
11341         }
11342
11343
11344         [Test]
11345         public void RepeatInfo_0cols_1itms_horiz_flow_otrtblimp_hdr ()
11346         {
11347                 // cols              : 0
11348                 // cnt               : 1
11349                 // RepeatDirection   : Horizontal
11350                 // RepeatLayout      : Flow
11351                 // OuterTableImplied : True
11352                 // Header            : True
11353                 // Footer            : False
11354                 // Separator         : False
11355
11356
11357                 string v = RepeatInfoUser.DoTest (0, 1, RepeatDirection.Horizontal, RepeatLayout.Flow, true, true, false, false);
11358                 string exp = @"<span class=""mainstyle"">(0,Header,-1)(1,Item,0)</span>";
11359                 Assert.AreEqual (exp, v, "#501");
11360         }
11361
11362
11363         [Test]
11364         public void RepeatInfo_0cols_2itms_horiz_flow_otrtblimp_hdr ()
11365         {
11366                 // cols              : 0
11367                 // cnt               : 2
11368                 // RepeatDirection   : Horizontal
11369                 // RepeatLayout      : Flow
11370                 // OuterTableImplied : True
11371                 // Header            : True
11372                 // Footer            : False
11373                 // Separator         : False
11374
11375
11376                 string v = RepeatInfoUser.DoTest (0, 2, RepeatDirection.Horizontal, RepeatLayout.Flow, true, true, false, false);
11377                 string exp = @"<span class=""mainstyle"">(0,Header,-1)(1,Item,0)(2,Item,1)</span>";
11378                 Assert.AreEqual (exp, v, "#502");
11379         }
11380
11381
11382         [Test]
11383         public void RepeatInfo_0cols_5itms_horiz_flow_otrtblimp_hdr ()
11384         {
11385                 // cols              : 0
11386                 // cnt               : 5
11387                 // RepeatDirection   : Horizontal
11388                 // RepeatLayout      : Flow
11389                 // OuterTableImplied : True
11390                 // Header            : True
11391                 // Footer            : False
11392                 // Separator         : False
11393
11394
11395                 string v = RepeatInfoUser.DoTest (0, 5, RepeatDirection.Horizontal, RepeatLayout.Flow, true, true, false, false);
11396                 string exp = @"<span class=""mainstyle"">(0,Header,-1)(1,Item,0)(2,Item,1)(3,Item,2)(4,Item,3)(5,Item,4)</span>";
11397                 Assert.AreEqual (exp, v, "#503");
11398         }
11399
11400
11401         [Test]
11402         public void RepeatInfo_1cols_0itms_horiz_flow_otrtblimp_hdr ()
11403         {
11404                 // cols              : 1
11405                 // cnt               : 0
11406                 // RepeatDirection   : Horizontal
11407                 // RepeatLayout      : Flow
11408                 // OuterTableImplied : True
11409                 // Header            : True
11410                 // Footer            : False
11411                 // Separator         : False
11412
11413
11414                 string v = RepeatInfoUser.DoTest (1, 0, RepeatDirection.Horizontal, RepeatLayout.Flow, true, true, false, false);
11415                 string exp = @"<span class=""mainstyle"">(0,Header,-1)</span>";
11416                 Assert.AreEqual (exp, v, "#504");
11417         }
11418
11419
11420         [Test]
11421         public void RepeatInfo_1cols_5itms_horiz_flow_otrtblimp_hdr ()
11422         {
11423                 // cols              : 1
11424                 // cnt               : 5
11425                 // RepeatDirection   : Horizontal
11426                 // RepeatLayout      : Flow
11427                 // OuterTableImplied : True
11428                 // Header            : True
11429                 // Footer            : False
11430                 // Separator         : False
11431
11432
11433                 string v = RepeatInfoUser.DoTest (1, 5, RepeatDirection.Horizontal, RepeatLayout.Flow, true, true, false, false);
11434                 string exp = @"<span class=""mainstyle"">(0,Header,-1)<br />(1,Item,0)<br />(2,Item,1)<br />(3,Item,2)<br />(4,Item,3)<br />(5,Item,4)<br /></span>";
11435                 Assert.AreEqual (exp, v, "#505");
11436         }
11437
11438
11439         [Test]
11440         public void RepeatInfo_2cols_4itms_horiz_flow_otrtblimp_hdr ()
11441         {
11442                 // cols              : 2
11443                 // cnt               : 4
11444                 // RepeatDirection   : Horizontal
11445                 // RepeatLayout      : Flow
11446                 // OuterTableImplied : True
11447                 // Header            : True
11448                 // Footer            : False
11449                 // Separator         : False
11450
11451
11452                 string v = RepeatInfoUser.DoTest (2, 4, RepeatDirection.Horizontal, RepeatLayout.Flow, true, true, false, false);
11453                 string exp = @"<span class=""mainstyle"">(0,Header,-1)<br />(1,Item,0)(2,Item,1)<br />(3,Item,2)(4,Item,3)<br /></span>";
11454                 Assert.AreEqual (exp, v, "#506");
11455         }
11456
11457
11458         [Test]
11459         public void RepeatInfo_2cols_7itms_horiz_flow_otrtblimp_hdr ()
11460         {
11461                 // cols              : 2
11462                 // cnt               : 7
11463                 // RepeatDirection   : Horizontal
11464                 // RepeatLayout      : Flow
11465                 // OuterTableImplied : True
11466                 // Header            : True
11467                 // Footer            : False
11468                 // Separator         : False
11469
11470
11471                 string v = RepeatInfoUser.DoTest (2, 7, RepeatDirection.Horizontal, RepeatLayout.Flow, true, true, false, false);
11472                 string exp = @"<span class=""mainstyle"">(0,Header,-1)<br />(1,Item,0)(2,Item,1)<br />(3,Item,2)(4,Item,3)<br />(5,Item,4)(6,Item,5)<br />(7,Item,6)<br /></span>";
11473                 Assert.AreEqual (exp, v, "#507");
11474         }
11475
11476
11477         [Test]
11478         public void RepeatInfo_3cols_9itms_horiz_flow_otrtblimp_hdr ()
11479         {
11480                 // cols              : 3
11481                 // cnt               : 9
11482                 // RepeatDirection   : Horizontal
11483                 // RepeatLayout      : Flow
11484                 // OuterTableImplied : True
11485                 // Header            : True
11486                 // Footer            : False
11487                 // Separator         : False
11488
11489
11490                 string v = RepeatInfoUser.DoTest (3, 9, RepeatDirection.Horizontal, RepeatLayout.Flow, true, true, false, false);
11491                 string exp = @"<span>(0,Header,-1)<br />(1,Item,0)(2,Item,1)(3,Item,2)<br />(4,Item,3)(5,Item,4)(6,Item,5)<br />(7,Item,6)(8,Item,7)(9,Item,8)<br /></span>";
11492                 Assert.AreEqual (exp, v, "#508");
11493         }
11494
11495
11496         [Test]
11497         public void RepeatInfo_3cols_7itms_horiz_flow_otrtblimp_hdr ()
11498         {
11499                 // cols              : 3
11500                 // cnt               : 7
11501                 // RepeatDirection   : Horizontal
11502                 // RepeatLayout      : Flow
11503                 // OuterTableImplied : True
11504                 // Header            : True
11505                 // Footer            : False
11506                 // Separator         : False
11507
11508
11509                 string v = RepeatInfoUser.DoTest (3, 7, RepeatDirection.Horizontal, RepeatLayout.Flow, true, true, false, false);
11510                 string exp = @"<span>(0,Header,-1)<br />(1,Item,0)(2,Item,1)(3,Item,2)<br />(4,Item,3)(5,Item,4)(6,Item,5)<br />(7,Item,6)<br /></span>";
11511                 Assert.AreEqual (exp, v, "#509");
11512         }
11513
11514
11515         [Test]
11516         public void RepeatInfo_0cols_0itms_vert_flow_otrtblimp_hdr ()
11517         {
11518                 // cols              : 0
11519                 // cnt               : 0
11520                 // RepeatDirection   : Vertical
11521                 // RepeatLayout      : Flow
11522                 // OuterTableImplied : True
11523                 // Header            : True
11524                 // Footer            : False
11525                 // Separator         : False
11526
11527
11528                 string v = RepeatInfoUser.DoTest (0, 0, RepeatDirection.Vertical, RepeatLayout.Flow, true, true, false, false);
11529                 string exp = @"(0,Header,-1)";
11530                 Assert.AreEqual (exp, v, "#510");
11531         }
11532
11533
11534         [Test]
11535         public void RepeatInfo_0cols_1itms_vert_flow_otrtblimp_hdr ()
11536         {
11537                 // cols              : 0
11538                 // cnt               : 1
11539                 // RepeatDirection   : Vertical
11540                 // RepeatLayout      : Flow
11541                 // OuterTableImplied : True
11542                 // Header            : True
11543                 // Footer            : False
11544                 // Separator         : False
11545
11546
11547                 string v = RepeatInfoUser.DoTest (0, 1, RepeatDirection.Vertical, RepeatLayout.Flow, true, true, false, false);
11548                 string exp = @"(0,Header,-1)(1,Item,0)";
11549                 Assert.AreEqual (exp, v, "#511");
11550         }
11551
11552
11553         [Test]
11554         public void RepeatInfo_0cols_2itms_vert_flow_otrtblimp_hdr ()
11555         {
11556                 // cols              : 0
11557                 // cnt               : 2
11558                 // RepeatDirection   : Vertical
11559                 // RepeatLayout      : Flow
11560                 // OuterTableImplied : True
11561                 // Header            : True
11562                 // Footer            : False
11563                 // Separator         : False
11564
11565
11566                 string v = RepeatInfoUser.DoTest (0, 2, RepeatDirection.Vertical, RepeatLayout.Flow, true, true, false, false);
11567                 string exp = @"(0,Header,-1)(1,Item,0)(2,Item,1)";
11568                 Assert.AreEqual (exp, v, "#512");
11569         }
11570
11571
11572         [Test]
11573         public void RepeatInfo_0cols_5itms_vert_flow_otrtblimp_hdr ()
11574         {
11575                 // cols              : 0
11576                 // cnt               : 5
11577                 // RepeatDirection   : Vertical
11578                 // RepeatLayout      : Flow
11579                 // OuterTableImplied : True
11580                 // Header            : True
11581                 // Footer            : False
11582                 // Separator         : False
11583
11584
11585                 string v = RepeatInfoUser.DoTest (0, 5, RepeatDirection.Vertical, RepeatLayout.Flow, true, true, false, false);
11586                 string exp = @"(0,Header,-1)(1,Item,0)(2,Item,1)(3,Item,2)(4,Item,3)(5,Item,4)";
11587                 Assert.AreEqual (exp, v, "#513");
11588         }
11589
11590
11591         [Test]
11592         public void RepeatInfo_1cols_0itms_vert_flow_otrtblimp_hdr ()
11593         {
11594                 // cols              : 1
11595                 // cnt               : 0
11596                 // RepeatDirection   : Vertical
11597                 // RepeatLayout      : Flow
11598                 // OuterTableImplied : True
11599                 // Header            : True
11600                 // Footer            : False
11601                 // Separator         : False
11602
11603
11604                 string v = RepeatInfoUser.DoTest (1, 0, RepeatDirection.Vertical, RepeatLayout.Flow, true, true, false, false);
11605                 string exp = @"(0,Header,-1)";
11606                 Assert.AreEqual (exp, v, "#514");
11607         }
11608
11609
11610         [Test]
11611         public void RepeatInfo_1cols_5itms_vert_flow_otrtblimp_hdr ()
11612         {
11613                 // cols              : 1
11614                 // cnt               : 5
11615                 // RepeatDirection   : Vertical
11616                 // RepeatLayout      : Flow
11617                 // OuterTableImplied : True
11618                 // Header            : True
11619                 // Footer            : False
11620                 // Separator         : False
11621
11622
11623                 string v = RepeatInfoUser.DoTest (1, 5, RepeatDirection.Vertical, RepeatLayout.Flow, true, true, false, false);
11624                 string exp = @"(0,Header,-1)(1,Item,0)(2,Item,1)(3,Item,2)(4,Item,3)(5,Item,4)";
11625                 Assert.AreEqual (exp, v, "#515");
11626         }
11627
11628
11629         [Test]
11630         public void RepeatInfo_2cols_4itms_vert_flow_otrtblimp_hdr ()
11631         {
11632                 // cols              : 2
11633                 // cnt               : 4
11634                 // RepeatDirection   : Vertical
11635                 // RepeatLayout      : Flow
11636                 // OuterTableImplied : True
11637                 // Header            : True
11638                 // Footer            : False
11639                 // Separator         : False
11640
11641
11642                 string v = RepeatInfoUser.DoTest (2, 4, RepeatDirection.Vertical, RepeatLayout.Flow, true, true, false, false);
11643                 string exp = @"(0,Header,-1)(1,Item,0)(2,Item,2)(3,Item,1)(4,Item,3)";
11644                 Assert.AreEqual (exp, v, "#516");
11645         }
11646
11647
11648         [Test]
11649         public void RepeatInfo_2cols_7itms_vert_flow_otrtblimp_hdr ()
11650         {
11651                 // cols              : 2
11652                 // cnt               : 7
11653                 // RepeatDirection   : Vertical
11654                 // RepeatLayout      : Flow
11655                 // OuterTableImplied : True
11656                 // Header            : True
11657                 // Footer            : False
11658                 // Separator         : False
11659
11660
11661                 string v = RepeatInfoUser.DoTest (2, 7, RepeatDirection.Vertical, RepeatLayout.Flow, true, true, false, false);
11662                 string exp = @"(0,Header,-1)(1,Item,0)(2,Item,4)(3,Item,1)(4,Item,5)(5,Item,2)(6,Item,6)(7,Item,3)";
11663                 Assert.AreEqual (exp, v, "#517");
11664         }
11665
11666
11667         [Test]
11668         public void RepeatInfo_3cols_9itms_vert_flow_otrtblimp_hdr ()
11669         {
11670                 // cols              : 3
11671                 // cnt               : 9
11672                 // RepeatDirection   : Vertical
11673                 // RepeatLayout      : Flow
11674                 // OuterTableImplied : True
11675                 // Header            : True
11676                 // Footer            : False
11677                 // Separator         : False
11678
11679
11680                 string v = RepeatInfoUser.DoTest (3, 9, RepeatDirection.Vertical, RepeatLayout.Flow, true, true, false, false);
11681                 string exp = @"(0,Header,-1)(1,Item,0)(2,Item,3)(3,Item,6)(4,Item,1)(5,Item,4)(6,Item,7)(7,Item,2)(8,Item,5)(9,Item,8)";
11682                 Assert.AreEqual (exp, v, "#518");
11683         }
11684
11685
11686         [Test]
11687         public void RepeatInfo_3cols_7itms_vert_flow_otrtblimp_hdr ()
11688         {
11689                 // cols              : 3
11690                 // cnt               : 7
11691                 // RepeatDirection   : Vertical
11692                 // RepeatLayout      : Flow
11693                 // OuterTableImplied : True
11694                 // Header            : True
11695                 // Footer            : False
11696                 // Separator         : False
11697
11698
11699                 string v = RepeatInfoUser.DoTest (3, 7, RepeatDirection.Vertical, RepeatLayout.Flow, true, true, false, false);
11700                 string exp = @"(0,Header,-1)(1,Item,0)(2,Item,3)(3,Item,5)(4,Item,1)(5,Item,4)(6,Item,6)(7,Item,2)";
11701                 Assert.AreEqual (exp, v, "#519");
11702         }
11703
11704
11705         [Test]
11706         public void RepeatInfo_0cols_0itms_horiz_tbl_hdr ()
11707         {
11708                 // cols              : 0
11709                 // cnt               : 0
11710                 // RepeatDirection   : Horizontal
11711                 // RepeatLayout      : Table
11712                 // OuterTableImplied : False
11713                 // Header            : True
11714                 // Footer            : False
11715                 // Separator         : False
11716
11717
11718                 string v = RepeatInfoUser.DoTest (0, 0, RepeatDirection.Horizontal, RepeatLayout.Table, false, true, false, false);
11719                 string exp = @"<table class=""mainstyle"">
11720         <tr>
11721                 <td colspan=""0"" class=""Header-1"">(0,Header,-1)</td>
11722         </tr>
11723 </table>";
11724                 Assert.AreEqual (exp, v, "#520");
11725         }
11726
11727
11728         [Test]
11729         public void RepeatInfo_0cols_1itms_horiz_tbl_hdr ()
11730         {
11731                 // cols              : 0
11732                 // cnt               : 1
11733                 // RepeatDirection   : Horizontal
11734                 // RepeatLayout      : Table
11735                 // OuterTableImplied : False
11736                 // Header            : True
11737                 // Footer            : False
11738                 // Separator         : False
11739
11740
11741                 string v = RepeatInfoUser.DoTest (0, 1, RepeatDirection.Horizontal, RepeatLayout.Table, false, true, false, false);
11742                 string exp = @"<table class=""mainstyle"">
11743         <tr>
11744                 <td class=""Header-1"">(0,Header,-1)</td>
11745         </tr><tr>
11746                 <td class=""Item0"">(1,Item,0)</td>
11747         </tr>
11748 </table>";
11749                 Assert.AreEqual (exp, v, "#521");
11750         }
11751
11752
11753         [Test]
11754         public void RepeatInfo_0cols_2itms_horiz_tbl_hdr ()
11755         {
11756                 // cols              : 0
11757                 // cnt               : 2
11758                 // RepeatDirection   : Horizontal
11759                 // RepeatLayout      : Table
11760                 // OuterTableImplied : False
11761                 // Header            : True
11762                 // Footer            : False
11763                 // Separator         : False
11764
11765
11766                 string v = RepeatInfoUser.DoTest (0, 2, RepeatDirection.Horizontal, RepeatLayout.Table, false, true, false, false);
11767                 string exp = @"<table class=""mainstyle"">
11768         <tr>
11769                 <td colspan=""2"" class=""Header-1"">(0,Header,-1)</td>
11770         </tr><tr>
11771                 <td class=""Item0"">(1,Item,0)</td><td class=""Item1"">(2,Item,1)</td>
11772         </tr>
11773 </table>";
11774                 Assert.AreEqual (exp, v, "#522");
11775         }
11776
11777
11778         [Test]
11779         public void RepeatInfo_0cols_5itms_horiz_tbl_hdr ()
11780         {
11781                 // cols              : 0
11782                 // cnt               : 5
11783                 // RepeatDirection   : Horizontal
11784                 // RepeatLayout      : Table
11785                 // OuterTableImplied : False
11786                 // Header            : True
11787                 // Footer            : False
11788                 // Separator         : False
11789
11790
11791                 string v = RepeatInfoUser.DoTest (0, 5, RepeatDirection.Horizontal, RepeatLayout.Table, false, true, false, false);
11792                 string exp = @"<table class=""mainstyle"">
11793         <tr>
11794                 <td colspan=""5"" class=""Header-1"">(0,Header,-1)</td>
11795         </tr><tr>
11796                 <td class=""Item0"">(1,Item,0)</td><td class=""Item1"">(2,Item,1)</td><td class=""Item2"">(3,Item,2)</td><td class=""Item3"">(4,Item,3)</td><td class=""Item4"">(5,Item,4)</td>
11797         </tr>
11798 </table>";
11799                 Assert.AreEqual (exp, v, "#523");
11800         }
11801
11802
11803         [Test]
11804         public void RepeatInfo_1cols_0itms_horiz_tbl_hdr ()
11805         {
11806                 // cols              : 1
11807                 // cnt               : 0
11808                 // RepeatDirection   : Horizontal
11809                 // RepeatLayout      : Table
11810                 // OuterTableImplied : False
11811                 // Header            : True
11812                 // Footer            : False
11813                 // Separator         : False
11814
11815
11816                 string v = RepeatInfoUser.DoTest (1, 0, RepeatDirection.Horizontal, RepeatLayout.Table, false, true, false, false);
11817                 string exp = @"<table class=""mainstyle"">
11818         <tr>
11819                 <td class=""Header-1"">(0,Header,-1)</td>
11820         </tr>
11821 </table>";
11822                 Assert.AreEqual (exp, v, "#524");
11823         }
11824
11825
11826         [Test]
11827         public void RepeatInfo_1cols_5itms_horiz_tbl_hdr ()
11828         {
11829                 // cols              : 1
11830                 // cnt               : 5
11831                 // RepeatDirection   : Horizontal
11832                 // RepeatLayout      : Table
11833                 // OuterTableImplied : False
11834                 // Header            : True
11835                 // Footer            : False
11836                 // Separator         : False
11837
11838
11839                 string v = RepeatInfoUser.DoTest (1, 5, RepeatDirection.Horizontal, RepeatLayout.Table, false, true, false, false);
11840                 string exp = @"<table class=""mainstyle"">
11841         <tr>
11842                 <td class=""Header-1"">(0,Header,-1)</td>
11843         </tr><tr>
11844                 <td class=""Item0"">(1,Item,0)</td>
11845         </tr><tr>
11846                 <td class=""Item1"">(2,Item,1)</td>
11847         </tr><tr>
11848                 <td class=""Item2"">(3,Item,2)</td>
11849         </tr><tr>
11850                 <td class=""Item3"">(4,Item,3)</td>
11851         </tr><tr>
11852                 <td class=""Item4"">(5,Item,4)</td>
11853         </tr>
11854 </table>";
11855                 Assert.AreEqual (exp, v, "#525");
11856         }
11857
11858
11859         [Test]
11860         public void RepeatInfo_2cols_4itms_horiz_tbl_hdr ()
11861         {
11862                 // cols              : 2
11863                 // cnt               : 4
11864                 // RepeatDirection   : Horizontal
11865                 // RepeatLayout      : Table
11866                 // OuterTableImplied : False
11867                 // Header            : True
11868                 // Footer            : False
11869                 // Separator         : False
11870
11871
11872                 string v = RepeatInfoUser.DoTest (2, 4, RepeatDirection.Horizontal, RepeatLayout.Table, false, true, false, false);
11873                 string exp = @"<table class=""mainstyle"">
11874         <tr>
11875                 <td colspan=""2"" class=""Header-1"">(0,Header,-1)</td>
11876         </tr><tr>
11877                 <td class=""Item0"">(1,Item,0)</td><td class=""Item1"">(2,Item,1)</td>
11878         </tr><tr>
11879                 <td class=""Item2"">(3,Item,2)</td><td class=""Item3"">(4,Item,3)</td>
11880         </tr>
11881 </table>";
11882                 Assert.AreEqual (exp, v, "#526");
11883         }
11884
11885
11886         [Test]
11887         public void RepeatInfo_2cols_7itms_horiz_tbl_hdr ()
11888         {
11889                 // cols              : 2
11890                 // cnt               : 7
11891                 // RepeatDirection   : Horizontal
11892                 // RepeatLayout      : Table
11893                 // OuterTableImplied : False
11894                 // Header            : True
11895                 // Footer            : False
11896                 // Separator         : False
11897
11898
11899                 string v = RepeatInfoUser.DoTest (2, 7, RepeatDirection.Horizontal, RepeatLayout.Table, false, true, false, false);
11900                 string exp = @"<table class=""mainstyle"">
11901         <tr>
11902                 <td colspan=""2"" class=""Header-1"">(0,Header,-1)</td>
11903         </tr><tr>
11904                 <td class=""Item0"">(1,Item,0)</td><td class=""Item1"">(2,Item,1)</td>
11905         </tr><tr>
11906                 <td class=""Item2"">(3,Item,2)</td><td class=""Item3"">(4,Item,3)</td>
11907         </tr><tr>
11908                 <td class=""Item4"">(5,Item,4)</td><td class=""Item5"">(6,Item,5)</td>
11909         </tr><tr>
11910                 <td class=""Item6"">(7,Item,6)</td><td></td>
11911         </tr>
11912 </table>";
11913                 Assert.AreEqual (exp, v, "#527");
11914         }
11915
11916
11917         [Test]
11918         public void RepeatInfo_3cols_9itms_horiz_tbl_hdr ()
11919         {
11920                 // cols              : 3
11921                 // cnt               : 9
11922                 // RepeatDirection   : Horizontal
11923                 // RepeatLayout      : Table
11924                 // OuterTableImplied : False
11925                 // Header            : True
11926                 // Footer            : False
11927                 // Separator         : False
11928
11929
11930                 string v = RepeatInfoUser.DoTest (3, 9, RepeatDirection.Horizontal, RepeatLayout.Table, false, true, false, false);
11931                 string exp = @"<table>
11932         <tr>
11933                 <td colspan=""3"" class=""Header-1"">(0,Header,-1)</td>
11934         </tr><tr>
11935                 <td class=""Item0"">(1,Item,0)</td><td class=""Item1"">(2,Item,1)</td><td class=""Item2"">(3,Item,2)</td>
11936         </tr><tr>
11937                 <td class=""Item3"">(4,Item,3)</td><td class=""Item4"">(5,Item,4)</td><td class=""Item5"">(6,Item,5)</td>
11938         </tr><tr>
11939                 <td class=""Item6"">(7,Item,6)</td><td class=""Item7"">(8,Item,7)</td><td class=""Item8"">(9,Item,8)</td>
11940         </tr>
11941 </table>";
11942                 Assert.AreEqual (exp, v, "#528");
11943         }
11944
11945
11946         [Test]
11947         public void RepeatInfo_3cols_7itms_horiz_tbl_hdr ()
11948         {
11949                 // cols              : 3
11950                 // cnt               : 7
11951                 // RepeatDirection   : Horizontal
11952                 // RepeatLayout      : Table
11953                 // OuterTableImplied : False
11954                 // Header            : True
11955                 // Footer            : False
11956                 // Separator         : False
11957
11958
11959                 string v = RepeatInfoUser.DoTest (3, 7, RepeatDirection.Horizontal, RepeatLayout.Table, false, true, false, false);
11960                 string exp = @"<table>
11961         <tr>
11962                 <td colspan=""3"" class=""Header-1"">(0,Header,-1)</td>
11963         </tr><tr>
11964                 <td class=""Item0"">(1,Item,0)</td><td class=""Item1"">(2,Item,1)</td><td class=""Item2"">(3,Item,2)</td>
11965         </tr><tr>
11966                 <td class=""Item3"">(4,Item,3)</td><td class=""Item4"">(5,Item,4)</td><td class=""Item5"">(6,Item,5)</td>
11967         </tr><tr>
11968                 <td class=""Item6"">(7,Item,6)</td><td></td><td></td>
11969         </tr>
11970 </table>";
11971                 Assert.AreEqual (exp, v, "#529");
11972         }
11973
11974
11975         [Test]
11976         public void RepeatInfo_0cols_0itms_vert_tbl_hdr ()
11977         {
11978                 // cols              : 0
11979                 // cnt               : 0
11980                 // RepeatDirection   : Vertical
11981                 // RepeatLayout      : Table
11982                 // OuterTableImplied : False
11983                 // Header            : True
11984                 // Footer            : False
11985                 // Separator         : False
11986
11987
11988                 string v = RepeatInfoUser.DoTest (0, 0, RepeatDirection.Vertical, RepeatLayout.Table, false, true, false, false);
11989                 string exp = @"<table class=""mainstyle"">
11990         <tr>
11991                 <td class=""Header-1"">(0,Header,-1)</td>
11992         </tr>
11993 </table>";
11994                 Assert.AreEqual (exp, v, "#530");
11995         }
11996
11997
11998         [Test]
11999         public void RepeatInfo_0cols_1itms_vert_tbl_hdr ()
12000         {
12001                 // cols              : 0
12002                 // cnt               : 1
12003                 // RepeatDirection   : Vertical
12004                 // RepeatLayout      : Table
12005                 // OuterTableImplied : False
12006                 // Header            : True
12007                 // Footer            : False
12008                 // Separator         : False
12009
12010
12011                 string v = RepeatInfoUser.DoTest (0, 1, RepeatDirection.Vertical, RepeatLayout.Table, false, true, false, false);
12012                 string exp = @"<table class=""mainstyle"">
12013         <tr>
12014                 <td class=""Header-1"">(0,Header,-1)</td>
12015         </tr><tr>
12016                 <td class=""Item0"">(1,Item,0)</td>
12017         </tr>
12018 </table>";
12019                 Assert.AreEqual (exp, v, "#531");
12020         }
12021
12022
12023         [Test]
12024         public void RepeatInfo_0cols_2itms_vert_tbl_hdr ()
12025         {
12026                 // cols              : 0
12027                 // cnt               : 2
12028                 // RepeatDirection   : Vertical
12029                 // RepeatLayout      : Table
12030                 // OuterTableImplied : False
12031                 // Header            : True
12032                 // Footer            : False
12033                 // Separator         : False
12034
12035
12036                 string v = RepeatInfoUser.DoTest (0, 2, RepeatDirection.Vertical, RepeatLayout.Table, false, true, false, false);
12037                 string exp = @"<table class=""mainstyle"">
12038         <tr>
12039                 <td class=""Header-1"">(0,Header,-1)</td>
12040         </tr><tr>
12041                 <td class=""Item0"">(1,Item,0)</td>
12042         </tr><tr>
12043                 <td class=""Item1"">(2,Item,1)</td>
12044         </tr>
12045 </table>";
12046                 Assert.AreEqual (exp, v, "#532");
12047         }
12048
12049
12050         [Test]
12051         public void RepeatInfo_0cols_5itms_vert_tbl_hdr ()
12052         {
12053                 // cols              : 0
12054                 // cnt               : 5
12055                 // RepeatDirection   : Vertical
12056                 // RepeatLayout      : Table
12057                 // OuterTableImplied : False
12058                 // Header            : True
12059                 // Footer            : False
12060                 // Separator         : False
12061
12062
12063                 string v = RepeatInfoUser.DoTest (0, 5, RepeatDirection.Vertical, RepeatLayout.Table, false, true, false, false);
12064                 string exp = @"<table class=""mainstyle"">
12065         <tr>
12066                 <td class=""Header-1"">(0,Header,-1)</td>
12067         </tr><tr>
12068                 <td class=""Item0"">(1,Item,0)</td>
12069         </tr><tr>
12070                 <td class=""Item1"">(2,Item,1)</td>
12071         </tr><tr>
12072                 <td class=""Item2"">(3,Item,2)</td>
12073         </tr><tr>
12074                 <td class=""Item3"">(4,Item,3)</td>
12075         </tr><tr>
12076                 <td class=""Item4"">(5,Item,4)</td>
12077         </tr>
12078 </table>";
12079                 Assert.AreEqual (exp, v, "#533");
12080         }
12081
12082
12083         [Test]
12084         public void RepeatInfo_1cols_0itms_vert_tbl_hdr ()
12085         {
12086                 // cols              : 1
12087                 // cnt               : 0
12088                 // RepeatDirection   : Vertical
12089                 // RepeatLayout      : Table
12090                 // OuterTableImplied : False
12091                 // Header            : True
12092                 // Footer            : False
12093                 // Separator         : False
12094
12095
12096                 string v = RepeatInfoUser.DoTest (1, 0, RepeatDirection.Vertical, RepeatLayout.Table, false, true, false, false);
12097                 string exp = @"<table class=""mainstyle"">
12098         <tr>
12099                 <td class=""Header-1"">(0,Header,-1)</td>
12100         </tr>
12101 </table>";
12102                 Assert.AreEqual (exp, v, "#534");
12103         }
12104
12105
12106         [Test]
12107         public void RepeatInfo_1cols_5itms_vert_tbl_hdr ()
12108         {
12109                 // cols              : 1
12110                 // cnt               : 5
12111                 // RepeatDirection   : Vertical
12112                 // RepeatLayout      : Table
12113                 // OuterTableImplied : False
12114                 // Header            : True
12115                 // Footer            : False
12116                 // Separator         : False
12117
12118
12119                 string v = RepeatInfoUser.DoTest (1, 5, RepeatDirection.Vertical, RepeatLayout.Table, false, true, false, false);
12120                 string exp = @"<table class=""mainstyle"">
12121         <tr>
12122                 <td class=""Header-1"">(0,Header,-1)</td>
12123         </tr><tr>
12124                 <td class=""Item0"">(1,Item,0)</td>
12125         </tr><tr>
12126                 <td class=""Item1"">(2,Item,1)</td>
12127         </tr><tr>
12128                 <td class=""Item2"">(3,Item,2)</td>
12129         </tr><tr>
12130                 <td class=""Item3"">(4,Item,3)</td>
12131         </tr><tr>
12132                 <td class=""Item4"">(5,Item,4)</td>
12133         </tr>
12134 </table>";
12135                 Assert.AreEqual (exp, v, "#535");
12136         }
12137
12138
12139         [Test]
12140         public void RepeatInfo_2cols_4itms_vert_tbl_hdr ()
12141         {
12142                 // cols              : 2
12143                 // cnt               : 4
12144                 // RepeatDirection   : Vertical
12145                 // RepeatLayout      : Table
12146                 // OuterTableImplied : False
12147                 // Header            : True
12148                 // Footer            : False
12149                 // Separator         : False
12150
12151
12152                 string v = RepeatInfoUser.DoTest (2, 4, RepeatDirection.Vertical, RepeatLayout.Table, false, true, false, false);
12153                 string exp = @"<table class=""mainstyle"">
12154         <tr>
12155                 <td colspan=""2"" class=""Header-1"">(0,Header,-1)</td>
12156         </tr><tr>
12157                 <td class=""Item0"">(1,Item,0)</td><td class=""Item2"">(2,Item,2)</td>
12158         </tr><tr>
12159                 <td class=""Item1"">(3,Item,1)</td><td class=""Item3"">(4,Item,3)</td>
12160         </tr>
12161 </table>";
12162                 Assert.AreEqual (exp, v, "#536");
12163         }
12164
12165
12166         [Test]
12167         public void RepeatInfo_2cols_7itms_vert_tbl_hdr ()
12168         {
12169                 // cols              : 2
12170                 // cnt               : 7
12171                 // RepeatDirection   : Vertical
12172                 // RepeatLayout      : Table
12173                 // OuterTableImplied : False
12174                 // Header            : True
12175                 // Footer            : False
12176                 // Separator         : False
12177
12178
12179                 string v = RepeatInfoUser.DoTest (2, 7, RepeatDirection.Vertical, RepeatLayout.Table, false, true, false, false);
12180                 string exp = @"<table class=""mainstyle"">
12181         <tr>
12182                 <td colspan=""2"" class=""Header-1"">(0,Header,-1)</td>
12183         </tr><tr>
12184                 <td class=""Item0"">(1,Item,0)</td><td class=""Item4"">(2,Item,4)</td>
12185         </tr><tr>
12186                 <td class=""Item1"">(3,Item,1)</td><td class=""Item5"">(4,Item,5)</td>
12187         </tr><tr>
12188                 <td class=""Item2"">(5,Item,2)</td><td class=""Item6"">(6,Item,6)</td>
12189         </tr><tr>
12190                 <td class=""Item3"">(7,Item,3)</td><td></td>
12191         </tr>
12192 </table>";
12193                 Assert.AreEqual (exp, v, "#537");
12194         }
12195
12196
12197         [Test]
12198         public void RepeatInfo_3cols_9itms_vert_tbl_hdr ()
12199         {
12200                 // cols              : 3
12201                 // cnt               : 9
12202                 // RepeatDirection   : Vertical
12203                 // RepeatLayout      : Table
12204                 // OuterTableImplied : False
12205                 // Header            : True
12206                 // Footer            : False
12207                 // Separator         : False
12208
12209
12210                 string v = RepeatInfoUser.DoTest (3, 9, RepeatDirection.Vertical, RepeatLayout.Table, false, true, false, false);
12211                 string exp = @"<table>
12212         <tr>
12213                 <td colspan=""3"" class=""Header-1"">(0,Header,-1)</td>
12214         </tr><tr>
12215                 <td class=""Item0"">(1,Item,0)</td><td class=""Item3"">(2,Item,3)</td><td class=""Item6"">(3,Item,6)</td>
12216         </tr><tr>
12217                 <td class=""Item1"">(4,Item,1)</td><td class=""Item4"">(5,Item,4)</td><td class=""Item7"">(6,Item,7)</td>
12218         </tr><tr>
12219                 <td class=""Item2"">(7,Item,2)</td><td class=""Item5"">(8,Item,5)</td><td class=""Item8"">(9,Item,8)</td>
12220         </tr>
12221 </table>";
12222                 Assert.AreEqual (exp, v, "#538");
12223         }
12224
12225
12226         [Test]
12227         public void RepeatInfo_3cols_7itms_vert_tbl_hdr ()
12228         {
12229                 // cols              : 3
12230                 // cnt               : 7
12231                 // RepeatDirection   : Vertical
12232                 // RepeatLayout      : Table
12233                 // OuterTableImplied : False
12234                 // Header            : True
12235                 // Footer            : False
12236                 // Separator         : False
12237
12238
12239                 string v = RepeatInfoUser.DoTest (3, 7, RepeatDirection.Vertical, RepeatLayout.Table, false, true, false, false);
12240                 string exp = @"<table>
12241         <tr>
12242                 <td colspan=""3"" class=""Header-1"">(0,Header,-1)</td>
12243         </tr><tr>
12244                 <td class=""Item0"">(1,Item,0)</td><td class=""Item3"">(2,Item,3)</td><td class=""Item5"">(3,Item,5)</td>
12245         </tr><tr>
12246                 <td class=""Item1"">(4,Item,1)</td><td class=""Item4"">(5,Item,4)</td><td class=""Item6"">(6,Item,6)</td>
12247         </tr><tr>
12248                 <td class=""Item2"">(7,Item,2)</td><td></td><td></td>
12249         </tr>
12250 </table>";
12251                 Assert.AreEqual (exp, v, "#539");
12252         }
12253
12254
12255         [Test]
12256         public void RepeatInfo_0cols_0itms_horiz_flow_hdr ()
12257         {
12258                 // cols              : 0
12259                 // cnt               : 0
12260                 // RepeatDirection   : Horizontal
12261                 // RepeatLayout      : Flow
12262                 // OuterTableImplied : False
12263                 // Header            : True
12264                 // Footer            : False
12265                 // Separator         : False
12266
12267
12268                 string v = RepeatInfoUser.DoTest (0, 0, RepeatDirection.Horizontal, RepeatLayout.Flow, false, true, false, false);
12269                 string exp = @"<span class=""mainstyle"">(0,Header,-1)</span>";
12270                 Assert.AreEqual (exp, v, "#540");
12271         }
12272
12273
12274         [Test]
12275         public void RepeatInfo_0cols_1itms_horiz_flow_hdr ()
12276         {
12277                 // cols              : 0
12278                 // cnt               : 1
12279                 // RepeatDirection   : Horizontal
12280                 // RepeatLayout      : Flow
12281                 // OuterTableImplied : False
12282                 // Header            : True
12283                 // Footer            : False
12284                 // Separator         : False
12285
12286
12287                 string v = RepeatInfoUser.DoTest (0, 1, RepeatDirection.Horizontal, RepeatLayout.Flow, false, true, false, false);
12288                 string exp = @"<span class=""mainstyle"">(0,Header,-1)(1,Item,0)</span>";
12289                 Assert.AreEqual (exp, v, "#541");
12290         }
12291
12292
12293         [Test]
12294         public void RepeatInfo_0cols_2itms_horiz_flow_hdr ()
12295         {
12296                 // cols              : 0
12297                 // cnt               : 2
12298                 // RepeatDirection   : Horizontal
12299                 // RepeatLayout      : Flow
12300                 // OuterTableImplied : False
12301                 // Header            : True
12302                 // Footer            : False
12303                 // Separator         : False
12304
12305
12306                 string v = RepeatInfoUser.DoTest (0, 2, RepeatDirection.Horizontal, RepeatLayout.Flow, false, true, false, false);
12307                 string exp = @"<span class=""mainstyle"">(0,Header,-1)(1,Item,0)(2,Item,1)</span>";
12308                 Assert.AreEqual (exp, v, "#542");
12309         }
12310
12311
12312         [Test]
12313         public void RepeatInfo_0cols_5itms_horiz_flow_hdr ()
12314         {
12315                 // cols              : 0
12316                 // cnt               : 5
12317                 // RepeatDirection   : Horizontal
12318                 // RepeatLayout      : Flow
12319                 // OuterTableImplied : False
12320                 // Header            : True
12321                 // Footer            : False
12322                 // Separator         : False
12323
12324
12325                 string v = RepeatInfoUser.DoTest (0, 5, RepeatDirection.Horizontal, RepeatLayout.Flow, false, true, false, false);
12326                 string exp = @"<span class=""mainstyle"">(0,Header,-1)(1,Item,0)(2,Item,1)(3,Item,2)(4,Item,3)(5,Item,4)</span>";
12327                 Assert.AreEqual (exp, v, "#543");
12328         }
12329
12330
12331         [Test]
12332         public void RepeatInfo_1cols_0itms_horiz_flow_hdr ()
12333         {
12334                 // cols              : 1
12335                 // cnt               : 0
12336                 // RepeatDirection   : Horizontal
12337                 // RepeatLayout      : Flow
12338                 // OuterTableImplied : False
12339                 // Header            : True
12340                 // Footer            : False
12341                 // Separator         : False
12342
12343
12344                 string v = RepeatInfoUser.DoTest (1, 0, RepeatDirection.Horizontal, RepeatLayout.Flow, false, true, false, false);
12345                 string exp = @"<span class=""mainstyle"">(0,Header,-1)</span>";
12346                 Assert.AreEqual (exp, v, "#544");
12347         }
12348
12349
12350         [Test]
12351         public void RepeatInfo_1cols_5itms_horiz_flow_hdr ()
12352         {
12353                 // cols              : 1
12354                 // cnt               : 5
12355                 // RepeatDirection   : Horizontal
12356                 // RepeatLayout      : Flow
12357                 // OuterTableImplied : False
12358                 // Header            : True
12359                 // Footer            : False
12360                 // Separator         : False
12361
12362
12363                 string v = RepeatInfoUser.DoTest (1, 5, RepeatDirection.Horizontal, RepeatLayout.Flow, false, true, false, false);
12364                 string exp = @"<span class=""mainstyle"">(0,Header,-1)<br />(1,Item,0)<br />(2,Item,1)<br />(3,Item,2)<br />(4,Item,3)<br />(5,Item,4)<br /></span>";
12365                 Assert.AreEqual (exp, v, "#545");
12366         }
12367
12368
12369         [Test]
12370         public void RepeatInfo_2cols_4itms_horiz_flow_hdr ()
12371         {
12372                 // cols              : 2
12373                 // cnt               : 4
12374                 // RepeatDirection   : Horizontal
12375                 // RepeatLayout      : Flow
12376                 // OuterTableImplied : False
12377                 // Header            : True
12378                 // Footer            : False
12379                 // Separator         : False
12380
12381
12382                 string v = RepeatInfoUser.DoTest (2, 4, RepeatDirection.Horizontal, RepeatLayout.Flow, false, true, false, false);
12383                 string exp = @"<span class=""mainstyle"">(0,Header,-1)<br />(1,Item,0)(2,Item,1)<br />(3,Item,2)(4,Item,3)<br /></span>";
12384                 Assert.AreEqual (exp, v, "#546");
12385         }
12386
12387
12388         [Test]
12389         public void RepeatInfo_2cols_7itms_horiz_flow_hdr ()
12390         {
12391                 // cols              : 2
12392                 // cnt               : 7
12393                 // RepeatDirection   : Horizontal
12394                 // RepeatLayout      : Flow
12395                 // OuterTableImplied : False
12396                 // Header            : True
12397                 // Footer            : False
12398                 // Separator         : False
12399
12400
12401                 string v = RepeatInfoUser.DoTest (2, 7, RepeatDirection.Horizontal, RepeatLayout.Flow, false, true, false, false);
12402                 string exp = @"<span class=""mainstyle"">(0,Header,-1)<br />(1,Item,0)(2,Item,1)<br />(3,Item,2)(4,Item,3)<br />(5,Item,4)(6,Item,5)<br />(7,Item,6)<br /></span>";
12403                 Assert.AreEqual (exp, v, "#547");
12404         }
12405
12406
12407         [Test]
12408         public void RepeatInfo_3cols_9itms_horiz_flow_hdr ()
12409         {
12410                 // cols              : 3
12411                 // cnt               : 9
12412                 // RepeatDirection   : Horizontal
12413                 // RepeatLayout      : Flow
12414                 // OuterTableImplied : False
12415                 // Header            : True
12416                 // Footer            : False
12417                 // Separator         : False
12418
12419
12420                 string v = RepeatInfoUser.DoTest (3, 9, RepeatDirection.Horizontal, RepeatLayout.Flow, false, true, false, false);
12421                 string exp = @"<span>(0,Header,-1)<br />(1,Item,0)(2,Item,1)(3,Item,2)<br />(4,Item,3)(5,Item,4)(6,Item,5)<br />(7,Item,6)(8,Item,7)(9,Item,8)<br /></span>";
12422                 Assert.AreEqual (exp, v, "#548");
12423         }
12424
12425
12426         [Test]
12427         public void RepeatInfo_3cols_7itms_horiz_flow_hdr ()
12428         {
12429                 // cols              : 3
12430                 // cnt               : 7
12431                 // RepeatDirection   : Horizontal
12432                 // RepeatLayout      : Flow
12433                 // OuterTableImplied : False
12434                 // Header            : True
12435                 // Footer            : False
12436                 // Separator         : False
12437
12438
12439                 string v = RepeatInfoUser.DoTest (3, 7, RepeatDirection.Horizontal, RepeatLayout.Flow, false, true, false, false);
12440                 string exp = @"<span>(0,Header,-1)<br />(1,Item,0)(2,Item,1)(3,Item,2)<br />(4,Item,3)(5,Item,4)(6,Item,5)<br />(7,Item,6)<br /></span>";
12441                 Assert.AreEqual (exp, v, "#549");
12442         }
12443
12444
12445         [Test]
12446         public void RepeatInfo_0cols_0itms_vert_flow_hdr ()
12447         {
12448                 // cols              : 0
12449                 // cnt               : 0
12450                 // RepeatDirection   : Vertical
12451                 // RepeatLayout      : Flow
12452                 // OuterTableImplied : False
12453                 // Header            : True
12454                 // Footer            : False
12455                 // Separator         : False
12456
12457
12458                 string v = RepeatInfoUser.DoTest (0, 0, RepeatDirection.Vertical, RepeatLayout.Flow, false, true, false, false);
12459                 string exp = @"<span class=""mainstyle"">(0,Header,-1)<br /></span>";
12460                 Assert.AreEqual (exp, v, "#550");
12461         }
12462
12463
12464         [Test]
12465         public void RepeatInfo_0cols_1itms_vert_flow_hdr ()
12466         {
12467                 // cols              : 0
12468                 // cnt               : 1
12469                 // RepeatDirection   : Vertical
12470                 // RepeatLayout      : Flow
12471                 // OuterTableImplied : False
12472                 // Header            : True
12473                 // Footer            : False
12474                 // Separator         : False
12475
12476
12477                 string v = RepeatInfoUser.DoTest (0, 1, RepeatDirection.Vertical, RepeatLayout.Flow, false, true, false, false);
12478                 string exp = @"<span class=""mainstyle"">(0,Header,-1)<br />(1,Item,0)</span>";
12479                 Assert.AreEqual (exp, v, "#551");
12480         }
12481
12482
12483         [Test]
12484         public void RepeatInfo_0cols_2itms_vert_flow_hdr ()
12485         {
12486                 // cols              : 0
12487                 // cnt               : 2
12488                 // RepeatDirection   : Vertical
12489                 // RepeatLayout      : Flow
12490                 // OuterTableImplied : False
12491                 // Header            : True
12492                 // Footer            : False
12493                 // Separator         : False
12494
12495
12496                 string v = RepeatInfoUser.DoTest (0, 2, RepeatDirection.Vertical, RepeatLayout.Flow, false, true, false, false);
12497                 string exp = @"<span class=""mainstyle"">(0,Header,-1)<br />(1,Item,0)<br />(2,Item,1)</span>";
12498                 Assert.AreEqual (exp, v, "#552");
12499         }
12500
12501
12502         [Test]
12503         public void RepeatInfo_0cols_5itms_vert_flow_hdr ()
12504         {
12505                 // cols              : 0
12506                 // cnt               : 5
12507                 // RepeatDirection   : Vertical
12508                 // RepeatLayout      : Flow
12509                 // OuterTableImplied : False
12510                 // Header            : True
12511                 // Footer            : False
12512                 // Separator         : False
12513
12514
12515                 string v = RepeatInfoUser.DoTest (0, 5, RepeatDirection.Vertical, RepeatLayout.Flow, false, true, false, false);
12516                 string exp = @"<span class=""mainstyle"">(0,Header,-1)<br />(1,Item,0)<br />(2,Item,1)<br />(3,Item,2)<br />(4,Item,3)<br />(5,Item,4)</span>";
12517                 Assert.AreEqual (exp, v, "#553");
12518         }
12519
12520
12521         [Test]
12522         public void RepeatInfo_1cols_0itms_vert_flow_hdr ()
12523         {
12524                 // cols              : 1
12525                 // cnt               : 0
12526                 // RepeatDirection   : Vertical
12527                 // RepeatLayout      : Flow
12528                 // OuterTableImplied : False
12529                 // Header            : True
12530                 // Footer            : False
12531                 // Separator         : False
12532
12533
12534                 string v = RepeatInfoUser.DoTest (1, 0, RepeatDirection.Vertical, RepeatLayout.Flow, false, true, false, false);
12535                 string exp = @"<span class=""mainstyle"">(0,Header,-1)<br /></span>";
12536                 Assert.AreEqual (exp, v, "#554");
12537         }
12538
12539
12540         [Test]
12541         public void RepeatInfo_1cols_5itms_vert_flow_hdr ()
12542         {
12543                 // cols              : 1
12544                 // cnt               : 5
12545                 // RepeatDirection   : Vertical
12546                 // RepeatLayout      : Flow
12547                 // OuterTableImplied : False
12548                 // Header            : True
12549                 // Footer            : False
12550                 // Separator         : False
12551
12552
12553                 string v = RepeatInfoUser.DoTest (1, 5, RepeatDirection.Vertical, RepeatLayout.Flow, false, true, false, false);
12554                 string exp = @"<span class=""mainstyle"">(0,Header,-1)<br />(1,Item,0)<br />(2,Item,1)<br />(3,Item,2)<br />(4,Item,3)<br />(5,Item,4)</span>";
12555                 Assert.AreEqual (exp, v, "#555");
12556         }
12557
12558
12559         [Test]
12560         public void RepeatInfo_2cols_4itms_vert_flow_hdr ()
12561         {
12562                 // cols              : 2
12563                 // cnt               : 4
12564                 // RepeatDirection   : Vertical
12565                 // RepeatLayout      : Flow
12566                 // OuterTableImplied : False
12567                 // Header            : True
12568                 // Footer            : False
12569                 // Separator         : False
12570
12571
12572                 string v = RepeatInfoUser.DoTest (2, 4, RepeatDirection.Vertical, RepeatLayout.Flow, false, true, false, false);
12573                 string exp = @"<span class=""mainstyle"">(0,Header,-1)<br />(1,Item,0)(2,Item,2)<br />(3,Item,1)(4,Item,3)</span>";
12574                 Assert.AreEqual (exp, v, "#556");
12575         }
12576
12577
12578         [Test]
12579         public void RepeatInfo_2cols_7itms_vert_flow_hdr ()
12580         {
12581                 // cols              : 2
12582                 // cnt               : 7
12583                 // RepeatDirection   : Vertical
12584                 // RepeatLayout      : Flow
12585                 // OuterTableImplied : False
12586                 // Header            : True
12587                 // Footer            : False
12588                 // Separator         : False
12589
12590
12591                 string v = RepeatInfoUser.DoTest (2, 7, RepeatDirection.Vertical, RepeatLayout.Flow, false, true, false, false);
12592                 string exp = @"<span class=""mainstyle"">(0,Header,-1)<br />(1,Item,0)(2,Item,4)<br />(3,Item,1)(4,Item,5)<br />(5,Item,2)(6,Item,6)<br />(7,Item,3)</span>";
12593                 Assert.AreEqual (exp, v, "#557");
12594         }
12595
12596
12597         [Test]
12598         public void RepeatInfo_3cols_9itms_vert_flow_hdr ()
12599         {
12600                 // cols              : 3
12601                 // cnt               : 9
12602                 // RepeatDirection   : Vertical
12603                 // RepeatLayout      : Flow
12604                 // OuterTableImplied : False
12605                 // Header            : True
12606                 // Footer            : False
12607                 // Separator         : False
12608
12609
12610                 string v = RepeatInfoUser.DoTest (3, 9, RepeatDirection.Vertical, RepeatLayout.Flow, false, true, false, false);
12611                 string exp = @"<span>(0,Header,-1)<br />(1,Item,0)(2,Item,3)(3,Item,6)<br />(4,Item,1)(5,Item,4)(6,Item,7)<br />(7,Item,2)(8,Item,5)(9,Item,8)</span>";
12612                 Assert.AreEqual (exp, v, "#558");
12613         }
12614
12615
12616         [Test]
12617         public void RepeatInfo_3cols_7itms_vert_flow_hdr ()
12618         {
12619                 // cols              : 3
12620                 // cnt               : 7
12621                 // RepeatDirection   : Vertical
12622                 // RepeatLayout      : Flow
12623                 // OuterTableImplied : False
12624                 // Header            : True
12625                 // Footer            : False
12626                 // Separator         : False
12627
12628
12629                 string v = RepeatInfoUser.DoTest (3, 7, RepeatDirection.Vertical, RepeatLayout.Flow, false, true, false, false);
12630                 string exp = @"<span>(0,Header,-1)<br />(1,Item,0)(2,Item,3)(3,Item,5)<br />(4,Item,1)(5,Item,4)(6,Item,6)<br />(7,Item,2)</span>";
12631                 Assert.AreEqual (exp, v, "#559");
12632         }
12633
12634
12635         [Test]
12636         public void RepeatInfo_0cols_0itms_horiz_tbl_otrtblimp ()
12637         {
12638                 // cols              : 0
12639                 // cnt               : 0
12640                 // RepeatDirection   : Horizontal
12641                 // RepeatLayout      : Table
12642                 // OuterTableImplied : True
12643                 // Header            : False
12644                 // Footer            : False
12645                 // Separator         : False
12646
12647
12648                 string v = RepeatInfoUser.DoTest (0, 0, RepeatDirection.Horizontal, RepeatLayout.Table, true, false, false, false);
12649                 string exp = @"<table class=""mainstyle"">
12650
12651 </table>";
12652                 Assert.AreEqual (exp, v, "#560");
12653         }
12654
12655
12656         [Test]
12657         public void RepeatInfo_0cols_1itms_horiz_tbl_otrtblimp ()
12658         {
12659                 // cols              : 0
12660                 // cnt               : 1
12661                 // RepeatDirection   : Horizontal
12662                 // RepeatLayout      : Table
12663                 // OuterTableImplied : True
12664                 // Header            : False
12665                 // Footer            : False
12666                 // Separator         : False
12667
12668
12669                 string v = RepeatInfoUser.DoTest (0, 1, RepeatDirection.Horizontal, RepeatLayout.Table, true, false, false, false);
12670                 string exp = @"<table class=""mainstyle"">
12671         <tr>
12672                 <td class=""Item0"">(0,Item,0)</td>
12673         </tr>
12674 </table>";
12675                 Assert.AreEqual (exp, v, "#561");
12676         }
12677
12678
12679         [Test]
12680         public void RepeatInfo_0cols_2itms_horiz_tbl_otrtblimp ()
12681         {
12682                 // cols              : 0
12683                 // cnt               : 2
12684                 // RepeatDirection   : Horizontal
12685                 // RepeatLayout      : Table
12686                 // OuterTableImplied : True
12687                 // Header            : False
12688                 // Footer            : False
12689                 // Separator         : False
12690
12691
12692                 string v = RepeatInfoUser.DoTest (0, 2, RepeatDirection.Horizontal, RepeatLayout.Table, true, false, false, false);
12693                 string exp = @"<table class=""mainstyle"">
12694         <tr>
12695                 <td class=""Item0"">(0,Item,0)</td><td class=""Item1"">(1,Item,1)</td>
12696         </tr>
12697 </table>";
12698                 Assert.AreEqual (exp, v, "#562");
12699         }
12700
12701
12702         [Test]
12703         public void RepeatInfo_0cols_5itms_horiz_tbl_otrtblimp ()
12704         {
12705                 // cols              : 0
12706                 // cnt               : 5
12707                 // RepeatDirection   : Horizontal
12708                 // RepeatLayout      : Table
12709                 // OuterTableImplied : True
12710                 // Header            : False
12711                 // Footer            : False
12712                 // Separator         : False
12713
12714
12715                 string v = RepeatInfoUser.DoTest (0, 5, RepeatDirection.Horizontal, RepeatLayout.Table, true, false, false, false);
12716                 string exp = @"<table class=""mainstyle"">
12717         <tr>
12718                 <td class=""Item0"">(0,Item,0)</td><td class=""Item1"">(1,Item,1)</td><td class=""Item2"">(2,Item,2)</td><td class=""Item3"">(3,Item,3)</td><td class=""Item4"">(4,Item,4)</td>
12719         </tr>
12720 </table>";
12721                 Assert.AreEqual (exp, v, "#563");
12722         }
12723
12724
12725         [Test]
12726         public void RepeatInfo_1cols_0itms_horiz_tbl_otrtblimp ()
12727         {
12728                 // cols              : 1
12729                 // cnt               : 0
12730                 // RepeatDirection   : Horizontal
12731                 // RepeatLayout      : Table
12732                 // OuterTableImplied : True
12733                 // Header            : False
12734                 // Footer            : False
12735                 // Separator         : False
12736
12737
12738                 string v = RepeatInfoUser.DoTest (1, 0, RepeatDirection.Horizontal, RepeatLayout.Table, true, false, false, false);
12739                 string exp = @"<table class=""mainstyle"">
12740
12741 </table>";
12742                 Assert.AreEqual (exp, v, "#564");
12743         }
12744
12745
12746         [Test]
12747         public void RepeatInfo_1cols_5itms_horiz_tbl_otrtblimp ()
12748         {
12749                 // cols              : 1
12750                 // cnt               : 5
12751                 // RepeatDirection   : Horizontal
12752                 // RepeatLayout      : Table
12753                 // OuterTableImplied : True
12754                 // Header            : False
12755                 // Footer            : False
12756                 // Separator         : False
12757
12758
12759                 string v = RepeatInfoUser.DoTest (1, 5, RepeatDirection.Horizontal, RepeatLayout.Table, true, false, false, false);
12760                 string exp = @"<table class=""mainstyle"">
12761         <tr>
12762                 <td class=""Item0"">(0,Item,0)</td>
12763         </tr><tr>
12764                 <td class=""Item1"">(1,Item,1)</td>
12765         </tr><tr>
12766                 <td class=""Item2"">(2,Item,2)</td>
12767         </tr><tr>
12768                 <td class=""Item3"">(3,Item,3)</td>
12769         </tr><tr>
12770                 <td class=""Item4"">(4,Item,4)</td>
12771         </tr>
12772 </table>";
12773                 Assert.AreEqual (exp, v, "#565");
12774         }
12775
12776
12777         [Test]
12778         public void RepeatInfo_2cols_4itms_horiz_tbl_otrtblimp ()
12779         {
12780                 // cols              : 2
12781                 // cnt               : 4
12782                 // RepeatDirection   : Horizontal
12783                 // RepeatLayout      : Table
12784                 // OuterTableImplied : True
12785                 // Header            : False
12786                 // Footer            : False
12787                 // Separator         : False
12788
12789
12790                 string v = RepeatInfoUser.DoTest (2, 4, RepeatDirection.Horizontal, RepeatLayout.Table, true, false, false, false);
12791                 string exp = @"<table class=""mainstyle"">
12792         <tr>
12793                 <td class=""Item0"">(0,Item,0)</td><td class=""Item1"">(1,Item,1)</td>
12794         </tr><tr>
12795                 <td class=""Item2"">(2,Item,2)</td><td class=""Item3"">(3,Item,3)</td>
12796         </tr>
12797 </table>";
12798                 Assert.AreEqual (exp, v, "#566");
12799         }
12800
12801
12802         [Test]
12803         public void RepeatInfo_2cols_7itms_horiz_tbl_otrtblimp ()
12804         {
12805                 // cols              : 2
12806                 // cnt               : 7
12807                 // RepeatDirection   : Horizontal
12808                 // RepeatLayout      : Table
12809                 // OuterTableImplied : True
12810                 // Header            : False
12811                 // Footer            : False
12812                 // Separator         : False
12813
12814
12815                 string v = RepeatInfoUser.DoTest (2, 7, RepeatDirection.Horizontal, RepeatLayout.Table, true, false, false, false);
12816                 string exp = @"<table class=""mainstyle"">
12817         <tr>
12818                 <td class=""Item0"">(0,Item,0)</td><td class=""Item1"">(1,Item,1)</td>
12819         </tr><tr>
12820                 <td class=""Item2"">(2,Item,2)</td><td class=""Item3"">(3,Item,3)</td>
12821         </tr><tr>
12822                 <td class=""Item4"">(4,Item,4)</td><td class=""Item5"">(5,Item,5)</td>
12823         </tr><tr>
12824                 <td class=""Item6"">(6,Item,6)</td><td></td>
12825         </tr>
12826 </table>";
12827                 Assert.AreEqual (exp, v, "#567");
12828         }
12829
12830
12831         [Test]
12832         public void RepeatInfo_3cols_9itms_horiz_tbl_otrtblimp ()
12833         {
12834                 // cols              : 3
12835                 // cnt               : 9
12836                 // RepeatDirection   : Horizontal
12837                 // RepeatLayout      : Table
12838                 // OuterTableImplied : True
12839                 // Header            : False
12840                 // Footer            : False
12841                 // Separator         : False
12842
12843
12844                 string v = RepeatInfoUser.DoTest (3, 9, RepeatDirection.Horizontal, RepeatLayout.Table, true, false, false, false);
12845                 string exp = @"<table>
12846         <tr>
12847                 <td class=""Item0"">(0,Item,0)</td><td class=""Item1"">(1,Item,1)</td><td class=""Item2"">(2,Item,2)</td>
12848         </tr><tr>
12849                 <td class=""Item3"">(3,Item,3)</td><td class=""Item4"">(4,Item,4)</td><td class=""Item5"">(5,Item,5)</td>
12850         </tr><tr>
12851                 <td class=""Item6"">(6,Item,6)</td><td class=""Item7"">(7,Item,7)</td><td class=""Item8"">(8,Item,8)</td>
12852         </tr>
12853 </table>";
12854                 Assert.AreEqual (exp, v, "#568");
12855         }
12856
12857
12858         [Test]
12859         public void RepeatInfo_3cols_7itms_horiz_tbl_otrtblimp ()
12860         {
12861                 // cols              : 3
12862                 // cnt               : 7
12863                 // RepeatDirection   : Horizontal
12864                 // RepeatLayout      : Table
12865                 // OuterTableImplied : True
12866                 // Header            : False
12867                 // Footer            : False
12868                 // Separator         : False
12869
12870
12871                 string v = RepeatInfoUser.DoTest (3, 7, RepeatDirection.Horizontal, RepeatLayout.Table, true, false, false, false);
12872                 string exp = @"<table>
12873         <tr>
12874                 <td class=""Item0"">(0,Item,0)</td><td class=""Item1"">(1,Item,1)</td><td class=""Item2"">(2,Item,2)</td>
12875         </tr><tr>
12876                 <td class=""Item3"">(3,Item,3)</td><td class=""Item4"">(4,Item,4)</td><td class=""Item5"">(5,Item,5)</td>
12877         </tr><tr>
12878                 <td class=""Item6"">(6,Item,6)</td><td></td><td></td>
12879         </tr>
12880 </table>";
12881                 Assert.AreEqual (exp, v, "#569");
12882         }
12883
12884
12885         [Test]
12886         public void RepeatInfo_0cols_0itms_vert_tbl_otrtblimp ()
12887         {
12888                 // cols              : 0
12889                 // cnt               : 0
12890                 // RepeatDirection   : Vertical
12891                 // RepeatLayout      : Table
12892                 // OuterTableImplied : True
12893                 // Header            : False
12894                 // Footer            : False
12895                 // Separator         : False
12896
12897
12898                 string v = RepeatInfoUser.DoTest (0, 0, RepeatDirection.Vertical, RepeatLayout.Table, true, false, false, false);
12899                 string exp = @"";
12900                 Assert.AreEqual (exp, v, "#570");
12901         }
12902
12903
12904         [Test]
12905         public void RepeatInfo_0cols_1itms_vert_tbl_otrtblimp ()
12906         {
12907                 // cols              : 0
12908                 // cnt               : 1
12909                 // RepeatDirection   : Vertical
12910                 // RepeatLayout      : Table
12911                 // OuterTableImplied : True
12912                 // Header            : False
12913                 // Footer            : False
12914                 // Separator         : False
12915
12916
12917                 string v = RepeatInfoUser.DoTest (0, 1, RepeatDirection.Vertical, RepeatLayout.Table, true, false, false, false);
12918                 string exp = @"(0,Item,0)";
12919                 Assert.AreEqual (exp, v, "#571");
12920         }
12921
12922
12923         [Test]
12924         public void RepeatInfo_0cols_2itms_vert_tbl_otrtblimp ()
12925         {
12926                 // cols              : 0
12927                 // cnt               : 2
12928                 // RepeatDirection   : Vertical
12929                 // RepeatLayout      : Table
12930                 // OuterTableImplied : True
12931                 // Header            : False
12932                 // Footer            : False
12933                 // Separator         : False
12934
12935
12936                 string v = RepeatInfoUser.DoTest (0, 2, RepeatDirection.Vertical, RepeatLayout.Table, true, false, false, false);
12937                 string exp = @"(0,Item,0)(1,Item,1)";
12938                 Assert.AreEqual (exp, v, "#572");
12939         }
12940
12941
12942         [Test]
12943         public void RepeatInfo_0cols_5itms_vert_tbl_otrtblimp ()
12944         {
12945                 // cols              : 0
12946                 // cnt               : 5
12947                 // RepeatDirection   : Vertical
12948                 // RepeatLayout      : Table
12949                 // OuterTableImplied : True
12950                 // Header            : False
12951                 // Footer            : False
12952                 // Separator         : False
12953
12954
12955                 string v = RepeatInfoUser.DoTest (0, 5, RepeatDirection.Vertical, RepeatLayout.Table, true, false, false, false);
12956                 string exp = @"(0,Item,0)(1,Item,1)(2,Item,2)(3,Item,3)(4,Item,4)";
12957                 Assert.AreEqual (exp, v, "#573");
12958         }
12959
12960
12961         [Test]
12962         public void RepeatInfo_1cols_0itms_vert_tbl_otrtblimp ()
12963         {
12964                 // cols              : 1
12965                 // cnt               : 0
12966                 // RepeatDirection   : Vertical
12967                 // RepeatLayout      : Table
12968                 // OuterTableImplied : True
12969                 // Header            : False
12970                 // Footer            : False
12971                 // Separator         : False
12972
12973
12974                 string v = RepeatInfoUser.DoTest (1, 0, RepeatDirection.Vertical, RepeatLayout.Table, true, false, false, false);
12975                 string exp = @"";
12976                 Assert.AreEqual (exp, v, "#574");
12977         }
12978
12979
12980         [Test]
12981         public void RepeatInfo_1cols_5itms_vert_tbl_otrtblimp ()
12982         {
12983                 // cols              : 1
12984                 // cnt               : 5
12985                 // RepeatDirection   : Vertical
12986                 // RepeatLayout      : Table
12987                 // OuterTableImplied : True
12988                 // Header            : False
12989                 // Footer            : False
12990                 // Separator         : False
12991
12992
12993                 string v = RepeatInfoUser.DoTest (1, 5, RepeatDirection.Vertical, RepeatLayout.Table, true, false, false, false);
12994                 string exp = @"(0,Item,0)(1,Item,1)(2,Item,2)(3,Item,3)(4,Item,4)";
12995                 Assert.AreEqual (exp, v, "#575");
12996         }
12997
12998
12999         [Test]
13000         public void RepeatInfo_2cols_4itms_vert_tbl_otrtblimp ()
13001         {
13002                 // cols              : 2
13003                 // cnt               : 4
13004                 // RepeatDirection   : Vertical
13005                 // RepeatLayout      : Table
13006                 // OuterTableImplied : True
13007                 // Header            : False
13008                 // Footer            : False
13009                 // Separator         : False
13010
13011
13012                 string v = RepeatInfoUser.DoTest (2, 4, RepeatDirection.Vertical, RepeatLayout.Table, true, false, false, false);
13013                 string exp = @"(0,Item,0)(1,Item,2)(2,Item,1)(3,Item,3)";
13014                 Assert.AreEqual (exp, v, "#576");
13015         }
13016
13017
13018         [Test]
13019         public void RepeatInfo_2cols_7itms_vert_tbl_otrtblimp ()
13020         {
13021                 // cols              : 2
13022                 // cnt               : 7
13023                 // RepeatDirection   : Vertical
13024                 // RepeatLayout      : Table
13025                 // OuterTableImplied : True
13026                 // Header            : False
13027                 // Footer            : False
13028                 // Separator         : False
13029
13030
13031                 string v = RepeatInfoUser.DoTest (2, 7, RepeatDirection.Vertical, RepeatLayout.Table, true, false, false, false);
13032                 string exp = @"(0,Item,0)(1,Item,4)(2,Item,1)(3,Item,5)(4,Item,2)(5,Item,6)(6,Item,3)";
13033                 Assert.AreEqual (exp, v, "#577");
13034         }
13035
13036
13037         [Test]
13038         public void RepeatInfo_3cols_9itms_vert_tbl_otrtblimp ()
13039         {
13040                 // cols              : 3
13041                 // cnt               : 9
13042                 // RepeatDirection   : Vertical
13043                 // RepeatLayout      : Table
13044                 // OuterTableImplied : True
13045                 // Header            : False
13046                 // Footer            : False
13047                 // Separator         : False
13048
13049
13050                 string v = RepeatInfoUser.DoTest (3, 9, RepeatDirection.Vertical, RepeatLayout.Table, true, false, false, false);
13051                 string exp = @"(0,Item,0)(1,Item,3)(2,Item,6)(3,Item,1)(4,Item,4)(5,Item,7)(6,Item,2)(7,Item,5)(8,Item,8)";
13052                 Assert.AreEqual (exp, v, "#578");
13053         }
13054
13055
13056         [Test]
13057         public void RepeatInfo_3cols_7itms_vert_tbl_otrtblimp ()
13058         {
13059                 // cols              : 3
13060                 // cnt               : 7
13061                 // RepeatDirection   : Vertical
13062                 // RepeatLayout      : Table
13063                 // OuterTableImplied : True
13064                 // Header            : False
13065                 // Footer            : False
13066                 // Separator         : False
13067
13068
13069                 string v = RepeatInfoUser.DoTest (3, 7, RepeatDirection.Vertical, RepeatLayout.Table, true, false, false, false);
13070                 string exp = @"(0,Item,0)(1,Item,3)(2,Item,5)(3,Item,1)(4,Item,4)(5,Item,6)(6,Item,2)";
13071                 Assert.AreEqual (exp, v, "#579");
13072         }
13073
13074
13075         [Test]
13076         public void RepeatInfo_0cols_0itms_horiz_flow_otrtblimp ()
13077         {
13078                 // cols              : 0
13079                 // cnt               : 0
13080                 // RepeatDirection   : Horizontal
13081                 // RepeatLayout      : Flow
13082                 // OuterTableImplied : True
13083                 // Header            : False
13084                 // Footer            : False
13085                 // Separator         : False
13086
13087
13088                 string v = RepeatInfoUser.DoTest (0, 0, RepeatDirection.Horizontal, RepeatLayout.Flow, true, false, false, false);
13089                 string exp = @"<span class=""mainstyle""></span>";
13090                 Assert.AreEqual (exp, v, "#580");
13091         }
13092
13093
13094         [Test]
13095         public void RepeatInfo_0cols_1itms_horiz_flow_otrtblimp ()
13096         {
13097                 // cols              : 0
13098                 // cnt               : 1
13099                 // RepeatDirection   : Horizontal
13100                 // RepeatLayout      : Flow
13101                 // OuterTableImplied : True
13102                 // Header            : False
13103                 // Footer            : False
13104                 // Separator         : False
13105
13106
13107                 string v = RepeatInfoUser.DoTest (0, 1, RepeatDirection.Horizontal, RepeatLayout.Flow, true, false, false, false);
13108                 string exp = @"<span class=""mainstyle"">(0,Item,0)</span>";
13109                 Assert.AreEqual (exp, v, "#581");
13110         }
13111
13112
13113         [Test]
13114         public void RepeatInfo_0cols_2itms_horiz_flow_otrtblimp ()
13115         {
13116                 // cols              : 0
13117                 // cnt               : 2
13118                 // RepeatDirection   : Horizontal
13119                 // RepeatLayout      : Flow
13120                 // OuterTableImplied : True
13121                 // Header            : False
13122                 // Footer            : False
13123                 // Separator         : False
13124
13125
13126                 string v = RepeatInfoUser.DoTest (0, 2, RepeatDirection.Horizontal, RepeatLayout.Flow, true, false, false, false);
13127                 string exp = @"<span class=""mainstyle"">(0,Item,0)(1,Item,1)</span>";
13128                 Assert.AreEqual (exp, v, "#582");
13129         }
13130
13131
13132         [Test]
13133         public void RepeatInfo_0cols_5itms_horiz_flow_otrtblimp ()
13134         {
13135                 // cols              : 0
13136                 // cnt               : 5
13137                 // RepeatDirection   : Horizontal
13138                 // RepeatLayout      : Flow
13139                 // OuterTableImplied : True
13140                 // Header            : False
13141                 // Footer            : False
13142                 // Separator         : False
13143
13144
13145                 string v = RepeatInfoUser.DoTest (0, 5, RepeatDirection.Horizontal, RepeatLayout.Flow, true, false, false, false);
13146                 string exp = @"<span class=""mainstyle"">(0,Item,0)(1,Item,1)(2,Item,2)(3,Item,3)(4,Item,4)</span>";
13147                 Assert.AreEqual (exp, v, "#583");
13148         }
13149
13150
13151         [Test]
13152         public void RepeatInfo_1cols_0itms_horiz_flow_otrtblimp ()
13153         {
13154                 // cols              : 1
13155                 // cnt               : 0
13156                 // RepeatDirection   : Horizontal
13157                 // RepeatLayout      : Flow
13158                 // OuterTableImplied : True
13159                 // Header            : False
13160                 // Footer            : False
13161                 // Separator         : False
13162
13163
13164                 string v = RepeatInfoUser.DoTest (1, 0, RepeatDirection.Horizontal, RepeatLayout.Flow, true, false, false, false);
13165                 string exp = @"<span class=""mainstyle""></span>";
13166                 Assert.AreEqual (exp, v, "#584");
13167         }
13168
13169
13170         [Test]
13171         public void RepeatInfo_1cols_5itms_horiz_flow_otrtblimp ()
13172         {
13173                 // cols              : 1
13174                 // cnt               : 5
13175                 // RepeatDirection   : Horizontal
13176                 // RepeatLayout      : Flow
13177                 // OuterTableImplied : True
13178                 // Header            : False
13179                 // Footer            : False
13180                 // Separator         : False
13181
13182
13183                 string v = RepeatInfoUser.DoTest (1, 5, RepeatDirection.Horizontal, RepeatLayout.Flow, true, false, false, false);
13184                 string exp = @"<span class=""mainstyle"">(0,Item,0)<br />(1,Item,1)<br />(2,Item,2)<br />(3,Item,3)<br />(4,Item,4)<br /></span>";
13185                 Assert.AreEqual (exp, v, "#585");
13186         }
13187
13188
13189         [Test]
13190         public void RepeatInfo_2cols_4itms_horiz_flow_otrtblimp ()
13191         {
13192                 // cols              : 2
13193                 // cnt               : 4
13194                 // RepeatDirection   : Horizontal
13195                 // RepeatLayout      : Flow
13196                 // OuterTableImplied : True
13197                 // Header            : False
13198                 // Footer            : False
13199                 // Separator         : False
13200
13201
13202                 string v = RepeatInfoUser.DoTest (2, 4, RepeatDirection.Horizontal, RepeatLayout.Flow, true, false, false, false);
13203                 string exp = @"<span class=""mainstyle"">(0,Item,0)(1,Item,1)<br />(2,Item,2)(3,Item,3)<br /></span>";
13204                 Assert.AreEqual (exp, v, "#586");
13205         }
13206
13207
13208         [Test]
13209         public void RepeatInfo_2cols_7itms_horiz_flow_otrtblimp ()
13210         {
13211                 // cols              : 2
13212                 // cnt               : 7
13213                 // RepeatDirection   : Horizontal
13214                 // RepeatLayout      : Flow
13215                 // OuterTableImplied : True
13216                 // Header            : False
13217                 // Footer            : False
13218                 // Separator         : False
13219
13220
13221                 string v = RepeatInfoUser.DoTest (2, 7, RepeatDirection.Horizontal, RepeatLayout.Flow, true, false, false, false);
13222                 string exp = @"<span class=""mainstyle"">(0,Item,0)(1,Item,1)<br />(2,Item,2)(3,Item,3)<br />(4,Item,4)(5,Item,5)<br />(6,Item,6)<br /></span>";
13223                 Assert.AreEqual (exp, v, "#587");
13224         }
13225
13226
13227         [Test]
13228         public void RepeatInfo_3cols_9itms_horiz_flow_otrtblimp ()
13229         {
13230                 // cols              : 3
13231                 // cnt               : 9
13232                 // RepeatDirection   : Horizontal
13233                 // RepeatLayout      : Flow
13234                 // OuterTableImplied : True
13235                 // Header            : False
13236                 // Footer            : False
13237                 // Separator         : False
13238
13239
13240                 string v = RepeatInfoUser.DoTest (3, 9, RepeatDirection.Horizontal, RepeatLayout.Flow, true, false, false, false);
13241                 string exp = @"<span>(0,Item,0)(1,Item,1)(2,Item,2)<br />(3,Item,3)(4,Item,4)(5,Item,5)<br />(6,Item,6)(7,Item,7)(8,Item,8)<br /></span>";
13242                 Assert.AreEqual (exp, v, "#588");
13243         }
13244
13245
13246         [Test]
13247         public void RepeatInfo_3cols_7itms_horiz_flow_otrtblimp ()
13248         {
13249                 // cols              : 3
13250                 // cnt               : 7
13251                 // RepeatDirection   : Horizontal
13252                 // RepeatLayout      : Flow
13253                 // OuterTableImplied : True
13254                 // Header            : False
13255                 // Footer            : False
13256                 // Separator         : False
13257
13258
13259                 string v = RepeatInfoUser.DoTest (3, 7, RepeatDirection.Horizontal, RepeatLayout.Flow, true, false, false, false);
13260                 string exp = @"<span>(0,Item,0)(1,Item,1)(2,Item,2)<br />(3,Item,3)(4,Item,4)(5,Item,5)<br />(6,Item,6)<br /></span>";
13261                 Assert.AreEqual (exp, v, "#589");
13262         }
13263
13264
13265         [Test]
13266         public void RepeatInfo_0cols_0itms_vert_flow_otrtblimp ()
13267         {
13268                 // cols              : 0
13269                 // cnt               : 0
13270                 // RepeatDirection   : Vertical
13271                 // RepeatLayout      : Flow
13272                 // OuterTableImplied : True
13273                 // Header            : False
13274                 // Footer            : False
13275                 // Separator         : False
13276
13277
13278                 string v = RepeatInfoUser.DoTest (0, 0, RepeatDirection.Vertical, RepeatLayout.Flow, true, false, false, false);
13279                 string exp = @"";
13280                 Assert.AreEqual (exp, v, "#590");
13281         }
13282
13283
13284         [Test]
13285         public void RepeatInfo_0cols_1itms_vert_flow_otrtblimp ()
13286         {
13287                 // cols              : 0
13288                 // cnt               : 1
13289                 // RepeatDirection   : Vertical
13290                 // RepeatLayout      : Flow
13291                 // OuterTableImplied : True
13292                 // Header            : False
13293                 // Footer            : False
13294                 // Separator         : False
13295
13296
13297                 string v = RepeatInfoUser.DoTest (0, 1, RepeatDirection.Vertical, RepeatLayout.Flow, true, false, false, false);
13298                 string exp = @"(0,Item,0)";
13299                 Assert.AreEqual (exp, v, "#591");
13300         }
13301
13302
13303         [Test]
13304         public void RepeatInfo_0cols_2itms_vert_flow_otrtblimp ()
13305         {
13306                 // cols              : 0
13307                 // cnt               : 2
13308                 // RepeatDirection   : Vertical
13309                 // RepeatLayout      : Flow
13310                 // OuterTableImplied : True
13311                 // Header            : False
13312                 // Footer            : False
13313                 // Separator         : False
13314
13315
13316                 string v = RepeatInfoUser.DoTest (0, 2, RepeatDirection.Vertical, RepeatLayout.Flow, true, false, false, false);
13317                 string exp = @"(0,Item,0)(1,Item,1)";
13318                 Assert.AreEqual (exp, v, "#592");
13319         }
13320
13321
13322         [Test]
13323         public void RepeatInfo_0cols_5itms_vert_flow_otrtblimp ()
13324         {
13325                 // cols              : 0
13326                 // cnt               : 5
13327                 // RepeatDirection   : Vertical
13328                 // RepeatLayout      : Flow
13329                 // OuterTableImplied : True
13330                 // Header            : False
13331                 // Footer            : False
13332                 // Separator         : False
13333
13334
13335                 string v = RepeatInfoUser.DoTest (0, 5, RepeatDirection.Vertical, RepeatLayout.Flow, true, false, false, false);
13336                 string exp = @"(0,Item,0)(1,Item,1)(2,Item,2)(3,Item,3)(4,Item,4)";
13337                 Assert.AreEqual (exp, v, "#593");
13338         }
13339
13340
13341         [Test]
13342         public void RepeatInfo_1cols_0itms_vert_flow_otrtblimp ()
13343         {
13344                 // cols              : 1
13345                 // cnt               : 0
13346                 // RepeatDirection   : Vertical
13347                 // RepeatLayout      : Flow
13348                 // OuterTableImplied : True
13349                 // Header            : False
13350                 // Footer            : False
13351                 // Separator         : False
13352
13353
13354                 string v = RepeatInfoUser.DoTest (1, 0, RepeatDirection.Vertical, RepeatLayout.Flow, true, false, false, false);
13355                 string exp = @"";
13356                 Assert.AreEqual (exp, v, "#594");
13357         }
13358
13359
13360         [Test]
13361         public void RepeatInfo_1cols_5itms_vert_flow_otrtblimp ()
13362         {
13363                 // cols              : 1
13364                 // cnt               : 5
13365                 // RepeatDirection   : Vertical
13366                 // RepeatLayout      : Flow
13367                 // OuterTableImplied : True
13368                 // Header            : False
13369                 // Footer            : False
13370                 // Separator         : False
13371
13372
13373                 string v = RepeatInfoUser.DoTest (1, 5, RepeatDirection.Vertical, RepeatLayout.Flow, true, false, false, false);
13374                 string exp = @"(0,Item,0)(1,Item,1)(2,Item,2)(3,Item,3)(4,Item,4)";
13375                 Assert.AreEqual (exp, v, "#595");
13376         }
13377
13378
13379         [Test]
13380         public void RepeatInfo_2cols_4itms_vert_flow_otrtblimp ()
13381         {
13382                 // cols              : 2
13383                 // cnt               : 4
13384                 // RepeatDirection   : Vertical
13385                 // RepeatLayout      : Flow
13386                 // OuterTableImplied : True
13387                 // Header            : False
13388                 // Footer            : False
13389                 // Separator         : False
13390
13391
13392                 string v = RepeatInfoUser.DoTest (2, 4, RepeatDirection.Vertical, RepeatLayout.Flow, true, false, false, false);
13393                 string exp = @"(0,Item,0)(1,Item,2)(2,Item,1)(3,Item,3)";
13394                 Assert.AreEqual (exp, v, "#596");
13395         }
13396
13397
13398         [Test]
13399         public void RepeatInfo_2cols_7itms_vert_flow_otrtblimp ()
13400         {
13401                 // cols              : 2
13402                 // cnt               : 7
13403                 // RepeatDirection   : Vertical
13404                 // RepeatLayout      : Flow
13405                 // OuterTableImplied : True
13406                 // Header            : False
13407                 // Footer            : False
13408                 // Separator         : False
13409
13410
13411                 string v = RepeatInfoUser.DoTest (2, 7, RepeatDirection.Vertical, RepeatLayout.Flow, true, false, false, false);
13412                 string exp = @"(0,Item,0)(1,Item,4)(2,Item,1)(3,Item,5)(4,Item,2)(5,Item,6)(6,Item,3)";
13413                 Assert.AreEqual (exp, v, "#597");
13414         }
13415
13416
13417         [Test]
13418         public void RepeatInfo_3cols_9itms_vert_flow_otrtblimp ()
13419         {
13420                 // cols              : 3
13421                 // cnt               : 9
13422                 // RepeatDirection   : Vertical
13423                 // RepeatLayout      : Flow
13424                 // OuterTableImplied : True
13425                 // Header            : False
13426                 // Footer            : False
13427                 // Separator         : False
13428
13429
13430                 string v = RepeatInfoUser.DoTest (3, 9, RepeatDirection.Vertical, RepeatLayout.Flow, true, false, false, false);
13431                 string exp = @"(0,Item,0)(1,Item,3)(2,Item,6)(3,Item,1)(4,Item,4)(5,Item,7)(6,Item,2)(7,Item,5)(8,Item,8)";
13432                 Assert.AreEqual (exp, v, "#598");
13433         }
13434
13435
13436         [Test]
13437         public void RepeatInfo_3cols_7itms_vert_flow_otrtblimp ()
13438         {
13439                 // cols              : 3
13440                 // cnt               : 7
13441                 // RepeatDirection   : Vertical
13442                 // RepeatLayout      : Flow
13443                 // OuterTableImplied : True
13444                 // Header            : False
13445                 // Footer            : False
13446                 // Separator         : False
13447
13448
13449                 string v = RepeatInfoUser.DoTest (3, 7, RepeatDirection.Vertical, RepeatLayout.Flow, true, false, false, false);
13450                 string exp = @"(0,Item,0)(1,Item,3)(2,Item,5)(3,Item,1)(4,Item,4)(5,Item,6)(6,Item,2)";
13451                 Assert.AreEqual (exp, v, "#599");
13452         }
13453
13454
13455         [Test]
13456         public void RepeatInfo_0cols_0itms_horiz_tbl ()
13457         {
13458                 // cols              : 0
13459                 // cnt               : 0
13460                 // RepeatDirection   : Horizontal
13461                 // RepeatLayout      : Table
13462                 // OuterTableImplied : False
13463                 // Header            : False
13464                 // Footer            : False
13465                 // Separator         : False
13466
13467
13468                 string v = RepeatInfoUser.DoTest (0, 0, RepeatDirection.Horizontal, RepeatLayout.Table, false, false, false, false);
13469                 string exp = @"<table class=""mainstyle"">
13470
13471 </table>";
13472                 Assert.AreEqual (exp, v, "#600");
13473         }
13474
13475
13476         [Test]
13477         public void RepeatInfo_0cols_1itms_horiz_tbl ()
13478         {
13479                 // cols              : 0
13480                 // cnt               : 1
13481                 // RepeatDirection   : Horizontal
13482                 // RepeatLayout      : Table
13483                 // OuterTableImplied : False
13484                 // Header            : False
13485                 // Footer            : False
13486                 // Separator         : False
13487
13488
13489                 string v = RepeatInfoUser.DoTest (0, 1, RepeatDirection.Horizontal, RepeatLayout.Table, false, false, false, false);
13490                 string exp = @"<table class=""mainstyle"">
13491         <tr>
13492                 <td class=""Item0"">(0,Item,0)</td>
13493         </tr>
13494 </table>";
13495                 Assert.AreEqual (exp, v, "#601");
13496         }
13497
13498
13499         [Test]
13500         public void RepeatInfo_0cols_2itms_horiz_tbl ()
13501         {
13502                 // cols              : 0
13503                 // cnt               : 2
13504                 // RepeatDirection   : Horizontal
13505                 // RepeatLayout      : Table
13506                 // OuterTableImplied : False
13507                 // Header            : False
13508                 // Footer            : False
13509                 // Separator         : False
13510
13511
13512                 string v = RepeatInfoUser.DoTest (0, 2, RepeatDirection.Horizontal, RepeatLayout.Table, false, false, false, false);
13513                 string exp = @"<table class=""mainstyle"">
13514         <tr>
13515                 <td class=""Item0"">(0,Item,0)</td><td class=""Item1"">(1,Item,1)</td>
13516         </tr>
13517 </table>";
13518                 Assert.AreEqual (exp, v, "#602");
13519         }
13520
13521
13522         [Test]
13523         public void RepeatInfo_0cols_5itms_horiz_tbl ()
13524         {
13525                 // cols              : 0
13526                 // cnt               : 5
13527                 // RepeatDirection   : Horizontal
13528                 // RepeatLayout      : Table
13529                 // OuterTableImplied : False
13530                 // Header            : False
13531                 // Footer            : False
13532                 // Separator         : False
13533
13534
13535                 string v = RepeatInfoUser.DoTest (0, 5, RepeatDirection.Horizontal, RepeatLayout.Table, false, false, false, false);
13536                 string exp = @"<table class=""mainstyle"">
13537         <tr>
13538                 <td class=""Item0"">(0,Item,0)</td><td class=""Item1"">(1,Item,1)</td><td class=""Item2"">(2,Item,2)</td><td class=""Item3"">(3,Item,3)</td><td class=""Item4"">(4,Item,4)</td>
13539         </tr>
13540 </table>";
13541                 Assert.AreEqual (exp, v, "#603");
13542         }
13543
13544
13545         [Test]
13546         public void RepeatInfo_1cols_0itms_horiz_tbl ()
13547         {
13548                 // cols              : 1
13549                 // cnt               : 0
13550                 // RepeatDirection   : Horizontal
13551                 // RepeatLayout      : Table
13552                 // OuterTableImplied : False
13553                 // Header            : False
13554                 // Footer            : False
13555                 // Separator         : False
13556
13557
13558                 string v = RepeatInfoUser.DoTest (1, 0, RepeatDirection.Horizontal, RepeatLayout.Table, false, false, false, false);
13559                 string exp = @"<table class=""mainstyle"">
13560
13561 </table>";
13562                 Assert.AreEqual (exp, v, "#604");
13563         }
13564
13565
13566         [Test]
13567         public void RepeatInfo_1cols_5itms_horiz_tbl ()
13568         {
13569                 // cols              : 1
13570                 // cnt               : 5
13571                 // RepeatDirection   : Horizontal
13572                 // RepeatLayout      : Table
13573                 // OuterTableImplied : False
13574                 // Header            : False
13575                 // Footer            : False
13576                 // Separator         : False
13577
13578
13579                 string v = RepeatInfoUser.DoTest (1, 5, RepeatDirection.Horizontal, RepeatLayout.Table, false, false, false, false);
13580                 string exp = @"<table class=""mainstyle"">
13581         <tr>
13582                 <td class=""Item0"">(0,Item,0)</td>
13583         </tr><tr>
13584                 <td class=""Item1"">(1,Item,1)</td>
13585         </tr><tr>
13586                 <td class=""Item2"">(2,Item,2)</td>
13587         </tr><tr>
13588                 <td class=""Item3"">(3,Item,3)</td>
13589         </tr><tr>
13590                 <td class=""Item4"">(4,Item,4)</td>
13591         </tr>
13592 </table>";
13593                 Assert.AreEqual (exp, v, "#605");
13594         }
13595
13596
13597         [Test]
13598         public void RepeatInfo_2cols_4itms_horiz_tbl ()
13599         {
13600                 // cols              : 2
13601                 // cnt               : 4
13602                 // RepeatDirection   : Horizontal
13603                 // RepeatLayout      : Table
13604                 // OuterTableImplied : False
13605                 // Header            : False
13606                 // Footer            : False
13607                 // Separator         : False
13608
13609
13610                 string v = RepeatInfoUser.DoTest (2, 4, RepeatDirection.Horizontal, RepeatLayout.Table, false, false, false, false);
13611                 string exp = @"<table class=""mainstyle"">
13612         <tr>
13613                 <td class=""Item0"">(0,Item,0)</td><td class=""Item1"">(1,Item,1)</td>
13614         </tr><tr>
13615                 <td class=""Item2"">(2,Item,2)</td><td class=""Item3"">(3,Item,3)</td>
13616         </tr>
13617 </table>";
13618                 Assert.AreEqual (exp, v, "#606");
13619         }
13620
13621
13622         [Test]
13623         public void RepeatInfo_2cols_7itms_horiz_tbl ()
13624         {
13625                 // cols              : 2
13626                 // cnt               : 7
13627                 // RepeatDirection   : Horizontal
13628                 // RepeatLayout      : Table
13629                 // OuterTableImplied : False
13630                 // Header            : False
13631                 // Footer            : False
13632                 // Separator         : False
13633
13634
13635                 string v = RepeatInfoUser.DoTest (2, 7, RepeatDirection.Horizontal, RepeatLayout.Table, false, false, false, false);
13636                 string exp = @"<table class=""mainstyle"">
13637         <tr>
13638                 <td class=""Item0"">(0,Item,0)</td><td class=""Item1"">(1,Item,1)</td>
13639         </tr><tr>
13640                 <td class=""Item2"">(2,Item,2)</td><td class=""Item3"">(3,Item,3)</td>
13641         </tr><tr>
13642                 <td class=""Item4"">(4,Item,4)</td><td class=""Item5"">(5,Item,5)</td>
13643         </tr><tr>
13644                 <td class=""Item6"">(6,Item,6)</td><td></td>
13645         </tr>
13646 </table>";
13647                 Assert.AreEqual (exp, v, "#607");
13648         }
13649
13650
13651         [Test]
13652         public void RepeatInfo_3cols_9itms_horiz_tbl ()
13653         {
13654                 // cols              : 3
13655                 // cnt               : 9
13656                 // RepeatDirection   : Horizontal
13657                 // RepeatLayout      : Table
13658                 // OuterTableImplied : False
13659                 // Header            : False
13660                 // Footer            : False
13661                 // Separator         : False
13662
13663
13664                 string v = RepeatInfoUser.DoTest (3, 9, RepeatDirection.Horizontal, RepeatLayout.Table, false, false, false, false);
13665                 string exp = @"<table>
13666         <tr>
13667                 <td class=""Item0"">(0,Item,0)</td><td class=""Item1"">(1,Item,1)</td><td class=""Item2"">(2,Item,2)</td>
13668         </tr><tr>
13669                 <td class=""Item3"">(3,Item,3)</td><td class=""Item4"">(4,Item,4)</td><td class=""Item5"">(5,Item,5)</td>
13670         </tr><tr>
13671                 <td class=""Item6"">(6,Item,6)</td><td class=""Item7"">(7,Item,7)</td><td class=""Item8"">(8,Item,8)</td>
13672         </tr>
13673 </table>";
13674                 Assert.AreEqual (exp, v, "#608");
13675         }
13676
13677
13678         [Test]
13679         public void RepeatInfo_3cols_7itms_horiz_tbl ()
13680         {
13681                 // cols              : 3
13682                 // cnt               : 7
13683                 // RepeatDirection   : Horizontal
13684                 // RepeatLayout      : Table
13685                 // OuterTableImplied : False
13686                 // Header            : False
13687                 // Footer            : False
13688                 // Separator         : False
13689
13690
13691                 string v = RepeatInfoUser.DoTest (3, 7, RepeatDirection.Horizontal, RepeatLayout.Table, false, false, false, false);
13692                 string exp = @"<table>
13693         <tr>
13694                 <td class=""Item0"">(0,Item,0)</td><td class=""Item1"">(1,Item,1)</td><td class=""Item2"">(2,Item,2)</td>
13695         </tr><tr>
13696                 <td class=""Item3"">(3,Item,3)</td><td class=""Item4"">(4,Item,4)</td><td class=""Item5"">(5,Item,5)</td>
13697         </tr><tr>
13698                 <td class=""Item6"">(6,Item,6)</td><td></td><td></td>
13699         </tr>
13700 </table>";
13701                 Assert.AreEqual (exp, v, "#609");
13702         }
13703
13704
13705         [Test]
13706         public void RepeatInfo_0cols_0itms_vert_tbl ()
13707         {
13708                 // cols              : 0
13709                 // cnt               : 0
13710                 // RepeatDirection   : Vertical
13711                 // RepeatLayout      : Table
13712                 // OuterTableImplied : False
13713                 // Header            : False
13714                 // Footer            : False
13715                 // Separator         : False
13716
13717
13718                 string v = RepeatInfoUser.DoTest (0, 0, RepeatDirection.Vertical, RepeatLayout.Table, false, false, false, false);
13719                 string exp = @"<table class=""mainstyle"">
13720
13721 </table>";
13722                 Assert.AreEqual (exp, v, "#610");
13723         }
13724
13725
13726         [Test]
13727         public void RepeatInfo_0cols_1itms_vert_tbl ()
13728         {
13729                 // cols              : 0
13730                 // cnt               : 1
13731                 // RepeatDirection   : Vertical
13732                 // RepeatLayout      : Table
13733                 // OuterTableImplied : False
13734                 // Header            : False
13735                 // Footer            : False
13736                 // Separator         : False
13737
13738
13739                 string v = RepeatInfoUser.DoTest (0, 1, RepeatDirection.Vertical, RepeatLayout.Table, false, false, false, false);
13740                 string exp = @"<table class=""mainstyle"">
13741         <tr>
13742                 <td class=""Item0"">(0,Item,0)</td>
13743         </tr>
13744 </table>";
13745                 Assert.AreEqual (exp, v, "#611");
13746         }
13747
13748
13749         [Test]
13750         public void RepeatInfo_0cols_2itms_vert_tbl ()
13751         {
13752                 // cols              : 0
13753                 // cnt               : 2
13754                 // RepeatDirection   : Vertical
13755                 // RepeatLayout      : Table
13756                 // OuterTableImplied : False
13757                 // Header            : False
13758                 // Footer            : False
13759                 // Separator         : False
13760
13761
13762                 string v = RepeatInfoUser.DoTest (0, 2, RepeatDirection.Vertical, RepeatLayout.Table, false, false, false, false);
13763                 string exp = @"<table class=""mainstyle"">
13764         <tr>
13765                 <td class=""Item0"">(0,Item,0)</td>
13766         </tr><tr>
13767                 <td class=""Item1"">(1,Item,1)</td>
13768         </tr>
13769 </table>";
13770                 Assert.AreEqual (exp, v, "#612");
13771         }
13772
13773
13774         [Test]
13775         public void RepeatInfo_0cols_5itms_vert_tbl ()
13776         {
13777                 // cols              : 0
13778                 // cnt               : 5
13779                 // RepeatDirection   : Vertical
13780                 // RepeatLayout      : Table
13781                 // OuterTableImplied : False
13782                 // Header            : False
13783                 // Footer            : False
13784                 // Separator         : False
13785
13786
13787                 string v = RepeatInfoUser.DoTest (0, 5, RepeatDirection.Vertical, RepeatLayout.Table, false, false, false, false);
13788                 string exp = @"<table class=""mainstyle"">
13789         <tr>
13790                 <td class=""Item0"">(0,Item,0)</td>
13791         </tr><tr>
13792                 <td class=""Item1"">(1,Item,1)</td>
13793         </tr><tr>
13794                 <td class=""Item2"">(2,Item,2)</td>
13795         </tr><tr>
13796                 <td class=""Item3"">(3,Item,3)</td>
13797         </tr><tr>
13798                 <td class=""Item4"">(4,Item,4)</td>
13799         </tr>
13800 </table>";
13801                 Assert.AreEqual (exp, v, "#613");
13802         }
13803
13804
13805         [Test]
13806         public void RepeatInfo_1cols_0itms_vert_tbl ()
13807         {
13808                 // cols              : 1
13809                 // cnt               : 0
13810                 // RepeatDirection   : Vertical
13811                 // RepeatLayout      : Table
13812                 // OuterTableImplied : False
13813                 // Header            : False
13814                 // Footer            : False
13815                 // Separator         : False
13816
13817
13818                 string v = RepeatInfoUser.DoTest (1, 0, RepeatDirection.Vertical, RepeatLayout.Table, false, false, false, false);
13819                 string exp = @"<table class=""mainstyle"">
13820
13821 </table>";
13822                 Assert.AreEqual (exp, v, "#614");
13823         }
13824
13825
13826         [Test]
13827         public void RepeatInfo_1cols_5itms_vert_tbl ()
13828         {
13829                 // cols              : 1
13830                 // cnt               : 5
13831                 // RepeatDirection   : Vertical
13832                 // RepeatLayout      : Table
13833                 // OuterTableImplied : False
13834                 // Header            : False
13835                 // Footer            : False
13836                 // Separator         : False
13837
13838
13839                 string v = RepeatInfoUser.DoTest (1, 5, RepeatDirection.Vertical, RepeatLayout.Table, false, false, false, false);
13840                 string exp = @"<table class=""mainstyle"">
13841         <tr>
13842                 <td class=""Item0"">(0,Item,0)</td>
13843         </tr><tr>
13844                 <td class=""Item1"">(1,Item,1)</td>
13845         </tr><tr>
13846                 <td class=""Item2"">(2,Item,2)</td>
13847         </tr><tr>
13848                 <td class=""Item3"">(3,Item,3)</td>
13849         </tr><tr>
13850                 <td class=""Item4"">(4,Item,4)</td>
13851         </tr>
13852 </table>";
13853                 Assert.AreEqual (exp, v, "#615");
13854         }
13855
13856
13857         [Test]
13858         public void RepeatInfo_2cols_4itms_vert_tbl ()
13859         {
13860                 // cols              : 2
13861                 // cnt               : 4
13862                 // RepeatDirection   : Vertical
13863                 // RepeatLayout      : Table
13864                 // OuterTableImplied : False
13865                 // Header            : False
13866                 // Footer            : False
13867                 // Separator         : False
13868
13869
13870                 string v = RepeatInfoUser.DoTest (2, 4, RepeatDirection.Vertical, RepeatLayout.Table, false, false, false, false);
13871                 string exp = @"<table class=""mainstyle"">
13872         <tr>
13873                 <td class=""Item0"">(0,Item,0)</td><td class=""Item2"">(1,Item,2)</td>
13874         </tr><tr>
13875                 <td class=""Item1"">(2,Item,1)</td><td class=""Item3"">(3,Item,3)</td>
13876         </tr>
13877 </table>";
13878                 Assert.AreEqual (exp, v, "#616");
13879         }
13880
13881
13882         [Test]
13883         public void RepeatInfo_2cols_7itms_vert_tbl ()
13884         {
13885                 // cols              : 2
13886                 // cnt               : 7
13887                 // RepeatDirection   : Vertical
13888                 // RepeatLayout      : Table
13889                 // OuterTableImplied : False
13890                 // Header            : False
13891                 // Footer            : False
13892                 // Separator         : False
13893
13894
13895                 string v = RepeatInfoUser.DoTest (2, 7, RepeatDirection.Vertical, RepeatLayout.Table, false, false, false, false);
13896                 string exp = @"<table class=""mainstyle"">
13897         <tr>
13898                 <td class=""Item0"">(0,Item,0)</td><td class=""Item4"">(1,Item,4)</td>
13899         </tr><tr>
13900                 <td class=""Item1"">(2,Item,1)</td><td class=""Item5"">(3,Item,5)</td>
13901         </tr><tr>
13902                 <td class=""Item2"">(4,Item,2)</td><td class=""Item6"">(5,Item,6)</td>
13903         </tr><tr>
13904                 <td class=""Item3"">(6,Item,3)</td><td></td>
13905         </tr>
13906 </table>";
13907                 Assert.AreEqual (exp, v, "#617");
13908         }
13909
13910
13911         [Test]
13912         public void RepeatInfo_3cols_9itms_vert_tbl ()
13913         {
13914                 // cols              : 3
13915                 // cnt               : 9
13916                 // RepeatDirection   : Vertical
13917                 // RepeatLayout      : Table
13918                 // OuterTableImplied : False
13919                 // Header            : False
13920                 // Footer            : False
13921                 // Separator         : False
13922
13923
13924                 string v = RepeatInfoUser.DoTest (3, 9, RepeatDirection.Vertical, RepeatLayout.Table, false, false, false, false);
13925                 string exp = @"<table>
13926         <tr>
13927                 <td class=""Item0"">(0,Item,0)</td><td class=""Item3"">(1,Item,3)</td><td class=""Item6"">(2,Item,6)</td>
13928         </tr><tr>
13929                 <td class=""Item1"">(3,Item,1)</td><td class=""Item4"">(4,Item,4)</td><td class=""Item7"">(5,Item,7)</td>
13930         </tr><tr>
13931                 <td class=""Item2"">(6,Item,2)</td><td class=""Item5"">(7,Item,5)</td><td class=""Item8"">(8,Item,8)</td>
13932         </tr>
13933 </table>";
13934                 Assert.AreEqual (exp, v, "#618");
13935         }
13936
13937
13938         [Test]
13939         public void RepeatInfo_3cols_7itms_vert_tbl ()
13940         {
13941                 // cols              : 3
13942                 // cnt               : 7
13943                 // RepeatDirection   : Vertical
13944                 // RepeatLayout      : Table
13945                 // OuterTableImplied : False
13946                 // Header            : False
13947                 // Footer            : False
13948                 // Separator         : False
13949
13950
13951                 string v = RepeatInfoUser.DoTest (3, 7, RepeatDirection.Vertical, RepeatLayout.Table, false, false, false, false);
13952                 string exp = @"<table>
13953         <tr>
13954                 <td class=""Item0"">(0,Item,0)</td><td class=""Item3"">(1,Item,3)</td><td class=""Item5"">(2,Item,5)</td>
13955         </tr><tr>
13956                 <td class=""Item1"">(3,Item,1)</td><td class=""Item4"">(4,Item,4)</td><td class=""Item6"">(5,Item,6)</td>
13957         </tr><tr>
13958                 <td class=""Item2"">(6,Item,2)</td><td></td><td></td>
13959         </tr>
13960 </table>";
13961                 Assert.AreEqual (exp, v, "#619");
13962         }
13963
13964
13965         [Test]
13966         public void RepeatInfo_0cols_0itms_horiz_flow ()
13967         {
13968                 // cols              : 0
13969                 // cnt               : 0
13970                 // RepeatDirection   : Horizontal
13971                 // RepeatLayout      : Flow
13972                 // OuterTableImplied : False
13973                 // Header            : False
13974                 // Footer            : False
13975                 // Separator         : False
13976
13977
13978                 string v = RepeatInfoUser.DoTest (0, 0, RepeatDirection.Horizontal, RepeatLayout.Flow, false, false, false, false);
13979                 string exp = @"<span class=""mainstyle""></span>";
13980                 Assert.AreEqual (exp, v, "#620");
13981         }
13982
13983
13984         [Test]
13985         public void RepeatInfo_0cols_1itms_horiz_flow ()
13986         {
13987                 // cols              : 0
13988                 // cnt               : 1
13989                 // RepeatDirection   : Horizontal
13990                 // RepeatLayout      : Flow
13991                 // OuterTableImplied : False
13992                 // Header            : False
13993                 // Footer            : False
13994                 // Separator         : False
13995
13996
13997                 string v = RepeatInfoUser.DoTest (0, 1, RepeatDirection.Horizontal, RepeatLayout.Flow, false, false, false, false);
13998                 string exp = @"<span class=""mainstyle"">(0,Item,0)</span>";
13999                 Assert.AreEqual (exp, v, "#621");
14000         }
14001
14002
14003         [Test]
14004         public void RepeatInfo_0cols_2itms_horiz_flow ()
14005         {
14006                 // cols              : 0
14007                 // cnt               : 2
14008                 // RepeatDirection   : Horizontal
14009                 // RepeatLayout      : Flow
14010                 // OuterTableImplied : False
14011                 // Header            : False
14012                 // Footer            : False
14013                 // Separator         : False
14014
14015
14016                 string v = RepeatInfoUser.DoTest (0, 2, RepeatDirection.Horizontal, RepeatLayout.Flow, false, false, false, false);
14017                 string exp = @"<span class=""mainstyle"">(0,Item,0)(1,Item,1)</span>";
14018                 Assert.AreEqual (exp, v, "#622");
14019         }
14020
14021
14022         [Test]
14023         public void RepeatInfo_0cols_5itms_horiz_flow ()
14024         {
14025                 // cols              : 0
14026                 // cnt               : 5
14027                 // RepeatDirection   : Horizontal
14028                 // RepeatLayout      : Flow
14029                 // OuterTableImplied : False
14030                 // Header            : False
14031                 // Footer            : False
14032                 // Separator         : False
14033
14034
14035                 string v = RepeatInfoUser.DoTest (0, 5, RepeatDirection.Horizontal, RepeatLayout.Flow, false, false, false, false);
14036                 string exp = @"<span class=""mainstyle"">(0,Item,0)(1,Item,1)(2,Item,2)(3,Item,3)(4,Item,4)</span>";
14037                 Assert.AreEqual (exp, v, "#623");
14038         }
14039
14040
14041         [Test]
14042         public void RepeatInfo_1cols_0itms_horiz_flow ()
14043         {
14044                 // cols              : 1
14045                 // cnt               : 0
14046                 // RepeatDirection   : Horizontal
14047                 // RepeatLayout      : Flow
14048                 // OuterTableImplied : False
14049                 // Header            : False
14050                 // Footer            : False
14051                 // Separator         : False
14052
14053
14054                 string v = RepeatInfoUser.DoTest (1, 0, RepeatDirection.Horizontal, RepeatLayout.Flow, false, false, false, false);
14055                 string exp = @"<span class=""mainstyle""></span>";
14056                 Assert.AreEqual (exp, v, "#624");
14057         }
14058
14059
14060         [Test]
14061         public void RepeatInfo_1cols_5itms_horiz_flow ()
14062         {
14063                 // cols              : 1
14064                 // cnt               : 5
14065                 // RepeatDirection   : Horizontal
14066                 // RepeatLayout      : Flow
14067                 // OuterTableImplied : False
14068                 // Header            : False
14069                 // Footer            : False
14070                 // Separator         : False
14071
14072
14073                 string v = RepeatInfoUser.DoTest (1, 5, RepeatDirection.Horizontal, RepeatLayout.Flow, false, false, false, false);
14074                 string exp = @"<span class=""mainstyle"">(0,Item,0)<br />(1,Item,1)<br />(2,Item,2)<br />(3,Item,3)<br />(4,Item,4)<br /></span>";
14075                 Assert.AreEqual (exp, v, "#625");
14076         }
14077
14078
14079         [Test]
14080         public void RepeatInfo_2cols_4itms_horiz_flow ()
14081         {
14082                 // cols              : 2
14083                 // cnt               : 4
14084                 // RepeatDirection   : Horizontal
14085                 // RepeatLayout      : Flow
14086                 // OuterTableImplied : False
14087                 // Header            : False
14088                 // Footer            : False
14089                 // Separator         : False
14090
14091
14092                 string v = RepeatInfoUser.DoTest (2, 4, RepeatDirection.Horizontal, RepeatLayout.Flow, false, false, false, false);
14093                 string exp = @"<span class=""mainstyle"">(0,Item,0)(1,Item,1)<br />(2,Item,2)(3,Item,3)<br /></span>";
14094                 Assert.AreEqual (exp, v, "#626");
14095         }
14096
14097
14098         [Test]
14099         public void RepeatInfo_2cols_7itms_horiz_flow ()
14100         {
14101                 // cols              : 2
14102                 // cnt               : 7
14103                 // RepeatDirection   : Horizontal
14104                 // RepeatLayout      : Flow
14105                 // OuterTableImplied : False
14106                 // Header            : False
14107                 // Footer            : False
14108                 // Separator         : False
14109
14110
14111                 string v = RepeatInfoUser.DoTest (2, 7, RepeatDirection.Horizontal, RepeatLayout.Flow, false, false, false, false);
14112                 string exp = @"<span class=""mainstyle"">(0,Item,0)(1,Item,1)<br />(2,Item,2)(3,Item,3)<br />(4,Item,4)(5,Item,5)<br />(6,Item,6)<br /></span>";
14113                 Assert.AreEqual (exp, v, "#627");
14114         }
14115
14116
14117         [Test]
14118         public void RepeatInfo_3cols_9itms_horiz_flow ()
14119         {
14120                 // cols              : 3
14121                 // cnt               : 9
14122                 // RepeatDirection   : Horizontal
14123                 // RepeatLayout      : Flow
14124                 // OuterTableImplied : False
14125                 // Header            : False
14126                 // Footer            : False
14127                 // Separator         : False
14128
14129
14130                 string v = RepeatInfoUser.DoTest (3, 9, RepeatDirection.Horizontal, RepeatLayout.Flow, false, false, false, false);
14131                 string exp = @"<span>(0,Item,0)(1,Item,1)(2,Item,2)<br />(3,Item,3)(4,Item,4)(5,Item,5)<br />(6,Item,6)(7,Item,7)(8,Item,8)<br /></span>";
14132                 Assert.AreEqual (exp, v, "#628");
14133         }
14134
14135
14136         [Test]
14137         public void RepeatInfo_3cols_7itms_horiz_flow ()
14138         {
14139                 // cols              : 3
14140                 // cnt               : 7
14141                 // RepeatDirection   : Horizontal
14142                 // RepeatLayout      : Flow
14143                 // OuterTableImplied : False
14144                 // Header            : False
14145                 // Footer            : False
14146                 // Separator         : False
14147
14148
14149                 string v = RepeatInfoUser.DoTest (3, 7, RepeatDirection.Horizontal, RepeatLayout.Flow, false, false, false, false);
14150                 string exp = @"<span>(0,Item,0)(1,Item,1)(2,Item,2)<br />(3,Item,3)(4,Item,4)(5,Item,5)<br />(6,Item,6)<br /></span>";
14151                 Assert.AreEqual (exp, v, "#629");
14152         }
14153
14154
14155         [Test]
14156         public void RepeatInfo_0cols_0itms_vert_flow ()
14157         {
14158                 // cols              : 0
14159                 // cnt               : 0
14160                 // RepeatDirection   : Vertical
14161                 // RepeatLayout      : Flow
14162                 // OuterTableImplied : False
14163                 // Header            : False
14164                 // Footer            : False
14165                 // Separator         : False
14166
14167
14168                 string v = RepeatInfoUser.DoTest (0, 0, RepeatDirection.Vertical, RepeatLayout.Flow, false, false, false, false);
14169                 string exp = @"<span class=""mainstyle""></span>";
14170                 Assert.AreEqual (exp, v, "#630");
14171         }
14172
14173
14174         [Test]
14175         public void RepeatInfo_0cols_1itms_vert_flow ()
14176         {
14177                 // cols              : 0
14178                 // cnt               : 1
14179                 // RepeatDirection   : Vertical
14180                 // RepeatLayout      : Flow
14181                 // OuterTableImplied : False
14182                 // Header            : False
14183                 // Footer            : False
14184                 // Separator         : False
14185
14186
14187                 string v = RepeatInfoUser.DoTest (0, 1, RepeatDirection.Vertical, RepeatLayout.Flow, false, false, false, false);
14188                 string exp = @"<span class=""mainstyle"">(0,Item,0)</span>";
14189                 Assert.AreEqual (exp, v, "#631");
14190         }
14191
14192
14193         [Test]
14194         public void RepeatInfo_0cols_2itms_vert_flow ()
14195         {
14196                 // cols              : 0
14197                 // cnt               : 2
14198                 // RepeatDirection   : Vertical
14199                 // RepeatLayout      : Flow
14200                 // OuterTableImplied : False
14201                 // Header            : False
14202                 // Footer            : False
14203                 // Separator         : False
14204
14205
14206                 string v = RepeatInfoUser.DoTest (0, 2, RepeatDirection.Vertical, RepeatLayout.Flow, false, false, false, false);
14207                 string exp = @"<span class=""mainstyle"">(0,Item,0)<br />(1,Item,1)</span>";
14208                 Assert.AreEqual (exp, v, "#632");
14209         }
14210
14211
14212         [Test]
14213         public void RepeatInfo_0cols_5itms_vert_flow ()
14214         {
14215                 // cols              : 0
14216                 // cnt               : 5
14217                 // RepeatDirection   : Vertical
14218                 // RepeatLayout      : Flow
14219                 // OuterTableImplied : False
14220                 // Header            : False
14221                 // Footer            : False
14222                 // Separator         : False
14223
14224
14225                 string v = RepeatInfoUser.DoTest (0, 5, RepeatDirection.Vertical, RepeatLayout.Flow, false, false, false, false);
14226                 string exp = @"<span class=""mainstyle"">(0,Item,0)<br />(1,Item,1)<br />(2,Item,2)<br />(3,Item,3)<br />(4,Item,4)</span>";
14227                 Assert.AreEqual (exp, v, "#633");
14228         }
14229
14230
14231         [Test]
14232         public void RepeatInfo_1cols_0itms_vert_flow ()
14233         {
14234                 // cols              : 1
14235                 // cnt               : 0
14236                 // RepeatDirection   : Vertical
14237                 // RepeatLayout      : Flow
14238                 // OuterTableImplied : False
14239                 // Header            : False
14240                 // Footer            : False
14241                 // Separator         : False
14242
14243
14244                 string v = RepeatInfoUser.DoTest (1, 0, RepeatDirection.Vertical, RepeatLayout.Flow, false, false, false, false);
14245                 string exp = @"<span class=""mainstyle""></span>";
14246                 Assert.AreEqual (exp, v, "#634");
14247         }
14248
14249
14250         [Test]
14251         public void RepeatInfo_1cols_5itms_vert_flow ()
14252         {
14253                 // cols              : 1
14254                 // cnt               : 5
14255                 // RepeatDirection   : Vertical
14256                 // RepeatLayout      : Flow
14257                 // OuterTableImplied : False
14258                 // Header            : False
14259                 // Footer            : False
14260                 // Separator         : False
14261
14262
14263                 string v = RepeatInfoUser.DoTest (1, 5, RepeatDirection.Vertical, RepeatLayout.Flow, false, false, false, false);
14264                 string exp = @"<span class=""mainstyle"">(0,Item,0)<br />(1,Item,1)<br />(2,Item,2)<br />(3,Item,3)<br />(4,Item,4)</span>";
14265                 Assert.AreEqual (exp, v, "#635");
14266         }
14267
14268
14269         [Test]
14270         public void RepeatInfo_2cols_4itms_vert_flow ()
14271         {
14272                 // cols              : 2
14273                 // cnt               : 4
14274                 // RepeatDirection   : Vertical
14275                 // RepeatLayout      : Flow
14276                 // OuterTableImplied : False
14277                 // Header            : False
14278                 // Footer            : False
14279                 // Separator         : False
14280
14281
14282                 string v = RepeatInfoUser.DoTest (2, 4, RepeatDirection.Vertical, RepeatLayout.Flow, false, false, false, false);
14283                 string exp = @"<span class=""mainstyle"">(0,Item,0)(1,Item,2)<br />(2,Item,1)(3,Item,3)</span>";
14284                 Assert.AreEqual (exp, v, "#636");
14285         }
14286
14287
14288         [Test]
14289         public void RepeatInfo_2cols_7itms_vert_flow ()
14290         {
14291                 // cols              : 2
14292                 // cnt               : 7
14293                 // RepeatDirection   : Vertical
14294                 // RepeatLayout      : Flow
14295                 // OuterTableImplied : False
14296                 // Header            : False
14297                 // Footer            : False
14298                 // Separator         : False
14299
14300
14301                 string v = RepeatInfoUser.DoTest (2, 7, RepeatDirection.Vertical, RepeatLayout.Flow, false, false, false, false);
14302                 string exp = @"<span class=""mainstyle"">(0,Item,0)(1,Item,4)<br />(2,Item,1)(3,Item,5)<br />(4,Item,2)(5,Item,6)<br />(6,Item,3)</span>";
14303                 Assert.AreEqual (exp, v, "#637");
14304         }
14305
14306
14307         [Test]
14308         public void RepeatInfo_3cols_9itms_vert_flow ()
14309         {
14310                 // cols              : 3
14311                 // cnt               : 9
14312                 // RepeatDirection   : Vertical
14313                 // RepeatLayout      : Flow
14314                 // OuterTableImplied : False
14315                 // Header            : False
14316                 // Footer            : False
14317                 // Separator         : False
14318
14319
14320                 string v = RepeatInfoUser.DoTest (3, 9, RepeatDirection.Vertical, RepeatLayout.Flow, false, false, false, false);
14321                 string exp = @"<span>(0,Item,0)(1,Item,3)(2,Item,6)<br />(3,Item,1)(4,Item,4)(5,Item,7)<br />(6,Item,2)(7,Item,5)(8,Item,8)</span>";
14322                 Assert.AreEqual (exp, v, "#638");
14323         }
14324
14325
14326         [Test]
14327         public void RepeatInfo_3cols_7itms_vert_flow ()
14328         {
14329                 // cols              : 3
14330                 // cnt               : 7
14331                 // RepeatDirection   : Vertical
14332                 // RepeatLayout      : Flow
14333                 // OuterTableImplied : False
14334                 // Header            : False
14335                 // Footer            : False
14336                 // Separator         : False
14337
14338
14339                 string v = RepeatInfoUser.DoTest (3, 7, RepeatDirection.Vertical, RepeatLayout.Flow, false, false, false, false);
14340                 string exp = @"<span>(0,Item,0)(1,Item,3)(2,Item,5)<br />(3,Item,1)(4,Item,4)(5,Item,6)<br />(6,Item,2)</span>";
14341                 Assert.AreEqual (exp, v, "#639");
14342         }
14343
14344
14345 }
14346 }
14347 #endif