RepeatInfoTest.auto.cs 434 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460546154625463546454655466546754685469547054715472547354745475547654775478547954805481548254835484548554865487548854895490549154925493549454955496549754985499550055015502550355045505550655075508550955105511551255135514551555165517551855195520552155225523552455255526552755285529553055315532553355345535553655375538553955405541554255435544554555465547554855495550555155525553555455555556555755585559556055615562556355645565556655675568556955705571557255735574557555765577557855795580558155825583558455855586558755885589559055915592559355945595559655975598559956005601560256035604560556065607560856095610561156125613561456155616561756185619562056215622562356245625562656275628562956305631563256335634563556365637563856395640564156425643564456455646564756485649565056515652565356545655565656575658565956605661566256635664566556665667566856695670567156725673567456755676567756785679568056815682568356845685568656875688568956905691569256935694569556965697569856995700570157025703570457055706570757085709571057115712571357145715571657175718571957205721572257235724572557265727572857295730573157325733573457355736573757385739574057415742574357445745574657475748574957505751575257535754575557565757575857595760576157625763576457655766576757685769577057715772577357745775577657775778577957805781578257835784578557865787578857895790579157925793579457955796579757985799580058015802580358045805580658075808580958105811581258135814581558165817581858195820582158225823582458255826582758285829583058315832583358345835583658375838583958405841584258435844584558465847584858495850585158525853585458555856585758585859586058615862586358645865586658675868586958705871587258735874587558765877587858795880588158825883588458855886588758885889589058915892589358945895589658975898589959005901590259035904590559065907590859095910591159125913591459155916591759185919592059215922592359245925592659275928592959305931593259335934593559365937593859395940594159425943594459455946594759485949595059515952595359545955595659575958595959605961596259635964596559665967596859695970597159725973597459755976597759785979598059815982598359845985598659875988598959905991599259935994599559965997599859996000600160026003600460056006600760086009601060116012601360146015601660176018601960206021602260236024602560266027602860296030603160326033603460356036603760386039604060416042604360446045604660476048604960506051605260536054605560566057605860596060606160626063606460656066606760686069607060716072607360746075607660776078607960806081608260836084608560866087608860896090609160926093609460956096609760986099610061016102610361046105610661076108610961106111611261136114611561166117611861196120612161226123612461256126612761286129613061316132613361346135613661376138613961406141614261436144614561466147614861496150615161526153615461556156615761586159616061616162616361646165616661676168616961706171617261736174617561766177617861796180618161826183618461856186618761886189619061916192619361946195619661976198619962006201620262036204620562066207620862096210621162126213621462156216621762186219622062216222622362246225622662276228622962306231623262336234623562366237623862396240624162426243624462456246624762486249625062516252625362546255625662576258625962606261626262636264626562666267626862696270627162726273627462756276627762786279628062816282628362846285628662876288628962906291629262936294629562966297629862996300630163026303630463056306630763086309631063116312631363146315631663176318631963206321632263236324632563266327632863296330633163326333633463356336633763386339634063416342634363446345634663476348634963506351635263536354635563566357635863596360636163626363636463656366636763686369637063716372637363746375637663776378637963806381638263836384638563866387638863896390639163926393639463956396639763986399640064016402640364046405640664076408640964106411641264136414641564166417641864196420642164226423642464256426642764286429643064316432643364346435643664376438643964406441644264436444644564466447644864496450645164526453645464556456645764586459646064616462646364646465646664676468646964706471647264736474647564766477647864796480648164826483648464856486648764886489649064916492649364946495649664976498649965006501650265036504650565066507650865096510651165126513651465156516651765186519652065216522652365246525652665276528652965306531653265336534653565366537653865396540654165426543654465456546654765486549655065516552655365546555655665576558655965606561656265636564656565666567656865696570657165726573657465756576657765786579658065816582658365846585658665876588658965906591659265936594659565966597659865996600660166026603660466056606660766086609661066116612661366146615661666176618661966206621662266236624662566266627662866296630663166326633663466356636663766386639664066416642664366446645664666476648664966506651665266536654665566566657665866596660666166626663666466656666666766686669667066716672667366746675667666776678667966806681668266836684668566866687668866896690669166926693669466956696669766986699670067016702670367046705670667076708670967106711671267136714671567166717671867196720672167226723672467256726672767286729673067316732673367346735673667376738673967406741674267436744674567466747674867496750675167526753675467556756675767586759676067616762676367646765676667676768676967706771677267736774677567766777677867796780678167826783678467856786678767886789679067916792679367946795679667976798679968006801680268036804680568066807680868096810681168126813681468156816681768186819682068216822682368246825682668276828682968306831683268336834683568366837683868396840684168426843684468456846684768486849685068516852685368546855685668576858685968606861686268636864686568666867686868696870687168726873687468756876687768786879688068816882688368846885688668876888688968906891689268936894689568966897689868996900690169026903690469056906690769086909691069116912691369146915691669176918691969206921692269236924692569266927692869296930693169326933693469356936693769386939694069416942694369446945694669476948694969506951695269536954695569566957695869596960696169626963696469656966696769686969697069716972697369746975697669776978697969806981698269836984698569866987698869896990699169926993699469956996699769986999700070017002700370047005700670077008700970107011701270137014701570167017701870197020702170227023702470257026702770287029703070317032703370347035703670377038703970407041704270437044704570467047704870497050705170527053705470557056705770587059706070617062706370647065706670677068706970707071707270737074707570767077707870797080708170827083708470857086708770887089709070917092709370947095709670977098709971007101710271037104710571067107710871097110711171127113711471157116711771187119712071217122712371247125712671277128712971307131713271337134713571367137713871397140714171427143714471457146714771487149715071517152715371547155715671577158715971607161716271637164716571667167716871697170717171727173717471757176717771787179718071817182718371847185718671877188718971907191719271937194719571967197719871997200720172027203720472057206720772087209721072117212721372147215721672177218721972207221722272237224722572267227722872297230723172327233723472357236723772387239724072417242724372447245724672477248724972507251725272537254725572567257725872597260726172627263726472657266726772687269727072717272727372747275727672777278727972807281728272837284728572867287728872897290729172927293729472957296729772987299730073017302730373047305730673077308730973107311731273137314731573167317731873197320732173227323732473257326732773287329733073317332733373347335733673377338733973407341734273437344734573467347734873497350735173527353735473557356735773587359736073617362736373647365736673677368736973707371737273737374737573767377737873797380738173827383738473857386738773887389739073917392739373947395739673977398739974007401740274037404740574067407740874097410741174127413741474157416741774187419742074217422742374247425742674277428742974307431743274337434743574367437743874397440744174427443744474457446744774487449745074517452745374547455745674577458745974607461746274637464746574667467746874697470747174727473747474757476747774787479748074817482748374847485748674877488748974907491749274937494749574967497749874997500750175027503750475057506750775087509751075117512751375147515751675177518751975207521752275237524752575267527752875297530753175327533753475357536753775387539754075417542754375447545754675477548754975507551755275537554755575567557755875597560756175627563756475657566756775687569757075717572757375747575757675777578757975807581758275837584758575867587758875897590759175927593759475957596759775987599760076017602760376047605760676077608760976107611761276137614761576167617761876197620762176227623762476257626762776287629763076317632763376347635763676377638763976407641764276437644764576467647764876497650765176527653765476557656765776587659766076617662766376647665766676677668766976707671767276737674767576767677767876797680768176827683768476857686768776887689769076917692769376947695769676977698769977007701770277037704770577067707770877097710771177127713771477157716771777187719772077217722772377247725772677277728772977307731773277337734773577367737773877397740774177427743774477457746774777487749775077517752775377547755775677577758775977607761776277637764776577667767776877697770777177727773777477757776777777787779778077817782778377847785778677877788778977907791779277937794779577967797779877997800780178027803780478057806780778087809781078117812781378147815781678177818781978207821782278237824782578267827782878297830783178327833783478357836783778387839784078417842784378447845784678477848784978507851785278537854785578567857785878597860786178627863786478657866786778687869787078717872787378747875787678777878787978807881788278837884788578867887788878897890789178927893789478957896789778987899790079017902790379047905790679077908790979107911791279137914791579167917791879197920792179227923792479257926792779287929793079317932793379347935793679377938793979407941794279437944794579467947794879497950795179527953795479557956795779587959796079617962796379647965796679677968796979707971797279737974797579767977797879797980798179827983798479857986798779887989799079917992799379947995799679977998799980008001800280038004800580068007800880098010801180128013801480158016801780188019802080218022802380248025802680278028802980308031803280338034803580368037803880398040804180428043804480458046804780488049805080518052805380548055805680578058805980608061806280638064806580668067806880698070807180728073807480758076807780788079808080818082808380848085808680878088808980908091809280938094809580968097809880998100810181028103810481058106810781088109811081118112811381148115811681178118811981208121812281238124812581268127812881298130813181328133813481358136813781388139814081418142814381448145814681478148814981508151815281538154815581568157815881598160816181628163816481658166816781688169817081718172817381748175817681778178817981808181818281838184818581868187818881898190819181928193819481958196819781988199820082018202820382048205820682078208820982108211821282138214821582168217821882198220822182228223822482258226822782288229823082318232823382348235823682378238823982408241824282438244824582468247824882498250825182528253825482558256825782588259826082618262826382648265826682678268826982708271827282738274827582768277827882798280828182828283828482858286828782888289829082918292829382948295829682978298829983008301830283038304830583068307830883098310831183128313831483158316831783188319832083218322832383248325832683278328832983308331833283338334833583368337833883398340834183428343834483458346834783488349835083518352835383548355835683578358835983608361836283638364836583668367836883698370837183728373837483758376837783788379838083818382838383848385838683878388838983908391839283938394839583968397839883998400840184028403840484058406840784088409841084118412841384148415841684178418841984208421842284238424842584268427842884298430843184328433843484358436843784388439844084418442844384448445844684478448844984508451845284538454845584568457845884598460846184628463846484658466846784688469847084718472847384748475847684778478847984808481848284838484848584868487848884898490849184928493849484958496849784988499850085018502850385048505850685078508850985108511851285138514851585168517851885198520852185228523852485258526852785288529853085318532853385348535853685378538853985408541854285438544854585468547854885498550855185528553855485558556855785588559856085618562856385648565856685678568856985708571857285738574857585768577857885798580858185828583858485858586858785888589859085918592859385948595859685978598859986008601860286038604860586068607860886098610861186128613861486158616861786188619862086218622862386248625862686278628862986308631863286338634863586368637863886398640864186428643864486458646864786488649865086518652865386548655865686578658865986608661866286638664866586668667866886698670867186728673867486758676867786788679868086818682868386848685868686878688868986908691869286938694869586968697869886998700870187028703870487058706870787088709871087118712871387148715871687178718871987208721872287238724872587268727872887298730873187328733873487358736873787388739874087418742874387448745874687478748874987508751875287538754875587568757875887598760876187628763876487658766876787688769877087718772877387748775877687778778877987808781878287838784878587868787878887898790879187928793879487958796879787988799880088018802880388048805880688078808880988108811881288138814881588168817881888198820882188228823882488258826882788288829883088318832883388348835883688378838883988408841884288438844884588468847884888498850885188528853885488558856885788588859886088618862886388648865886688678868886988708871887288738874887588768877887888798880888188828883888488858886888788888889889088918892889388948895889688978898889989008901890289038904890589068907890889098910891189128913891489158916891789188919892089218922892389248925892689278928892989308931893289338934893589368937893889398940894189428943894489458946894789488949895089518952895389548955895689578958895989608961896289638964896589668967896889698970897189728973897489758976897789788979898089818982898389848985898689878988898989908991899289938994899589968997899889999000900190029003900490059006900790089009901090119012901390149015901690179018901990209021902290239024902590269027902890299030903190329033903490359036903790389039904090419042904390449045904690479048904990509051905290539054905590569057905890599060906190629063906490659066906790689069907090719072907390749075907690779078907990809081908290839084908590869087908890899090909190929093909490959096909790989099910091019102910391049105910691079108910991109111911291139114911591169117911891199120912191229123912491259126912791289129913091319132913391349135913691379138913991409141914291439144914591469147914891499150915191529153915491559156915791589159916091619162916391649165916691679168916991709171917291739174917591769177917891799180918191829183918491859186918791889189919091919192919391949195919691979198919992009201920292039204920592069207920892099210921192129213921492159216921792189219922092219222922392249225922692279228922992309231923292339234923592369237923892399240924192429243924492459246924792489249925092519252925392549255925692579258925992609261926292639264926592669267926892699270927192729273927492759276927792789279928092819282928392849285928692879288928992909291929292939294929592969297929892999300930193029303930493059306930793089309931093119312931393149315931693179318931993209321932293239324932593269327932893299330933193329333933493359336933793389339934093419342934393449345934693479348934993509351935293539354935593569357935893599360936193629363936493659366936793689369937093719372937393749375937693779378937993809381938293839384938593869387938893899390939193929393939493959396939793989399940094019402940394049405940694079408940994109411941294139414941594169417941894199420942194229423942494259426942794289429943094319432943394349435943694379438943994409441944294439444944594469447944894499450945194529453945494559456945794589459946094619462946394649465946694679468946994709471947294739474947594769477947894799480948194829483948494859486948794889489949094919492949394949495949694979498949995009501950295039504950595069507950895099510951195129513951495159516951795189519952095219522952395249525952695279528952995309531953295339534953595369537953895399540954195429543954495459546954795489549955095519552955395549555955695579558955995609561956295639564956595669567956895699570957195729573957495759576957795789579958095819582958395849585958695879588958995909591959295939594959595969597959895999600960196029603960496059606960796089609961096119612961396149615961696179618961996209621962296239624962596269627962896299630963196329633963496359636963796389639964096419642964396449645964696479648964996509651965296539654965596569657965896599660966196629663966496659666966796689669967096719672967396749675967696779678967996809681968296839684968596869687968896899690969196929693969496959696969796989699970097019702970397049705970697079708970997109711971297139714971597169717971897199720972197229723972497259726972797289729973097319732973397349735973697379738973997409741974297439744974597469747974897499750975197529753975497559756975797589759976097619762976397649765976697679768976997709771977297739774977597769777977897799780978197829783978497859786978797889789979097919792979397949795979697979798979998009801980298039804980598069807980898099810981198129813981498159816981798189819982098219822982398249825982698279828982998309831983298339834983598369837983898399840984198429843984498459846984798489849985098519852985398549855985698579858985998609861986298639864986598669867986898699870987198729873987498759876987798789879988098819882988398849885988698879888988998909891989298939894989598969897989898999900990199029903990499059906990799089909991099119912991399149915991699179918991999209921992299239924992599269927992899299930993199329933993499359936993799389939994099419942994399449945994699479948994999509951995299539954995599569957995899599960996199629963996499659966996799689969997099719972997399749975997699779978997999809981998299839984998599869987998899899990999199929993999499959996999799989999100001000110002100031000410005100061000710008100091001010011100121001310014100151001610017100181001910020100211002210023100241002510026100271002810029100301003110032100331003410035100361003710038100391004010041100421004310044100451004610047100481004910050100511005210053100541005510056100571005810059100601006110062100631006410065100661006710068100691007010071100721007310074100751007610077100781007910080100811008210083100841008510086100871008810089100901009110092100931009410095100961009710098100991010010101101021010310104101051010610107101081010910110101111011210113101141011510116101171011810119101201012110122101231012410125101261012710128101291013010131101321013310134101351013610137101381013910140101411014210143101441014510146101471014810149101501015110152101531015410155101561015710158101591016010161101621016310164101651016610167101681016910170101711017210173101741017510176101771017810179101801018110182101831018410185101861018710188101891019010191101921019310194101951019610197101981019910200102011020210203102041020510206102071020810209102101021110212102131021410215102161021710218102191022010221102221022310224102251022610227102281022910230102311023210233102341023510236102371023810239102401024110242102431024410245102461024710248102491025010251102521025310254102551025610257102581025910260102611026210263102641026510266102671026810269102701027110272102731027410275102761027710278102791028010281102821028310284102851028610287102881028910290102911029210293102941029510296102971029810299103001030110302103031030410305103061030710308103091031010311103121031310314103151031610317103181031910320103211032210323103241032510326103271032810329103301033110332103331033410335103361033710338103391034010341103421034310344103451034610347103481034910350103511035210353103541035510356103571035810359103601036110362103631036410365103661036710368103691037010371103721037310374103751037610377103781037910380103811038210383103841038510386103871038810389103901039110392103931039410395103961039710398103991040010401104021040310404104051040610407104081040910410104111041210413104141041510416104171041810419104201042110422104231042410425104261042710428104291043010431104321043310434104351043610437104381043910440104411044210443104441044510446104471044810449104501045110452104531045410455104561045710458104591046010461104621046310464104651046610467104681046910470104711047210473104741047510476104771047810479104801048110482104831048410485104861048710488104891049010491104921049310494104951049610497104981049910500105011050210503105041050510506105071050810509105101051110512105131051410515105161051710518105191052010521105221052310524105251052610527105281052910530105311053210533105341053510536105371053810539105401054110542105431054410545105461054710548105491055010551105521055310554105551055610557105581055910560105611056210563105641056510566105671056810569105701057110572105731057410575105761057710578105791058010581105821058310584105851058610587105881058910590105911059210593105941059510596105971059810599106001060110602106031060410605106061060710608106091061010611106121061310614106151061610617106181061910620106211062210623106241062510626106271062810629106301063110632106331063410635106361063710638106391064010641106421064310644106451064610647106481064910650106511065210653106541065510656106571065810659106601066110662106631066410665106661066710668106691067010671106721067310674106751067610677106781067910680106811068210683106841068510686106871068810689106901069110692106931069410695106961069710698106991070010701107021070310704107051070610707107081070910710107111071210713107141071510716107171071810719107201072110722107231072410725107261072710728107291073010731107321073310734107351073610737107381073910740107411074210743107441074510746107471074810749107501075110752107531075410755107561075710758107591076010761107621076310764107651076610767107681076910770107711077210773107741077510776107771077810779107801078110782107831078410785107861078710788107891079010791107921079310794107951079610797107981079910800108011080210803108041080510806108071080810809108101081110812108131081410815108161081710818108191082010821108221082310824108251082610827108281082910830108311083210833108341083510836108371083810839108401084110842108431084410845108461084710848108491085010851108521085310854108551085610857108581085910860108611086210863108641086510866108671086810869108701087110872108731087410875108761087710878108791088010881108821088310884108851088610887108881088910890108911089210893108941089510896108971089810899109001090110902109031090410905109061090710908109091091010911109121091310914109151091610917109181091910920109211092210923109241092510926109271092810929109301093110932109331093410935109361093710938109391094010941109421094310944109451094610947109481094910950109511095210953109541095510956109571095810959109601096110962109631096410965109661096710968109691097010971109721097310974109751097610977109781097910980109811098210983109841098510986109871098810989109901099110992109931099410995109961099710998109991100011001110021100311004110051100611007110081100911010110111101211013110141101511016110171101811019110201102111022110231102411025110261102711028110291103011031110321103311034110351103611037110381103911040110411104211043110441104511046110471104811049110501105111052110531105411055110561105711058110591106011061110621106311064110651106611067110681106911070110711107211073110741107511076110771107811079110801108111082110831108411085110861108711088110891109011091110921109311094110951109611097110981109911100111011110211103111041110511106111071110811109111101111111112111131111411115111161111711118111191112011121111221112311124111251112611127111281112911130111311113211133111341113511136111371113811139111401114111142111431114411145111461114711148111491115011151111521115311154111551115611157111581115911160111611116211163111641116511166111671116811169111701117111172111731117411175111761117711178111791118011181111821118311184111851118611187111881118911190111911119211193111941119511196111971119811199112001120111202112031120411205112061120711208112091121011211112121121311214112151121611217112181121911220112211122211223112241122511226112271122811229112301123111232112331123411235112361123711238112391124011241112421124311244112451124611247112481124911250112511125211253112541125511256112571125811259112601126111262112631126411265112661126711268112691127011271112721127311274112751127611277112781127911280112811128211283112841128511286112871128811289112901129111292112931129411295112961129711298112991130011301113021130311304113051130611307113081130911310113111131211313113141131511316113171131811319113201132111322113231132411325113261132711328113291133011331113321133311334113351133611337113381133911340113411134211343113441134511346113471134811349113501135111352113531135411355113561135711358113591136011361113621136311364113651136611367113681136911370113711137211373113741137511376113771137811379113801138111382113831138411385113861138711388113891139011391113921139311394113951139611397113981139911400114011140211403114041140511406114071140811409114101141111412114131141411415114161141711418114191142011421114221142311424114251142611427114281142911430114311143211433114341143511436114371143811439114401144111442114431144411445114461144711448114491145011451114521145311454114551145611457114581145911460114611146211463114641146511466114671146811469114701147111472114731147411475114761147711478114791148011481114821148311484114851148611487114881148911490114911149211493114941149511496114971149811499115001150111502115031150411505115061150711508115091151011511115121151311514115151151611517115181151911520115211152211523115241152511526115271152811529115301153111532115331153411535115361153711538115391154011541115421154311544115451154611547115481154911550115511155211553115541155511556115571155811559115601156111562115631156411565115661156711568115691157011571115721157311574115751157611577115781157911580115811158211583115841158511586115871158811589115901159111592115931159411595115961159711598115991160011601116021160311604116051160611607116081160911610116111161211613116141161511616116171161811619116201162111622116231162411625116261162711628116291163011631116321163311634116351163611637116381163911640116411164211643116441164511646116471164811649116501165111652116531165411655116561165711658116591166011661116621166311664116651166611667116681166911670116711167211673116741167511676116771167811679116801168111682116831168411685116861168711688116891169011691116921169311694116951169611697116981169911700117011170211703117041170511706117071170811709117101171111712117131171411715117161171711718117191172011721117221172311724117251172611727117281172911730117311173211733117341173511736117371173811739117401174111742117431174411745117461174711748117491175011751117521175311754117551175611757117581175911760117611176211763117641176511766117671176811769117701177111772117731177411775117761177711778117791178011781117821178311784117851178611787117881178911790117911179211793117941179511796117971179811799118001180111802118031180411805118061180711808118091181011811118121181311814118151181611817118181181911820118211182211823118241182511826118271182811829118301183111832118331183411835118361183711838118391184011841118421184311844118451184611847118481184911850118511185211853118541185511856118571185811859118601186111862118631186411865118661186711868118691187011871118721187311874118751187611877118781187911880118811188211883118841188511886118871188811889118901189111892118931189411895118961189711898118991190011901119021190311904119051190611907119081190911910119111191211913119141191511916119171191811919119201192111922119231192411925119261192711928119291193011931119321193311934119351193611937119381193911940119411194211943119441194511946119471194811949119501195111952119531195411955119561195711958119591196011961119621196311964119651196611967119681196911970119711197211973119741197511976119771197811979119801198111982119831198411985119861198711988119891199011991119921199311994119951199611997119981199912000120011200212003120041200512006120071200812009120101201112012120131201412015120161201712018120191202012021120221202312024120251202612027120281202912030120311203212033120341203512036120371203812039120401204112042120431204412045120461204712048120491205012051120521205312054120551205612057120581205912060120611206212063120641206512066120671206812069120701207112072120731207412075120761207712078120791208012081120821208312084120851208612087120881208912090120911209212093120941209512096120971209812099121001210112102121031210412105121061210712108121091211012111121121211312114121151211612117121181211912120121211212212123121241212512126121271212812129121301213112132121331213412135121361213712138121391214012141121421214312144121451214612147121481214912150121511215212153121541215512156121571215812159121601216112162121631216412165121661216712168121691217012171121721217312174121751217612177121781217912180121811218212183121841218512186121871218812189121901219112192121931219412195121961219712198121991220012201122021220312204122051220612207122081220912210122111221212213122141221512216122171221812219122201222112222122231222412225122261222712228122291223012231122321223312234122351223612237122381223912240122411224212243122441224512246122471224812249122501225112252122531225412255122561225712258122591226012261122621226312264122651226612267122681226912270122711227212273122741227512276122771227812279122801228112282122831228412285122861228712288122891229012291122921229312294122951229612297122981229912300123011230212303123041230512306123071230812309123101231112312123131231412315123161231712318123191232012321123221232312324123251232612327123281232912330123311233212333123341233512336123371233812339123401234112342123431234412345123461234712348123491235012351123521235312354123551235612357123581235912360123611236212363123641236512366123671236812369123701237112372123731237412375123761237712378123791238012381123821238312384123851238612387123881238912390123911239212393123941239512396123971239812399124001240112402124031240412405124061240712408124091241012411124121241312414124151241612417124181241912420124211242212423124241242512426124271242812429124301243112432124331243412435124361243712438124391244012441124421244312444124451244612447124481244912450124511245212453124541245512456124571245812459124601246112462124631246412465124661246712468124691247012471124721247312474124751247612477124781247912480124811248212483124841248512486124871248812489124901249112492124931249412495124961249712498124991250012501125021250312504125051250612507125081250912510125111251212513125141251512516125171251812519125201252112522125231252412525125261252712528125291253012531125321253312534125351253612537125381253912540125411254212543125441254512546125471254812549125501255112552125531255412555125561255712558125591256012561125621256312564125651256612567125681256912570125711257212573125741257512576125771257812579125801258112582125831258412585125861258712588125891259012591125921259312594125951259612597125981259912600126011260212603126041260512606126071260812609126101261112612126131261412615126161261712618126191262012621126221262312624126251262612627126281262912630126311263212633126341263512636126371263812639126401264112642126431264412645126461264712648126491265012651126521265312654126551265612657126581265912660126611266212663126641266512666126671266812669126701267112672126731267412675126761267712678126791268012681126821268312684126851268612687126881268912690126911269212693126941269512696126971269812699127001270112702127031270412705127061270712708127091271012711127121271312714127151271612717127181271912720127211272212723127241272512726127271272812729127301273112732127331273412735127361273712738127391274012741127421274312744127451274612747127481274912750127511275212753127541275512756127571275812759127601276112762127631276412765127661276712768127691277012771127721277312774127751277612777127781277912780127811278212783127841278512786127871278812789127901279112792127931279412795127961279712798127991280012801128021280312804128051280612807128081280912810128111281212813128141281512816128171281812819128201282112822128231282412825128261282712828128291283012831128321283312834128351283612837128381283912840128411284212843128441284512846128471284812849128501285112852128531285412855128561285712858128591286012861128621286312864128651286612867128681286912870128711287212873128741287512876128771287812879128801288112882128831288412885128861288712888128891289012891128921289312894128951289612897128981289912900129011290212903129041290512906129071290812909129101291112912129131291412915129161291712918129191292012921129221292312924129251292612927129281292912930129311293212933129341293512936129371293812939129401294112942129431294412945129461294712948129491295012951129521295312954129551295612957129581295912960129611296212963129641296512966129671296812969129701297112972129731297412975129761297712978129791298012981129821298312984129851298612987129881298912990129911299212993129941299512996129971299812999130001300113002130031300413005130061300713008130091301013011130121301313014130151301613017130181301913020130211302213023130241302513026130271302813029130301303113032130331303413035130361303713038130391304013041130421304313044130451304613047130481304913050130511305213053130541305513056130571305813059130601306113062130631306413065130661306713068130691307013071130721307313074130751307613077130781307913080130811308213083130841308513086130871308813089130901309113092130931309413095130961309713098130991310013101131021310313104131051310613107131081310913110131111311213113131141311513116131171311813119131201312113122131231312413125131261312713128131291313013131131321313313134131351313613137131381313913140131411314213143131441314513146131471314813149131501315113152131531315413155131561315713158131591316013161131621316313164131651316613167131681316913170131711317213173131741317513176131771317813179131801318113182131831318413185131861318713188131891319013191131921319313194131951319613197131981319913200132011320213203132041320513206132071320813209132101321113212132131321413215132161321713218132191322013221132221322313224132251322613227132281322913230132311323213233132341323513236132371323813239132401324113242132431324413245132461324713248132491325013251132521325313254132551325613257132581325913260132611326213263132641326513266132671326813269132701327113272132731327413275132761327713278132791328013281132821328313284132851328613287132881328913290132911329213293132941329513296132971329813299133001330113302133031330413305133061330713308133091331013311133121331313314133151331613317133181331913320133211332213323133241332513326133271332813329133301333113332133331333413335133361333713338133391334013341133421334313344133451334613347133481334913350133511335213353133541335513356133571335813359133601336113362133631336413365133661336713368133691337013371133721337313374133751337613377133781337913380133811338213383133841338513386133871338813389133901339113392133931339413395133961339713398133991340013401134021340313404134051340613407134081340913410134111341213413134141341513416134171341813419134201342113422134231342413425134261342713428134291343013431134321343313434134351343613437134381343913440134411344213443134441344513446134471344813449134501345113452134531345413455134561345713458134591346013461134621346313464134651346613467134681346913470134711347213473134741347513476134771347813479134801348113482134831348413485134861348713488134891349013491134921349313494134951349613497134981349913500135011350213503135041350513506135071350813509135101351113512135131351413515135161351713518135191352013521135221352313524135251352613527135281352913530135311353213533135341353513536135371353813539135401354113542135431354413545135461354713548135491355013551135521355313554135551355613557135581355913560135611356213563135641356513566135671356813569135701357113572135731357413575135761357713578135791358013581135821358313584135851358613587135881358913590135911359213593135941359513596135971359813599136001360113602136031360413605136061360713608136091361013611136121361313614136151361613617136181361913620136211362213623136241362513626136271362813629136301363113632136331363413635136361363713638136391364013641136421364313644136451364613647136481364913650136511365213653136541365513656136571365813659136601366113662136631366413665136661366713668136691367013671136721367313674136751367613677136781367913680136811368213683136841368513686136871368813689136901369113692136931369413695136961369713698136991370013701137021370313704137051370613707137081370913710137111371213713137141371513716137171371813719137201372113722137231372413725137261372713728137291373013731137321373313734137351373613737137381373913740137411374213743137441374513746137471374813749137501375113752137531375413755137561375713758137591376013761137621376313764137651376613767137681376913770137711377213773137741377513776137771377813779137801378113782137831378413785137861378713788137891379013791137921379313794137951379613797137981379913800138011380213803138041380513806138071380813809138101381113812138131381413815138161381713818138191382013821138221382313824138251382613827138281382913830138311383213833138341383513836138371383813839138401384113842138431384413845138461384713848138491385013851138521385313854138551385613857138581385913860138611386213863138641386513866138671386813869138701387113872138731387413875138761387713878138791388013881138821388313884138851388613887138881388913890138911389213893138941389513896138971389813899139001390113902139031390413905139061390713908139091391013911139121391313914139151391613917139181391913920139211392213923139241392513926139271392813929139301393113932139331393413935139361393713938139391394013941139421394313944139451394613947139481394913950139511395213953139541395513956139571395813959139601396113962139631396413965139661396713968139691397013971139721397313974139751397613977139781397913980139811398213983139841398513986139871398813989139901399113992139931399413995139961399713998139991400014001140021400314004140051400614007140081400914010140111401214013140141401514016140171401814019140201402114022140231402414025140261402714028140291403014031140321403314034140351403614037140381403914040140411404214043140441404514046140471404814049140501405114052140531405414055140561405714058140591406014061140621406314064140651406614067140681406914070140711407214073140741407514076140771407814079140801408114082140831408414085140861408714088140891409014091140921409314094140951409614097140981409914100141011410214103141041410514106141071410814109141101411114112141131411414115141161411714118141191412014121141221412314124141251412614127141281412914130141311413214133141341413514136141371413814139141401414114142141431414414145141461414714148141491415014151141521415314154141551415614157141581415914160141611416214163141641416514166141671416814169141701417114172141731417414175141761417714178141791418014181141821418314184141851418614187141881418914190141911419214193141941419514196141971419814199142001420114202142031420414205142061420714208142091421014211142121421314214142151421614217142181421914220142211422214223142241422514226142271422814229142301423114232142331423414235142361423714238142391424014241142421424314244142451424614247142481424914250142511425214253142541425514256142571425814259142601426114262142631426414265142661426714268142691427014271142721427314274142751427614277142781427914280142811428214283142841428514286142871428814289142901429114292142931429414295142961429714298142991430014301143021430314304143051430614307143081430914310143111431214313143141431514316143171431814319143201432114322143231432414325143261432714328143291433014331143321433314334143351433614337143381433914340143411434214343143441434514346
  1. #if !NET_2_0
  2. // THIS IS AUTOGENERATED DO NOT EDIT
  3. //
  4. // Authors:
  5. // Ben Maurer ([email protected])
  6. //
  7. // Copyright (C) 2005 Novell, Inc (http://www.novell.com)
  8. //
  9. // Permission is hereby granted, free of charge, to any person obtaining
  10. // a copy of this software and associated documentation files (the
  11. // "Software"), to deal in the Software without restriction, including
  12. // without limitation the rights to use, copy, modify, merge, publish,
  13. // distribute, sublicense, and/or sell copies of the Software, and to
  14. // permit persons to whom the Software is furnished to do so, subject to
  15. // the following conditions:
  16. //
  17. // The above copyright notice and this permission notice shall be
  18. // included in all copies or substantial portions of the Software.
  19. //
  20. // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
  21. // EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
  22. // MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
  23. // NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
  24. // LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
  25. // OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
  26. // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
  27. //
  28. using System;
  29. using System.Collections;
  30. using System.ComponentModel;
  31. using System.Drawing;
  32. using System.IO;
  33. using System.Web;
  34. using System.Web.UI;
  35. using System.Web.UI.WebControls;
  36. using NUnit.Framework;
  37. namespace MonoTests.System.Web.UI.WebControls {
  38. [TestFixture]
  39. public class RepeatInfo_Autogen {
  40. public class RepeatInfoUser : IRepeatInfoUser {
  41. private bool footer;
  42. private bool header;
  43. private bool separators;
  44. private int count;
  45. private int counter;
  46. public RepeatInfoUser (bool header, bool footer, bool separators, int count)
  47. {
  48. this.footer = footer;
  49. this.header = header;
  50. this.separators = separators;
  51. this.count = count;
  52. }
  53. static HtmlTextWriter GetWriter ()
  54. {
  55. StringWriter sw = new StringWriter ();
  56. sw.NewLine = "\n";
  57. return new HtmlTextWriter (sw);
  58. }
  59. public static string DoTest (int cols, int cnt, RepeatDirection d, RepeatLayout l, bool OuterTableImplied, bool hdr, bool ftr, bool sep)
  60. {
  61. HtmlTextWriter htw = GetWriter ();
  62. RepeatInfo ri = new RepeatInfo ();
  63. ri.RepeatColumns = cols;
  64. ri.RepeatDirection = d;
  65. ri.RepeatLayout = l;
  66. ri.OuterTableImplied = OuterTableImplied;
  67. Style s = new Style ();
  68. if (cols != 3)
  69. s.CssClass = "mainstyle";
  70. ri.RenderRepeater (htw, new RepeatInfoUser (hdr, ftr, sep, cnt), s, new DataList ());
  71. return htw.InnerWriter.ToString ();
  72. }
  73. public bool HasFooter {
  74. get { return footer; }
  75. }
  76. public bool HasHeader {
  77. get { return header; }
  78. }
  79. public bool HasSeparators {
  80. get { return separators; }
  81. }
  82. public int RepeatedItemCount {
  83. get { return count; }
  84. }
  85. public Style GetItemStyle (ListItemType itemType, int repeatIndex)
  86. {
  87. Style s = new Style ();
  88. s.CssClass = String.Format ("{0}{1}", itemType, repeatIndex);
  89. return s;
  90. }
  91. public void RenderItem (ListItemType itemType, int repeatIndex, RepeatInfo repeatInfo, HtmlTextWriter writer)
  92. {
  93. writer.Write ("({0},{1},{2})", counter++, itemType, repeatIndex);
  94. }
  95. }
  96. [Test]
  97. public void RepeatInfo_0cols_0itms_horiz_tbl_otrtblimp_hdr_ftr_sep ()
  98. {
  99. // cols : 0
  100. // cnt : 0
  101. // RepeatDirection : Horizontal
  102. // RepeatLayout : Table
  103. // OuterTableImplied : True
  104. // Header : True
  105. // Footer : True
  106. // Separator : True
  107. string v = RepeatInfoUser.DoTest (0, 0, RepeatDirection.Horizontal, RepeatLayout.Table, true, true, true, true);
  108. string exp = @"<table class=""mainstyle"" border=""0"">
  109. <tr>
  110. <td colspan=""0"" class=""Header-1"">(0,Header,-1)</td>
  111. </tr><tr>
  112. <td colspan=""0"" class=""Footer-1"">(1,Footer,-1)</td>
  113. </tr>
  114. </table>";
  115. Assert.AreEqual (exp, v, "#0");
  116. }
  117. [Test]
  118. public void RepeatInfo_0cols_1itms_horiz_tbl_otrtblimp_hdr_ftr_sep ()
  119. {
  120. // cols : 0
  121. // cnt : 1
  122. // RepeatDirection : Horizontal
  123. // RepeatLayout : Table
  124. // OuterTableImplied : True
  125. // Header : True
  126. // Footer : True
  127. // Separator : True
  128. string v = RepeatInfoUser.DoTest (0, 1, RepeatDirection.Horizontal, RepeatLayout.Table, true, true, true, true);
  129. string exp = @"<table class=""mainstyle"" border=""0"">
  130. <tr>
  131. <td colspan=""2"" class=""Header-1"">(0,Header,-1)</td>
  132. </tr><tr>
  133. <td class=""Item0"">(1,Item,0)</td>
  134. </tr><tr>
  135. <td colspan=""2"" class=""Footer-1"">(2,Footer,-1)</td>
  136. </tr>
  137. </table>";
  138. Assert.AreEqual (exp, v, "#1");
  139. }
  140. [Test]
  141. public void RepeatInfo_0cols_2itms_horiz_tbl_otrtblimp_hdr_ftr_sep ()
  142. {
  143. // cols : 0
  144. // cnt : 2
  145. // RepeatDirection : Horizontal
  146. // RepeatLayout : Table
  147. // OuterTableImplied : True
  148. // Header : True
  149. // Footer : True
  150. // Separator : True
  151. string v = RepeatInfoUser.DoTest (0, 2, RepeatDirection.Horizontal, RepeatLayout.Table, true, true, true, true);
  152. string exp = @"<table class=""mainstyle"" border=""0"">
  153. <tr>
  154. <td colspan=""4"" class=""Header-1"">(0,Header,-1)</td>
  155. </tr><tr>
  156. <td class=""Item0"">(1,Item,0)</td><td class=""Separator0"">(2,Separator,0)</td><td class=""Item1"">(3,Item,1)</td>
  157. </tr><tr>
  158. <td colspan=""4"" class=""Footer-1"">(4,Footer,-1)</td>
  159. </tr>
  160. </table>";
  161. Assert.AreEqual (exp, v, "#2");
  162. }
  163. [Test]
  164. public void RepeatInfo_0cols_5itms_horiz_tbl_otrtblimp_hdr_ftr_sep ()
  165. {
  166. // cols : 0
  167. // cnt : 5
  168. // RepeatDirection : Horizontal
  169. // RepeatLayout : Table
  170. // OuterTableImplied : True
  171. // Header : True
  172. // Footer : True
  173. // Separator : True
  174. string v = RepeatInfoUser.DoTest (0, 5, RepeatDirection.Horizontal, RepeatLayout.Table, true, true, true, true);
  175. string exp = @"<table class=""mainstyle"" border=""0"">
  176. <tr>
  177. <td colspan=""10"" class=""Header-1"">(0,Header,-1)</td>
  178. </tr><tr>
  179. <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>
  180. </tr><tr>
  181. <td colspan=""10"" class=""Footer-1"">(10,Footer,-1)</td>
  182. </tr>
  183. </table>";
  184. Assert.AreEqual (exp, v, "#3");
  185. }
  186. [Test]
  187. public void RepeatInfo_1cols_0itms_horiz_tbl_otrtblimp_hdr_ftr_sep ()
  188. {
  189. // cols : 1
  190. // cnt : 0
  191. // RepeatDirection : Horizontal
  192. // RepeatLayout : Table
  193. // OuterTableImplied : True
  194. // Header : True
  195. // Footer : True
  196. // Separator : True
  197. string v = RepeatInfoUser.DoTest (1, 0, RepeatDirection.Horizontal, RepeatLayout.Table, true, true, true, true);
  198. string exp = @"<table class=""mainstyle"" border=""0"">
  199. <tr>
  200. <td colspan=""2"" class=""Header-1"">(0,Header,-1)</td>
  201. </tr><tr>
  202. <td colspan=""2"" class=""Footer-1"">(1,Footer,-1)</td>
  203. </tr>
  204. </table>";
  205. Assert.AreEqual (exp, v, "#4");
  206. }
  207. [Test]
  208. public void RepeatInfo_1cols_5itms_horiz_tbl_otrtblimp_hdr_ftr_sep ()
  209. {
  210. // cols : 1
  211. // cnt : 5
  212. // RepeatDirection : Horizontal
  213. // RepeatLayout : Table
  214. // OuterTableImplied : True
  215. // Header : True
  216. // Footer : True
  217. // Separator : True
  218. string v = RepeatInfoUser.DoTest (1, 5, RepeatDirection.Horizontal, RepeatLayout.Table, true, true, true, true);
  219. string exp = @"<table class=""mainstyle"" border=""0"">
  220. <tr>
  221. <td colspan=""2"" class=""Header-1"">(0,Header,-1)</td>
  222. </tr><tr>
  223. <td class=""Item0"">(1,Item,0)</td><td class=""Separator0"">(2,Separator,0)</td>
  224. </tr><tr>
  225. <td class=""Item1"">(3,Item,1)</td><td class=""Separator1"">(4,Separator,1)</td>
  226. </tr><tr>
  227. <td class=""Item2"">(5,Item,2)</td><td class=""Separator2"">(6,Separator,2)</td>
  228. </tr><tr>
  229. <td class=""Item3"">(7,Item,3)</td><td class=""Separator3"">(8,Separator,3)</td>
  230. </tr><tr>
  231. <td class=""Item4"">(9,Item,4)</td>
  232. </tr><tr>
  233. <td colspan=""2"" class=""Footer-1"">(10,Footer,-1)</td>
  234. </tr>
  235. </table>";
  236. Assert.AreEqual (exp, v, "#5");
  237. }
  238. [Test]
  239. public void RepeatInfo_2cols_4itms_horiz_tbl_otrtblimp_hdr_ftr_sep ()
  240. {
  241. // cols : 2
  242. // cnt : 4
  243. // RepeatDirection : Horizontal
  244. // RepeatLayout : Table
  245. // OuterTableImplied : True
  246. // Header : True
  247. // Footer : True
  248. // Separator : True
  249. string v = RepeatInfoUser.DoTest (2, 4, RepeatDirection.Horizontal, RepeatLayout.Table, true, true, true, true);
  250. string exp = @"<table class=""mainstyle"" border=""0"">
  251. <tr>
  252. <td colspan=""4"" class=""Header-1"">(0,Header,-1)</td>
  253. </tr><tr>
  254. <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>
  255. </tr><tr>
  256. <td class=""Item2"">(5,Item,2)</td><td class=""Separator2"">(6,Separator,2)</td><td class=""Item3"">(7,Item,3)</td>
  257. </tr><tr>
  258. <td colspan=""4"" class=""Footer-1"">(8,Footer,-1)</td>
  259. </tr>
  260. </table>";
  261. Assert.AreEqual (exp, v, "#6");
  262. }
  263. [Test]
  264. public void RepeatInfo_2cols_7itms_horiz_tbl_otrtblimp_hdr_ftr_sep ()
  265. {
  266. // cols : 2
  267. // cnt : 7
  268. // RepeatDirection : Horizontal
  269. // RepeatLayout : Table
  270. // OuterTableImplied : True
  271. // Header : True
  272. // Footer : True
  273. // Separator : True
  274. string v = RepeatInfoUser.DoTest (2, 7, RepeatDirection.Horizontal, RepeatLayout.Table, true, true, true, true);
  275. string exp = @"<table class=""mainstyle"" border=""0"">
  276. <tr>
  277. <td colspan=""4"" class=""Header-1"">(0,Header,-1)</td>
  278. </tr><tr>
  279. <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>
  280. </tr><tr>
  281. <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>
  282. </tr><tr>
  283. <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>
  284. </tr><tr>
  285. <td class=""Item6"">(13,Item,6)</td>
  286. </tr><tr>
  287. <td colspan=""4"" class=""Footer-1"">(14,Footer,-1)</td>
  288. </tr>
  289. </table>";
  290. Assert.AreEqual (exp, v, "#7");
  291. }
  292. [Test]
  293. public void RepeatInfo_3cols_9itms_horiz_tbl_otrtblimp_hdr_ftr_sep ()
  294. {
  295. // cols : 3
  296. // cnt : 9
  297. // RepeatDirection : Horizontal
  298. // RepeatLayout : Table
  299. // OuterTableImplied : True
  300. // Header : True
  301. // Footer : True
  302. // Separator : True
  303. string v = RepeatInfoUser.DoTest (3, 9, RepeatDirection.Horizontal, RepeatLayout.Table, true, true, true, true);
  304. string exp = @"<table border=""0"">
  305. <tr>
  306. <td colspan=""6"" class=""Header-1"">(0,Header,-1)</td>
  307. </tr><tr>
  308. <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>
  309. </tr><tr>
  310. <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>
  311. </tr><tr>
  312. <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>
  313. </tr><tr>
  314. <td colspan=""6"" class=""Footer-1"">(18,Footer,-1)</td>
  315. </tr>
  316. </table>";
  317. Assert.AreEqual (exp, v, "#8");
  318. }
  319. [Test]
  320. public void RepeatInfo_3cols_7itms_horiz_tbl_otrtblimp_hdr_ftr_sep ()
  321. {
  322. // cols : 3
  323. // cnt : 7
  324. // RepeatDirection : Horizontal
  325. // RepeatLayout : Table
  326. // OuterTableImplied : True
  327. // Header : True
  328. // Footer : True
  329. // Separator : True
  330. string v = RepeatInfoUser.DoTest (3, 7, RepeatDirection.Horizontal, RepeatLayout.Table, true, true, true, true);
  331. string exp = @"<table border=""0"">
  332. <tr>
  333. <td colspan=""6"" class=""Header-1"">(0,Header,-1)</td>
  334. </tr><tr>
  335. <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>
  336. </tr><tr>
  337. <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>
  338. </tr><tr>
  339. <td class=""Item6"">(13,Item,6)</td>
  340. </tr><tr>
  341. <td colspan=""6"" class=""Footer-1"">(14,Footer,-1)</td>
  342. </tr>
  343. </table>";
  344. Assert.AreEqual (exp, v, "#9");
  345. }
  346. [Test]
  347. public void RepeatInfo_0cols_0itms_vert_tbl_otrtblimp_hdr_ftr_sep ()
  348. {
  349. // cols : 0
  350. // cnt : 0
  351. // RepeatDirection : Vertical
  352. // RepeatLayout : Table
  353. // OuterTableImplied : True
  354. // Header : True
  355. // Footer : True
  356. // Separator : True
  357. string v = RepeatInfoUser.DoTest (0, 0, RepeatDirection.Vertical, RepeatLayout.Table, true, true, true, true);
  358. string exp = @"(0,Header,-1)(1,Footer,-1)";
  359. Assert.AreEqual (exp, v, "#10");
  360. }
  361. [Test]
  362. public void RepeatInfo_0cols_1itms_vert_tbl_otrtblimp_hdr_ftr_sep ()
  363. {
  364. // cols : 0
  365. // cnt : 1
  366. // RepeatDirection : Vertical
  367. // RepeatLayout : Table
  368. // OuterTableImplied : True
  369. // Header : True
  370. // Footer : True
  371. // Separator : True
  372. string v = RepeatInfoUser.DoTest (0, 1, RepeatDirection.Vertical, RepeatLayout.Table, true, true, true, true);
  373. string exp = @"(0,Header,-1)(1,Item,0)(2,Footer,-1)";
  374. Assert.AreEqual (exp, v, "#11");
  375. }
  376. [Test]
  377. public void RepeatInfo_0cols_2itms_vert_tbl_otrtblimp_hdr_ftr_sep ()
  378. {
  379. // cols : 0
  380. // cnt : 2
  381. // RepeatDirection : Vertical
  382. // RepeatLayout : Table
  383. // OuterTableImplied : True
  384. // Header : True
  385. // Footer : True
  386. // Separator : True
  387. string v = RepeatInfoUser.DoTest (0, 2, RepeatDirection.Vertical, RepeatLayout.Table, true, true, true, true);
  388. string exp = @"(0,Header,-1)(1,Item,0)<br>(2,Separator,0)(3,Item,1)(4,Footer,-1)";
  389. Assert.AreEqual (exp, v, "#12");
  390. }
  391. [Test]
  392. public void RepeatInfo_0cols_5itms_vert_tbl_otrtblimp_hdr_ftr_sep ()
  393. {
  394. // cols : 0
  395. // cnt : 5
  396. // RepeatDirection : Vertical
  397. // RepeatLayout : Table
  398. // OuterTableImplied : True
  399. // Header : True
  400. // Footer : True
  401. // Separator : True
  402. string v = RepeatInfoUser.DoTest (0, 5, RepeatDirection.Vertical, RepeatLayout.Table, true, true, true, true);
  403. string exp = @"(0,Header,-1)(1,Item,0)<br>(2,Separator,0)(3,Item,1)<br>(4,Separator,1)(5,Item,2)<br>(6,Separator,2)(7,Item,3)<br>(8,Separator,3)(9,Item,4)(10,Footer,-1)";
  404. Assert.AreEqual (exp, v, "#13");
  405. }
  406. [Test]
  407. public void RepeatInfo_1cols_0itms_vert_tbl_otrtblimp_hdr_ftr_sep ()
  408. {
  409. // cols : 1
  410. // cnt : 0
  411. // RepeatDirection : Vertical
  412. // RepeatLayout : Table
  413. // OuterTableImplied : True
  414. // Header : True
  415. // Footer : True
  416. // Separator : True
  417. string v = RepeatInfoUser.DoTest (1, 0, RepeatDirection.Vertical, RepeatLayout.Table, true, true, true, true);
  418. string exp = @"(0,Header,-1)(1,Footer,-1)";
  419. Assert.AreEqual (exp, v, "#14");
  420. }
  421. [Test]
  422. public void RepeatInfo_1cols_5itms_vert_tbl_otrtblimp_hdr_ftr_sep ()
  423. {
  424. // cols : 1
  425. // cnt : 5
  426. // RepeatDirection : Vertical
  427. // RepeatLayout : Table
  428. // OuterTableImplied : True
  429. // Header : True
  430. // Footer : True
  431. // Separator : True
  432. string v = RepeatInfoUser.DoTest (1, 5, RepeatDirection.Vertical, RepeatLayout.Table, true, true, true, true);
  433. string exp = @"(0,Header,-1)(1,Item,0)<br>(2,Separator,0)(3,Item,1)<br>(4,Separator,1)(5,Item,2)<br>(6,Separator,2)(7,Item,3)<br>(8,Separator,3)(9,Item,4)(10,Footer,-1)";
  434. Assert.AreEqual (exp, v, "#15");
  435. }
  436. [Test]
  437. public void RepeatInfo_2cols_4itms_vert_tbl_otrtblimp_hdr_ftr_sep ()
  438. {
  439. // cols : 2
  440. // cnt : 4
  441. // RepeatDirection : Vertical
  442. // RepeatLayout : Table
  443. // OuterTableImplied : True
  444. // Header : True
  445. // Footer : True
  446. // Separator : True
  447. string v = RepeatInfoUser.DoTest (2, 4, RepeatDirection.Vertical, RepeatLayout.Table, true, true, true, true);
  448. 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)";
  449. Assert.AreEqual (exp, v, "#16");
  450. }
  451. [Test]
  452. public void RepeatInfo_2cols_7itms_vert_tbl_otrtblimp_hdr_ftr_sep ()
  453. {
  454. // cols : 2
  455. // cnt : 7
  456. // RepeatDirection : Vertical
  457. // RepeatLayout : Table
  458. // OuterTableImplied : True
  459. // Header : True
  460. // Footer : True
  461. // Separator : True
  462. string v = RepeatInfoUser.DoTest (2, 7, RepeatDirection.Vertical, RepeatLayout.Table, true, true, true, true);
  463. 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)";
  464. Assert.AreEqual (exp, v, "#17");
  465. }
  466. [Test]
  467. public void RepeatInfo_3cols_9itms_vert_tbl_otrtblimp_hdr_ftr_sep ()
  468. {
  469. // cols : 3
  470. // cnt : 9
  471. // RepeatDirection : Vertical
  472. // RepeatLayout : Table
  473. // OuterTableImplied : True
  474. // Header : True
  475. // Footer : True
  476. // Separator : True
  477. string v = RepeatInfoUser.DoTest (3, 9, RepeatDirection.Vertical, RepeatLayout.Table, true, true, true, true);
  478. 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)";
  479. Assert.AreEqual (exp, v, "#18");
  480. }
  481. [Test]
  482. public void RepeatInfo_3cols_7itms_vert_tbl_otrtblimp_hdr_ftr_sep ()
  483. {
  484. // cols : 3
  485. // cnt : 7
  486. // RepeatDirection : Vertical
  487. // RepeatLayout : Table
  488. // OuterTableImplied : True
  489. // Header : True
  490. // Footer : True
  491. // Separator : True
  492. string v = RepeatInfoUser.DoTest (3, 7, RepeatDirection.Vertical, RepeatLayout.Table, true, true, true, true);
  493. 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)";
  494. Assert.AreEqual (exp, v, "#19");
  495. }
  496. [Test]
  497. public void RepeatInfo_0cols_0itms_horiz_flow_otrtblimp_hdr_ftr_sep ()
  498. {
  499. // cols : 0
  500. // cnt : 0
  501. // RepeatDirection : Horizontal
  502. // RepeatLayout : Flow
  503. // OuterTableImplied : True
  504. // Header : True
  505. // Footer : True
  506. // Separator : True
  507. string v = RepeatInfoUser.DoTest (0, 0, RepeatDirection.Horizontal, RepeatLayout.Flow, true, true, true, true);
  508. string exp = @"<span class=""mainstyle"">(0,Header,-1)(1,Footer,-1)</span>";
  509. Assert.AreEqual (exp, v, "#20");
  510. }
  511. [Test]
  512. public void RepeatInfo_0cols_1itms_horiz_flow_otrtblimp_hdr_ftr_sep ()
  513. {
  514. // cols : 0
  515. // cnt : 1
  516. // RepeatDirection : Horizontal
  517. // RepeatLayout : Flow
  518. // OuterTableImplied : True
  519. // Header : True
  520. // Footer : True
  521. // Separator : True
  522. string v = RepeatInfoUser.DoTest (0, 1, RepeatDirection.Horizontal, RepeatLayout.Flow, true, true, true, true);
  523. string exp = @"<span class=""mainstyle"">(0,Header,-1)(1,Item,0)(2,Footer,-1)</span>";
  524. Assert.AreEqual (exp, v, "#21");
  525. }
  526. [Test]
  527. public void RepeatInfo_0cols_2itms_horiz_flow_otrtblimp_hdr_ftr_sep ()
  528. {
  529. // cols : 0
  530. // cnt : 2
  531. // RepeatDirection : Horizontal
  532. // RepeatLayout : Flow
  533. // OuterTableImplied : True
  534. // Header : True
  535. // Footer : True
  536. // Separator : True
  537. string v = RepeatInfoUser.DoTest (0, 2, RepeatDirection.Horizontal, RepeatLayout.Flow, true, true, true, true);
  538. string exp = @"<span class=""mainstyle"">(0,Header,-1)(1,Item,0)(2,Separator,0)(3,Item,1)(4,Footer,-1)</span>";
  539. Assert.AreEqual (exp, v, "#22");
  540. }
  541. [Test]
  542. public void RepeatInfo_0cols_5itms_horiz_flow_otrtblimp_hdr_ftr_sep ()
  543. {
  544. // cols : 0
  545. // cnt : 5
  546. // RepeatDirection : Horizontal
  547. // RepeatLayout : Flow
  548. // OuterTableImplied : True
  549. // Header : True
  550. // Footer : True
  551. // Separator : True
  552. string v = RepeatInfoUser.DoTest (0, 5, RepeatDirection.Horizontal, RepeatLayout.Flow, true, true, true, true);
  553. 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>";
  554. Assert.AreEqual (exp, v, "#23");
  555. }
  556. [Test]
  557. public void RepeatInfo_1cols_0itms_horiz_flow_otrtblimp_hdr_ftr_sep ()
  558. {
  559. // cols : 1
  560. // cnt : 0
  561. // RepeatDirection : Horizontal
  562. // RepeatLayout : Flow
  563. // OuterTableImplied : True
  564. // Header : True
  565. // Footer : True
  566. // Separator : True
  567. string v = RepeatInfoUser.DoTest (1, 0, RepeatDirection.Horizontal, RepeatLayout.Flow, true, true, true, true);
  568. string exp = @"<span class=""mainstyle"">(0,Header,-1)(1,Footer,-1)</span>";
  569. Assert.AreEqual (exp, v, "#24");
  570. }
  571. [Test]
  572. public void RepeatInfo_1cols_5itms_horiz_flow_otrtblimp_hdr_ftr_sep ()
  573. {
  574. // cols : 1
  575. // cnt : 5
  576. // RepeatDirection : Horizontal
  577. // RepeatLayout : Flow
  578. // OuterTableImplied : True
  579. // Header : True
  580. // Footer : True
  581. // Separator : True
  582. string v = RepeatInfoUser.DoTest (1, 5, RepeatDirection.Horizontal, RepeatLayout.Flow, true, true, true, true);
  583. 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>";
  584. Assert.AreEqual (exp, v, "#25");
  585. }
  586. [Test]
  587. public void RepeatInfo_2cols_4itms_horiz_flow_otrtblimp_hdr_ftr_sep ()
  588. {
  589. // cols : 2
  590. // cnt : 4
  591. // RepeatDirection : Horizontal
  592. // RepeatLayout : Flow
  593. // OuterTableImplied : True
  594. // Header : True
  595. // Footer : True
  596. // Separator : True
  597. string v = RepeatInfoUser.DoTest (2, 4, RepeatDirection.Horizontal, RepeatLayout.Flow, true, true, true, true);
  598. 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>";
  599. Assert.AreEqual (exp, v, "#26");
  600. }
  601. [Test]
  602. public void RepeatInfo_2cols_7itms_horiz_flow_otrtblimp_hdr_ftr_sep ()
  603. {
  604. // cols : 2
  605. // cnt : 7
  606. // RepeatDirection : Horizontal
  607. // RepeatLayout : Flow
  608. // OuterTableImplied : True
  609. // Header : True
  610. // Footer : True
  611. // Separator : True
  612. string v = RepeatInfoUser.DoTest (2, 7, RepeatDirection.Horizontal, RepeatLayout.Flow, true, true, true, true);
  613. 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>";
  614. Assert.AreEqual (exp, v, "#27");
  615. }
  616. [Test]
  617. public void RepeatInfo_3cols_9itms_horiz_flow_otrtblimp_hdr_ftr_sep ()
  618. {
  619. // cols : 3
  620. // cnt : 9
  621. // RepeatDirection : Horizontal
  622. // RepeatLayout : Flow
  623. // OuterTableImplied : True
  624. // Header : True
  625. // Footer : True
  626. // Separator : True
  627. string v = RepeatInfoUser.DoTest (3, 9, RepeatDirection.Horizontal, RepeatLayout.Flow, true, true, true, true);
  628. 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>";
  629. Assert.AreEqual (exp, v, "#28");
  630. }
  631. [Test]
  632. public void RepeatInfo_3cols_7itms_horiz_flow_otrtblimp_hdr_ftr_sep ()
  633. {
  634. // cols : 3
  635. // cnt : 7
  636. // RepeatDirection : Horizontal
  637. // RepeatLayout : Flow
  638. // OuterTableImplied : True
  639. // Header : True
  640. // Footer : True
  641. // Separator : True
  642. string v = RepeatInfoUser.DoTest (3, 7, RepeatDirection.Horizontal, RepeatLayout.Flow, true, true, true, true);
  643. 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>";
  644. Assert.AreEqual (exp, v, "#29");
  645. }
  646. [Test]
  647. public void RepeatInfo_0cols_0itms_vert_flow_otrtblimp_hdr_ftr_sep ()
  648. {
  649. // cols : 0
  650. // cnt : 0
  651. // RepeatDirection : Vertical
  652. // RepeatLayout : Flow
  653. // OuterTableImplied : True
  654. // Header : True
  655. // Footer : True
  656. // Separator : True
  657. string v = RepeatInfoUser.DoTest (0, 0, RepeatDirection.Vertical, RepeatLayout.Flow, true, true, true, true);
  658. string exp = @"(0,Header,-1)(1,Footer,-1)";
  659. Assert.AreEqual (exp, v, "#30");
  660. }
  661. [Test]
  662. public void RepeatInfo_0cols_1itms_vert_flow_otrtblimp_hdr_ftr_sep ()
  663. {
  664. // cols : 0
  665. // cnt : 1
  666. // RepeatDirection : Vertical
  667. // RepeatLayout : Flow
  668. // OuterTableImplied : True
  669. // Header : True
  670. // Footer : True
  671. // Separator : True
  672. string v = RepeatInfoUser.DoTest (0, 1, RepeatDirection.Vertical, RepeatLayout.Flow, true, true, true, true);
  673. string exp = @"(0,Header,-1)(1,Item,0)(2,Footer,-1)";
  674. Assert.AreEqual (exp, v, "#31");
  675. }
  676. [Test]
  677. public void RepeatInfo_0cols_2itms_vert_flow_otrtblimp_hdr_ftr_sep ()
  678. {
  679. // cols : 0
  680. // cnt : 2
  681. // RepeatDirection : Vertical
  682. // RepeatLayout : Flow
  683. // OuterTableImplied : True
  684. // Header : True
  685. // Footer : True
  686. // Separator : True
  687. string v = RepeatInfoUser.DoTest (0, 2, RepeatDirection.Vertical, RepeatLayout.Flow, true, true, true, true);
  688. string exp = @"(0,Header,-1)(1,Item,0)<br>(2,Separator,0)(3,Item,1)(4,Footer,-1)";
  689. Assert.AreEqual (exp, v, "#32");
  690. }
  691. [Test]
  692. public void RepeatInfo_0cols_5itms_vert_flow_otrtblimp_hdr_ftr_sep ()
  693. {
  694. // cols : 0
  695. // cnt : 5
  696. // RepeatDirection : Vertical
  697. // RepeatLayout : Flow
  698. // OuterTableImplied : True
  699. // Header : True
  700. // Footer : True
  701. // Separator : True
  702. string v = RepeatInfoUser.DoTest (0, 5, RepeatDirection.Vertical, RepeatLayout.Flow, true, true, true, true);
  703. string exp = @"(0,Header,-1)(1,Item,0)<br>(2,Separator,0)(3,Item,1)<br>(4,Separator,1)(5,Item,2)<br>(6,Separator,2)(7,Item,3)<br>(8,Separator,3)(9,Item,4)(10,Footer,-1)";
  704. Assert.AreEqual (exp, v, "#33");
  705. }
  706. [Test]
  707. public void RepeatInfo_1cols_0itms_vert_flow_otrtblimp_hdr_ftr_sep ()
  708. {
  709. // cols : 1
  710. // cnt : 0
  711. // RepeatDirection : Vertical
  712. // RepeatLayout : Flow
  713. // OuterTableImplied : True
  714. // Header : True
  715. // Footer : True
  716. // Separator : True
  717. string v = RepeatInfoUser.DoTest (1, 0, RepeatDirection.Vertical, RepeatLayout.Flow, true, true, true, true);
  718. string exp = @"(0,Header,-1)(1,Footer,-1)";
  719. Assert.AreEqual (exp, v, "#34");
  720. }
  721. [Test]
  722. public void RepeatInfo_1cols_5itms_vert_flow_otrtblimp_hdr_ftr_sep ()
  723. {
  724. // cols : 1
  725. // cnt : 5
  726. // RepeatDirection : Vertical
  727. // RepeatLayout : Flow
  728. // OuterTableImplied : True
  729. // Header : True
  730. // Footer : True
  731. // Separator : True
  732. string v = RepeatInfoUser.DoTest (1, 5, RepeatDirection.Vertical, RepeatLayout.Flow, true, true, true, true);
  733. string exp = @"(0,Header,-1)(1,Item,0)<br>(2,Separator,0)(3,Item,1)<br>(4,Separator,1)(5,Item,2)<br>(6,Separator,2)(7,Item,3)<br>(8,Separator,3)(9,Item,4)(10,Footer,-1)";
  734. Assert.AreEqual (exp, v, "#35");
  735. }
  736. [Test]
  737. public void RepeatInfo_2cols_4itms_vert_flow_otrtblimp_hdr_ftr_sep ()
  738. {
  739. // cols : 2
  740. // cnt : 4
  741. // RepeatDirection : Vertical
  742. // RepeatLayout : Flow
  743. // OuterTableImplied : True
  744. // Header : True
  745. // Footer : True
  746. // Separator : True
  747. string v = RepeatInfoUser.DoTest (2, 4, RepeatDirection.Vertical, RepeatLayout.Flow, true, true, true, true);
  748. 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)";
  749. Assert.AreEqual (exp, v, "#36");
  750. }
  751. [Test]
  752. public void RepeatInfo_2cols_7itms_vert_flow_otrtblimp_hdr_ftr_sep ()
  753. {
  754. // cols : 2
  755. // cnt : 7
  756. // RepeatDirection : Vertical
  757. // RepeatLayout : Flow
  758. // OuterTableImplied : True
  759. // Header : True
  760. // Footer : True
  761. // Separator : True
  762. string v = RepeatInfoUser.DoTest (2, 7, RepeatDirection.Vertical, RepeatLayout.Flow, true, true, true, true);
  763. 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)";
  764. Assert.AreEqual (exp, v, "#37");
  765. }
  766. [Test]
  767. public void RepeatInfo_3cols_9itms_vert_flow_otrtblimp_hdr_ftr_sep ()
  768. {
  769. // cols : 3
  770. // cnt : 9
  771. // RepeatDirection : Vertical
  772. // RepeatLayout : Flow
  773. // OuterTableImplied : True
  774. // Header : True
  775. // Footer : True
  776. // Separator : True
  777. string v = RepeatInfoUser.DoTest (3, 9, RepeatDirection.Vertical, RepeatLayout.Flow, true, true, true, true);
  778. 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)";
  779. Assert.AreEqual (exp, v, "#38");
  780. }
  781. [Test]
  782. public void RepeatInfo_3cols_7itms_vert_flow_otrtblimp_hdr_ftr_sep ()
  783. {
  784. // cols : 3
  785. // cnt : 7
  786. // RepeatDirection : Vertical
  787. // RepeatLayout : Flow
  788. // OuterTableImplied : True
  789. // Header : True
  790. // Footer : True
  791. // Separator : True
  792. string v = RepeatInfoUser.DoTest (3, 7, RepeatDirection.Vertical, RepeatLayout.Flow, true, true, true, true);
  793. 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)";
  794. Assert.AreEqual (exp, v, "#39");
  795. }
  796. [Test]
  797. public void RepeatInfo_0cols_0itms_horiz_tbl_hdr_ftr_sep ()
  798. {
  799. // cols : 0
  800. // cnt : 0
  801. // RepeatDirection : Horizontal
  802. // RepeatLayout : Table
  803. // OuterTableImplied : False
  804. // Header : True
  805. // Footer : True
  806. // Separator : True
  807. string v = RepeatInfoUser.DoTest (0, 0, RepeatDirection.Horizontal, RepeatLayout.Table, false, true, true, true);
  808. string exp = @"<table class=""mainstyle"" border=""0"">
  809. <tr>
  810. <td colspan=""0"" class=""Header-1"">(0,Header,-1)</td>
  811. </tr><tr>
  812. <td colspan=""0"" class=""Footer-1"">(1,Footer,-1)</td>
  813. </tr>
  814. </table>";
  815. Assert.AreEqual (exp, v, "#40");
  816. }
  817. [Test]
  818. public void RepeatInfo_0cols_1itms_horiz_tbl_hdr_ftr_sep ()
  819. {
  820. // cols : 0
  821. // cnt : 1
  822. // RepeatDirection : Horizontal
  823. // RepeatLayout : Table
  824. // OuterTableImplied : False
  825. // Header : True
  826. // Footer : True
  827. // Separator : True
  828. string v = RepeatInfoUser.DoTest (0, 1, RepeatDirection.Horizontal, RepeatLayout.Table, false, true, true, true);
  829. string exp = @"<table class=""mainstyle"" border=""0"">
  830. <tr>
  831. <td colspan=""2"" class=""Header-1"">(0,Header,-1)</td>
  832. </tr><tr>
  833. <td class=""Item0"">(1,Item,0)</td>
  834. </tr><tr>
  835. <td colspan=""2"" class=""Footer-1"">(2,Footer,-1)</td>
  836. </tr>
  837. </table>";
  838. Assert.AreEqual (exp, v, "#41");
  839. }
  840. [Test]
  841. public void RepeatInfo_0cols_2itms_horiz_tbl_hdr_ftr_sep ()
  842. {
  843. // cols : 0
  844. // cnt : 2
  845. // RepeatDirection : Horizontal
  846. // RepeatLayout : Table
  847. // OuterTableImplied : False
  848. // Header : True
  849. // Footer : True
  850. // Separator : True
  851. string v = RepeatInfoUser.DoTest (0, 2, RepeatDirection.Horizontal, RepeatLayout.Table, false, true, true, true);
  852. string exp = @"<table class=""mainstyle"" border=""0"">
  853. <tr>
  854. <td colspan=""4"" class=""Header-1"">(0,Header,-1)</td>
  855. </tr><tr>
  856. <td class=""Item0"">(1,Item,0)</td><td class=""Separator0"">(2,Separator,0)</td><td class=""Item1"">(3,Item,1)</td>
  857. </tr><tr>
  858. <td colspan=""4"" class=""Footer-1"">(4,Footer,-1)</td>
  859. </tr>
  860. </table>";
  861. Assert.AreEqual (exp, v, "#42");
  862. }
  863. [Test]
  864. public void RepeatInfo_0cols_5itms_horiz_tbl_hdr_ftr_sep ()
  865. {
  866. // cols : 0
  867. // cnt : 5
  868. // RepeatDirection : Horizontal
  869. // RepeatLayout : Table
  870. // OuterTableImplied : False
  871. // Header : True
  872. // Footer : True
  873. // Separator : True
  874. string v = RepeatInfoUser.DoTest (0, 5, RepeatDirection.Horizontal, RepeatLayout.Table, false, true, true, true);
  875. string exp = @"<table class=""mainstyle"" border=""0"">
  876. <tr>
  877. <td colspan=""10"" class=""Header-1"">(0,Header,-1)</td>
  878. </tr><tr>
  879. <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>
  880. </tr><tr>
  881. <td colspan=""10"" class=""Footer-1"">(10,Footer,-1)</td>
  882. </tr>
  883. </table>";
  884. Assert.AreEqual (exp, v, "#43");
  885. }
  886. [Test]
  887. public void RepeatInfo_1cols_0itms_horiz_tbl_hdr_ftr_sep ()
  888. {
  889. // cols : 1
  890. // cnt : 0
  891. // RepeatDirection : Horizontal
  892. // RepeatLayout : Table
  893. // OuterTableImplied : False
  894. // Header : True
  895. // Footer : True
  896. // Separator : True
  897. string v = RepeatInfoUser.DoTest (1, 0, RepeatDirection.Horizontal, RepeatLayout.Table, false, true, true, true);
  898. string exp = @"<table class=""mainstyle"" border=""0"">
  899. <tr>
  900. <td colspan=""2"" class=""Header-1"">(0,Header,-1)</td>
  901. </tr><tr>
  902. <td colspan=""2"" class=""Footer-1"">(1,Footer,-1)</td>
  903. </tr>
  904. </table>";
  905. Assert.AreEqual (exp, v, "#44");
  906. }
  907. [Test]
  908. public void RepeatInfo_1cols_5itms_horiz_tbl_hdr_ftr_sep ()
  909. {
  910. // cols : 1
  911. // cnt : 5
  912. // RepeatDirection : Horizontal
  913. // RepeatLayout : Table
  914. // OuterTableImplied : False
  915. // Header : True
  916. // Footer : True
  917. // Separator : True
  918. string v = RepeatInfoUser.DoTest (1, 5, RepeatDirection.Horizontal, RepeatLayout.Table, false, true, true, true);
  919. string exp = @"<table class=""mainstyle"" border=""0"">
  920. <tr>
  921. <td colspan=""2"" class=""Header-1"">(0,Header,-1)</td>
  922. </tr><tr>
  923. <td class=""Item0"">(1,Item,0)</td><td class=""Separator0"">(2,Separator,0)</td>
  924. </tr><tr>
  925. <td class=""Item1"">(3,Item,1)</td><td class=""Separator1"">(4,Separator,1)</td>
  926. </tr><tr>
  927. <td class=""Item2"">(5,Item,2)</td><td class=""Separator2"">(6,Separator,2)</td>
  928. </tr><tr>
  929. <td class=""Item3"">(7,Item,3)</td><td class=""Separator3"">(8,Separator,3)</td>
  930. </tr><tr>
  931. <td class=""Item4"">(9,Item,4)</td>
  932. </tr><tr>
  933. <td colspan=""2"" class=""Footer-1"">(10,Footer,-1)</td>
  934. </tr>
  935. </table>";
  936. Assert.AreEqual (exp, v, "#45");
  937. }
  938. [Test]
  939. public void RepeatInfo_2cols_4itms_horiz_tbl_hdr_ftr_sep ()
  940. {
  941. // cols : 2
  942. // cnt : 4
  943. // RepeatDirection : Horizontal
  944. // RepeatLayout : Table
  945. // OuterTableImplied : False
  946. // Header : True
  947. // Footer : True
  948. // Separator : True
  949. string v = RepeatInfoUser.DoTest (2, 4, RepeatDirection.Horizontal, RepeatLayout.Table, false, true, true, true);
  950. string exp = @"<table class=""mainstyle"" border=""0"">
  951. <tr>
  952. <td colspan=""4"" class=""Header-1"">(0,Header,-1)</td>
  953. </tr><tr>
  954. <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>
  955. </tr><tr>
  956. <td class=""Item2"">(5,Item,2)</td><td class=""Separator2"">(6,Separator,2)</td><td class=""Item3"">(7,Item,3)</td>
  957. </tr><tr>
  958. <td colspan=""4"" class=""Footer-1"">(8,Footer,-1)</td>
  959. </tr>
  960. </table>";
  961. Assert.AreEqual (exp, v, "#46");
  962. }
  963. [Test]
  964. public void RepeatInfo_2cols_7itms_horiz_tbl_hdr_ftr_sep ()
  965. {
  966. // cols : 2
  967. // cnt : 7
  968. // RepeatDirection : Horizontal
  969. // RepeatLayout : Table
  970. // OuterTableImplied : False
  971. // Header : True
  972. // Footer : True
  973. // Separator : True
  974. string v = RepeatInfoUser.DoTest (2, 7, RepeatDirection.Horizontal, RepeatLayout.Table, false, true, true, true);
  975. string exp = @"<table class=""mainstyle"" border=""0"">
  976. <tr>
  977. <td colspan=""4"" class=""Header-1"">(0,Header,-1)</td>
  978. </tr><tr>
  979. <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>
  980. </tr><tr>
  981. <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>
  982. </tr><tr>
  983. <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>
  984. </tr><tr>
  985. <td class=""Item6"">(13,Item,6)</td>
  986. </tr><tr>
  987. <td colspan=""4"" class=""Footer-1"">(14,Footer,-1)</td>
  988. </tr>
  989. </table>";
  990. Assert.AreEqual (exp, v, "#47");
  991. }
  992. [Test]
  993. public void RepeatInfo_3cols_9itms_horiz_tbl_hdr_ftr_sep ()
  994. {
  995. // cols : 3
  996. // cnt : 9
  997. // RepeatDirection : Horizontal
  998. // RepeatLayout : Table
  999. // OuterTableImplied : False
  1000. // Header : True
  1001. // Footer : True
  1002. // Separator : True
  1003. string v = RepeatInfoUser.DoTest (3, 9, RepeatDirection.Horizontal, RepeatLayout.Table, false, true, true, true);
  1004. string exp = @"<table border=""0"">
  1005. <tr>
  1006. <td colspan=""6"" class=""Header-1"">(0,Header,-1)</td>
  1007. </tr><tr>
  1008. <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>
  1009. </tr><tr>
  1010. <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>
  1011. </tr><tr>
  1012. <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>
  1013. </tr><tr>
  1014. <td colspan=""6"" class=""Footer-1"">(18,Footer,-1)</td>
  1015. </tr>
  1016. </table>";
  1017. Assert.AreEqual (exp, v, "#48");
  1018. }
  1019. [Test]
  1020. public void RepeatInfo_3cols_7itms_horiz_tbl_hdr_ftr_sep ()
  1021. {
  1022. // cols : 3
  1023. // cnt : 7
  1024. // RepeatDirection : Horizontal
  1025. // RepeatLayout : Table
  1026. // OuterTableImplied : False
  1027. // Header : True
  1028. // Footer : True
  1029. // Separator : True
  1030. string v = RepeatInfoUser.DoTest (3, 7, RepeatDirection.Horizontal, RepeatLayout.Table, false, true, true, true);
  1031. string exp = @"<table border=""0"">
  1032. <tr>
  1033. <td colspan=""6"" class=""Header-1"">(0,Header,-1)</td>
  1034. </tr><tr>
  1035. <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>
  1036. </tr><tr>
  1037. <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>
  1038. </tr><tr>
  1039. <td class=""Item6"">(13,Item,6)</td>
  1040. </tr><tr>
  1041. <td colspan=""6"" class=""Footer-1"">(14,Footer,-1)</td>
  1042. </tr>
  1043. </table>";
  1044. Assert.AreEqual (exp, v, "#49");
  1045. }
  1046. [Test]
  1047. public void RepeatInfo_0cols_0itms_vert_tbl_hdr_ftr_sep ()
  1048. {
  1049. // cols : 0
  1050. // cnt : 0
  1051. // RepeatDirection : Vertical
  1052. // RepeatLayout : Table
  1053. // OuterTableImplied : False
  1054. // Header : True
  1055. // Footer : True
  1056. // Separator : True
  1057. string v = RepeatInfoUser.DoTest (0, 0, RepeatDirection.Vertical, RepeatLayout.Table, false, true, true, true);
  1058. string exp = @"<table class=""mainstyle"" border=""0"">
  1059. <tr>
  1060. <td class=""Header-1"">(0,Header,-1)</td>
  1061. </tr><tr>
  1062. <td class=""Footer-1"">(1,Footer,-1)</td>
  1063. </tr>
  1064. </table>";
  1065. Assert.AreEqual (exp, v, "#50");
  1066. }
  1067. [Test]
  1068. public void RepeatInfo_0cols_1itms_vert_tbl_hdr_ftr_sep ()
  1069. {
  1070. // cols : 0
  1071. // cnt : 1
  1072. // RepeatDirection : Vertical
  1073. // RepeatLayout : Table
  1074. // OuterTableImplied : False
  1075. // Header : True
  1076. // Footer : True
  1077. // Separator : True
  1078. string v = RepeatInfoUser.DoTest (0, 1, RepeatDirection.Vertical, RepeatLayout.Table, false, true, true, true);
  1079. string exp = @"<table class=""mainstyle"" border=""0"">
  1080. <tr>
  1081. <td class=""Header-1"">(0,Header,-1)</td>
  1082. </tr><tr>
  1083. <td class=""Item0"">(1,Item,0)</td>
  1084. </tr><tr>
  1085. <td class=""Footer-1"">(2,Footer,-1)</td>
  1086. </tr>
  1087. </table>";
  1088. Assert.AreEqual (exp, v, "#51");
  1089. }
  1090. [Test]
  1091. public void RepeatInfo_0cols_2itms_vert_tbl_hdr_ftr_sep ()
  1092. {
  1093. // cols : 0
  1094. // cnt : 2
  1095. // RepeatDirection : Vertical
  1096. // RepeatLayout : Table
  1097. // OuterTableImplied : False
  1098. // Header : True
  1099. // Footer : True
  1100. // Separator : True
  1101. string v = RepeatInfoUser.DoTest (0, 2, RepeatDirection.Vertical, RepeatLayout.Table, false, true, true, true);
  1102. string exp = @"<table class=""mainstyle"" border=""0"">
  1103. <tr>
  1104. <td class=""Header-1"">(0,Header,-1)</td>
  1105. </tr><tr>
  1106. <td class=""Item0"">(1,Item,0)</td>
  1107. </tr><tr>
  1108. <td class=""Separator0"">(2,Separator,0)</td>
  1109. </tr><tr>
  1110. <td class=""Item1"">(3,Item,1)</td>
  1111. </tr><tr>
  1112. <td class=""Footer-1"">(4,Footer,-1)</td>
  1113. </tr>
  1114. </table>";
  1115. Assert.AreEqual (exp, v, "#52");
  1116. }
  1117. [Test]
  1118. public void RepeatInfo_0cols_5itms_vert_tbl_hdr_ftr_sep ()
  1119. {
  1120. // cols : 0
  1121. // cnt : 5
  1122. // RepeatDirection : Vertical
  1123. // RepeatLayout : Table
  1124. // OuterTableImplied : False
  1125. // Header : True
  1126. // Footer : True
  1127. // Separator : True
  1128. string v = RepeatInfoUser.DoTest (0, 5, RepeatDirection.Vertical, RepeatLayout.Table, false, true, true, true);
  1129. string exp = @"<table class=""mainstyle"" border=""0"">
  1130. <tr>
  1131. <td class=""Header-1"">(0,Header,-1)</td>
  1132. </tr><tr>
  1133. <td class=""Item0"">(1,Item,0)</td>
  1134. </tr><tr>
  1135. <td class=""Separator0"">(2,Separator,0)</td>
  1136. </tr><tr>
  1137. <td class=""Item1"">(3,Item,1)</td>
  1138. </tr><tr>
  1139. <td class=""Separator1"">(4,Separator,1)</td>
  1140. </tr><tr>
  1141. <td class=""Item2"">(5,Item,2)</td>
  1142. </tr><tr>
  1143. <td class=""Separator2"">(6,Separator,2)</td>
  1144. </tr><tr>
  1145. <td class=""Item3"">(7,Item,3)</td>
  1146. </tr><tr>
  1147. <td class=""Separator3"">(8,Separator,3)</td>
  1148. </tr><tr>
  1149. <td class=""Item4"">(9,Item,4)</td>
  1150. </tr><tr>
  1151. <td class=""Footer-1"">(10,Footer,-1)</td>
  1152. </tr>
  1153. </table>";
  1154. Assert.AreEqual (exp, v, "#53");
  1155. }
  1156. [Test]
  1157. public void RepeatInfo_1cols_0itms_vert_tbl_hdr_ftr_sep ()
  1158. {
  1159. // cols : 1
  1160. // cnt : 0
  1161. // RepeatDirection : Vertical
  1162. // RepeatLayout : Table
  1163. // OuterTableImplied : False
  1164. // Header : True
  1165. // Footer : True
  1166. // Separator : True
  1167. string v = RepeatInfoUser.DoTest (1, 0, RepeatDirection.Vertical, RepeatLayout.Table, false, true, true, true);
  1168. string exp = @"<table class=""mainstyle"" border=""0"">
  1169. <tr>
  1170. <td class=""Header-1"">(0,Header,-1)</td>
  1171. </tr><tr>
  1172. <td class=""Footer-1"">(1,Footer,-1)</td>
  1173. </tr>
  1174. </table>";
  1175. Assert.AreEqual (exp, v, "#54");
  1176. }
  1177. [Test]
  1178. public void RepeatInfo_1cols_5itms_vert_tbl_hdr_ftr_sep ()
  1179. {
  1180. // cols : 1
  1181. // cnt : 5
  1182. // RepeatDirection : Vertical
  1183. // RepeatLayout : Table
  1184. // OuterTableImplied : False
  1185. // Header : True
  1186. // Footer : True
  1187. // Separator : True
  1188. string v = RepeatInfoUser.DoTest (1, 5, RepeatDirection.Vertical, RepeatLayout.Table, false, true, true, true);
  1189. string exp = @"<table class=""mainstyle"" border=""0"">
  1190. <tr>
  1191. <td class=""Header-1"">(0,Header,-1)</td>
  1192. </tr><tr>
  1193. <td class=""Item0"">(1,Item,0)</td>
  1194. </tr><tr>
  1195. <td class=""Separator0"">(2,Separator,0)</td>
  1196. </tr><tr>
  1197. <td class=""Item1"">(3,Item,1)</td>
  1198. </tr><tr>
  1199. <td class=""Separator1"">(4,Separator,1)</td>
  1200. </tr><tr>
  1201. <td class=""Item2"">(5,Item,2)</td>
  1202. </tr><tr>
  1203. <td class=""Separator2"">(6,Separator,2)</td>
  1204. </tr><tr>
  1205. <td class=""Item3"">(7,Item,3)</td>
  1206. </tr><tr>
  1207. <td class=""Separator3"">(8,Separator,3)</td>
  1208. </tr><tr>
  1209. <td class=""Item4"">(9,Item,4)</td>
  1210. </tr><tr>
  1211. <td class=""Footer-1"">(10,Footer,-1)</td>
  1212. </tr>
  1213. </table>";
  1214. Assert.AreEqual (exp, v, "#55");
  1215. }
  1216. [Test]
  1217. public void RepeatInfo_2cols_4itms_vert_tbl_hdr_ftr_sep ()
  1218. {
  1219. // cols : 2
  1220. // cnt : 4
  1221. // RepeatDirection : Vertical
  1222. // RepeatLayout : Table
  1223. // OuterTableImplied : False
  1224. // Header : True
  1225. // Footer : True
  1226. // Separator : True
  1227. string v = RepeatInfoUser.DoTest (2, 4, RepeatDirection.Vertical, RepeatLayout.Table, false, true, true, true);
  1228. string exp = @"<table class=""mainstyle"" border=""0"">
  1229. <tr>
  1230. <td colspan=""4"" class=""Header-1"">(0,Header,-1)</td>
  1231. </tr><tr>
  1232. <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>
  1233. </tr><tr>
  1234. <td class=""Item1"">(5,Item,1)</td><td class=""Separator1"">(6,Separator,1)</td><td class=""Item3"">(7,Item,3)</td>
  1235. </tr><tr>
  1236. <td colspan=""4"" class=""Footer-1"">(8,Footer,-1)</td>
  1237. </tr>
  1238. </table>";
  1239. Assert.AreEqual (exp, v, "#56");
  1240. }
  1241. [Test]
  1242. public void RepeatInfo_2cols_7itms_vert_tbl_hdr_ftr_sep ()
  1243. {
  1244. // cols : 2
  1245. // cnt : 7
  1246. // RepeatDirection : Vertical
  1247. // RepeatLayout : Table
  1248. // OuterTableImplied : False
  1249. // Header : True
  1250. // Footer : True
  1251. // Separator : True
  1252. string v = RepeatInfoUser.DoTest (2, 7, RepeatDirection.Vertical, RepeatLayout.Table, false, true, true, true);
  1253. string exp = @"<table class=""mainstyle"" border=""0"">
  1254. <tr>
  1255. <td colspan=""4"" class=""Header-1"">(0,Header,-1)</td>
  1256. </tr><tr>
  1257. <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>
  1258. </tr><tr>
  1259. <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>
  1260. </tr><tr>
  1261. <td class=""Item2"">(9,Item,2)</td><td class=""Separator2"">(10,Separator,2)</td><td class=""Item6"">(11,Item,6)</td>
  1262. </tr><tr>
  1263. <td class=""Item3"">(12,Item,3)</td><td class=""Separator3"">(13,Separator,3)</td>
  1264. </tr><tr>
  1265. <td colspan=""4"" class=""Footer-1"">(14,Footer,-1)</td>
  1266. </tr>
  1267. </table>";
  1268. Assert.AreEqual (exp, v, "#57");
  1269. }
  1270. [Test]
  1271. public void RepeatInfo_3cols_9itms_vert_tbl_hdr_ftr_sep ()
  1272. {
  1273. // cols : 3
  1274. // cnt : 9
  1275. // RepeatDirection : Vertical
  1276. // RepeatLayout : Table
  1277. // OuterTableImplied : False
  1278. // Header : True
  1279. // Footer : True
  1280. // Separator : True
  1281. string v = RepeatInfoUser.DoTest (3, 9, RepeatDirection.Vertical, RepeatLayout.Table, false, true, true, true);
  1282. string exp = @"<table border=""0"">
  1283. <tr>
  1284. <td colspan=""6"" class=""Header-1"">(0,Header,-1)</td>
  1285. </tr><tr>
  1286. <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>
  1287. </tr><tr>
  1288. <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>
  1289. </tr><tr>
  1290. <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>
  1291. </tr><tr>
  1292. <td colspan=""6"" class=""Footer-1"">(18,Footer,-1)</td>
  1293. </tr>
  1294. </table>";
  1295. Assert.AreEqual (exp, v, "#58");
  1296. }
  1297. [Test]
  1298. public void RepeatInfo_3cols_7itms_vert_tbl_hdr_ftr_sep ()
  1299. {
  1300. // cols : 3
  1301. // cnt : 7
  1302. // RepeatDirection : Vertical
  1303. // RepeatLayout : Table
  1304. // OuterTableImplied : False
  1305. // Header : True
  1306. // Footer : True
  1307. // Separator : True
  1308. string v = RepeatInfoUser.DoTest (3, 7, RepeatDirection.Vertical, RepeatLayout.Table, false, true, true, true);
  1309. string exp = @"<table border=""0"">
  1310. <tr>
  1311. <td colspan=""6"" class=""Header-1"">(0,Header,-1)</td>
  1312. </tr><tr>
  1313. <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>
  1314. </tr><tr>
  1315. <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>
  1316. </tr><tr>
  1317. <td class=""Item2"">(12,Item,2)</td><td class=""Separator2"">(13,Separator,2)</td>
  1318. </tr><tr>
  1319. <td colspan=""6"" class=""Footer-1"">(14,Footer,-1)</td>
  1320. </tr>
  1321. </table>";
  1322. Assert.AreEqual (exp, v, "#59");
  1323. }
  1324. [Test]
  1325. public void RepeatInfo_0cols_0itms_horiz_flow_hdr_ftr_sep ()
  1326. {
  1327. // cols : 0
  1328. // cnt : 0
  1329. // RepeatDirection : Horizontal
  1330. // RepeatLayout : Flow
  1331. // OuterTableImplied : False
  1332. // Header : True
  1333. // Footer : True
  1334. // Separator : True
  1335. string v = RepeatInfoUser.DoTest (0, 0, RepeatDirection.Horizontal, RepeatLayout.Flow, false, true, true, true);
  1336. string exp = @"<span class=""mainstyle"">(0,Header,-1)(1,Footer,-1)</span>";
  1337. Assert.AreEqual (exp, v, "#60");
  1338. }
  1339. [Test]
  1340. public void RepeatInfo_0cols_1itms_horiz_flow_hdr_ftr_sep ()
  1341. {
  1342. // cols : 0
  1343. // cnt : 1
  1344. // RepeatDirection : Horizontal
  1345. // RepeatLayout : Flow
  1346. // OuterTableImplied : False
  1347. // Header : True
  1348. // Footer : True
  1349. // Separator : True
  1350. string v = RepeatInfoUser.DoTest (0, 1, RepeatDirection.Horizontal, RepeatLayout.Flow, false, true, true, true);
  1351. string exp = @"<span class=""mainstyle"">(0,Header,-1)(1,Item,0)(2,Footer,-1)</span>";
  1352. Assert.AreEqual (exp, v, "#61");
  1353. }
  1354. [Test]
  1355. public void RepeatInfo_0cols_2itms_horiz_flow_hdr_ftr_sep ()
  1356. {
  1357. // cols : 0
  1358. // cnt : 2
  1359. // RepeatDirection : Horizontal
  1360. // RepeatLayout : Flow
  1361. // OuterTableImplied : False
  1362. // Header : True
  1363. // Footer : True
  1364. // Separator : True
  1365. string v = RepeatInfoUser.DoTest (0, 2, RepeatDirection.Horizontal, RepeatLayout.Flow, false, true, true, true);
  1366. string exp = @"<span class=""mainstyle"">(0,Header,-1)(1,Item,0)(2,Separator,0)(3,Item,1)(4,Footer,-1)</span>";
  1367. Assert.AreEqual (exp, v, "#62");
  1368. }
  1369. [Test]
  1370. public void RepeatInfo_0cols_5itms_horiz_flow_hdr_ftr_sep ()
  1371. {
  1372. // cols : 0
  1373. // cnt : 5
  1374. // RepeatDirection : Horizontal
  1375. // RepeatLayout : Flow
  1376. // OuterTableImplied : False
  1377. // Header : True
  1378. // Footer : True
  1379. // Separator : True
  1380. string v = RepeatInfoUser.DoTest (0, 5, RepeatDirection.Horizontal, RepeatLayout.Flow, false, true, true, true);
  1381. 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>";
  1382. Assert.AreEqual (exp, v, "#63");
  1383. }
  1384. [Test]
  1385. public void RepeatInfo_1cols_0itms_horiz_flow_hdr_ftr_sep ()
  1386. {
  1387. // cols : 1
  1388. // cnt : 0
  1389. // RepeatDirection : Horizontal
  1390. // RepeatLayout : Flow
  1391. // OuterTableImplied : False
  1392. // Header : True
  1393. // Footer : True
  1394. // Separator : True
  1395. string v = RepeatInfoUser.DoTest (1, 0, RepeatDirection.Horizontal, RepeatLayout.Flow, false, true, true, true);
  1396. string exp = @"<span class=""mainstyle"">(0,Header,-1)(1,Footer,-1)</span>";
  1397. Assert.AreEqual (exp, v, "#64");
  1398. }
  1399. [Test]
  1400. public void RepeatInfo_1cols_5itms_horiz_flow_hdr_ftr_sep ()
  1401. {
  1402. // cols : 1
  1403. // cnt : 5
  1404. // RepeatDirection : Horizontal
  1405. // RepeatLayout : Flow
  1406. // OuterTableImplied : False
  1407. // Header : True
  1408. // Footer : True
  1409. // Separator : True
  1410. string v = RepeatInfoUser.DoTest (1, 5, RepeatDirection.Horizontal, RepeatLayout.Flow, false, true, true, true);
  1411. 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>";
  1412. Assert.AreEqual (exp, v, "#65");
  1413. }
  1414. [Test]
  1415. public void RepeatInfo_2cols_4itms_horiz_flow_hdr_ftr_sep ()
  1416. {
  1417. // cols : 2
  1418. // cnt : 4
  1419. // RepeatDirection : Horizontal
  1420. // RepeatLayout : Flow
  1421. // OuterTableImplied : False
  1422. // Header : True
  1423. // Footer : True
  1424. // Separator : True
  1425. string v = RepeatInfoUser.DoTest (2, 4, RepeatDirection.Horizontal, RepeatLayout.Flow, false, true, true, true);
  1426. 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>";
  1427. Assert.AreEqual (exp, v, "#66");
  1428. }
  1429. [Test]
  1430. public void RepeatInfo_2cols_7itms_horiz_flow_hdr_ftr_sep ()
  1431. {
  1432. // cols : 2
  1433. // cnt : 7
  1434. // RepeatDirection : Horizontal
  1435. // RepeatLayout : Flow
  1436. // OuterTableImplied : False
  1437. // Header : True
  1438. // Footer : True
  1439. // Separator : True
  1440. string v = RepeatInfoUser.DoTest (2, 7, RepeatDirection.Horizontal, RepeatLayout.Flow, false, true, true, true);
  1441. 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>";
  1442. Assert.AreEqual (exp, v, "#67");
  1443. }
  1444. [Test]
  1445. public void RepeatInfo_3cols_9itms_horiz_flow_hdr_ftr_sep ()
  1446. {
  1447. // cols : 3
  1448. // cnt : 9
  1449. // RepeatDirection : Horizontal
  1450. // RepeatLayout : Flow
  1451. // OuterTableImplied : False
  1452. // Header : True
  1453. // Footer : True
  1454. // Separator : True
  1455. string v = RepeatInfoUser.DoTest (3, 9, RepeatDirection.Horizontal, RepeatLayout.Flow, false, true, true, true);
  1456. 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>";
  1457. Assert.AreEqual (exp, v, "#68");
  1458. }
  1459. [Test]
  1460. public void RepeatInfo_3cols_7itms_horiz_flow_hdr_ftr_sep ()
  1461. {
  1462. // cols : 3
  1463. // cnt : 7
  1464. // RepeatDirection : Horizontal
  1465. // RepeatLayout : Flow
  1466. // OuterTableImplied : False
  1467. // Header : True
  1468. // Footer : True
  1469. // Separator : True
  1470. string v = RepeatInfoUser.DoTest (3, 7, RepeatDirection.Horizontal, RepeatLayout.Flow, false, true, true, true);
  1471. 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>";
  1472. Assert.AreEqual (exp, v, "#69");
  1473. }
  1474. [Test]
  1475. public void RepeatInfo_0cols_0itms_vert_flow_hdr_ftr_sep ()
  1476. {
  1477. // cols : 0
  1478. // cnt : 0
  1479. // RepeatDirection : Vertical
  1480. // RepeatLayout : Flow
  1481. // OuterTableImplied : False
  1482. // Header : True
  1483. // Footer : True
  1484. // Separator : True
  1485. string v = RepeatInfoUser.DoTest (0, 0, RepeatDirection.Vertical, RepeatLayout.Flow, false, true, true, true);
  1486. string exp = @"<span class=""mainstyle"">(0,Header,-1)<br>(1,Footer,-1)</span>";
  1487. Assert.AreEqual (exp, v, "#70");
  1488. }
  1489. [Test]
  1490. public void RepeatInfo_0cols_1itms_vert_flow_hdr_ftr_sep ()
  1491. {
  1492. // cols : 0
  1493. // cnt : 1
  1494. // RepeatDirection : Vertical
  1495. // RepeatLayout : Flow
  1496. // OuterTableImplied : False
  1497. // Header : True
  1498. // Footer : True
  1499. // Separator : True
  1500. string v = RepeatInfoUser.DoTest (0, 1, RepeatDirection.Vertical, RepeatLayout.Flow, false, true, true, true);
  1501. string exp = @"<span class=""mainstyle"">(0,Header,-1)<br>(1,Item,0)<br>(2,Footer,-1)</span>";
  1502. Assert.AreEqual (exp, v, "#71");
  1503. }
  1504. [Test]
  1505. public void RepeatInfo_0cols_2itms_vert_flow_hdr_ftr_sep ()
  1506. {
  1507. // cols : 0
  1508. // cnt : 2
  1509. // RepeatDirection : Vertical
  1510. // RepeatLayout : Flow
  1511. // OuterTableImplied : False
  1512. // Header : True
  1513. // Footer : True
  1514. // Separator : True
  1515. string v = RepeatInfoUser.DoTest (0, 2, RepeatDirection.Vertical, RepeatLayout.Flow, false, true, true, true);
  1516. 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>";
  1517. Assert.AreEqual (exp, v, "#72");
  1518. }
  1519. [Test]
  1520. public void RepeatInfo_0cols_5itms_vert_flow_hdr_ftr_sep ()
  1521. {
  1522. // cols : 0
  1523. // cnt : 5
  1524. // RepeatDirection : Vertical
  1525. // RepeatLayout : Flow
  1526. // OuterTableImplied : False
  1527. // Header : True
  1528. // Footer : True
  1529. // Separator : True
  1530. string v = RepeatInfoUser.DoTest (0, 5, RepeatDirection.Vertical, RepeatLayout.Flow, false, true, true, true);
  1531. 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>";
  1532. Assert.AreEqual (exp, v, "#73");
  1533. }
  1534. [Test]
  1535. public void RepeatInfo_1cols_0itms_vert_flow_hdr_ftr_sep ()
  1536. {
  1537. // cols : 1
  1538. // cnt : 0
  1539. // RepeatDirection : Vertical
  1540. // RepeatLayout : Flow
  1541. // OuterTableImplied : False
  1542. // Header : True
  1543. // Footer : True
  1544. // Separator : True
  1545. string v = RepeatInfoUser.DoTest (1, 0, RepeatDirection.Vertical, RepeatLayout.Flow, false, true, true, true);
  1546. string exp = @"<span class=""mainstyle"">(0,Header,-1)<br>(1,Footer,-1)</span>";
  1547. Assert.AreEqual (exp, v, "#74");
  1548. }
  1549. [Test]
  1550. public void RepeatInfo_1cols_5itms_vert_flow_hdr_ftr_sep ()
  1551. {
  1552. // cols : 1
  1553. // cnt : 5
  1554. // RepeatDirection : Vertical
  1555. // RepeatLayout : Flow
  1556. // OuterTableImplied : False
  1557. // Header : True
  1558. // Footer : True
  1559. // Separator : True
  1560. string v = RepeatInfoUser.DoTest (1, 5, RepeatDirection.Vertical, RepeatLayout.Flow, false, true, true, true);
  1561. 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>";
  1562. Assert.AreEqual (exp, v, "#75");
  1563. }
  1564. [Test]
  1565. public void RepeatInfo_2cols_4itms_vert_flow_hdr_ftr_sep ()
  1566. {
  1567. // cols : 2
  1568. // cnt : 4
  1569. // RepeatDirection : Vertical
  1570. // RepeatLayout : Flow
  1571. // OuterTableImplied : False
  1572. // Header : True
  1573. // Footer : True
  1574. // Separator : True
  1575. string v = RepeatInfoUser.DoTest (2, 4, RepeatDirection.Vertical, RepeatLayout.Flow, false, true, true, true);
  1576. 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>";
  1577. Assert.AreEqual (exp, v, "#76");
  1578. }
  1579. [Test]
  1580. public void RepeatInfo_2cols_7itms_vert_flow_hdr_ftr_sep ()
  1581. {
  1582. // cols : 2
  1583. // cnt : 7
  1584. // RepeatDirection : Vertical
  1585. // RepeatLayout : Flow
  1586. // OuterTableImplied : False
  1587. // Header : True
  1588. // Footer : True
  1589. // Separator : True
  1590. string v = RepeatInfoUser.DoTest (2, 7, RepeatDirection.Vertical, RepeatLayout.Flow, false, true, true, true);
  1591. 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>";
  1592. Assert.AreEqual (exp, v, "#77");
  1593. }
  1594. [Test]
  1595. public void RepeatInfo_3cols_9itms_vert_flow_hdr_ftr_sep ()
  1596. {
  1597. // cols : 3
  1598. // cnt : 9
  1599. // RepeatDirection : Vertical
  1600. // RepeatLayout : Flow
  1601. // OuterTableImplied : False
  1602. // Header : True
  1603. // Footer : True
  1604. // Separator : True
  1605. string v = RepeatInfoUser.DoTest (3, 9, RepeatDirection.Vertical, RepeatLayout.Flow, false, true, true, true);
  1606. 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>";
  1607. Assert.AreEqual (exp, v, "#78");
  1608. }
  1609. [Test]
  1610. public void RepeatInfo_3cols_7itms_vert_flow_hdr_ftr_sep ()
  1611. {
  1612. // cols : 3
  1613. // cnt : 7
  1614. // RepeatDirection : Vertical
  1615. // RepeatLayout : Flow
  1616. // OuterTableImplied : False
  1617. // Header : True
  1618. // Footer : True
  1619. // Separator : True
  1620. string v = RepeatInfoUser.DoTest (3, 7, RepeatDirection.Vertical, RepeatLayout.Flow, false, true, true, true);
  1621. 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>";
  1622. Assert.AreEqual (exp, v, "#79");
  1623. }
  1624. [Test]
  1625. public void RepeatInfo_0cols_0itms_horiz_tbl_otrtblimp_ftr_sep ()
  1626. {
  1627. // cols : 0
  1628. // cnt : 0
  1629. // RepeatDirection : Horizontal
  1630. // RepeatLayout : Table
  1631. // OuterTableImplied : True
  1632. // Header : False
  1633. // Footer : True
  1634. // Separator : True
  1635. string v = RepeatInfoUser.DoTest (0, 0, RepeatDirection.Horizontal, RepeatLayout.Table, true, false, true, true);
  1636. string exp = @"<table class=""mainstyle"" border=""0"">
  1637. <tr>
  1638. <td colspan=""0"" class=""Footer-1"">(0,Footer,-1)</td>
  1639. </tr>
  1640. </table>";
  1641. Assert.AreEqual (exp, v, "#80");
  1642. }
  1643. [Test]
  1644. public void RepeatInfo_0cols_1itms_horiz_tbl_otrtblimp_ftr_sep ()
  1645. {
  1646. // cols : 0
  1647. // cnt : 1
  1648. // RepeatDirection : Horizontal
  1649. // RepeatLayout : Table
  1650. // OuterTableImplied : True
  1651. // Header : False
  1652. // Footer : True
  1653. // Separator : True
  1654. string v = RepeatInfoUser.DoTest (0, 1, RepeatDirection.Horizontal, RepeatLayout.Table, true, false, true, true);
  1655. string exp = @"<table class=""mainstyle"" border=""0"">
  1656. <tr>
  1657. <td class=""Item0"">(0,Item,0)</td>
  1658. </tr><tr>
  1659. <td colspan=""2"" class=""Footer-1"">(1,Footer,-1)</td>
  1660. </tr>
  1661. </table>";
  1662. Assert.AreEqual (exp, v, "#81");
  1663. }
  1664. [Test]
  1665. public void RepeatInfo_0cols_2itms_horiz_tbl_otrtblimp_ftr_sep ()
  1666. {
  1667. // cols : 0
  1668. // cnt : 2
  1669. // RepeatDirection : Horizontal
  1670. // RepeatLayout : Table
  1671. // OuterTableImplied : True
  1672. // Header : False
  1673. // Footer : True
  1674. // Separator : True
  1675. string v = RepeatInfoUser.DoTest (0, 2, RepeatDirection.Horizontal, RepeatLayout.Table, true, false, true, true);
  1676. string exp = @"<table class=""mainstyle"" border=""0"">
  1677. <tr>
  1678. <td class=""Item0"">(0,Item,0)</td><td class=""Separator0"">(1,Separator,0)</td><td class=""Item1"">(2,Item,1)</td>
  1679. </tr><tr>
  1680. <td colspan=""4"" class=""Footer-1"">(3,Footer,-1)</td>
  1681. </tr>
  1682. </table>";
  1683. Assert.AreEqual (exp, v, "#82");
  1684. }
  1685. [Test]
  1686. public void RepeatInfo_0cols_5itms_horiz_tbl_otrtblimp_ftr_sep ()
  1687. {
  1688. // cols : 0
  1689. // cnt : 5
  1690. // RepeatDirection : Horizontal
  1691. // RepeatLayout : Table
  1692. // OuterTableImplied : True
  1693. // Header : False
  1694. // Footer : True
  1695. // Separator : True
  1696. string v = RepeatInfoUser.DoTest (0, 5, RepeatDirection.Horizontal, RepeatLayout.Table, true, false, true, true);
  1697. string exp = @"<table class=""mainstyle"" border=""0"">
  1698. <tr>
  1699. <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>
  1700. </tr><tr>
  1701. <td colspan=""10"" class=""Footer-1"">(9,Footer,-1)</td>
  1702. </tr>
  1703. </table>";
  1704. Assert.AreEqual (exp, v, "#83");
  1705. }
  1706. [Test]
  1707. public void RepeatInfo_1cols_0itms_horiz_tbl_otrtblimp_ftr_sep ()
  1708. {
  1709. // cols : 1
  1710. // cnt : 0
  1711. // RepeatDirection : Horizontal
  1712. // RepeatLayout : Table
  1713. // OuterTableImplied : True
  1714. // Header : False
  1715. // Footer : True
  1716. // Separator : True
  1717. string v = RepeatInfoUser.DoTest (1, 0, RepeatDirection.Horizontal, RepeatLayout.Table, true, false, true, true);
  1718. string exp = @"<table class=""mainstyle"" border=""0"">
  1719. <tr>
  1720. <td colspan=""2"" class=""Footer-1"">(0,Footer,-1)</td>
  1721. </tr>
  1722. </table>";
  1723. Assert.AreEqual (exp, v, "#84");
  1724. }
  1725. [Test]
  1726. public void RepeatInfo_1cols_5itms_horiz_tbl_otrtblimp_ftr_sep ()
  1727. {
  1728. // cols : 1
  1729. // cnt : 5
  1730. // RepeatDirection : Horizontal
  1731. // RepeatLayout : Table
  1732. // OuterTableImplied : True
  1733. // Header : False
  1734. // Footer : True
  1735. // Separator : True
  1736. string v = RepeatInfoUser.DoTest (1, 5, RepeatDirection.Horizontal, RepeatLayout.Table, true, false, true, true);
  1737. string exp = @"<table class=""mainstyle"" border=""0"">
  1738. <tr>
  1739. <td class=""Item0"">(0,Item,0)</td><td class=""Separator0"">(1,Separator,0)</td>
  1740. </tr><tr>
  1741. <td class=""Item1"">(2,Item,1)</td><td class=""Separator1"">(3,Separator,1)</td>
  1742. </tr><tr>
  1743. <td class=""Item2"">(4,Item,2)</td><td class=""Separator2"">(5,Separator,2)</td>
  1744. </tr><tr>
  1745. <td class=""Item3"">(6,Item,3)</td><td class=""Separator3"">(7,Separator,3)</td>
  1746. </tr><tr>
  1747. <td class=""Item4"">(8,Item,4)</td>
  1748. </tr><tr>
  1749. <td colspan=""2"" class=""Footer-1"">(9,Footer,-1)</td>
  1750. </tr>
  1751. </table>";
  1752. Assert.AreEqual (exp, v, "#85");
  1753. }
  1754. [Test]
  1755. public void RepeatInfo_2cols_4itms_horiz_tbl_otrtblimp_ftr_sep ()
  1756. {
  1757. // cols : 2
  1758. // cnt : 4
  1759. // RepeatDirection : Horizontal
  1760. // RepeatLayout : Table
  1761. // OuterTableImplied : True
  1762. // Header : False
  1763. // Footer : True
  1764. // Separator : True
  1765. string v = RepeatInfoUser.DoTest (2, 4, RepeatDirection.Horizontal, RepeatLayout.Table, true, false, true, true);
  1766. string exp = @"<table class=""mainstyle"" border=""0"">
  1767. <tr>
  1768. <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>
  1769. </tr><tr>
  1770. <td class=""Item2"">(4,Item,2)</td><td class=""Separator2"">(5,Separator,2)</td><td class=""Item3"">(6,Item,3)</td>
  1771. </tr><tr>
  1772. <td colspan=""4"" class=""Footer-1"">(7,Footer,-1)</td>
  1773. </tr>
  1774. </table>";
  1775. Assert.AreEqual (exp, v, "#86");
  1776. }
  1777. [Test]
  1778. public void RepeatInfo_2cols_7itms_horiz_tbl_otrtblimp_ftr_sep ()
  1779. {
  1780. // cols : 2
  1781. // cnt : 7
  1782. // RepeatDirection : Horizontal
  1783. // RepeatLayout : Table
  1784. // OuterTableImplied : True
  1785. // Header : False
  1786. // Footer : True
  1787. // Separator : True
  1788. string v = RepeatInfoUser.DoTest (2, 7, RepeatDirection.Horizontal, RepeatLayout.Table, true, false, true, true);
  1789. string exp = @"<table class=""mainstyle"" border=""0"">
  1790. <tr>
  1791. <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>
  1792. </tr><tr>
  1793. <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>
  1794. </tr><tr>
  1795. <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>
  1796. </tr><tr>
  1797. <td class=""Item6"">(12,Item,6)</td>
  1798. </tr><tr>
  1799. <td colspan=""4"" class=""Footer-1"">(13,Footer,-1)</td>
  1800. </tr>
  1801. </table>";
  1802. Assert.AreEqual (exp, v, "#87");
  1803. }
  1804. [Test]
  1805. public void RepeatInfo_3cols_9itms_horiz_tbl_otrtblimp_ftr_sep ()
  1806. {
  1807. // cols : 3
  1808. // cnt : 9
  1809. // RepeatDirection : Horizontal
  1810. // RepeatLayout : Table
  1811. // OuterTableImplied : True
  1812. // Header : False
  1813. // Footer : True
  1814. // Separator : True
  1815. string v = RepeatInfoUser.DoTest (3, 9, RepeatDirection.Horizontal, RepeatLayout.Table, true, false, true, true);
  1816. string exp = @"<table border=""0"">
  1817. <tr>
  1818. <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>
  1819. </tr><tr>
  1820. <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>
  1821. </tr><tr>
  1822. <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>
  1823. </tr><tr>
  1824. <td colspan=""6"" class=""Footer-1"">(17,Footer,-1)</td>
  1825. </tr>
  1826. </table>";
  1827. Assert.AreEqual (exp, v, "#88");
  1828. }
  1829. [Test]
  1830. public void RepeatInfo_3cols_7itms_horiz_tbl_otrtblimp_ftr_sep ()
  1831. {
  1832. // cols : 3
  1833. // cnt : 7
  1834. // RepeatDirection : Horizontal
  1835. // RepeatLayout : Table
  1836. // OuterTableImplied : True
  1837. // Header : False
  1838. // Footer : True
  1839. // Separator : True
  1840. string v = RepeatInfoUser.DoTest (3, 7, RepeatDirection.Horizontal, RepeatLayout.Table, true, false, true, true);
  1841. string exp = @"<table border=""0"">
  1842. <tr>
  1843. <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>
  1844. </tr><tr>
  1845. <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>
  1846. </tr><tr>
  1847. <td class=""Item6"">(12,Item,6)</td>
  1848. </tr><tr>
  1849. <td colspan=""6"" class=""Footer-1"">(13,Footer,-1)</td>
  1850. </tr>
  1851. </table>";
  1852. Assert.AreEqual (exp, v, "#89");
  1853. }
  1854. [Test]
  1855. public void RepeatInfo_0cols_0itms_vert_tbl_otrtblimp_ftr_sep ()
  1856. {
  1857. // cols : 0
  1858. // cnt : 0
  1859. // RepeatDirection : Vertical
  1860. // RepeatLayout : Table
  1861. // OuterTableImplied : True
  1862. // Header : False
  1863. // Footer : True
  1864. // Separator : True
  1865. string v = RepeatInfoUser.DoTest (0, 0, RepeatDirection.Vertical, RepeatLayout.Table, true, false, true, true);
  1866. string exp = @"(0,Footer,-1)";
  1867. Assert.AreEqual (exp, v, "#90");
  1868. }
  1869. [Test]
  1870. public void RepeatInfo_0cols_1itms_vert_tbl_otrtblimp_ftr_sep ()
  1871. {
  1872. // cols : 0
  1873. // cnt : 1
  1874. // RepeatDirection : Vertical
  1875. // RepeatLayout : Table
  1876. // OuterTableImplied : True
  1877. // Header : False
  1878. // Footer : True
  1879. // Separator : True
  1880. string v = RepeatInfoUser.DoTest (0, 1, RepeatDirection.Vertical, RepeatLayout.Table, true, false, true, true);
  1881. string exp = @"(0,Item,0)(1,Footer,-1)";
  1882. Assert.AreEqual (exp, v, "#91");
  1883. }
  1884. [Test]
  1885. public void RepeatInfo_0cols_2itms_vert_tbl_otrtblimp_ftr_sep ()
  1886. {
  1887. // cols : 0
  1888. // cnt : 2
  1889. // RepeatDirection : Vertical
  1890. // RepeatLayout : Table
  1891. // OuterTableImplied : True
  1892. // Header : False
  1893. // Footer : True
  1894. // Separator : True
  1895. string v = RepeatInfoUser.DoTest (0, 2, RepeatDirection.Vertical, RepeatLayout.Table, true, false, true, true);
  1896. string exp = @"(0,Item,0)<br>(1,Separator,0)(2,Item,1)(3,Footer,-1)";
  1897. Assert.AreEqual (exp, v, "#92");
  1898. }
  1899. [Test]
  1900. public void RepeatInfo_0cols_5itms_vert_tbl_otrtblimp_ftr_sep ()
  1901. {
  1902. // cols : 0
  1903. // cnt : 5
  1904. // RepeatDirection : Vertical
  1905. // RepeatLayout : Table
  1906. // OuterTableImplied : True
  1907. // Header : False
  1908. // Footer : True
  1909. // Separator : True
  1910. string v = RepeatInfoUser.DoTest (0, 5, RepeatDirection.Vertical, RepeatLayout.Table, true, false, true, true);
  1911. string exp = @"(0,Item,0)<br>(1,Separator,0)(2,Item,1)<br>(3,Separator,1)(4,Item,2)<br>(5,Separator,2)(6,Item,3)<br>(7,Separator,3)(8,Item,4)(9,Footer,-1)";
  1912. Assert.AreEqual (exp, v, "#93");
  1913. }
  1914. [Test]
  1915. public void RepeatInfo_1cols_0itms_vert_tbl_otrtblimp_ftr_sep ()
  1916. {
  1917. // cols : 1
  1918. // cnt : 0
  1919. // RepeatDirection : Vertical
  1920. // RepeatLayout : Table
  1921. // OuterTableImplied : True
  1922. // Header : False
  1923. // Footer : True
  1924. // Separator : True
  1925. string v = RepeatInfoUser.DoTest (1, 0, RepeatDirection.Vertical, RepeatLayout.Table, true, false, true, true);
  1926. string exp = @"(0,Footer,-1)";
  1927. Assert.AreEqual (exp, v, "#94");
  1928. }
  1929. [Test]
  1930. public void RepeatInfo_1cols_5itms_vert_tbl_otrtblimp_ftr_sep ()
  1931. {
  1932. // cols : 1
  1933. // cnt : 5
  1934. // RepeatDirection : Vertical
  1935. // RepeatLayout : Table
  1936. // OuterTableImplied : True
  1937. // Header : False
  1938. // Footer : True
  1939. // Separator : True
  1940. string v = RepeatInfoUser.DoTest (1, 5, RepeatDirection.Vertical, RepeatLayout.Table, true, false, true, true);
  1941. string exp = @"(0,Item,0)<br>(1,Separator,0)(2,Item,1)<br>(3,Separator,1)(4,Item,2)<br>(5,Separator,2)(6,Item,3)<br>(7,Separator,3)(8,Item,4)(9,Footer,-1)";
  1942. Assert.AreEqual (exp, v, "#95");
  1943. }
  1944. [Test]
  1945. public void RepeatInfo_2cols_4itms_vert_tbl_otrtblimp_ftr_sep ()
  1946. {
  1947. // cols : 2
  1948. // cnt : 4
  1949. // RepeatDirection : Vertical
  1950. // RepeatLayout : Table
  1951. // OuterTableImplied : True
  1952. // Header : False
  1953. // Footer : True
  1954. // Separator : True
  1955. string v = RepeatInfoUser.DoTest (2, 4, RepeatDirection.Vertical, RepeatLayout.Table, true, false, true, true);
  1956. 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)";
  1957. Assert.AreEqual (exp, v, "#96");
  1958. }
  1959. [Test]
  1960. public void RepeatInfo_2cols_7itms_vert_tbl_otrtblimp_ftr_sep ()
  1961. {
  1962. // cols : 2
  1963. // cnt : 7
  1964. // RepeatDirection : Vertical
  1965. // RepeatLayout : Table
  1966. // OuterTableImplied : True
  1967. // Header : False
  1968. // Footer : True
  1969. // Separator : True
  1970. string v = RepeatInfoUser.DoTest (2, 7, RepeatDirection.Vertical, RepeatLayout.Table, true, false, true, true);
  1971. 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)";
  1972. Assert.AreEqual (exp, v, "#97");
  1973. }
  1974. [Test]
  1975. public void RepeatInfo_3cols_9itms_vert_tbl_otrtblimp_ftr_sep ()
  1976. {
  1977. // cols : 3
  1978. // cnt : 9
  1979. // RepeatDirection : Vertical
  1980. // RepeatLayout : Table
  1981. // OuterTableImplied : True
  1982. // Header : False
  1983. // Footer : True
  1984. // Separator : True
  1985. string v = RepeatInfoUser.DoTest (3, 9, RepeatDirection.Vertical, RepeatLayout.Table, true, false, true, true);
  1986. 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)";
  1987. Assert.AreEqual (exp, v, "#98");
  1988. }
  1989. [Test]
  1990. public void RepeatInfo_3cols_7itms_vert_tbl_otrtblimp_ftr_sep ()
  1991. {
  1992. // cols : 3
  1993. // cnt : 7
  1994. // RepeatDirection : Vertical
  1995. // RepeatLayout : Table
  1996. // OuterTableImplied : True
  1997. // Header : False
  1998. // Footer : True
  1999. // Separator : True
  2000. string v = RepeatInfoUser.DoTest (3, 7, RepeatDirection.Vertical, RepeatLayout.Table, true, false, true, true);
  2001. 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)";
  2002. Assert.AreEqual (exp, v, "#99");
  2003. }
  2004. [Test]
  2005. public void RepeatInfo_0cols_0itms_horiz_flow_otrtblimp_ftr_sep ()
  2006. {
  2007. // cols : 0
  2008. // cnt : 0
  2009. // RepeatDirection : Horizontal
  2010. // RepeatLayout : Flow
  2011. // OuterTableImplied : True
  2012. // Header : False
  2013. // Footer : True
  2014. // Separator : True
  2015. string v = RepeatInfoUser.DoTest (0, 0, RepeatDirection.Horizontal, RepeatLayout.Flow, true, false, true, true);
  2016. string exp = @"<span class=""mainstyle"">(0,Footer,-1)</span>";
  2017. Assert.AreEqual (exp, v, "#100");
  2018. }
  2019. [Test]
  2020. public void RepeatInfo_0cols_1itms_horiz_flow_otrtblimp_ftr_sep ()
  2021. {
  2022. // cols : 0
  2023. // cnt : 1
  2024. // RepeatDirection : Horizontal
  2025. // RepeatLayout : Flow
  2026. // OuterTableImplied : True
  2027. // Header : False
  2028. // Footer : True
  2029. // Separator : True
  2030. string v = RepeatInfoUser.DoTest (0, 1, RepeatDirection.Horizontal, RepeatLayout.Flow, true, false, true, true);
  2031. string exp = @"<span class=""mainstyle"">(0,Item,0)(1,Footer,-1)</span>";
  2032. Assert.AreEqual (exp, v, "#101");
  2033. }
  2034. [Test]
  2035. public void RepeatInfo_0cols_2itms_horiz_flow_otrtblimp_ftr_sep ()
  2036. {
  2037. // cols : 0
  2038. // cnt : 2
  2039. // RepeatDirection : Horizontal
  2040. // RepeatLayout : Flow
  2041. // OuterTableImplied : True
  2042. // Header : False
  2043. // Footer : True
  2044. // Separator : True
  2045. string v = RepeatInfoUser.DoTest (0, 2, RepeatDirection.Horizontal, RepeatLayout.Flow, true, false, true, true);
  2046. string exp = @"<span class=""mainstyle"">(0,Item,0)(1,Separator,0)(2,Item,1)(3,Footer,-1)</span>";
  2047. Assert.AreEqual (exp, v, "#102");
  2048. }
  2049. [Test]
  2050. public void RepeatInfo_0cols_5itms_horiz_flow_otrtblimp_ftr_sep ()
  2051. {
  2052. // cols : 0
  2053. // cnt : 5
  2054. // RepeatDirection : Horizontal
  2055. // RepeatLayout : Flow
  2056. // OuterTableImplied : True
  2057. // Header : False
  2058. // Footer : True
  2059. // Separator : True
  2060. string v = RepeatInfoUser.DoTest (0, 5, RepeatDirection.Horizontal, RepeatLayout.Flow, true, false, true, true);
  2061. 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>";
  2062. Assert.AreEqual (exp, v, "#103");
  2063. }
  2064. [Test]
  2065. public void RepeatInfo_1cols_0itms_horiz_flow_otrtblimp_ftr_sep ()
  2066. {
  2067. // cols : 1
  2068. // cnt : 0
  2069. // RepeatDirection : Horizontal
  2070. // RepeatLayout : Flow
  2071. // OuterTableImplied : True
  2072. // Header : False
  2073. // Footer : True
  2074. // Separator : True
  2075. string v = RepeatInfoUser.DoTest (1, 0, RepeatDirection.Horizontal, RepeatLayout.Flow, true, false, true, true);
  2076. string exp = @"<span class=""mainstyle"">(0,Footer,-1)</span>";
  2077. Assert.AreEqual (exp, v, "#104");
  2078. }
  2079. [Test]
  2080. public void RepeatInfo_1cols_5itms_horiz_flow_otrtblimp_ftr_sep ()
  2081. {
  2082. // cols : 1
  2083. // cnt : 5
  2084. // RepeatDirection : Horizontal
  2085. // RepeatLayout : Flow
  2086. // OuterTableImplied : True
  2087. // Header : False
  2088. // Footer : True
  2089. // Separator : True
  2090. string v = RepeatInfoUser.DoTest (1, 5, RepeatDirection.Horizontal, RepeatLayout.Flow, true, false, true, true);
  2091. 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>";
  2092. Assert.AreEqual (exp, v, "#105");
  2093. }
  2094. [Test]
  2095. public void RepeatInfo_2cols_4itms_horiz_flow_otrtblimp_ftr_sep ()
  2096. {
  2097. // cols : 2
  2098. // cnt : 4
  2099. // RepeatDirection : Horizontal
  2100. // RepeatLayout : Flow
  2101. // OuterTableImplied : True
  2102. // Header : False
  2103. // Footer : True
  2104. // Separator : True
  2105. string v = RepeatInfoUser.DoTest (2, 4, RepeatDirection.Horizontal, RepeatLayout.Flow, true, false, true, true);
  2106. 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>";
  2107. Assert.AreEqual (exp, v, "#106");
  2108. }
  2109. [Test]
  2110. public void RepeatInfo_2cols_7itms_horiz_flow_otrtblimp_ftr_sep ()
  2111. {
  2112. // cols : 2
  2113. // cnt : 7
  2114. // RepeatDirection : Horizontal
  2115. // RepeatLayout : Flow
  2116. // OuterTableImplied : True
  2117. // Header : False
  2118. // Footer : True
  2119. // Separator : True
  2120. string v = RepeatInfoUser.DoTest (2, 7, RepeatDirection.Horizontal, RepeatLayout.Flow, true, false, true, true);
  2121. 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>";
  2122. Assert.AreEqual (exp, v, "#107");
  2123. }
  2124. [Test]
  2125. public void RepeatInfo_3cols_9itms_horiz_flow_otrtblimp_ftr_sep ()
  2126. {
  2127. // cols : 3
  2128. // cnt : 9
  2129. // RepeatDirection : Horizontal
  2130. // RepeatLayout : Flow
  2131. // OuterTableImplied : True
  2132. // Header : False
  2133. // Footer : True
  2134. // Separator : True
  2135. string v = RepeatInfoUser.DoTest (3, 9, RepeatDirection.Horizontal, RepeatLayout.Flow, true, false, true, true);
  2136. 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>";
  2137. Assert.AreEqual (exp, v, "#108");
  2138. }
  2139. [Test]
  2140. public void RepeatInfo_3cols_7itms_horiz_flow_otrtblimp_ftr_sep ()
  2141. {
  2142. // cols : 3
  2143. // cnt : 7
  2144. // RepeatDirection : Horizontal
  2145. // RepeatLayout : Flow
  2146. // OuterTableImplied : True
  2147. // Header : False
  2148. // Footer : True
  2149. // Separator : True
  2150. string v = RepeatInfoUser.DoTest (3, 7, RepeatDirection.Horizontal, RepeatLayout.Flow, true, false, true, true);
  2151. 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>";
  2152. Assert.AreEqual (exp, v, "#109");
  2153. }
  2154. [Test]
  2155. public void RepeatInfo_0cols_0itms_vert_flow_otrtblimp_ftr_sep ()
  2156. {
  2157. // cols : 0
  2158. // cnt : 0
  2159. // RepeatDirection : Vertical
  2160. // RepeatLayout : Flow
  2161. // OuterTableImplied : True
  2162. // Header : False
  2163. // Footer : True
  2164. // Separator : True
  2165. string v = RepeatInfoUser.DoTest (0, 0, RepeatDirection.Vertical, RepeatLayout.Flow, true, false, true, true);
  2166. string exp = @"(0,Footer,-1)";
  2167. Assert.AreEqual (exp, v, "#110");
  2168. }
  2169. [Test]
  2170. public void RepeatInfo_0cols_1itms_vert_flow_otrtblimp_ftr_sep ()
  2171. {
  2172. // cols : 0
  2173. // cnt : 1
  2174. // RepeatDirection : Vertical
  2175. // RepeatLayout : Flow
  2176. // OuterTableImplied : True
  2177. // Header : False
  2178. // Footer : True
  2179. // Separator : True
  2180. string v = RepeatInfoUser.DoTest (0, 1, RepeatDirection.Vertical, RepeatLayout.Flow, true, false, true, true);
  2181. string exp = @"(0,Item,0)(1,Footer,-1)";
  2182. Assert.AreEqual (exp, v, "#111");
  2183. }
  2184. [Test]
  2185. public void RepeatInfo_0cols_2itms_vert_flow_otrtblimp_ftr_sep ()
  2186. {
  2187. // cols : 0
  2188. // cnt : 2
  2189. // RepeatDirection : Vertical
  2190. // RepeatLayout : Flow
  2191. // OuterTableImplied : True
  2192. // Header : False
  2193. // Footer : True
  2194. // Separator : True
  2195. string v = RepeatInfoUser.DoTest (0, 2, RepeatDirection.Vertical, RepeatLayout.Flow, true, false, true, true);
  2196. string exp = @"(0,Item,0)<br>(1,Separator,0)(2,Item,1)(3,Footer,-1)";
  2197. Assert.AreEqual (exp, v, "#112");
  2198. }
  2199. [Test]
  2200. public void RepeatInfo_0cols_5itms_vert_flow_otrtblimp_ftr_sep ()
  2201. {
  2202. // cols : 0
  2203. // cnt : 5
  2204. // RepeatDirection : Vertical
  2205. // RepeatLayout : Flow
  2206. // OuterTableImplied : True
  2207. // Header : False
  2208. // Footer : True
  2209. // Separator : True
  2210. string v = RepeatInfoUser.DoTest (0, 5, RepeatDirection.Vertical, RepeatLayout.Flow, true, false, true, true);
  2211. string exp = @"(0,Item,0)<br>(1,Separator,0)(2,Item,1)<br>(3,Separator,1)(4,Item,2)<br>(5,Separator,2)(6,Item,3)<br>(7,Separator,3)(8,Item,4)(9,Footer,-1)";
  2212. Assert.AreEqual (exp, v, "#113");
  2213. }
  2214. [Test]
  2215. public void RepeatInfo_1cols_0itms_vert_flow_otrtblimp_ftr_sep ()
  2216. {
  2217. // cols : 1
  2218. // cnt : 0
  2219. // RepeatDirection : Vertical
  2220. // RepeatLayout : Flow
  2221. // OuterTableImplied : True
  2222. // Header : False
  2223. // Footer : True
  2224. // Separator : True
  2225. string v = RepeatInfoUser.DoTest (1, 0, RepeatDirection.Vertical, RepeatLayout.Flow, true, false, true, true);
  2226. string exp = @"(0,Footer,-1)";
  2227. Assert.AreEqual (exp, v, "#114");
  2228. }
  2229. [Test]
  2230. public void RepeatInfo_1cols_5itms_vert_flow_otrtblimp_ftr_sep ()
  2231. {
  2232. // cols : 1
  2233. // cnt : 5
  2234. // RepeatDirection : Vertical
  2235. // RepeatLayout : Flow
  2236. // OuterTableImplied : True
  2237. // Header : False
  2238. // Footer : True
  2239. // Separator : True
  2240. string v = RepeatInfoUser.DoTest (1, 5, RepeatDirection.Vertical, RepeatLayout.Flow, true, false, true, true);
  2241. string exp = @"(0,Item,0)<br>(1,Separator,0)(2,Item,1)<br>(3,Separator,1)(4,Item,2)<br>(5,Separator,2)(6,Item,3)<br>(7,Separator,3)(8,Item,4)(9,Footer,-1)";
  2242. Assert.AreEqual (exp, v, "#115");
  2243. }
  2244. [Test]
  2245. public void RepeatInfo_2cols_4itms_vert_flow_otrtblimp_ftr_sep ()
  2246. {
  2247. // cols : 2
  2248. // cnt : 4
  2249. // RepeatDirection : Vertical
  2250. // RepeatLayout : Flow
  2251. // OuterTableImplied : True
  2252. // Header : False
  2253. // Footer : True
  2254. // Separator : True
  2255. string v = RepeatInfoUser.DoTest (2, 4, RepeatDirection.Vertical, RepeatLayout.Flow, true, false, true, true);
  2256. 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)";
  2257. Assert.AreEqual (exp, v, "#116");
  2258. }
  2259. [Test]
  2260. public void RepeatInfo_2cols_7itms_vert_flow_otrtblimp_ftr_sep ()
  2261. {
  2262. // cols : 2
  2263. // cnt : 7
  2264. // RepeatDirection : Vertical
  2265. // RepeatLayout : Flow
  2266. // OuterTableImplied : True
  2267. // Header : False
  2268. // Footer : True
  2269. // Separator : True
  2270. string v = RepeatInfoUser.DoTest (2, 7, RepeatDirection.Vertical, RepeatLayout.Flow, true, false, true, true);
  2271. 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)";
  2272. Assert.AreEqual (exp, v, "#117");
  2273. }
  2274. [Test]
  2275. public void RepeatInfo_3cols_9itms_vert_flow_otrtblimp_ftr_sep ()
  2276. {
  2277. // cols : 3
  2278. // cnt : 9
  2279. // RepeatDirection : Vertical
  2280. // RepeatLayout : Flow
  2281. // OuterTableImplied : True
  2282. // Header : False
  2283. // Footer : True
  2284. // Separator : True
  2285. string v = RepeatInfoUser.DoTest (3, 9, RepeatDirection.Vertical, RepeatLayout.Flow, true, false, true, true);
  2286. 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)";
  2287. Assert.AreEqual (exp, v, "#118");
  2288. }
  2289. [Test]
  2290. public void RepeatInfo_3cols_7itms_vert_flow_otrtblimp_ftr_sep ()
  2291. {
  2292. // cols : 3
  2293. // cnt : 7
  2294. // RepeatDirection : Vertical
  2295. // RepeatLayout : Flow
  2296. // OuterTableImplied : True
  2297. // Header : False
  2298. // Footer : True
  2299. // Separator : True
  2300. string v = RepeatInfoUser.DoTest (3, 7, RepeatDirection.Vertical, RepeatLayout.Flow, true, false, true, true);
  2301. 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)";
  2302. Assert.AreEqual (exp, v, "#119");
  2303. }
  2304. [Test]
  2305. public void RepeatInfo_0cols_0itms_horiz_tbl_ftr_sep ()
  2306. {
  2307. // cols : 0
  2308. // cnt : 0
  2309. // RepeatDirection : Horizontal
  2310. // RepeatLayout : Table
  2311. // OuterTableImplied : False
  2312. // Header : False
  2313. // Footer : True
  2314. // Separator : True
  2315. string v = RepeatInfoUser.DoTest (0, 0, RepeatDirection.Horizontal, RepeatLayout.Table, false, false, true, true);
  2316. string exp = @"<table class=""mainstyle"" border=""0"">
  2317. <tr>
  2318. <td colspan=""0"" class=""Footer-1"">(0,Footer,-1)</td>
  2319. </tr>
  2320. </table>";
  2321. Assert.AreEqual (exp, v, "#120");
  2322. }
  2323. [Test]
  2324. public void RepeatInfo_0cols_1itms_horiz_tbl_ftr_sep ()
  2325. {
  2326. // cols : 0
  2327. // cnt : 1
  2328. // RepeatDirection : Horizontal
  2329. // RepeatLayout : Table
  2330. // OuterTableImplied : False
  2331. // Header : False
  2332. // Footer : True
  2333. // Separator : True
  2334. string v = RepeatInfoUser.DoTest (0, 1, RepeatDirection.Horizontal, RepeatLayout.Table, false, false, true, true);
  2335. string exp = @"<table class=""mainstyle"" border=""0"">
  2336. <tr>
  2337. <td class=""Item0"">(0,Item,0)</td>
  2338. </tr><tr>
  2339. <td colspan=""2"" class=""Footer-1"">(1,Footer,-1)</td>
  2340. </tr>
  2341. </table>";
  2342. Assert.AreEqual (exp, v, "#121");
  2343. }
  2344. [Test]
  2345. public void RepeatInfo_0cols_2itms_horiz_tbl_ftr_sep ()
  2346. {
  2347. // cols : 0
  2348. // cnt : 2
  2349. // RepeatDirection : Horizontal
  2350. // RepeatLayout : Table
  2351. // OuterTableImplied : False
  2352. // Header : False
  2353. // Footer : True
  2354. // Separator : True
  2355. string v = RepeatInfoUser.DoTest (0, 2, RepeatDirection.Horizontal, RepeatLayout.Table, false, false, true, true);
  2356. string exp = @"<table class=""mainstyle"" border=""0"">
  2357. <tr>
  2358. <td class=""Item0"">(0,Item,0)</td><td class=""Separator0"">(1,Separator,0)</td><td class=""Item1"">(2,Item,1)</td>
  2359. </tr><tr>
  2360. <td colspan=""4"" class=""Footer-1"">(3,Footer,-1)</td>
  2361. </tr>
  2362. </table>";
  2363. Assert.AreEqual (exp, v, "#122");
  2364. }
  2365. [Test]
  2366. public void RepeatInfo_0cols_5itms_horiz_tbl_ftr_sep ()
  2367. {
  2368. // cols : 0
  2369. // cnt : 5
  2370. // RepeatDirection : Horizontal
  2371. // RepeatLayout : Table
  2372. // OuterTableImplied : False
  2373. // Header : False
  2374. // Footer : True
  2375. // Separator : True
  2376. string v = RepeatInfoUser.DoTest (0, 5, RepeatDirection.Horizontal, RepeatLayout.Table, false, false, true, true);
  2377. string exp = @"<table class=""mainstyle"" border=""0"">
  2378. <tr>
  2379. <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>
  2380. </tr><tr>
  2381. <td colspan=""10"" class=""Footer-1"">(9,Footer,-1)</td>
  2382. </tr>
  2383. </table>";
  2384. Assert.AreEqual (exp, v, "#123");
  2385. }
  2386. [Test]
  2387. public void RepeatInfo_1cols_0itms_horiz_tbl_ftr_sep ()
  2388. {
  2389. // cols : 1
  2390. // cnt : 0
  2391. // RepeatDirection : Horizontal
  2392. // RepeatLayout : Table
  2393. // OuterTableImplied : False
  2394. // Header : False
  2395. // Footer : True
  2396. // Separator : True
  2397. string v = RepeatInfoUser.DoTest (1, 0, RepeatDirection.Horizontal, RepeatLayout.Table, false, false, true, true);
  2398. string exp = @"<table class=""mainstyle"" border=""0"">
  2399. <tr>
  2400. <td colspan=""2"" class=""Footer-1"">(0,Footer,-1)</td>
  2401. </tr>
  2402. </table>";
  2403. Assert.AreEqual (exp, v, "#124");
  2404. }
  2405. [Test]
  2406. public void RepeatInfo_1cols_5itms_horiz_tbl_ftr_sep ()
  2407. {
  2408. // cols : 1
  2409. // cnt : 5
  2410. // RepeatDirection : Horizontal
  2411. // RepeatLayout : Table
  2412. // OuterTableImplied : False
  2413. // Header : False
  2414. // Footer : True
  2415. // Separator : True
  2416. string v = RepeatInfoUser.DoTest (1, 5, RepeatDirection.Horizontal, RepeatLayout.Table, false, false, true, true);
  2417. string exp = @"<table class=""mainstyle"" border=""0"">
  2418. <tr>
  2419. <td class=""Item0"">(0,Item,0)</td><td class=""Separator0"">(1,Separator,0)</td>
  2420. </tr><tr>
  2421. <td class=""Item1"">(2,Item,1)</td><td class=""Separator1"">(3,Separator,1)</td>
  2422. </tr><tr>
  2423. <td class=""Item2"">(4,Item,2)</td><td class=""Separator2"">(5,Separator,2)</td>
  2424. </tr><tr>
  2425. <td class=""Item3"">(6,Item,3)</td><td class=""Separator3"">(7,Separator,3)</td>
  2426. </tr><tr>
  2427. <td class=""Item4"">(8,Item,4)</td>
  2428. </tr><tr>
  2429. <td colspan=""2"" class=""Footer-1"">(9,Footer,-1)</td>
  2430. </tr>
  2431. </table>";
  2432. Assert.AreEqual (exp, v, "#125");
  2433. }
  2434. [Test]
  2435. public void RepeatInfo_2cols_4itms_horiz_tbl_ftr_sep ()
  2436. {
  2437. // cols : 2
  2438. // cnt : 4
  2439. // RepeatDirection : Horizontal
  2440. // RepeatLayout : Table
  2441. // OuterTableImplied : False
  2442. // Header : False
  2443. // Footer : True
  2444. // Separator : True
  2445. string v = RepeatInfoUser.DoTest (2, 4, RepeatDirection.Horizontal, RepeatLayout.Table, false, false, true, true);
  2446. string exp = @"<table class=""mainstyle"" border=""0"">
  2447. <tr>
  2448. <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>
  2449. </tr><tr>
  2450. <td class=""Item2"">(4,Item,2)</td><td class=""Separator2"">(5,Separator,2)</td><td class=""Item3"">(6,Item,3)</td>
  2451. </tr><tr>
  2452. <td colspan=""4"" class=""Footer-1"">(7,Footer,-1)</td>
  2453. </tr>
  2454. </table>";
  2455. Assert.AreEqual (exp, v, "#126");
  2456. }
  2457. [Test]
  2458. public void RepeatInfo_2cols_7itms_horiz_tbl_ftr_sep ()
  2459. {
  2460. // cols : 2
  2461. // cnt : 7
  2462. // RepeatDirection : Horizontal
  2463. // RepeatLayout : Table
  2464. // OuterTableImplied : False
  2465. // Header : False
  2466. // Footer : True
  2467. // Separator : True
  2468. string v = RepeatInfoUser.DoTest (2, 7, RepeatDirection.Horizontal, RepeatLayout.Table, false, false, true, true);
  2469. string exp = @"<table class=""mainstyle"" border=""0"">
  2470. <tr>
  2471. <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>
  2472. </tr><tr>
  2473. <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>
  2474. </tr><tr>
  2475. <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>
  2476. </tr><tr>
  2477. <td class=""Item6"">(12,Item,6)</td>
  2478. </tr><tr>
  2479. <td colspan=""4"" class=""Footer-1"">(13,Footer,-1)</td>
  2480. </tr>
  2481. </table>";
  2482. Assert.AreEqual (exp, v, "#127");
  2483. }
  2484. [Test]
  2485. public void RepeatInfo_3cols_9itms_horiz_tbl_ftr_sep ()
  2486. {
  2487. // cols : 3
  2488. // cnt : 9
  2489. // RepeatDirection : Horizontal
  2490. // RepeatLayout : Table
  2491. // OuterTableImplied : False
  2492. // Header : False
  2493. // Footer : True
  2494. // Separator : True
  2495. string v = RepeatInfoUser.DoTest (3, 9, RepeatDirection.Horizontal, RepeatLayout.Table, false, false, true, true);
  2496. string exp = @"<table border=""0"">
  2497. <tr>
  2498. <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>
  2499. </tr><tr>
  2500. <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>
  2501. </tr><tr>
  2502. <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>
  2503. </tr><tr>
  2504. <td colspan=""6"" class=""Footer-1"">(17,Footer,-1)</td>
  2505. </tr>
  2506. </table>";
  2507. Assert.AreEqual (exp, v, "#128");
  2508. }
  2509. [Test]
  2510. public void RepeatInfo_3cols_7itms_horiz_tbl_ftr_sep ()
  2511. {
  2512. // cols : 3
  2513. // cnt : 7
  2514. // RepeatDirection : Horizontal
  2515. // RepeatLayout : Table
  2516. // OuterTableImplied : False
  2517. // Header : False
  2518. // Footer : True
  2519. // Separator : True
  2520. string v = RepeatInfoUser.DoTest (3, 7, RepeatDirection.Horizontal, RepeatLayout.Table, false, false, true, true);
  2521. string exp = @"<table border=""0"">
  2522. <tr>
  2523. <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>
  2524. </tr><tr>
  2525. <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>
  2526. </tr><tr>
  2527. <td class=""Item6"">(12,Item,6)</td>
  2528. </tr><tr>
  2529. <td colspan=""6"" class=""Footer-1"">(13,Footer,-1)</td>
  2530. </tr>
  2531. </table>";
  2532. Assert.AreEqual (exp, v, "#129");
  2533. }
  2534. [Test]
  2535. public void RepeatInfo_0cols_0itms_vert_tbl_ftr_sep ()
  2536. {
  2537. // cols : 0
  2538. // cnt : 0
  2539. // RepeatDirection : Vertical
  2540. // RepeatLayout : Table
  2541. // OuterTableImplied : False
  2542. // Header : False
  2543. // Footer : True
  2544. // Separator : True
  2545. string v = RepeatInfoUser.DoTest (0, 0, RepeatDirection.Vertical, RepeatLayout.Table, false, false, true, true);
  2546. string exp = @"<table class=""mainstyle"" border=""0"">
  2547. <tr>
  2548. <td class=""Footer-1"">(0,Footer,-1)</td>
  2549. </tr>
  2550. </table>";
  2551. Assert.AreEqual (exp, v, "#130");
  2552. }
  2553. [Test]
  2554. public void RepeatInfo_0cols_1itms_vert_tbl_ftr_sep ()
  2555. {
  2556. // cols : 0
  2557. // cnt : 1
  2558. // RepeatDirection : Vertical
  2559. // RepeatLayout : Table
  2560. // OuterTableImplied : False
  2561. // Header : False
  2562. // Footer : True
  2563. // Separator : True
  2564. string v = RepeatInfoUser.DoTest (0, 1, RepeatDirection.Vertical, RepeatLayout.Table, false, false, true, true);
  2565. string exp = @"<table class=""mainstyle"" border=""0"">
  2566. <tr>
  2567. <td class=""Item0"">(0,Item,0)</td>
  2568. </tr><tr>
  2569. <td class=""Footer-1"">(1,Footer,-1)</td>
  2570. </tr>
  2571. </table>";
  2572. Assert.AreEqual (exp, v, "#131");
  2573. }
  2574. [Test]
  2575. public void RepeatInfo_0cols_2itms_vert_tbl_ftr_sep ()
  2576. {
  2577. // cols : 0
  2578. // cnt : 2
  2579. // RepeatDirection : Vertical
  2580. // RepeatLayout : Table
  2581. // OuterTableImplied : False
  2582. // Header : False
  2583. // Footer : True
  2584. // Separator : True
  2585. string v = RepeatInfoUser.DoTest (0, 2, RepeatDirection.Vertical, RepeatLayout.Table, false, false, true, true);
  2586. string exp = @"<table class=""mainstyle"" border=""0"">
  2587. <tr>
  2588. <td class=""Item0"">(0,Item,0)</td>
  2589. </tr><tr>
  2590. <td class=""Separator0"">(1,Separator,0)</td>
  2591. </tr><tr>
  2592. <td class=""Item1"">(2,Item,1)</td>
  2593. </tr><tr>
  2594. <td class=""Footer-1"">(3,Footer,-1)</td>
  2595. </tr>
  2596. </table>";
  2597. Assert.AreEqual (exp, v, "#132");
  2598. }
  2599. [Test]
  2600. public void RepeatInfo_0cols_5itms_vert_tbl_ftr_sep ()
  2601. {
  2602. // cols : 0
  2603. // cnt : 5
  2604. // RepeatDirection : Vertical
  2605. // RepeatLayout : Table
  2606. // OuterTableImplied : False
  2607. // Header : False
  2608. // Footer : True
  2609. // Separator : True
  2610. string v = RepeatInfoUser.DoTest (0, 5, RepeatDirection.Vertical, RepeatLayout.Table, false, false, true, true);
  2611. string exp = @"<table class=""mainstyle"" border=""0"">
  2612. <tr>
  2613. <td class=""Item0"">(0,Item,0)</td>
  2614. </tr><tr>
  2615. <td class=""Separator0"">(1,Separator,0)</td>
  2616. </tr><tr>
  2617. <td class=""Item1"">(2,Item,1)</td>
  2618. </tr><tr>
  2619. <td class=""Separator1"">(3,Separator,1)</td>
  2620. </tr><tr>
  2621. <td class=""Item2"">(4,Item,2)</td>
  2622. </tr><tr>
  2623. <td class=""Separator2"">(5,Separator,2)</td>
  2624. </tr><tr>
  2625. <td class=""Item3"">(6,Item,3)</td>
  2626. </tr><tr>
  2627. <td class=""Separator3"">(7,Separator,3)</td>
  2628. </tr><tr>
  2629. <td class=""Item4"">(8,Item,4)</td>
  2630. </tr><tr>
  2631. <td class=""Footer-1"">(9,Footer,-1)</td>
  2632. </tr>
  2633. </table>";
  2634. Assert.AreEqual (exp, v, "#133");
  2635. }
  2636. [Test]
  2637. public void RepeatInfo_1cols_0itms_vert_tbl_ftr_sep ()
  2638. {
  2639. // cols : 1
  2640. // cnt : 0
  2641. // RepeatDirection : Vertical
  2642. // RepeatLayout : Table
  2643. // OuterTableImplied : False
  2644. // Header : False
  2645. // Footer : True
  2646. // Separator : True
  2647. string v = RepeatInfoUser.DoTest (1, 0, RepeatDirection.Vertical, RepeatLayout.Table, false, false, true, true);
  2648. string exp = @"<table class=""mainstyle"" border=""0"">
  2649. <tr>
  2650. <td class=""Footer-1"">(0,Footer,-1)</td>
  2651. </tr>
  2652. </table>";
  2653. Assert.AreEqual (exp, v, "#134");
  2654. }
  2655. [Test]
  2656. public void RepeatInfo_1cols_5itms_vert_tbl_ftr_sep ()
  2657. {
  2658. // cols : 1
  2659. // cnt : 5
  2660. // RepeatDirection : Vertical
  2661. // RepeatLayout : Table
  2662. // OuterTableImplied : False
  2663. // Header : False
  2664. // Footer : True
  2665. // Separator : True
  2666. string v = RepeatInfoUser.DoTest (1, 5, RepeatDirection.Vertical, RepeatLayout.Table, false, false, true, true);
  2667. string exp = @"<table class=""mainstyle"" border=""0"">
  2668. <tr>
  2669. <td class=""Item0"">(0,Item,0)</td>
  2670. </tr><tr>
  2671. <td class=""Separator0"">(1,Separator,0)</td>
  2672. </tr><tr>
  2673. <td class=""Item1"">(2,Item,1)</td>
  2674. </tr><tr>
  2675. <td class=""Separator1"">(3,Separator,1)</td>
  2676. </tr><tr>
  2677. <td class=""Item2"">(4,Item,2)</td>
  2678. </tr><tr>
  2679. <td class=""Separator2"">(5,Separator,2)</td>
  2680. </tr><tr>
  2681. <td class=""Item3"">(6,Item,3)</td>
  2682. </tr><tr>
  2683. <td class=""Separator3"">(7,Separator,3)</td>
  2684. </tr><tr>
  2685. <td class=""Item4"">(8,Item,4)</td>
  2686. </tr><tr>
  2687. <td class=""Footer-1"">(9,Footer,-1)</td>
  2688. </tr>
  2689. </table>";
  2690. Assert.AreEqual (exp, v, "#135");
  2691. }
  2692. [Test]
  2693. public void RepeatInfo_2cols_4itms_vert_tbl_ftr_sep ()
  2694. {
  2695. // cols : 2
  2696. // cnt : 4
  2697. // RepeatDirection : Vertical
  2698. // RepeatLayout : Table
  2699. // OuterTableImplied : False
  2700. // Header : False
  2701. // Footer : True
  2702. // Separator : True
  2703. string v = RepeatInfoUser.DoTest (2, 4, RepeatDirection.Vertical, RepeatLayout.Table, false, false, true, true);
  2704. string exp = @"<table class=""mainstyle"" border=""0"">
  2705. <tr>
  2706. <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>
  2707. </tr><tr>
  2708. <td class=""Item1"">(4,Item,1)</td><td class=""Separator1"">(5,Separator,1)</td><td class=""Item3"">(6,Item,3)</td>
  2709. </tr><tr>
  2710. <td colspan=""4"" class=""Footer-1"">(7,Footer,-1)</td>
  2711. </tr>
  2712. </table>";
  2713. Assert.AreEqual (exp, v, "#136");
  2714. }
  2715. [Test]
  2716. public void RepeatInfo_2cols_7itms_vert_tbl_ftr_sep ()
  2717. {
  2718. // cols : 2
  2719. // cnt : 7
  2720. // RepeatDirection : Vertical
  2721. // RepeatLayout : Table
  2722. // OuterTableImplied : False
  2723. // Header : False
  2724. // Footer : True
  2725. // Separator : True
  2726. string v = RepeatInfoUser.DoTest (2, 7, RepeatDirection.Vertical, RepeatLayout.Table, false, false, true, true);
  2727. string exp = @"<table class=""mainstyle"" border=""0"">
  2728. <tr>
  2729. <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>
  2730. </tr><tr>
  2731. <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>
  2732. </tr><tr>
  2733. <td class=""Item2"">(8,Item,2)</td><td class=""Separator2"">(9,Separator,2)</td><td class=""Item6"">(10,Item,6)</td>
  2734. </tr><tr>
  2735. <td class=""Item3"">(11,Item,3)</td><td class=""Separator3"">(12,Separator,3)</td>
  2736. </tr><tr>
  2737. <td colspan=""4"" class=""Footer-1"">(13,Footer,-1)</td>
  2738. </tr>
  2739. </table>";
  2740. Assert.AreEqual (exp, v, "#137");
  2741. }
  2742. [Test]
  2743. public void RepeatInfo_3cols_9itms_vert_tbl_ftr_sep ()
  2744. {
  2745. // cols : 3
  2746. // cnt : 9
  2747. // RepeatDirection : Vertical
  2748. // RepeatLayout : Table
  2749. // OuterTableImplied : False
  2750. // Header : False
  2751. // Footer : True
  2752. // Separator : True
  2753. string v = RepeatInfoUser.DoTest (3, 9, RepeatDirection.Vertical, RepeatLayout.Table, false, false, true, true);
  2754. string exp = @"<table border=""0"">
  2755. <tr>
  2756. <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>
  2757. </tr><tr>
  2758. <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>
  2759. </tr><tr>
  2760. <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>
  2761. </tr><tr>
  2762. <td colspan=""6"" class=""Footer-1"">(17,Footer,-1)</td>
  2763. </tr>
  2764. </table>";
  2765. Assert.AreEqual (exp, v, "#138");
  2766. }
  2767. [Test]
  2768. public void RepeatInfo_3cols_7itms_vert_tbl_ftr_sep ()
  2769. {
  2770. // cols : 3
  2771. // cnt : 7
  2772. // RepeatDirection : Vertical
  2773. // RepeatLayout : Table
  2774. // OuterTableImplied : False
  2775. // Header : False
  2776. // Footer : True
  2777. // Separator : True
  2778. string v = RepeatInfoUser.DoTest (3, 7, RepeatDirection.Vertical, RepeatLayout.Table, false, false, true, true);
  2779. string exp = @"<table border=""0"">
  2780. <tr>
  2781. <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>
  2782. </tr><tr>
  2783. <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>
  2784. </tr><tr>
  2785. <td class=""Item2"">(11,Item,2)</td><td class=""Separator2"">(12,Separator,2)</td>
  2786. </tr><tr>
  2787. <td colspan=""6"" class=""Footer-1"">(13,Footer,-1)</td>
  2788. </tr>
  2789. </table>";
  2790. Assert.AreEqual (exp, v, "#139");
  2791. }
  2792. [Test]
  2793. public void RepeatInfo_0cols_0itms_horiz_flow_ftr_sep ()
  2794. {
  2795. // cols : 0
  2796. // cnt : 0
  2797. // RepeatDirection : Horizontal
  2798. // RepeatLayout : Flow
  2799. // OuterTableImplied : False
  2800. // Header : False
  2801. // Footer : True
  2802. // Separator : True
  2803. string v = RepeatInfoUser.DoTest (0, 0, RepeatDirection.Horizontal, RepeatLayout.Flow, false, false, true, true);
  2804. string exp = @"<span class=""mainstyle"">(0,Footer,-1)</span>";
  2805. Assert.AreEqual (exp, v, "#140");
  2806. }
  2807. [Test]
  2808. public void RepeatInfo_0cols_1itms_horiz_flow_ftr_sep ()
  2809. {
  2810. // cols : 0
  2811. // cnt : 1
  2812. // RepeatDirection : Horizontal
  2813. // RepeatLayout : Flow
  2814. // OuterTableImplied : False
  2815. // Header : False
  2816. // Footer : True
  2817. // Separator : True
  2818. string v = RepeatInfoUser.DoTest (0, 1, RepeatDirection.Horizontal, RepeatLayout.Flow, false, false, true, true);
  2819. string exp = @"<span class=""mainstyle"">(0,Item,0)(1,Footer,-1)</span>";
  2820. Assert.AreEqual (exp, v, "#141");
  2821. }
  2822. [Test]
  2823. public void RepeatInfo_0cols_2itms_horiz_flow_ftr_sep ()
  2824. {
  2825. // cols : 0
  2826. // cnt : 2
  2827. // RepeatDirection : Horizontal
  2828. // RepeatLayout : Flow
  2829. // OuterTableImplied : False
  2830. // Header : False
  2831. // Footer : True
  2832. // Separator : True
  2833. string v = RepeatInfoUser.DoTest (0, 2, RepeatDirection.Horizontal, RepeatLayout.Flow, false, false, true, true);
  2834. string exp = @"<span class=""mainstyle"">(0,Item,0)(1,Separator,0)(2,Item,1)(3,Footer,-1)</span>";
  2835. Assert.AreEqual (exp, v, "#142");
  2836. }
  2837. [Test]
  2838. public void RepeatInfo_0cols_5itms_horiz_flow_ftr_sep ()
  2839. {
  2840. // cols : 0
  2841. // cnt : 5
  2842. // RepeatDirection : Horizontal
  2843. // RepeatLayout : Flow
  2844. // OuterTableImplied : False
  2845. // Header : False
  2846. // Footer : True
  2847. // Separator : True
  2848. string v = RepeatInfoUser.DoTest (0, 5, RepeatDirection.Horizontal, RepeatLayout.Flow, false, false, true, true);
  2849. 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>";
  2850. Assert.AreEqual (exp, v, "#143");
  2851. }
  2852. [Test]
  2853. public void RepeatInfo_1cols_0itms_horiz_flow_ftr_sep ()
  2854. {
  2855. // cols : 1
  2856. // cnt : 0
  2857. // RepeatDirection : Horizontal
  2858. // RepeatLayout : Flow
  2859. // OuterTableImplied : False
  2860. // Header : False
  2861. // Footer : True
  2862. // Separator : True
  2863. string v = RepeatInfoUser.DoTest (1, 0, RepeatDirection.Horizontal, RepeatLayout.Flow, false, false, true, true);
  2864. string exp = @"<span class=""mainstyle"">(0,Footer,-1)</span>";
  2865. Assert.AreEqual (exp, v, "#144");
  2866. }
  2867. [Test]
  2868. public void RepeatInfo_1cols_5itms_horiz_flow_ftr_sep ()
  2869. {
  2870. // cols : 1
  2871. // cnt : 5
  2872. // RepeatDirection : Horizontal
  2873. // RepeatLayout : Flow
  2874. // OuterTableImplied : False
  2875. // Header : False
  2876. // Footer : True
  2877. // Separator : True
  2878. string v = RepeatInfoUser.DoTest (1, 5, RepeatDirection.Horizontal, RepeatLayout.Flow, false, false, true, true);
  2879. 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>";
  2880. Assert.AreEqual (exp, v, "#145");
  2881. }
  2882. [Test]
  2883. public void RepeatInfo_2cols_4itms_horiz_flow_ftr_sep ()
  2884. {
  2885. // cols : 2
  2886. // cnt : 4
  2887. // RepeatDirection : Horizontal
  2888. // RepeatLayout : Flow
  2889. // OuterTableImplied : False
  2890. // Header : False
  2891. // Footer : True
  2892. // Separator : True
  2893. string v = RepeatInfoUser.DoTest (2, 4, RepeatDirection.Horizontal, RepeatLayout.Flow, false, false, true, true);
  2894. 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>";
  2895. Assert.AreEqual (exp, v, "#146");
  2896. }
  2897. [Test]
  2898. public void RepeatInfo_2cols_7itms_horiz_flow_ftr_sep ()
  2899. {
  2900. // cols : 2
  2901. // cnt : 7
  2902. // RepeatDirection : Horizontal
  2903. // RepeatLayout : Flow
  2904. // OuterTableImplied : False
  2905. // Header : False
  2906. // Footer : True
  2907. // Separator : True
  2908. string v = RepeatInfoUser.DoTest (2, 7, RepeatDirection.Horizontal, RepeatLayout.Flow, false, false, true, true);
  2909. 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>";
  2910. Assert.AreEqual (exp, v, "#147");
  2911. }
  2912. [Test]
  2913. public void RepeatInfo_3cols_9itms_horiz_flow_ftr_sep ()
  2914. {
  2915. // cols : 3
  2916. // cnt : 9
  2917. // RepeatDirection : Horizontal
  2918. // RepeatLayout : Flow
  2919. // OuterTableImplied : False
  2920. // Header : False
  2921. // Footer : True
  2922. // Separator : True
  2923. string v = RepeatInfoUser.DoTest (3, 9, RepeatDirection.Horizontal, RepeatLayout.Flow, false, false, true, true);
  2924. 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>";
  2925. Assert.AreEqual (exp, v, "#148");
  2926. }
  2927. [Test]
  2928. public void RepeatInfo_3cols_7itms_horiz_flow_ftr_sep ()
  2929. {
  2930. // cols : 3
  2931. // cnt : 7
  2932. // RepeatDirection : Horizontal
  2933. // RepeatLayout : Flow
  2934. // OuterTableImplied : False
  2935. // Header : False
  2936. // Footer : True
  2937. // Separator : True
  2938. string v = RepeatInfoUser.DoTest (3, 7, RepeatDirection.Horizontal, RepeatLayout.Flow, false, false, true, true);
  2939. 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>";
  2940. Assert.AreEqual (exp, v, "#149");
  2941. }
  2942. [Test]
  2943. public void RepeatInfo_0cols_0itms_vert_flow_ftr_sep ()
  2944. {
  2945. // cols : 0
  2946. // cnt : 0
  2947. // RepeatDirection : Vertical
  2948. // RepeatLayout : Flow
  2949. // OuterTableImplied : False
  2950. // Header : False
  2951. // Footer : True
  2952. // Separator : True
  2953. string v = RepeatInfoUser.DoTest (0, 0, RepeatDirection.Vertical, RepeatLayout.Flow, false, false, true, true);
  2954. string exp = @"<span class=""mainstyle"">(0,Footer,-1)</span>";
  2955. Assert.AreEqual (exp, v, "#150");
  2956. }
  2957. [Test]
  2958. public void RepeatInfo_0cols_1itms_vert_flow_ftr_sep ()
  2959. {
  2960. // cols : 0
  2961. // cnt : 1
  2962. // RepeatDirection : Vertical
  2963. // RepeatLayout : Flow
  2964. // OuterTableImplied : False
  2965. // Header : False
  2966. // Footer : True
  2967. // Separator : True
  2968. string v = RepeatInfoUser.DoTest (0, 1, RepeatDirection.Vertical, RepeatLayout.Flow, false, false, true, true);
  2969. string exp = @"<span class=""mainstyle"">(0,Item,0)<br>(1,Footer,-1)</span>";
  2970. Assert.AreEqual (exp, v, "#151");
  2971. }
  2972. [Test]
  2973. public void RepeatInfo_0cols_2itms_vert_flow_ftr_sep ()
  2974. {
  2975. // cols : 0
  2976. // cnt : 2
  2977. // RepeatDirection : Vertical
  2978. // RepeatLayout : Flow
  2979. // OuterTableImplied : False
  2980. // Header : False
  2981. // Footer : True
  2982. // Separator : True
  2983. string v = RepeatInfoUser.DoTest (0, 2, RepeatDirection.Vertical, RepeatLayout.Flow, false, false, true, true);
  2984. string exp = @"<span class=""mainstyle"">(0,Item,0)<br>(1,Separator,0)<br>(2,Item,1)<br>(3,Footer,-1)</span>";
  2985. Assert.AreEqual (exp, v, "#152");
  2986. }
  2987. [Test]
  2988. public void RepeatInfo_0cols_5itms_vert_flow_ftr_sep ()
  2989. {
  2990. // cols : 0
  2991. // cnt : 5
  2992. // RepeatDirection : Vertical
  2993. // RepeatLayout : Flow
  2994. // OuterTableImplied : False
  2995. // Header : False
  2996. // Footer : True
  2997. // Separator : True
  2998. string v = RepeatInfoUser.DoTest (0, 5, RepeatDirection.Vertical, RepeatLayout.Flow, false, false, true, true);
  2999. 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>";
  3000. Assert.AreEqual (exp, v, "#153");
  3001. }
  3002. [Test]
  3003. public void RepeatInfo_1cols_0itms_vert_flow_ftr_sep ()
  3004. {
  3005. // cols : 1
  3006. // cnt : 0
  3007. // RepeatDirection : Vertical
  3008. // RepeatLayout : Flow
  3009. // OuterTableImplied : False
  3010. // Header : False
  3011. // Footer : True
  3012. // Separator : True
  3013. string v = RepeatInfoUser.DoTest (1, 0, RepeatDirection.Vertical, RepeatLayout.Flow, false, false, true, true);
  3014. string exp = @"<span class=""mainstyle"">(0,Footer,-1)</span>";
  3015. Assert.AreEqual (exp, v, "#154");
  3016. }
  3017. [Test]
  3018. public void RepeatInfo_1cols_5itms_vert_flow_ftr_sep ()
  3019. {
  3020. // cols : 1
  3021. // cnt : 5
  3022. // RepeatDirection : Vertical
  3023. // RepeatLayout : Flow
  3024. // OuterTableImplied : False
  3025. // Header : False
  3026. // Footer : True
  3027. // Separator : True
  3028. string v = RepeatInfoUser.DoTest (1, 5, RepeatDirection.Vertical, RepeatLayout.Flow, false, false, true, true);
  3029. 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>";
  3030. Assert.AreEqual (exp, v, "#155");
  3031. }
  3032. [Test]
  3033. public void RepeatInfo_2cols_4itms_vert_flow_ftr_sep ()
  3034. {
  3035. // cols : 2
  3036. // cnt : 4
  3037. // RepeatDirection : Vertical
  3038. // RepeatLayout : Flow
  3039. // OuterTableImplied : False
  3040. // Header : False
  3041. // Footer : True
  3042. // Separator : True
  3043. string v = RepeatInfoUser.DoTest (2, 4, RepeatDirection.Vertical, RepeatLayout.Flow, false, false, true, true);
  3044. 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>";
  3045. Assert.AreEqual (exp, v, "#156");
  3046. }
  3047. [Test]
  3048. public void RepeatInfo_2cols_7itms_vert_flow_ftr_sep ()
  3049. {
  3050. // cols : 2
  3051. // cnt : 7
  3052. // RepeatDirection : Vertical
  3053. // RepeatLayout : Flow
  3054. // OuterTableImplied : False
  3055. // Header : False
  3056. // Footer : True
  3057. // Separator : True
  3058. string v = RepeatInfoUser.DoTest (2, 7, RepeatDirection.Vertical, RepeatLayout.Flow, false, false, true, true);
  3059. 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>";
  3060. Assert.AreEqual (exp, v, "#157");
  3061. }
  3062. [Test]
  3063. public void RepeatInfo_3cols_9itms_vert_flow_ftr_sep ()
  3064. {
  3065. // cols : 3
  3066. // cnt : 9
  3067. // RepeatDirection : Vertical
  3068. // RepeatLayout : Flow
  3069. // OuterTableImplied : False
  3070. // Header : False
  3071. // Footer : True
  3072. // Separator : True
  3073. string v = RepeatInfoUser.DoTest (3, 9, RepeatDirection.Vertical, RepeatLayout.Flow, false, false, true, true);
  3074. 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>";
  3075. Assert.AreEqual (exp, v, "#158");
  3076. }
  3077. [Test]
  3078. public void RepeatInfo_3cols_7itms_vert_flow_ftr_sep ()
  3079. {
  3080. // cols : 3
  3081. // cnt : 7
  3082. // RepeatDirection : Vertical
  3083. // RepeatLayout : Flow
  3084. // OuterTableImplied : False
  3085. // Header : False
  3086. // Footer : True
  3087. // Separator : True
  3088. string v = RepeatInfoUser.DoTest (3, 7, RepeatDirection.Vertical, RepeatLayout.Flow, false, false, true, true);
  3089. 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>";
  3090. Assert.AreEqual (exp, v, "#159");
  3091. }
  3092. [Test]
  3093. public void RepeatInfo_0cols_0itms_horiz_tbl_otrtblimp_hdr_sep ()
  3094. {
  3095. // cols : 0
  3096. // cnt : 0
  3097. // RepeatDirection : Horizontal
  3098. // RepeatLayout : Table
  3099. // OuterTableImplied : True
  3100. // Header : True
  3101. // Footer : False
  3102. // Separator : True
  3103. string v = RepeatInfoUser.DoTest (0, 0, RepeatDirection.Horizontal, RepeatLayout.Table, true, true, false, true);
  3104. string exp = @"<table class=""mainstyle"" border=""0"">
  3105. <tr>
  3106. <td colspan=""0"" class=""Header-1"">(0,Header,-1)</td>
  3107. </tr>
  3108. </table>";
  3109. Assert.AreEqual (exp, v, "#160");
  3110. }
  3111. [Test]
  3112. public void RepeatInfo_0cols_1itms_horiz_tbl_otrtblimp_hdr_sep ()
  3113. {
  3114. // cols : 0
  3115. // cnt : 1
  3116. // RepeatDirection : Horizontal
  3117. // RepeatLayout : Table
  3118. // OuterTableImplied : True
  3119. // Header : True
  3120. // Footer : False
  3121. // Separator : True
  3122. string v = RepeatInfoUser.DoTest (0, 1, RepeatDirection.Horizontal, RepeatLayout.Table, true, true, false, true);
  3123. string exp = @"<table class=""mainstyle"" border=""0"">
  3124. <tr>
  3125. <td colspan=""2"" class=""Header-1"">(0,Header,-1)</td>
  3126. </tr><tr>
  3127. <td class=""Item0"">(1,Item,0)</td>
  3128. </tr>
  3129. </table>";
  3130. Assert.AreEqual (exp, v, "#161");
  3131. }
  3132. [Test]
  3133. public void RepeatInfo_0cols_2itms_horiz_tbl_otrtblimp_hdr_sep ()
  3134. {
  3135. // cols : 0
  3136. // cnt : 2
  3137. // RepeatDirection : Horizontal
  3138. // RepeatLayout : Table
  3139. // OuterTableImplied : True
  3140. // Header : True
  3141. // Footer : False
  3142. // Separator : True
  3143. string v = RepeatInfoUser.DoTest (0, 2, RepeatDirection.Horizontal, RepeatLayout.Table, true, true, false, true);
  3144. string exp = @"<table class=""mainstyle"" border=""0"">
  3145. <tr>
  3146. <td colspan=""4"" class=""Header-1"">(0,Header,-1)</td>
  3147. </tr><tr>
  3148. <td class=""Item0"">(1,Item,0)</td><td class=""Separator0"">(2,Separator,0)</td><td class=""Item1"">(3,Item,1)</td>
  3149. </tr>
  3150. </table>";
  3151. Assert.AreEqual (exp, v, "#162");
  3152. }
  3153. [Test]
  3154. public void RepeatInfo_0cols_5itms_horiz_tbl_otrtblimp_hdr_sep ()
  3155. {
  3156. // cols : 0
  3157. // cnt : 5
  3158. // RepeatDirection : Horizontal
  3159. // RepeatLayout : Table
  3160. // OuterTableImplied : True
  3161. // Header : True
  3162. // Footer : False
  3163. // Separator : True
  3164. string v = RepeatInfoUser.DoTest (0, 5, RepeatDirection.Horizontal, RepeatLayout.Table, true, true, false, true);
  3165. string exp = @"<table class=""mainstyle"" border=""0"">
  3166. <tr>
  3167. <td colspan=""10"" class=""Header-1"">(0,Header,-1)</td>
  3168. </tr><tr>
  3169. <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>
  3170. </tr>
  3171. </table>";
  3172. Assert.AreEqual (exp, v, "#163");
  3173. }
  3174. [Test]
  3175. public void RepeatInfo_1cols_0itms_horiz_tbl_otrtblimp_hdr_sep ()
  3176. {
  3177. // cols : 1
  3178. // cnt : 0
  3179. // RepeatDirection : Horizontal
  3180. // RepeatLayout : Table
  3181. // OuterTableImplied : True
  3182. // Header : True
  3183. // Footer : False
  3184. // Separator : True
  3185. string v = RepeatInfoUser.DoTest (1, 0, RepeatDirection.Horizontal, RepeatLayout.Table, true, true, false, true);
  3186. string exp = @"<table class=""mainstyle"" border=""0"">
  3187. <tr>
  3188. <td colspan=""2"" class=""Header-1"">(0,Header,-1)</td>
  3189. </tr>
  3190. </table>";
  3191. Assert.AreEqual (exp, v, "#164");
  3192. }
  3193. [Test]
  3194. public void RepeatInfo_1cols_5itms_horiz_tbl_otrtblimp_hdr_sep ()
  3195. {
  3196. // cols : 1
  3197. // cnt : 5
  3198. // RepeatDirection : Horizontal
  3199. // RepeatLayout : Table
  3200. // OuterTableImplied : True
  3201. // Header : True
  3202. // Footer : False
  3203. // Separator : True
  3204. string v = RepeatInfoUser.DoTest (1, 5, RepeatDirection.Horizontal, RepeatLayout.Table, true, true, false, true);
  3205. string exp = @"<table class=""mainstyle"" border=""0"">
  3206. <tr>
  3207. <td colspan=""2"" class=""Header-1"">(0,Header,-1)</td>
  3208. </tr><tr>
  3209. <td class=""Item0"">(1,Item,0)</td><td class=""Separator0"">(2,Separator,0)</td>
  3210. </tr><tr>
  3211. <td class=""Item1"">(3,Item,1)</td><td class=""Separator1"">(4,Separator,1)</td>
  3212. </tr><tr>
  3213. <td class=""Item2"">(5,Item,2)</td><td class=""Separator2"">(6,Separator,2)</td>
  3214. </tr><tr>
  3215. <td class=""Item3"">(7,Item,3)</td><td class=""Separator3"">(8,Separator,3)</td>
  3216. </tr><tr>
  3217. <td class=""Item4"">(9,Item,4)</td>
  3218. </tr>
  3219. </table>";
  3220. Assert.AreEqual (exp, v, "#165");
  3221. }
  3222. [Test]
  3223. public void RepeatInfo_2cols_4itms_horiz_tbl_otrtblimp_hdr_sep ()
  3224. {
  3225. // cols : 2
  3226. // cnt : 4
  3227. // RepeatDirection : Horizontal
  3228. // RepeatLayout : Table
  3229. // OuterTableImplied : True
  3230. // Header : True
  3231. // Footer : False
  3232. // Separator : True
  3233. string v = RepeatInfoUser.DoTest (2, 4, RepeatDirection.Horizontal, RepeatLayout.Table, true, true, false, true);
  3234. string exp = @"<table class=""mainstyle"" border=""0"">
  3235. <tr>
  3236. <td colspan=""4"" class=""Header-1"">(0,Header,-1)</td>
  3237. </tr><tr>
  3238. <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>
  3239. </tr><tr>
  3240. <td class=""Item2"">(5,Item,2)</td><td class=""Separator2"">(6,Separator,2)</td><td class=""Item3"">(7,Item,3)</td>
  3241. </tr>
  3242. </table>";
  3243. Assert.AreEqual (exp, v, "#166");
  3244. }
  3245. [Test]
  3246. public void RepeatInfo_2cols_7itms_horiz_tbl_otrtblimp_hdr_sep ()
  3247. {
  3248. // cols : 2
  3249. // cnt : 7
  3250. // RepeatDirection : Horizontal
  3251. // RepeatLayout : Table
  3252. // OuterTableImplied : True
  3253. // Header : True
  3254. // Footer : False
  3255. // Separator : True
  3256. string v = RepeatInfoUser.DoTest (2, 7, RepeatDirection.Horizontal, RepeatLayout.Table, true, true, false, true);
  3257. string exp = @"<table class=""mainstyle"" border=""0"">
  3258. <tr>
  3259. <td colspan=""4"" class=""Header-1"">(0,Header,-1)</td>
  3260. </tr><tr>
  3261. <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>
  3262. </tr><tr>
  3263. <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>
  3264. </tr><tr>
  3265. <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>
  3266. </tr><tr>
  3267. <td class=""Item6"">(13,Item,6)</td>
  3268. </tr>
  3269. </table>";
  3270. Assert.AreEqual (exp, v, "#167");
  3271. }
  3272. [Test]
  3273. public void RepeatInfo_3cols_9itms_horiz_tbl_otrtblimp_hdr_sep ()
  3274. {
  3275. // cols : 3
  3276. // cnt : 9
  3277. // RepeatDirection : Horizontal
  3278. // RepeatLayout : Table
  3279. // OuterTableImplied : True
  3280. // Header : True
  3281. // Footer : False
  3282. // Separator : True
  3283. string v = RepeatInfoUser.DoTest (3, 9, RepeatDirection.Horizontal, RepeatLayout.Table, true, true, false, true);
  3284. string exp = @"<table border=""0"">
  3285. <tr>
  3286. <td colspan=""6"" class=""Header-1"">(0,Header,-1)</td>
  3287. </tr><tr>
  3288. <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>
  3289. </tr><tr>
  3290. <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>
  3291. </tr><tr>
  3292. <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>
  3293. </tr>
  3294. </table>";
  3295. Assert.AreEqual (exp, v, "#168");
  3296. }
  3297. [Test]
  3298. public void RepeatInfo_3cols_7itms_horiz_tbl_otrtblimp_hdr_sep ()
  3299. {
  3300. // cols : 3
  3301. // cnt : 7
  3302. // RepeatDirection : Horizontal
  3303. // RepeatLayout : Table
  3304. // OuterTableImplied : True
  3305. // Header : True
  3306. // Footer : False
  3307. // Separator : True
  3308. string v = RepeatInfoUser.DoTest (3, 7, RepeatDirection.Horizontal, RepeatLayout.Table, true, true, false, true);
  3309. string exp = @"<table border=""0"">
  3310. <tr>
  3311. <td colspan=""6"" class=""Header-1"">(0,Header,-1)</td>
  3312. </tr><tr>
  3313. <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>
  3314. </tr><tr>
  3315. <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>
  3316. </tr><tr>
  3317. <td class=""Item6"">(13,Item,6)</td>
  3318. </tr>
  3319. </table>";
  3320. Assert.AreEqual (exp, v, "#169");
  3321. }
  3322. [Test]
  3323. public void RepeatInfo_0cols_0itms_vert_tbl_otrtblimp_hdr_sep ()
  3324. {
  3325. // cols : 0
  3326. // cnt : 0
  3327. // RepeatDirection : Vertical
  3328. // RepeatLayout : Table
  3329. // OuterTableImplied : True
  3330. // Header : True
  3331. // Footer : False
  3332. // Separator : True
  3333. string v = RepeatInfoUser.DoTest (0, 0, RepeatDirection.Vertical, RepeatLayout.Table, true, true, false, true);
  3334. string exp = @"(0,Header,-1)";
  3335. Assert.AreEqual (exp, v, "#170");
  3336. }
  3337. [Test]
  3338. public void RepeatInfo_0cols_1itms_vert_tbl_otrtblimp_hdr_sep ()
  3339. {
  3340. // cols : 0
  3341. // cnt : 1
  3342. // RepeatDirection : Vertical
  3343. // RepeatLayout : Table
  3344. // OuterTableImplied : True
  3345. // Header : True
  3346. // Footer : False
  3347. // Separator : True
  3348. string v = RepeatInfoUser.DoTest (0, 1, RepeatDirection.Vertical, RepeatLayout.Table, true, true, false, true);
  3349. string exp = @"(0,Header,-1)(1,Item,0)";
  3350. Assert.AreEqual (exp, v, "#171");
  3351. }
  3352. [Test]
  3353. public void RepeatInfo_0cols_2itms_vert_tbl_otrtblimp_hdr_sep ()
  3354. {
  3355. // cols : 0
  3356. // cnt : 2
  3357. // RepeatDirection : Vertical
  3358. // RepeatLayout : Table
  3359. // OuterTableImplied : True
  3360. // Header : True
  3361. // Footer : False
  3362. // Separator : True
  3363. string v = RepeatInfoUser.DoTest (0, 2, RepeatDirection.Vertical, RepeatLayout.Table, true, true, false, true);
  3364. string exp = @"(0,Header,-1)(1,Item,0)<br>(2,Separator,0)(3,Item,1)";
  3365. Assert.AreEqual (exp, v, "#172");
  3366. }
  3367. [Test]
  3368. public void RepeatInfo_0cols_5itms_vert_tbl_otrtblimp_hdr_sep ()
  3369. {
  3370. // cols : 0
  3371. // cnt : 5
  3372. // RepeatDirection : Vertical
  3373. // RepeatLayout : Table
  3374. // OuterTableImplied : True
  3375. // Header : True
  3376. // Footer : False
  3377. // Separator : True
  3378. string v = RepeatInfoUser.DoTest (0, 5, RepeatDirection.Vertical, RepeatLayout.Table, true, true, false, true);
  3379. string exp = @"(0,Header,-1)(1,Item,0)<br>(2,Separator,0)(3,Item,1)<br>(4,Separator,1)(5,Item,2)<br>(6,Separator,2)(7,Item,3)<br>(8,Separator,3)(9,Item,4)";
  3380. Assert.AreEqual (exp, v, "#173");
  3381. }
  3382. [Test]
  3383. public void RepeatInfo_1cols_0itms_vert_tbl_otrtblimp_hdr_sep ()
  3384. {
  3385. // cols : 1
  3386. // cnt : 0
  3387. // RepeatDirection : Vertical
  3388. // RepeatLayout : Table
  3389. // OuterTableImplied : True
  3390. // Header : True
  3391. // Footer : False
  3392. // Separator : True
  3393. string v = RepeatInfoUser.DoTest (1, 0, RepeatDirection.Vertical, RepeatLayout.Table, true, true, false, true);
  3394. string exp = @"(0,Header,-1)";
  3395. Assert.AreEqual (exp, v, "#174");
  3396. }
  3397. [Test]
  3398. public void RepeatInfo_1cols_5itms_vert_tbl_otrtblimp_hdr_sep ()
  3399. {
  3400. // cols : 1
  3401. // cnt : 5
  3402. // RepeatDirection : Vertical
  3403. // RepeatLayout : Table
  3404. // OuterTableImplied : True
  3405. // Header : True
  3406. // Footer : False
  3407. // Separator : True
  3408. string v = RepeatInfoUser.DoTest (1, 5, RepeatDirection.Vertical, RepeatLayout.Table, true, true, false, true);
  3409. string exp = @"(0,Header,-1)(1,Item,0)<br>(2,Separator,0)(3,Item,1)<br>(4,Separator,1)(5,Item,2)<br>(6,Separator,2)(7,Item,3)<br>(8,Separator,3)(9,Item,4)";
  3410. Assert.AreEqual (exp, v, "#175");
  3411. }
  3412. [Test]
  3413. public void RepeatInfo_2cols_4itms_vert_tbl_otrtblimp_hdr_sep ()
  3414. {
  3415. // cols : 2
  3416. // cnt : 4
  3417. // RepeatDirection : Vertical
  3418. // RepeatLayout : Table
  3419. // OuterTableImplied : True
  3420. // Header : True
  3421. // Footer : False
  3422. // Separator : True
  3423. string v = RepeatInfoUser.DoTest (2, 4, RepeatDirection.Vertical, RepeatLayout.Table, true, true, false, true);
  3424. 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)";
  3425. Assert.AreEqual (exp, v, "#176");
  3426. }
  3427. [Test]
  3428. public void RepeatInfo_2cols_7itms_vert_tbl_otrtblimp_hdr_sep ()
  3429. {
  3430. // cols : 2
  3431. // cnt : 7
  3432. // RepeatDirection : Vertical
  3433. // RepeatLayout : Table
  3434. // OuterTableImplied : True
  3435. // Header : True
  3436. // Footer : False
  3437. // Separator : True
  3438. string v = RepeatInfoUser.DoTest (2, 7, RepeatDirection.Vertical, RepeatLayout.Table, true, true, false, true);
  3439. 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)";
  3440. Assert.AreEqual (exp, v, "#177");
  3441. }
  3442. [Test]
  3443. public void RepeatInfo_3cols_9itms_vert_tbl_otrtblimp_hdr_sep ()
  3444. {
  3445. // cols : 3
  3446. // cnt : 9
  3447. // RepeatDirection : Vertical
  3448. // RepeatLayout : Table
  3449. // OuterTableImplied : True
  3450. // Header : True
  3451. // Footer : False
  3452. // Separator : True
  3453. string v = RepeatInfoUser.DoTest (3, 9, RepeatDirection.Vertical, RepeatLayout.Table, true, true, false, true);
  3454. 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)";
  3455. Assert.AreEqual (exp, v, "#178");
  3456. }
  3457. [Test]
  3458. public void RepeatInfo_3cols_7itms_vert_tbl_otrtblimp_hdr_sep ()
  3459. {
  3460. // cols : 3
  3461. // cnt : 7
  3462. // RepeatDirection : Vertical
  3463. // RepeatLayout : Table
  3464. // OuterTableImplied : True
  3465. // Header : True
  3466. // Footer : False
  3467. // Separator : True
  3468. string v = RepeatInfoUser.DoTest (3, 7, RepeatDirection.Vertical, RepeatLayout.Table, true, true, false, true);
  3469. 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)";
  3470. Assert.AreEqual (exp, v, "#179");
  3471. }
  3472. [Test]
  3473. public void RepeatInfo_0cols_0itms_horiz_flow_otrtblimp_hdr_sep ()
  3474. {
  3475. // cols : 0
  3476. // cnt : 0
  3477. // RepeatDirection : Horizontal
  3478. // RepeatLayout : Flow
  3479. // OuterTableImplied : True
  3480. // Header : True
  3481. // Footer : False
  3482. // Separator : True
  3483. string v = RepeatInfoUser.DoTest (0, 0, RepeatDirection.Horizontal, RepeatLayout.Flow, true, true, false, true);
  3484. string exp = @"<span class=""mainstyle"">(0,Header,-1)</span>";
  3485. Assert.AreEqual (exp, v, "#180");
  3486. }
  3487. [Test]
  3488. public void RepeatInfo_0cols_1itms_horiz_flow_otrtblimp_hdr_sep ()
  3489. {
  3490. // cols : 0
  3491. // cnt : 1
  3492. // RepeatDirection : Horizontal
  3493. // RepeatLayout : Flow
  3494. // OuterTableImplied : True
  3495. // Header : True
  3496. // Footer : False
  3497. // Separator : True
  3498. string v = RepeatInfoUser.DoTest (0, 1, RepeatDirection.Horizontal, RepeatLayout.Flow, true, true, false, true);
  3499. string exp = @"<span class=""mainstyle"">(0,Header,-1)(1,Item,0)</span>";
  3500. Assert.AreEqual (exp, v, "#181");
  3501. }
  3502. [Test]
  3503. public void RepeatInfo_0cols_2itms_horiz_flow_otrtblimp_hdr_sep ()
  3504. {
  3505. // cols : 0
  3506. // cnt : 2
  3507. // RepeatDirection : Horizontal
  3508. // RepeatLayout : Flow
  3509. // OuterTableImplied : True
  3510. // Header : True
  3511. // Footer : False
  3512. // Separator : True
  3513. string v = RepeatInfoUser.DoTest (0, 2, RepeatDirection.Horizontal, RepeatLayout.Flow, true, true, false, true);
  3514. string exp = @"<span class=""mainstyle"">(0,Header,-1)(1,Item,0)(2,Separator,0)(3,Item,1)</span>";
  3515. Assert.AreEqual (exp, v, "#182");
  3516. }
  3517. [Test]
  3518. public void RepeatInfo_0cols_5itms_horiz_flow_otrtblimp_hdr_sep ()
  3519. {
  3520. // cols : 0
  3521. // cnt : 5
  3522. // RepeatDirection : Horizontal
  3523. // RepeatLayout : Flow
  3524. // OuterTableImplied : True
  3525. // Header : True
  3526. // Footer : False
  3527. // Separator : True
  3528. string v = RepeatInfoUser.DoTest (0, 5, RepeatDirection.Horizontal, RepeatLayout.Flow, true, true, false, true);
  3529. 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>";
  3530. Assert.AreEqual (exp, v, "#183");
  3531. }
  3532. [Test]
  3533. public void RepeatInfo_1cols_0itms_horiz_flow_otrtblimp_hdr_sep ()
  3534. {
  3535. // cols : 1
  3536. // cnt : 0
  3537. // RepeatDirection : Horizontal
  3538. // RepeatLayout : Flow
  3539. // OuterTableImplied : True
  3540. // Header : True
  3541. // Footer : False
  3542. // Separator : True
  3543. string v = RepeatInfoUser.DoTest (1, 0, RepeatDirection.Horizontal, RepeatLayout.Flow, true, true, false, true);
  3544. string exp = @"<span class=""mainstyle"">(0,Header,-1)</span>";
  3545. Assert.AreEqual (exp, v, "#184");
  3546. }
  3547. [Test]
  3548. public void RepeatInfo_1cols_5itms_horiz_flow_otrtblimp_hdr_sep ()
  3549. {
  3550. // cols : 1
  3551. // cnt : 5
  3552. // RepeatDirection : Horizontal
  3553. // RepeatLayout : Flow
  3554. // OuterTableImplied : True
  3555. // Header : True
  3556. // Footer : False
  3557. // Separator : True
  3558. string v = RepeatInfoUser.DoTest (1, 5, RepeatDirection.Horizontal, RepeatLayout.Flow, true, true, false, true);
  3559. 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>";
  3560. Assert.AreEqual (exp, v, "#185");
  3561. }
  3562. [Test]
  3563. public void RepeatInfo_2cols_4itms_horiz_flow_otrtblimp_hdr_sep ()
  3564. {
  3565. // cols : 2
  3566. // cnt : 4
  3567. // RepeatDirection : Horizontal
  3568. // RepeatLayout : Flow
  3569. // OuterTableImplied : True
  3570. // Header : True
  3571. // Footer : False
  3572. // Separator : True
  3573. string v = RepeatInfoUser.DoTest (2, 4, RepeatDirection.Horizontal, RepeatLayout.Flow, true, true, false, true);
  3574. 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>";
  3575. Assert.AreEqual (exp, v, "#186");
  3576. }
  3577. [Test]
  3578. public void RepeatInfo_2cols_7itms_horiz_flow_otrtblimp_hdr_sep ()
  3579. {
  3580. // cols : 2
  3581. // cnt : 7
  3582. // RepeatDirection : Horizontal
  3583. // RepeatLayout : Flow
  3584. // OuterTableImplied : True
  3585. // Header : True
  3586. // Footer : False
  3587. // Separator : True
  3588. string v = RepeatInfoUser.DoTest (2, 7, RepeatDirection.Horizontal, RepeatLayout.Flow, true, true, false, true);
  3589. 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>";
  3590. Assert.AreEqual (exp, v, "#187");
  3591. }
  3592. [Test]
  3593. public void RepeatInfo_3cols_9itms_horiz_flow_otrtblimp_hdr_sep ()
  3594. {
  3595. // cols : 3
  3596. // cnt : 9
  3597. // RepeatDirection : Horizontal
  3598. // RepeatLayout : Flow
  3599. // OuterTableImplied : True
  3600. // Header : True
  3601. // Footer : False
  3602. // Separator : True
  3603. string v = RepeatInfoUser.DoTest (3, 9, RepeatDirection.Horizontal, RepeatLayout.Flow, true, true, false, true);
  3604. 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>";
  3605. Assert.AreEqual (exp, v, "#188");
  3606. }
  3607. [Test]
  3608. public void RepeatInfo_3cols_7itms_horiz_flow_otrtblimp_hdr_sep ()
  3609. {
  3610. // cols : 3
  3611. // cnt : 7
  3612. // RepeatDirection : Horizontal
  3613. // RepeatLayout : Flow
  3614. // OuterTableImplied : True
  3615. // Header : True
  3616. // Footer : False
  3617. // Separator : True
  3618. string v = RepeatInfoUser.DoTest (3, 7, RepeatDirection.Horizontal, RepeatLayout.Flow, true, true, false, true);
  3619. 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>";
  3620. Assert.AreEqual (exp, v, "#189");
  3621. }
  3622. [Test]
  3623. public void RepeatInfo_0cols_0itms_vert_flow_otrtblimp_hdr_sep ()
  3624. {
  3625. // cols : 0
  3626. // cnt : 0
  3627. // RepeatDirection : Vertical
  3628. // RepeatLayout : Flow
  3629. // OuterTableImplied : True
  3630. // Header : True
  3631. // Footer : False
  3632. // Separator : True
  3633. string v = RepeatInfoUser.DoTest (0, 0, RepeatDirection.Vertical, RepeatLayout.Flow, true, true, false, true);
  3634. string exp = @"(0,Header,-1)";
  3635. Assert.AreEqual (exp, v, "#190");
  3636. }
  3637. [Test]
  3638. public void RepeatInfo_0cols_1itms_vert_flow_otrtblimp_hdr_sep ()
  3639. {
  3640. // cols : 0
  3641. // cnt : 1
  3642. // RepeatDirection : Vertical
  3643. // RepeatLayout : Flow
  3644. // OuterTableImplied : True
  3645. // Header : True
  3646. // Footer : False
  3647. // Separator : True
  3648. string v = RepeatInfoUser.DoTest (0, 1, RepeatDirection.Vertical, RepeatLayout.Flow, true, true, false, true);
  3649. string exp = @"(0,Header,-1)(1,Item,0)";
  3650. Assert.AreEqual (exp, v, "#191");
  3651. }
  3652. [Test]
  3653. public void RepeatInfo_0cols_2itms_vert_flow_otrtblimp_hdr_sep ()
  3654. {
  3655. // cols : 0
  3656. // cnt : 2
  3657. // RepeatDirection : Vertical
  3658. // RepeatLayout : Flow
  3659. // OuterTableImplied : True
  3660. // Header : True
  3661. // Footer : False
  3662. // Separator : True
  3663. string v = RepeatInfoUser.DoTest (0, 2, RepeatDirection.Vertical, RepeatLayout.Flow, true, true, false, true);
  3664. string exp = @"(0,Header,-1)(1,Item,0)<br>(2,Separator,0)(3,Item,1)";
  3665. Assert.AreEqual (exp, v, "#192");
  3666. }
  3667. [Test]
  3668. public void RepeatInfo_0cols_5itms_vert_flow_otrtblimp_hdr_sep ()
  3669. {
  3670. // cols : 0
  3671. // cnt : 5
  3672. // RepeatDirection : Vertical
  3673. // RepeatLayout : Flow
  3674. // OuterTableImplied : True
  3675. // Header : True
  3676. // Footer : False
  3677. // Separator : True
  3678. string v = RepeatInfoUser.DoTest (0, 5, RepeatDirection.Vertical, RepeatLayout.Flow, true, true, false, true);
  3679. string exp = @"(0,Header,-1)(1,Item,0)<br>(2,Separator,0)(3,Item,1)<br>(4,Separator,1)(5,Item,2)<br>(6,Separator,2)(7,Item,3)<br>(8,Separator,3)(9,Item,4)";
  3680. Assert.AreEqual (exp, v, "#193");
  3681. }
  3682. [Test]
  3683. public void RepeatInfo_1cols_0itms_vert_flow_otrtblimp_hdr_sep ()
  3684. {
  3685. // cols : 1
  3686. // cnt : 0
  3687. // RepeatDirection : Vertical
  3688. // RepeatLayout : Flow
  3689. // OuterTableImplied : True
  3690. // Header : True
  3691. // Footer : False
  3692. // Separator : True
  3693. string v = RepeatInfoUser.DoTest (1, 0, RepeatDirection.Vertical, RepeatLayout.Flow, true, true, false, true);
  3694. string exp = @"(0,Header,-1)";
  3695. Assert.AreEqual (exp, v, "#194");
  3696. }
  3697. [Test]
  3698. public void RepeatInfo_1cols_5itms_vert_flow_otrtblimp_hdr_sep ()
  3699. {
  3700. // cols : 1
  3701. // cnt : 5
  3702. // RepeatDirection : Vertical
  3703. // RepeatLayout : Flow
  3704. // OuterTableImplied : True
  3705. // Header : True
  3706. // Footer : False
  3707. // Separator : True
  3708. string v = RepeatInfoUser.DoTest (1, 5, RepeatDirection.Vertical, RepeatLayout.Flow, true, true, false, true);
  3709. string exp = @"(0,Header,-1)(1,Item,0)<br>(2,Separator,0)(3,Item,1)<br>(4,Separator,1)(5,Item,2)<br>(6,Separator,2)(7,Item,3)<br>(8,Separator,3)(9,Item,4)";
  3710. Assert.AreEqual (exp, v, "#195");
  3711. }
  3712. [Test]
  3713. public void RepeatInfo_2cols_4itms_vert_flow_otrtblimp_hdr_sep ()
  3714. {
  3715. // cols : 2
  3716. // cnt : 4
  3717. // RepeatDirection : Vertical
  3718. // RepeatLayout : Flow
  3719. // OuterTableImplied : True
  3720. // Header : True
  3721. // Footer : False
  3722. // Separator : True
  3723. string v = RepeatInfoUser.DoTest (2, 4, RepeatDirection.Vertical, RepeatLayout.Flow, true, true, false, true);
  3724. 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)";
  3725. Assert.AreEqual (exp, v, "#196");
  3726. }
  3727. [Test]
  3728. public void RepeatInfo_2cols_7itms_vert_flow_otrtblimp_hdr_sep ()
  3729. {
  3730. // cols : 2
  3731. // cnt : 7
  3732. // RepeatDirection : Vertical
  3733. // RepeatLayout : Flow
  3734. // OuterTableImplied : True
  3735. // Header : True
  3736. // Footer : False
  3737. // Separator : True
  3738. string v = RepeatInfoUser.DoTest (2, 7, RepeatDirection.Vertical, RepeatLayout.Flow, true, true, false, true);
  3739. 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)";
  3740. Assert.AreEqual (exp, v, "#197");
  3741. }
  3742. [Test]
  3743. public void RepeatInfo_3cols_9itms_vert_flow_otrtblimp_hdr_sep ()
  3744. {
  3745. // cols : 3
  3746. // cnt : 9
  3747. // RepeatDirection : Vertical
  3748. // RepeatLayout : Flow
  3749. // OuterTableImplied : True
  3750. // Header : True
  3751. // Footer : False
  3752. // Separator : True
  3753. string v = RepeatInfoUser.DoTest (3, 9, RepeatDirection.Vertical, RepeatLayout.Flow, true, true, false, true);
  3754. 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)";
  3755. Assert.AreEqual (exp, v, "#198");
  3756. }
  3757. [Test]
  3758. public void RepeatInfo_3cols_7itms_vert_flow_otrtblimp_hdr_sep ()
  3759. {
  3760. // cols : 3
  3761. // cnt : 7
  3762. // RepeatDirection : Vertical
  3763. // RepeatLayout : Flow
  3764. // OuterTableImplied : True
  3765. // Header : True
  3766. // Footer : False
  3767. // Separator : True
  3768. string v = RepeatInfoUser.DoTest (3, 7, RepeatDirection.Vertical, RepeatLayout.Flow, true, true, false, true);
  3769. 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)";
  3770. Assert.AreEqual (exp, v, "#199");
  3771. }
  3772. [Test]
  3773. public void RepeatInfo_0cols_0itms_horiz_tbl_hdr_sep ()
  3774. {
  3775. // cols : 0
  3776. // cnt : 0
  3777. // RepeatDirection : Horizontal
  3778. // RepeatLayout : Table
  3779. // OuterTableImplied : False
  3780. // Header : True
  3781. // Footer : False
  3782. // Separator : True
  3783. string v = RepeatInfoUser.DoTest (0, 0, RepeatDirection.Horizontal, RepeatLayout.Table, false, true, false, true);
  3784. string exp = @"<table class=""mainstyle"" border=""0"">
  3785. <tr>
  3786. <td colspan=""0"" class=""Header-1"">(0,Header,-1)</td>
  3787. </tr>
  3788. </table>";
  3789. Assert.AreEqual (exp, v, "#200");
  3790. }
  3791. [Test]
  3792. public void RepeatInfo_0cols_1itms_horiz_tbl_hdr_sep ()
  3793. {
  3794. // cols : 0
  3795. // cnt : 1
  3796. // RepeatDirection : Horizontal
  3797. // RepeatLayout : Table
  3798. // OuterTableImplied : False
  3799. // Header : True
  3800. // Footer : False
  3801. // Separator : True
  3802. string v = RepeatInfoUser.DoTest (0, 1, RepeatDirection.Horizontal, RepeatLayout.Table, false, true, false, true);
  3803. string exp = @"<table class=""mainstyle"" border=""0"">
  3804. <tr>
  3805. <td colspan=""2"" class=""Header-1"">(0,Header,-1)</td>
  3806. </tr><tr>
  3807. <td class=""Item0"">(1,Item,0)</td>
  3808. </tr>
  3809. </table>";
  3810. Assert.AreEqual (exp, v, "#201");
  3811. }
  3812. [Test]
  3813. public void RepeatInfo_0cols_2itms_horiz_tbl_hdr_sep ()
  3814. {
  3815. // cols : 0
  3816. // cnt : 2
  3817. // RepeatDirection : Horizontal
  3818. // RepeatLayout : Table
  3819. // OuterTableImplied : False
  3820. // Header : True
  3821. // Footer : False
  3822. // Separator : True
  3823. string v = RepeatInfoUser.DoTest (0, 2, RepeatDirection.Horizontal, RepeatLayout.Table, false, true, false, true);
  3824. string exp = @"<table class=""mainstyle"" border=""0"">
  3825. <tr>
  3826. <td colspan=""4"" class=""Header-1"">(0,Header,-1)</td>
  3827. </tr><tr>
  3828. <td class=""Item0"">(1,Item,0)</td><td class=""Separator0"">(2,Separator,0)</td><td class=""Item1"">(3,Item,1)</td>
  3829. </tr>
  3830. </table>";
  3831. Assert.AreEqual (exp, v, "#202");
  3832. }
  3833. [Test]
  3834. public void RepeatInfo_0cols_5itms_horiz_tbl_hdr_sep ()
  3835. {
  3836. // cols : 0
  3837. // cnt : 5
  3838. // RepeatDirection : Horizontal
  3839. // RepeatLayout : Table
  3840. // OuterTableImplied : False
  3841. // Header : True
  3842. // Footer : False
  3843. // Separator : True
  3844. string v = RepeatInfoUser.DoTest (0, 5, RepeatDirection.Horizontal, RepeatLayout.Table, false, true, false, true);
  3845. string exp = @"<table class=""mainstyle"" border=""0"">
  3846. <tr>
  3847. <td colspan=""10"" class=""Header-1"">(0,Header,-1)</td>
  3848. </tr><tr>
  3849. <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>
  3850. </tr>
  3851. </table>";
  3852. Assert.AreEqual (exp, v, "#203");
  3853. }
  3854. [Test]
  3855. public void RepeatInfo_1cols_0itms_horiz_tbl_hdr_sep ()
  3856. {
  3857. // cols : 1
  3858. // cnt : 0
  3859. // RepeatDirection : Horizontal
  3860. // RepeatLayout : Table
  3861. // OuterTableImplied : False
  3862. // Header : True
  3863. // Footer : False
  3864. // Separator : True
  3865. string v = RepeatInfoUser.DoTest (1, 0, RepeatDirection.Horizontal, RepeatLayout.Table, false, true, false, true);
  3866. string exp = @"<table class=""mainstyle"" border=""0"">
  3867. <tr>
  3868. <td colspan=""2"" class=""Header-1"">(0,Header,-1)</td>
  3869. </tr>
  3870. </table>";
  3871. Assert.AreEqual (exp, v, "#204");
  3872. }
  3873. [Test]
  3874. public void RepeatInfo_1cols_5itms_horiz_tbl_hdr_sep ()
  3875. {
  3876. // cols : 1
  3877. // cnt : 5
  3878. // RepeatDirection : Horizontal
  3879. // RepeatLayout : Table
  3880. // OuterTableImplied : False
  3881. // Header : True
  3882. // Footer : False
  3883. // Separator : True
  3884. string v = RepeatInfoUser.DoTest (1, 5, RepeatDirection.Horizontal, RepeatLayout.Table, false, true, false, true);
  3885. string exp = @"<table class=""mainstyle"" border=""0"">
  3886. <tr>
  3887. <td colspan=""2"" class=""Header-1"">(0,Header,-1)</td>
  3888. </tr><tr>
  3889. <td class=""Item0"">(1,Item,0)</td><td class=""Separator0"">(2,Separator,0)</td>
  3890. </tr><tr>
  3891. <td class=""Item1"">(3,Item,1)</td><td class=""Separator1"">(4,Separator,1)</td>
  3892. </tr><tr>
  3893. <td class=""Item2"">(5,Item,2)</td><td class=""Separator2"">(6,Separator,2)</td>
  3894. </tr><tr>
  3895. <td class=""Item3"">(7,Item,3)</td><td class=""Separator3"">(8,Separator,3)</td>
  3896. </tr><tr>
  3897. <td class=""Item4"">(9,Item,4)</td>
  3898. </tr>
  3899. </table>";
  3900. Assert.AreEqual (exp, v, "#205");
  3901. }
  3902. [Test]
  3903. public void RepeatInfo_2cols_4itms_horiz_tbl_hdr_sep ()
  3904. {
  3905. // cols : 2
  3906. // cnt : 4
  3907. // RepeatDirection : Horizontal
  3908. // RepeatLayout : Table
  3909. // OuterTableImplied : False
  3910. // Header : True
  3911. // Footer : False
  3912. // Separator : True
  3913. string v = RepeatInfoUser.DoTest (2, 4, RepeatDirection.Horizontal, RepeatLayout.Table, false, true, false, true);
  3914. string exp = @"<table class=""mainstyle"" border=""0"">
  3915. <tr>
  3916. <td colspan=""4"" class=""Header-1"">(0,Header,-1)</td>
  3917. </tr><tr>
  3918. <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>
  3919. </tr><tr>
  3920. <td class=""Item2"">(5,Item,2)</td><td class=""Separator2"">(6,Separator,2)</td><td class=""Item3"">(7,Item,3)</td>
  3921. </tr>
  3922. </table>";
  3923. Assert.AreEqual (exp, v, "#206");
  3924. }
  3925. [Test]
  3926. public void RepeatInfo_2cols_7itms_horiz_tbl_hdr_sep ()
  3927. {
  3928. // cols : 2
  3929. // cnt : 7
  3930. // RepeatDirection : Horizontal
  3931. // RepeatLayout : Table
  3932. // OuterTableImplied : False
  3933. // Header : True
  3934. // Footer : False
  3935. // Separator : True
  3936. string v = RepeatInfoUser.DoTest (2, 7, RepeatDirection.Horizontal, RepeatLayout.Table, false, true, false, true);
  3937. string exp = @"<table class=""mainstyle"" border=""0"">
  3938. <tr>
  3939. <td colspan=""4"" class=""Header-1"">(0,Header,-1)</td>
  3940. </tr><tr>
  3941. <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>
  3942. </tr><tr>
  3943. <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>
  3944. </tr><tr>
  3945. <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>
  3946. </tr><tr>
  3947. <td class=""Item6"">(13,Item,6)</td>
  3948. </tr>
  3949. </table>";
  3950. Assert.AreEqual (exp, v, "#207");
  3951. }
  3952. [Test]
  3953. public void RepeatInfo_3cols_9itms_horiz_tbl_hdr_sep ()
  3954. {
  3955. // cols : 3
  3956. // cnt : 9
  3957. // RepeatDirection : Horizontal
  3958. // RepeatLayout : Table
  3959. // OuterTableImplied : False
  3960. // Header : True
  3961. // Footer : False
  3962. // Separator : True
  3963. string v = RepeatInfoUser.DoTest (3, 9, RepeatDirection.Horizontal, RepeatLayout.Table, false, true, false, true);
  3964. string exp = @"<table border=""0"">
  3965. <tr>
  3966. <td colspan=""6"" class=""Header-1"">(0,Header,-1)</td>
  3967. </tr><tr>
  3968. <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>
  3969. </tr><tr>
  3970. <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>
  3971. </tr><tr>
  3972. <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>
  3973. </tr>
  3974. </table>";
  3975. Assert.AreEqual (exp, v, "#208");
  3976. }
  3977. [Test]
  3978. public void RepeatInfo_3cols_7itms_horiz_tbl_hdr_sep ()
  3979. {
  3980. // cols : 3
  3981. // cnt : 7
  3982. // RepeatDirection : Horizontal
  3983. // RepeatLayout : Table
  3984. // OuterTableImplied : False
  3985. // Header : True
  3986. // Footer : False
  3987. // Separator : True
  3988. string v = RepeatInfoUser.DoTest (3, 7, RepeatDirection.Horizontal, RepeatLayout.Table, false, true, false, true);
  3989. string exp = @"<table border=""0"">
  3990. <tr>
  3991. <td colspan=""6"" class=""Header-1"">(0,Header,-1)</td>
  3992. </tr><tr>
  3993. <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>
  3994. </tr><tr>
  3995. <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>
  3996. </tr><tr>
  3997. <td class=""Item6"">(13,Item,6)</td>
  3998. </tr>
  3999. </table>";
  4000. Assert.AreEqual (exp, v, "#209");
  4001. }
  4002. [Test]
  4003. public void RepeatInfo_0cols_0itms_vert_tbl_hdr_sep ()
  4004. {
  4005. // cols : 0
  4006. // cnt : 0
  4007. // RepeatDirection : Vertical
  4008. // RepeatLayout : Table
  4009. // OuterTableImplied : False
  4010. // Header : True
  4011. // Footer : False
  4012. // Separator : True
  4013. string v = RepeatInfoUser.DoTest (0, 0, RepeatDirection.Vertical, RepeatLayout.Table, false, true, false, true);
  4014. string exp = @"<table class=""mainstyle"" border=""0"">
  4015. <tr>
  4016. <td class=""Header-1"">(0,Header,-1)</td>
  4017. </tr>
  4018. </table>";
  4019. Assert.AreEqual (exp, v, "#210");
  4020. }
  4021. [Test]
  4022. public void RepeatInfo_0cols_1itms_vert_tbl_hdr_sep ()
  4023. {
  4024. // cols : 0
  4025. // cnt : 1
  4026. // RepeatDirection : Vertical
  4027. // RepeatLayout : Table
  4028. // OuterTableImplied : False
  4029. // Header : True
  4030. // Footer : False
  4031. // Separator : True
  4032. string v = RepeatInfoUser.DoTest (0, 1, RepeatDirection.Vertical, RepeatLayout.Table, false, true, false, true);
  4033. string exp = @"<table class=""mainstyle"" border=""0"">
  4034. <tr>
  4035. <td class=""Header-1"">(0,Header,-1)</td>
  4036. </tr><tr>
  4037. <td class=""Item0"">(1,Item,0)</td>
  4038. </tr>
  4039. </table>";
  4040. Assert.AreEqual (exp, v, "#211");
  4041. }
  4042. [Test]
  4043. public void RepeatInfo_0cols_2itms_vert_tbl_hdr_sep ()
  4044. {
  4045. // cols : 0
  4046. // cnt : 2
  4047. // RepeatDirection : Vertical
  4048. // RepeatLayout : Table
  4049. // OuterTableImplied : False
  4050. // Header : True
  4051. // Footer : False
  4052. // Separator : True
  4053. string v = RepeatInfoUser.DoTest (0, 2, RepeatDirection.Vertical, RepeatLayout.Table, false, true, false, true);
  4054. string exp = @"<table class=""mainstyle"" border=""0"">
  4055. <tr>
  4056. <td class=""Header-1"">(0,Header,-1)</td>
  4057. </tr><tr>
  4058. <td class=""Item0"">(1,Item,0)</td>
  4059. </tr><tr>
  4060. <td class=""Separator0"">(2,Separator,0)</td>
  4061. </tr><tr>
  4062. <td class=""Item1"">(3,Item,1)</td>
  4063. </tr>
  4064. </table>";
  4065. Assert.AreEqual (exp, v, "#212");
  4066. }
  4067. [Test]
  4068. public void RepeatInfo_0cols_5itms_vert_tbl_hdr_sep ()
  4069. {
  4070. // cols : 0
  4071. // cnt : 5
  4072. // RepeatDirection : Vertical
  4073. // RepeatLayout : Table
  4074. // OuterTableImplied : False
  4075. // Header : True
  4076. // Footer : False
  4077. // Separator : True
  4078. string v = RepeatInfoUser.DoTest (0, 5, RepeatDirection.Vertical, RepeatLayout.Table, false, true, false, true);
  4079. string exp = @"<table class=""mainstyle"" border=""0"">
  4080. <tr>
  4081. <td class=""Header-1"">(0,Header,-1)</td>
  4082. </tr><tr>
  4083. <td class=""Item0"">(1,Item,0)</td>
  4084. </tr><tr>
  4085. <td class=""Separator0"">(2,Separator,0)</td>
  4086. </tr><tr>
  4087. <td class=""Item1"">(3,Item,1)</td>
  4088. </tr><tr>
  4089. <td class=""Separator1"">(4,Separator,1)</td>
  4090. </tr><tr>
  4091. <td class=""Item2"">(5,Item,2)</td>
  4092. </tr><tr>
  4093. <td class=""Separator2"">(6,Separator,2)</td>
  4094. </tr><tr>
  4095. <td class=""Item3"">(7,Item,3)</td>
  4096. </tr><tr>
  4097. <td class=""Separator3"">(8,Separator,3)</td>
  4098. </tr><tr>
  4099. <td class=""Item4"">(9,Item,4)</td>
  4100. </tr>
  4101. </table>";
  4102. Assert.AreEqual (exp, v, "#213");
  4103. }
  4104. [Test]
  4105. public void RepeatInfo_1cols_0itms_vert_tbl_hdr_sep ()
  4106. {
  4107. // cols : 1
  4108. // cnt : 0
  4109. // RepeatDirection : Vertical
  4110. // RepeatLayout : Table
  4111. // OuterTableImplied : False
  4112. // Header : True
  4113. // Footer : False
  4114. // Separator : True
  4115. string v = RepeatInfoUser.DoTest (1, 0, RepeatDirection.Vertical, RepeatLayout.Table, false, true, false, true);
  4116. string exp = @"<table class=""mainstyle"" border=""0"">
  4117. <tr>
  4118. <td class=""Header-1"">(0,Header,-1)</td>
  4119. </tr>
  4120. </table>";
  4121. Assert.AreEqual (exp, v, "#214");
  4122. }
  4123. [Test]
  4124. public void RepeatInfo_1cols_5itms_vert_tbl_hdr_sep ()
  4125. {
  4126. // cols : 1
  4127. // cnt : 5
  4128. // RepeatDirection : Vertical
  4129. // RepeatLayout : Table
  4130. // OuterTableImplied : False
  4131. // Header : True
  4132. // Footer : False
  4133. // Separator : True
  4134. string v = RepeatInfoUser.DoTest (1, 5, RepeatDirection.Vertical, RepeatLayout.Table, false, true, false, true);
  4135. string exp = @"<table class=""mainstyle"" border=""0"">
  4136. <tr>
  4137. <td class=""Header-1"">(0,Header,-1)</td>
  4138. </tr><tr>
  4139. <td class=""Item0"">(1,Item,0)</td>
  4140. </tr><tr>
  4141. <td class=""Separator0"">(2,Separator,0)</td>
  4142. </tr><tr>
  4143. <td class=""Item1"">(3,Item,1)</td>
  4144. </tr><tr>
  4145. <td class=""Separator1"">(4,Separator,1)</td>
  4146. </tr><tr>
  4147. <td class=""Item2"">(5,Item,2)</td>
  4148. </tr><tr>
  4149. <td class=""Separator2"">(6,Separator,2)</td>
  4150. </tr><tr>
  4151. <td class=""Item3"">(7,Item,3)</td>
  4152. </tr><tr>
  4153. <td class=""Separator3"">(8,Separator,3)</td>
  4154. </tr><tr>
  4155. <td class=""Item4"">(9,Item,4)</td>
  4156. </tr>
  4157. </table>";
  4158. Assert.AreEqual (exp, v, "#215");
  4159. }
  4160. [Test]
  4161. public void RepeatInfo_2cols_4itms_vert_tbl_hdr_sep ()
  4162. {
  4163. // cols : 2
  4164. // cnt : 4
  4165. // RepeatDirection : Vertical
  4166. // RepeatLayout : Table
  4167. // OuterTableImplied : False
  4168. // Header : True
  4169. // Footer : False
  4170. // Separator : True
  4171. string v = RepeatInfoUser.DoTest (2, 4, RepeatDirection.Vertical, RepeatLayout.Table, false, true, false, true);
  4172. string exp = @"<table class=""mainstyle"" border=""0"">
  4173. <tr>
  4174. <td colspan=""4"" class=""Header-1"">(0,Header,-1)</td>
  4175. </tr><tr>
  4176. <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>
  4177. </tr><tr>
  4178. <td class=""Item1"">(5,Item,1)</td><td class=""Separator1"">(6,Separator,1)</td><td class=""Item3"">(7,Item,3)</td>
  4179. </tr>
  4180. </table>";
  4181. Assert.AreEqual (exp, v, "#216");
  4182. }
  4183. [Test]
  4184. public void RepeatInfo_2cols_7itms_vert_tbl_hdr_sep ()
  4185. {
  4186. // cols : 2
  4187. // cnt : 7
  4188. // RepeatDirection : Vertical
  4189. // RepeatLayout : Table
  4190. // OuterTableImplied : False
  4191. // Header : True
  4192. // Footer : False
  4193. // Separator : True
  4194. string v = RepeatInfoUser.DoTest (2, 7, RepeatDirection.Vertical, RepeatLayout.Table, false, true, false, true);
  4195. string exp = @"<table class=""mainstyle"" border=""0"">
  4196. <tr>
  4197. <td colspan=""4"" class=""Header-1"">(0,Header,-1)</td>
  4198. </tr><tr>
  4199. <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>
  4200. </tr><tr>
  4201. <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>
  4202. </tr><tr>
  4203. <td class=""Item2"">(9,Item,2)</td><td class=""Separator2"">(10,Separator,2)</td><td class=""Item6"">(11,Item,6)</td>
  4204. </tr><tr>
  4205. <td class=""Item3"">(12,Item,3)</td><td class=""Separator3"">(13,Separator,3)</td>
  4206. </tr>
  4207. </table>";
  4208. Assert.AreEqual (exp, v, "#217");
  4209. }
  4210. [Test]
  4211. public void RepeatInfo_3cols_9itms_vert_tbl_hdr_sep ()
  4212. {
  4213. // cols : 3
  4214. // cnt : 9
  4215. // RepeatDirection : Vertical
  4216. // RepeatLayout : Table
  4217. // OuterTableImplied : False
  4218. // Header : True
  4219. // Footer : False
  4220. // Separator : True
  4221. string v = RepeatInfoUser.DoTest (3, 9, RepeatDirection.Vertical, RepeatLayout.Table, false, true, false, true);
  4222. string exp = @"<table border=""0"">
  4223. <tr>
  4224. <td colspan=""6"" class=""Header-1"">(0,Header,-1)</td>
  4225. </tr><tr>
  4226. <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>
  4227. </tr><tr>
  4228. <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>
  4229. </tr><tr>
  4230. <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>
  4231. </tr>
  4232. </table>";
  4233. Assert.AreEqual (exp, v, "#218");
  4234. }
  4235. [Test]
  4236. public void RepeatInfo_3cols_7itms_vert_tbl_hdr_sep ()
  4237. {
  4238. // cols : 3
  4239. // cnt : 7
  4240. // RepeatDirection : Vertical
  4241. // RepeatLayout : Table
  4242. // OuterTableImplied : False
  4243. // Header : True
  4244. // Footer : False
  4245. // Separator : True
  4246. string v = RepeatInfoUser.DoTest (3, 7, RepeatDirection.Vertical, RepeatLayout.Table, false, true, false, true);
  4247. string exp = @"<table border=""0"">
  4248. <tr>
  4249. <td colspan=""6"" class=""Header-1"">(0,Header,-1)</td>
  4250. </tr><tr>
  4251. <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>
  4252. </tr><tr>
  4253. <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>
  4254. </tr><tr>
  4255. <td class=""Item2"">(12,Item,2)</td><td class=""Separator2"">(13,Separator,2)</td>
  4256. </tr>
  4257. </table>";
  4258. Assert.AreEqual (exp, v, "#219");
  4259. }
  4260. [Test]
  4261. public void RepeatInfo_0cols_0itms_horiz_flow_hdr_sep ()
  4262. {
  4263. // cols : 0
  4264. // cnt : 0
  4265. // RepeatDirection : Horizontal
  4266. // RepeatLayout : Flow
  4267. // OuterTableImplied : False
  4268. // Header : True
  4269. // Footer : False
  4270. // Separator : True
  4271. string v = RepeatInfoUser.DoTest (0, 0, RepeatDirection.Horizontal, RepeatLayout.Flow, false, true, false, true);
  4272. string exp = @"<span class=""mainstyle"">(0,Header,-1)</span>";
  4273. Assert.AreEqual (exp, v, "#220");
  4274. }
  4275. [Test]
  4276. public void RepeatInfo_0cols_1itms_horiz_flow_hdr_sep ()
  4277. {
  4278. // cols : 0
  4279. // cnt : 1
  4280. // RepeatDirection : Horizontal
  4281. // RepeatLayout : Flow
  4282. // OuterTableImplied : False
  4283. // Header : True
  4284. // Footer : False
  4285. // Separator : True
  4286. string v = RepeatInfoUser.DoTest (0, 1, RepeatDirection.Horizontal, RepeatLayout.Flow, false, true, false, true);
  4287. string exp = @"<span class=""mainstyle"">(0,Header,-1)(1,Item,0)</span>";
  4288. Assert.AreEqual (exp, v, "#221");
  4289. }
  4290. [Test]
  4291. public void RepeatInfo_0cols_2itms_horiz_flow_hdr_sep ()
  4292. {
  4293. // cols : 0
  4294. // cnt : 2
  4295. // RepeatDirection : Horizontal
  4296. // RepeatLayout : Flow
  4297. // OuterTableImplied : False
  4298. // Header : True
  4299. // Footer : False
  4300. // Separator : True
  4301. string v = RepeatInfoUser.DoTest (0, 2, RepeatDirection.Horizontal, RepeatLayout.Flow, false, true, false, true);
  4302. string exp = @"<span class=""mainstyle"">(0,Header,-1)(1,Item,0)(2,Separator,0)(3,Item,1)</span>";
  4303. Assert.AreEqual (exp, v, "#222");
  4304. }
  4305. [Test]
  4306. public void RepeatInfo_0cols_5itms_horiz_flow_hdr_sep ()
  4307. {
  4308. // cols : 0
  4309. // cnt : 5
  4310. // RepeatDirection : Horizontal
  4311. // RepeatLayout : Flow
  4312. // OuterTableImplied : False
  4313. // Header : True
  4314. // Footer : False
  4315. // Separator : True
  4316. string v = RepeatInfoUser.DoTest (0, 5, RepeatDirection.Horizontal, RepeatLayout.Flow, false, true, false, true);
  4317. 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>";
  4318. Assert.AreEqual (exp, v, "#223");
  4319. }
  4320. [Test]
  4321. public void RepeatInfo_1cols_0itms_horiz_flow_hdr_sep ()
  4322. {
  4323. // cols : 1
  4324. // cnt : 0
  4325. // RepeatDirection : Horizontal
  4326. // RepeatLayout : Flow
  4327. // OuterTableImplied : False
  4328. // Header : True
  4329. // Footer : False
  4330. // Separator : True
  4331. string v = RepeatInfoUser.DoTest (1, 0, RepeatDirection.Horizontal, RepeatLayout.Flow, false, true, false, true);
  4332. string exp = @"<span class=""mainstyle"">(0,Header,-1)</span>";
  4333. Assert.AreEqual (exp, v, "#224");
  4334. }
  4335. [Test]
  4336. public void RepeatInfo_1cols_5itms_horiz_flow_hdr_sep ()
  4337. {
  4338. // cols : 1
  4339. // cnt : 5
  4340. // RepeatDirection : Horizontal
  4341. // RepeatLayout : Flow
  4342. // OuterTableImplied : False
  4343. // Header : True
  4344. // Footer : False
  4345. // Separator : True
  4346. string v = RepeatInfoUser.DoTest (1, 5, RepeatDirection.Horizontal, RepeatLayout.Flow, false, true, false, true);
  4347. 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>";
  4348. Assert.AreEqual (exp, v, "#225");
  4349. }
  4350. [Test]
  4351. public void RepeatInfo_2cols_4itms_horiz_flow_hdr_sep ()
  4352. {
  4353. // cols : 2
  4354. // cnt : 4
  4355. // RepeatDirection : Horizontal
  4356. // RepeatLayout : Flow
  4357. // OuterTableImplied : False
  4358. // Header : True
  4359. // Footer : False
  4360. // Separator : True
  4361. string v = RepeatInfoUser.DoTest (2, 4, RepeatDirection.Horizontal, RepeatLayout.Flow, false, true, false, true);
  4362. 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>";
  4363. Assert.AreEqual (exp, v, "#226");
  4364. }
  4365. [Test]
  4366. public void RepeatInfo_2cols_7itms_horiz_flow_hdr_sep ()
  4367. {
  4368. // cols : 2
  4369. // cnt : 7
  4370. // RepeatDirection : Horizontal
  4371. // RepeatLayout : Flow
  4372. // OuterTableImplied : False
  4373. // Header : True
  4374. // Footer : False
  4375. // Separator : True
  4376. string v = RepeatInfoUser.DoTest (2, 7, RepeatDirection.Horizontal, RepeatLayout.Flow, false, true, false, true);
  4377. 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>";
  4378. Assert.AreEqual (exp, v, "#227");
  4379. }
  4380. [Test]
  4381. public void RepeatInfo_3cols_9itms_horiz_flow_hdr_sep ()
  4382. {
  4383. // cols : 3
  4384. // cnt : 9
  4385. // RepeatDirection : Horizontal
  4386. // RepeatLayout : Flow
  4387. // OuterTableImplied : False
  4388. // Header : True
  4389. // Footer : False
  4390. // Separator : True
  4391. string v = RepeatInfoUser.DoTest (3, 9, RepeatDirection.Horizontal, RepeatLayout.Flow, false, true, false, true);
  4392. 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>";
  4393. Assert.AreEqual (exp, v, "#228");
  4394. }
  4395. [Test]
  4396. public void RepeatInfo_3cols_7itms_horiz_flow_hdr_sep ()
  4397. {
  4398. // cols : 3
  4399. // cnt : 7
  4400. // RepeatDirection : Horizontal
  4401. // RepeatLayout : Flow
  4402. // OuterTableImplied : False
  4403. // Header : True
  4404. // Footer : False
  4405. // Separator : True
  4406. string v = RepeatInfoUser.DoTest (3, 7, RepeatDirection.Horizontal, RepeatLayout.Flow, false, true, false, true);
  4407. 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>";
  4408. Assert.AreEqual (exp, v, "#229");
  4409. }
  4410. [Test]
  4411. public void RepeatInfo_0cols_0itms_vert_flow_hdr_sep ()
  4412. {
  4413. // cols : 0
  4414. // cnt : 0
  4415. // RepeatDirection : Vertical
  4416. // RepeatLayout : Flow
  4417. // OuterTableImplied : False
  4418. // Header : True
  4419. // Footer : False
  4420. // Separator : True
  4421. string v = RepeatInfoUser.DoTest (0, 0, RepeatDirection.Vertical, RepeatLayout.Flow, false, true, false, true);
  4422. string exp = @"<span class=""mainstyle"">(0,Header,-1)<br></span>";
  4423. Assert.AreEqual (exp, v, "#230");
  4424. }
  4425. [Test]
  4426. public void RepeatInfo_0cols_1itms_vert_flow_hdr_sep ()
  4427. {
  4428. // cols : 0
  4429. // cnt : 1
  4430. // RepeatDirection : Vertical
  4431. // RepeatLayout : Flow
  4432. // OuterTableImplied : False
  4433. // Header : True
  4434. // Footer : False
  4435. // Separator : True
  4436. string v = RepeatInfoUser.DoTest (0, 1, RepeatDirection.Vertical, RepeatLayout.Flow, false, true, false, true);
  4437. string exp = @"<span class=""mainstyle"">(0,Header,-1)<br>(1,Item,0)</span>";
  4438. Assert.AreEqual (exp, v, "#231");
  4439. }
  4440. [Test]
  4441. public void RepeatInfo_0cols_2itms_vert_flow_hdr_sep ()
  4442. {
  4443. // cols : 0
  4444. // cnt : 2
  4445. // RepeatDirection : Vertical
  4446. // RepeatLayout : Flow
  4447. // OuterTableImplied : False
  4448. // Header : True
  4449. // Footer : False
  4450. // Separator : True
  4451. string v = RepeatInfoUser.DoTest (0, 2, RepeatDirection.Vertical, RepeatLayout.Flow, false, true, false, true);
  4452. string exp = @"<span class=""mainstyle"">(0,Header,-1)<br>(1,Item,0)<br>(2,Separator,0)<br>(3,Item,1)</span>";
  4453. Assert.AreEqual (exp, v, "#232");
  4454. }
  4455. [Test]
  4456. public void RepeatInfo_0cols_5itms_vert_flow_hdr_sep ()
  4457. {
  4458. // cols : 0
  4459. // cnt : 5
  4460. // RepeatDirection : Vertical
  4461. // RepeatLayout : Flow
  4462. // OuterTableImplied : False
  4463. // Header : True
  4464. // Footer : False
  4465. // Separator : True
  4466. string v = RepeatInfoUser.DoTest (0, 5, RepeatDirection.Vertical, RepeatLayout.Flow, false, true, false, true);
  4467. 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>";
  4468. Assert.AreEqual (exp, v, "#233");
  4469. }
  4470. [Test]
  4471. public void RepeatInfo_1cols_0itms_vert_flow_hdr_sep ()
  4472. {
  4473. // cols : 1
  4474. // cnt : 0
  4475. // RepeatDirection : Vertical
  4476. // RepeatLayout : Flow
  4477. // OuterTableImplied : False
  4478. // Header : True
  4479. // Footer : False
  4480. // Separator : True
  4481. string v = RepeatInfoUser.DoTest (1, 0, RepeatDirection.Vertical, RepeatLayout.Flow, false, true, false, true);
  4482. string exp = @"<span class=""mainstyle"">(0,Header,-1)<br></span>";
  4483. Assert.AreEqual (exp, v, "#234");
  4484. }
  4485. [Test]
  4486. public void RepeatInfo_1cols_5itms_vert_flow_hdr_sep ()
  4487. {
  4488. // cols : 1
  4489. // cnt : 5
  4490. // RepeatDirection : Vertical
  4491. // RepeatLayout : Flow
  4492. // OuterTableImplied : False
  4493. // Header : True
  4494. // Footer : False
  4495. // Separator : True
  4496. string v = RepeatInfoUser.DoTest (1, 5, RepeatDirection.Vertical, RepeatLayout.Flow, false, true, false, true);
  4497. 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>";
  4498. Assert.AreEqual (exp, v, "#235");
  4499. }
  4500. [Test]
  4501. public void RepeatInfo_2cols_4itms_vert_flow_hdr_sep ()
  4502. {
  4503. // cols : 2
  4504. // cnt : 4
  4505. // RepeatDirection : Vertical
  4506. // RepeatLayout : Flow
  4507. // OuterTableImplied : False
  4508. // Header : True
  4509. // Footer : False
  4510. // Separator : True
  4511. string v = RepeatInfoUser.DoTest (2, 4, RepeatDirection.Vertical, RepeatLayout.Flow, false, true, false, true);
  4512. 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>";
  4513. Assert.AreEqual (exp, v, "#236");
  4514. }
  4515. [Test]
  4516. public void RepeatInfo_2cols_7itms_vert_flow_hdr_sep ()
  4517. {
  4518. // cols : 2
  4519. // cnt : 7
  4520. // RepeatDirection : Vertical
  4521. // RepeatLayout : Flow
  4522. // OuterTableImplied : False
  4523. // Header : True
  4524. // Footer : False
  4525. // Separator : True
  4526. string v = RepeatInfoUser.DoTest (2, 7, RepeatDirection.Vertical, RepeatLayout.Flow, false, true, false, true);
  4527. 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>";
  4528. Assert.AreEqual (exp, v, "#237");
  4529. }
  4530. [Test]
  4531. public void RepeatInfo_3cols_9itms_vert_flow_hdr_sep ()
  4532. {
  4533. // cols : 3
  4534. // cnt : 9
  4535. // RepeatDirection : Vertical
  4536. // RepeatLayout : Flow
  4537. // OuterTableImplied : False
  4538. // Header : True
  4539. // Footer : False
  4540. // Separator : True
  4541. string v = RepeatInfoUser.DoTest (3, 9, RepeatDirection.Vertical, RepeatLayout.Flow, false, true, false, true);
  4542. 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>";
  4543. Assert.AreEqual (exp, v, "#238");
  4544. }
  4545. [Test]
  4546. public void RepeatInfo_3cols_7itms_vert_flow_hdr_sep ()
  4547. {
  4548. // cols : 3
  4549. // cnt : 7
  4550. // RepeatDirection : Vertical
  4551. // RepeatLayout : Flow
  4552. // OuterTableImplied : False
  4553. // Header : True
  4554. // Footer : False
  4555. // Separator : True
  4556. string v = RepeatInfoUser.DoTest (3, 7, RepeatDirection.Vertical, RepeatLayout.Flow, false, true, false, true);
  4557. 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>";
  4558. Assert.AreEqual (exp, v, "#239");
  4559. }
  4560. [Test]
  4561. public void RepeatInfo_0cols_0itms_horiz_tbl_otrtblimp_sep ()
  4562. {
  4563. // cols : 0
  4564. // cnt : 0
  4565. // RepeatDirection : Horizontal
  4566. // RepeatLayout : Table
  4567. // OuterTableImplied : True
  4568. // Header : False
  4569. // Footer : False
  4570. // Separator : True
  4571. string v = RepeatInfoUser.DoTest (0, 0, RepeatDirection.Horizontal, RepeatLayout.Table, true, false, false, true);
  4572. string exp = @"<table class=""mainstyle"" border=""0"">
  4573. </table>";
  4574. Assert.AreEqual (exp, v, "#240");
  4575. }
  4576. [Test]
  4577. public void RepeatInfo_0cols_1itms_horiz_tbl_otrtblimp_sep ()
  4578. {
  4579. // cols : 0
  4580. // cnt : 1
  4581. // RepeatDirection : Horizontal
  4582. // RepeatLayout : Table
  4583. // OuterTableImplied : True
  4584. // Header : False
  4585. // Footer : False
  4586. // Separator : True
  4587. string v = RepeatInfoUser.DoTest (0, 1, RepeatDirection.Horizontal, RepeatLayout.Table, true, false, false, true);
  4588. string exp = @"<table class=""mainstyle"" border=""0"">
  4589. <tr>
  4590. <td class=""Item0"">(0,Item,0)</td>
  4591. </tr>
  4592. </table>";
  4593. Assert.AreEqual (exp, v, "#241");
  4594. }
  4595. [Test]
  4596. public void RepeatInfo_0cols_2itms_horiz_tbl_otrtblimp_sep ()
  4597. {
  4598. // cols : 0
  4599. // cnt : 2
  4600. // RepeatDirection : Horizontal
  4601. // RepeatLayout : Table
  4602. // OuterTableImplied : True
  4603. // Header : False
  4604. // Footer : False
  4605. // Separator : True
  4606. string v = RepeatInfoUser.DoTest (0, 2, RepeatDirection.Horizontal, RepeatLayout.Table, true, false, false, true);
  4607. string exp = @"<table class=""mainstyle"" border=""0"">
  4608. <tr>
  4609. <td class=""Item0"">(0,Item,0)</td><td class=""Separator0"">(1,Separator,0)</td><td class=""Item1"">(2,Item,1)</td>
  4610. </tr>
  4611. </table>";
  4612. Assert.AreEqual (exp, v, "#242");
  4613. }
  4614. [Test]
  4615. public void RepeatInfo_0cols_5itms_horiz_tbl_otrtblimp_sep ()
  4616. {
  4617. // cols : 0
  4618. // cnt : 5
  4619. // RepeatDirection : Horizontal
  4620. // RepeatLayout : Table
  4621. // OuterTableImplied : True
  4622. // Header : False
  4623. // Footer : False
  4624. // Separator : True
  4625. string v = RepeatInfoUser.DoTest (0, 5, RepeatDirection.Horizontal, RepeatLayout.Table, true, false, false, true);
  4626. string exp = @"<table class=""mainstyle"" border=""0"">
  4627. <tr>
  4628. <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>
  4629. </tr>
  4630. </table>";
  4631. Assert.AreEqual (exp, v, "#243");
  4632. }
  4633. [Test]
  4634. public void RepeatInfo_1cols_0itms_horiz_tbl_otrtblimp_sep ()
  4635. {
  4636. // cols : 1
  4637. // cnt : 0
  4638. // RepeatDirection : Horizontal
  4639. // RepeatLayout : Table
  4640. // OuterTableImplied : True
  4641. // Header : False
  4642. // Footer : False
  4643. // Separator : True
  4644. string v = RepeatInfoUser.DoTest (1, 0, RepeatDirection.Horizontal, RepeatLayout.Table, true, false, false, true);
  4645. string exp = @"<table class=""mainstyle"" border=""0"">
  4646. </table>";
  4647. Assert.AreEqual (exp, v, "#244");
  4648. }
  4649. [Test]
  4650. public void RepeatInfo_1cols_5itms_horiz_tbl_otrtblimp_sep ()
  4651. {
  4652. // cols : 1
  4653. // cnt : 5
  4654. // RepeatDirection : Horizontal
  4655. // RepeatLayout : Table
  4656. // OuterTableImplied : True
  4657. // Header : False
  4658. // Footer : False
  4659. // Separator : True
  4660. string v = RepeatInfoUser.DoTest (1, 5, RepeatDirection.Horizontal, RepeatLayout.Table, true, false, false, true);
  4661. string exp = @"<table class=""mainstyle"" border=""0"">
  4662. <tr>
  4663. <td class=""Item0"">(0,Item,0)</td><td class=""Separator0"">(1,Separator,0)</td>
  4664. </tr><tr>
  4665. <td class=""Item1"">(2,Item,1)</td><td class=""Separator1"">(3,Separator,1)</td>
  4666. </tr><tr>
  4667. <td class=""Item2"">(4,Item,2)</td><td class=""Separator2"">(5,Separator,2)</td>
  4668. </tr><tr>
  4669. <td class=""Item3"">(6,Item,3)</td><td class=""Separator3"">(7,Separator,3)</td>
  4670. </tr><tr>
  4671. <td class=""Item4"">(8,Item,4)</td>
  4672. </tr>
  4673. </table>";
  4674. Assert.AreEqual (exp, v, "#245");
  4675. }
  4676. [Test]
  4677. public void RepeatInfo_2cols_4itms_horiz_tbl_otrtblimp_sep ()
  4678. {
  4679. // cols : 2
  4680. // cnt : 4
  4681. // RepeatDirection : Horizontal
  4682. // RepeatLayout : Table
  4683. // OuterTableImplied : True
  4684. // Header : False
  4685. // Footer : False
  4686. // Separator : True
  4687. string v = RepeatInfoUser.DoTest (2, 4, RepeatDirection.Horizontal, RepeatLayout.Table, true, false, false, true);
  4688. string exp = @"<table class=""mainstyle"" border=""0"">
  4689. <tr>
  4690. <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>
  4691. </tr><tr>
  4692. <td class=""Item2"">(4,Item,2)</td><td class=""Separator2"">(5,Separator,2)</td><td class=""Item3"">(6,Item,3)</td>
  4693. </tr>
  4694. </table>";
  4695. Assert.AreEqual (exp, v, "#246");
  4696. }
  4697. [Test]
  4698. public void RepeatInfo_2cols_7itms_horiz_tbl_otrtblimp_sep ()
  4699. {
  4700. // cols : 2
  4701. // cnt : 7
  4702. // RepeatDirection : Horizontal
  4703. // RepeatLayout : Table
  4704. // OuterTableImplied : True
  4705. // Header : False
  4706. // Footer : False
  4707. // Separator : True
  4708. string v = RepeatInfoUser.DoTest (2, 7, RepeatDirection.Horizontal, RepeatLayout.Table, true, false, false, true);
  4709. string exp = @"<table class=""mainstyle"" border=""0"">
  4710. <tr>
  4711. <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>
  4712. </tr><tr>
  4713. <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>
  4714. </tr><tr>
  4715. <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>
  4716. </tr><tr>
  4717. <td class=""Item6"">(12,Item,6)</td>
  4718. </tr>
  4719. </table>";
  4720. Assert.AreEqual (exp, v, "#247");
  4721. }
  4722. [Test]
  4723. public void RepeatInfo_3cols_9itms_horiz_tbl_otrtblimp_sep ()
  4724. {
  4725. // cols : 3
  4726. // cnt : 9
  4727. // RepeatDirection : Horizontal
  4728. // RepeatLayout : Table
  4729. // OuterTableImplied : True
  4730. // Header : False
  4731. // Footer : False
  4732. // Separator : True
  4733. string v = RepeatInfoUser.DoTest (3, 9, RepeatDirection.Horizontal, RepeatLayout.Table, true, false, false, true);
  4734. string exp = @"<table border=""0"">
  4735. <tr>
  4736. <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>
  4737. </tr><tr>
  4738. <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>
  4739. </tr><tr>
  4740. <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>
  4741. </tr>
  4742. </table>";
  4743. Assert.AreEqual (exp, v, "#248");
  4744. }
  4745. [Test]
  4746. public void RepeatInfo_3cols_7itms_horiz_tbl_otrtblimp_sep ()
  4747. {
  4748. // cols : 3
  4749. // cnt : 7
  4750. // RepeatDirection : Horizontal
  4751. // RepeatLayout : Table
  4752. // OuterTableImplied : True
  4753. // Header : False
  4754. // Footer : False
  4755. // Separator : True
  4756. string v = RepeatInfoUser.DoTest (3, 7, RepeatDirection.Horizontal, RepeatLayout.Table, true, false, false, true);
  4757. string exp = @"<table border=""0"">
  4758. <tr>
  4759. <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>
  4760. </tr><tr>
  4761. <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>
  4762. </tr><tr>
  4763. <td class=""Item6"">(12,Item,6)</td>
  4764. </tr>
  4765. </table>";
  4766. Assert.AreEqual (exp, v, "#249");
  4767. }
  4768. [Test]
  4769. public void RepeatInfo_0cols_0itms_vert_tbl_otrtblimp_sep ()
  4770. {
  4771. // cols : 0
  4772. // cnt : 0
  4773. // RepeatDirection : Vertical
  4774. // RepeatLayout : Table
  4775. // OuterTableImplied : True
  4776. // Header : False
  4777. // Footer : False
  4778. // Separator : True
  4779. string v = RepeatInfoUser.DoTest (0, 0, RepeatDirection.Vertical, RepeatLayout.Table, true, false, false, true);
  4780. string exp = @"";
  4781. Assert.AreEqual (exp, v, "#250");
  4782. }
  4783. [Test]
  4784. public void RepeatInfo_0cols_1itms_vert_tbl_otrtblimp_sep ()
  4785. {
  4786. // cols : 0
  4787. // cnt : 1
  4788. // RepeatDirection : Vertical
  4789. // RepeatLayout : Table
  4790. // OuterTableImplied : True
  4791. // Header : False
  4792. // Footer : False
  4793. // Separator : True
  4794. string v = RepeatInfoUser.DoTest (0, 1, RepeatDirection.Vertical, RepeatLayout.Table, true, false, false, true);
  4795. string exp = @"(0,Item,0)";
  4796. Assert.AreEqual (exp, v, "#251");
  4797. }
  4798. [Test]
  4799. public void RepeatInfo_0cols_2itms_vert_tbl_otrtblimp_sep ()
  4800. {
  4801. // cols : 0
  4802. // cnt : 2
  4803. // RepeatDirection : Vertical
  4804. // RepeatLayout : Table
  4805. // OuterTableImplied : True
  4806. // Header : False
  4807. // Footer : False
  4808. // Separator : True
  4809. string v = RepeatInfoUser.DoTest (0, 2, RepeatDirection.Vertical, RepeatLayout.Table, true, false, false, true);
  4810. string exp = @"(0,Item,0)<br>(1,Separator,0)(2,Item,1)";
  4811. Assert.AreEqual (exp, v, "#252");
  4812. }
  4813. [Test]
  4814. public void RepeatInfo_0cols_5itms_vert_tbl_otrtblimp_sep ()
  4815. {
  4816. // cols : 0
  4817. // cnt : 5
  4818. // RepeatDirection : Vertical
  4819. // RepeatLayout : Table
  4820. // OuterTableImplied : True
  4821. // Header : False
  4822. // Footer : False
  4823. // Separator : True
  4824. string v = RepeatInfoUser.DoTest (0, 5, RepeatDirection.Vertical, RepeatLayout.Table, true, false, false, true);
  4825. string exp = @"(0,Item,0)<br>(1,Separator,0)(2,Item,1)<br>(3,Separator,1)(4,Item,2)<br>(5,Separator,2)(6,Item,3)<br>(7,Separator,3)(8,Item,4)";
  4826. Assert.AreEqual (exp, v, "#253");
  4827. }
  4828. [Test]
  4829. public void RepeatInfo_1cols_0itms_vert_tbl_otrtblimp_sep ()
  4830. {
  4831. // cols : 1
  4832. // cnt : 0
  4833. // RepeatDirection : Vertical
  4834. // RepeatLayout : Table
  4835. // OuterTableImplied : True
  4836. // Header : False
  4837. // Footer : False
  4838. // Separator : True
  4839. string v = RepeatInfoUser.DoTest (1, 0, RepeatDirection.Vertical, RepeatLayout.Table, true, false, false, true);
  4840. string exp = @"";
  4841. Assert.AreEqual (exp, v, "#254");
  4842. }
  4843. [Test]
  4844. public void RepeatInfo_1cols_5itms_vert_tbl_otrtblimp_sep ()
  4845. {
  4846. // cols : 1
  4847. // cnt : 5
  4848. // RepeatDirection : Vertical
  4849. // RepeatLayout : Table
  4850. // OuterTableImplied : True
  4851. // Header : False
  4852. // Footer : False
  4853. // Separator : True
  4854. string v = RepeatInfoUser.DoTest (1, 5, RepeatDirection.Vertical, RepeatLayout.Table, true, false, false, true);
  4855. string exp = @"(0,Item,0)<br>(1,Separator,0)(2,Item,1)<br>(3,Separator,1)(4,Item,2)<br>(5,Separator,2)(6,Item,3)<br>(7,Separator,3)(8,Item,4)";
  4856. Assert.AreEqual (exp, v, "#255");
  4857. }
  4858. [Test]
  4859. public void RepeatInfo_2cols_4itms_vert_tbl_otrtblimp_sep ()
  4860. {
  4861. // cols : 2
  4862. // cnt : 4
  4863. // RepeatDirection : Vertical
  4864. // RepeatLayout : Table
  4865. // OuterTableImplied : True
  4866. // Header : False
  4867. // Footer : False
  4868. // Separator : True
  4869. string v = RepeatInfoUser.DoTest (2, 4, RepeatDirection.Vertical, RepeatLayout.Table, true, false, false, true);
  4870. string exp = @"(0,Item,0)(1,Separator,0)(2,Item,2)(3,Separator,2)(4,Item,1)(5,Separator,1)(6,Item,3)";
  4871. Assert.AreEqual (exp, v, "#256");
  4872. }
  4873. [Test]
  4874. public void RepeatInfo_2cols_7itms_vert_tbl_otrtblimp_sep ()
  4875. {
  4876. // cols : 2
  4877. // cnt : 7
  4878. // RepeatDirection : Vertical
  4879. // RepeatLayout : Table
  4880. // OuterTableImplied : True
  4881. // Header : False
  4882. // Footer : False
  4883. // Separator : True
  4884. string v = RepeatInfoUser.DoTest (2, 7, RepeatDirection.Vertical, RepeatLayout.Table, true, false, false, true);
  4885. 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)";
  4886. Assert.AreEqual (exp, v, "#257");
  4887. }
  4888. [Test]
  4889. public void RepeatInfo_3cols_9itms_vert_tbl_otrtblimp_sep ()
  4890. {
  4891. // cols : 3
  4892. // cnt : 9
  4893. // RepeatDirection : Vertical
  4894. // RepeatLayout : Table
  4895. // OuterTableImplied : True
  4896. // Header : False
  4897. // Footer : False
  4898. // Separator : True
  4899. string v = RepeatInfoUser.DoTest (3, 9, RepeatDirection.Vertical, RepeatLayout.Table, true, false, false, true);
  4900. 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)";
  4901. Assert.AreEqual (exp, v, "#258");
  4902. }
  4903. [Test]
  4904. public void RepeatInfo_3cols_7itms_vert_tbl_otrtblimp_sep ()
  4905. {
  4906. // cols : 3
  4907. // cnt : 7
  4908. // RepeatDirection : Vertical
  4909. // RepeatLayout : Table
  4910. // OuterTableImplied : True
  4911. // Header : False
  4912. // Footer : False
  4913. // Separator : True
  4914. string v = RepeatInfoUser.DoTest (3, 7, RepeatDirection.Vertical, RepeatLayout.Table, true, false, false, true);
  4915. 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)";
  4916. Assert.AreEqual (exp, v, "#259");
  4917. }
  4918. [Test]
  4919. public void RepeatInfo_0cols_0itms_horiz_flow_otrtblimp_sep ()
  4920. {
  4921. // cols : 0
  4922. // cnt : 0
  4923. // RepeatDirection : Horizontal
  4924. // RepeatLayout : Flow
  4925. // OuterTableImplied : True
  4926. // Header : False
  4927. // Footer : False
  4928. // Separator : True
  4929. string v = RepeatInfoUser.DoTest (0, 0, RepeatDirection.Horizontal, RepeatLayout.Flow, true, false, false, true);
  4930. string exp = @"<span class=""mainstyle""></span>";
  4931. Assert.AreEqual (exp, v, "#260");
  4932. }
  4933. [Test]
  4934. public void RepeatInfo_0cols_1itms_horiz_flow_otrtblimp_sep ()
  4935. {
  4936. // cols : 0
  4937. // cnt : 1
  4938. // RepeatDirection : Horizontal
  4939. // RepeatLayout : Flow
  4940. // OuterTableImplied : True
  4941. // Header : False
  4942. // Footer : False
  4943. // Separator : True
  4944. string v = RepeatInfoUser.DoTest (0, 1, RepeatDirection.Horizontal, RepeatLayout.Flow, true, false, false, true);
  4945. string exp = @"<span class=""mainstyle"">(0,Item,0)</span>";
  4946. Assert.AreEqual (exp, v, "#261");
  4947. }
  4948. [Test]
  4949. public void RepeatInfo_0cols_2itms_horiz_flow_otrtblimp_sep ()
  4950. {
  4951. // cols : 0
  4952. // cnt : 2
  4953. // RepeatDirection : Horizontal
  4954. // RepeatLayout : Flow
  4955. // OuterTableImplied : True
  4956. // Header : False
  4957. // Footer : False
  4958. // Separator : True
  4959. string v = RepeatInfoUser.DoTest (0, 2, RepeatDirection.Horizontal, RepeatLayout.Flow, true, false, false, true);
  4960. string exp = @"<span class=""mainstyle"">(0,Item,0)(1,Separator,0)(2,Item,1)</span>";
  4961. Assert.AreEqual (exp, v, "#262");
  4962. }
  4963. [Test]
  4964. public void RepeatInfo_0cols_5itms_horiz_flow_otrtblimp_sep ()
  4965. {
  4966. // cols : 0
  4967. // cnt : 5
  4968. // RepeatDirection : Horizontal
  4969. // RepeatLayout : Flow
  4970. // OuterTableImplied : True
  4971. // Header : False
  4972. // Footer : False
  4973. // Separator : True
  4974. string v = RepeatInfoUser.DoTest (0, 5, RepeatDirection.Horizontal, RepeatLayout.Flow, true, false, false, true);
  4975. 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>";
  4976. Assert.AreEqual (exp, v, "#263");
  4977. }
  4978. [Test]
  4979. public void RepeatInfo_1cols_0itms_horiz_flow_otrtblimp_sep ()
  4980. {
  4981. // cols : 1
  4982. // cnt : 0
  4983. // RepeatDirection : Horizontal
  4984. // RepeatLayout : Flow
  4985. // OuterTableImplied : True
  4986. // Header : False
  4987. // Footer : False
  4988. // Separator : True
  4989. string v = RepeatInfoUser.DoTest (1, 0, RepeatDirection.Horizontal, RepeatLayout.Flow, true, false, false, true);
  4990. string exp = @"<span class=""mainstyle""></span>";
  4991. Assert.AreEqual (exp, v, "#264");
  4992. }
  4993. [Test]
  4994. public void RepeatInfo_1cols_5itms_horiz_flow_otrtblimp_sep ()
  4995. {
  4996. // cols : 1
  4997. // cnt : 5
  4998. // RepeatDirection : Horizontal
  4999. // RepeatLayout : Flow
  5000. // OuterTableImplied : True
  5001. // Header : False
  5002. // Footer : False
  5003. // Separator : True
  5004. string v = RepeatInfoUser.DoTest (1, 5, RepeatDirection.Horizontal, RepeatLayout.Flow, true, false, false, true);
  5005. 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>";
  5006. Assert.AreEqual (exp, v, "#265");
  5007. }
  5008. [Test]
  5009. public void RepeatInfo_2cols_4itms_horiz_flow_otrtblimp_sep ()
  5010. {
  5011. // cols : 2
  5012. // cnt : 4
  5013. // RepeatDirection : Horizontal
  5014. // RepeatLayout : Flow
  5015. // OuterTableImplied : True
  5016. // Header : False
  5017. // Footer : False
  5018. // Separator : True
  5019. string v = RepeatInfoUser.DoTest (2, 4, RepeatDirection.Horizontal, RepeatLayout.Flow, true, false, false, true);
  5020. 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>";
  5021. Assert.AreEqual (exp, v, "#266");
  5022. }
  5023. [Test]
  5024. public void RepeatInfo_2cols_7itms_horiz_flow_otrtblimp_sep ()
  5025. {
  5026. // cols : 2
  5027. // cnt : 7
  5028. // RepeatDirection : Horizontal
  5029. // RepeatLayout : Flow
  5030. // OuterTableImplied : True
  5031. // Header : False
  5032. // Footer : False
  5033. // Separator : True
  5034. string v = RepeatInfoUser.DoTest (2, 7, RepeatDirection.Horizontal, RepeatLayout.Flow, true, false, false, true);
  5035. 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>";
  5036. Assert.AreEqual (exp, v, "#267");
  5037. }
  5038. [Test]
  5039. public void RepeatInfo_3cols_9itms_horiz_flow_otrtblimp_sep ()
  5040. {
  5041. // cols : 3
  5042. // cnt : 9
  5043. // RepeatDirection : Horizontal
  5044. // RepeatLayout : Flow
  5045. // OuterTableImplied : True
  5046. // Header : False
  5047. // Footer : False
  5048. // Separator : True
  5049. string v = RepeatInfoUser.DoTest (3, 9, RepeatDirection.Horizontal, RepeatLayout.Flow, true, false, false, true);
  5050. 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>";
  5051. Assert.AreEqual (exp, v, "#268");
  5052. }
  5053. [Test]
  5054. public void RepeatInfo_3cols_7itms_horiz_flow_otrtblimp_sep ()
  5055. {
  5056. // cols : 3
  5057. // cnt : 7
  5058. // RepeatDirection : Horizontal
  5059. // RepeatLayout : Flow
  5060. // OuterTableImplied : True
  5061. // Header : False
  5062. // Footer : False
  5063. // Separator : True
  5064. string v = RepeatInfoUser.DoTest (3, 7, RepeatDirection.Horizontal, RepeatLayout.Flow, true, false, false, true);
  5065. 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>";
  5066. Assert.AreEqual (exp, v, "#269");
  5067. }
  5068. [Test]
  5069. public void RepeatInfo_0cols_0itms_vert_flow_otrtblimp_sep ()
  5070. {
  5071. // cols : 0
  5072. // cnt : 0
  5073. // RepeatDirection : Vertical
  5074. // RepeatLayout : Flow
  5075. // OuterTableImplied : True
  5076. // Header : False
  5077. // Footer : False
  5078. // Separator : True
  5079. string v = RepeatInfoUser.DoTest (0, 0, RepeatDirection.Vertical, RepeatLayout.Flow, true, false, false, true);
  5080. string exp = @"";
  5081. Assert.AreEqual (exp, v, "#270");
  5082. }
  5083. [Test]
  5084. public void RepeatInfo_0cols_1itms_vert_flow_otrtblimp_sep ()
  5085. {
  5086. // cols : 0
  5087. // cnt : 1
  5088. // RepeatDirection : Vertical
  5089. // RepeatLayout : Flow
  5090. // OuterTableImplied : True
  5091. // Header : False
  5092. // Footer : False
  5093. // Separator : True
  5094. string v = RepeatInfoUser.DoTest (0, 1, RepeatDirection.Vertical, RepeatLayout.Flow, true, false, false, true);
  5095. string exp = @"(0,Item,0)";
  5096. Assert.AreEqual (exp, v, "#271");
  5097. }
  5098. [Test]
  5099. public void RepeatInfo_0cols_2itms_vert_flow_otrtblimp_sep ()
  5100. {
  5101. // cols : 0
  5102. // cnt : 2
  5103. // RepeatDirection : Vertical
  5104. // RepeatLayout : Flow
  5105. // OuterTableImplied : True
  5106. // Header : False
  5107. // Footer : False
  5108. // Separator : True
  5109. string v = RepeatInfoUser.DoTest (0, 2, RepeatDirection.Vertical, RepeatLayout.Flow, true, false, false, true);
  5110. string exp = @"(0,Item,0)<br>(1,Separator,0)(2,Item,1)";
  5111. Assert.AreEqual (exp, v, "#272");
  5112. }
  5113. [Test]
  5114. public void RepeatInfo_0cols_5itms_vert_flow_otrtblimp_sep ()
  5115. {
  5116. // cols : 0
  5117. // cnt : 5
  5118. // RepeatDirection : Vertical
  5119. // RepeatLayout : Flow
  5120. // OuterTableImplied : True
  5121. // Header : False
  5122. // Footer : False
  5123. // Separator : True
  5124. string v = RepeatInfoUser.DoTest (0, 5, RepeatDirection.Vertical, RepeatLayout.Flow, true, false, false, true);
  5125. string exp = @"(0,Item,0)<br>(1,Separator,0)(2,Item,1)<br>(3,Separator,1)(4,Item,2)<br>(5,Separator,2)(6,Item,3)<br>(7,Separator,3)(8,Item,4)";
  5126. Assert.AreEqual (exp, v, "#273");
  5127. }
  5128. [Test]
  5129. public void RepeatInfo_1cols_0itms_vert_flow_otrtblimp_sep ()
  5130. {
  5131. // cols : 1
  5132. // cnt : 0
  5133. // RepeatDirection : Vertical
  5134. // RepeatLayout : Flow
  5135. // OuterTableImplied : True
  5136. // Header : False
  5137. // Footer : False
  5138. // Separator : True
  5139. string v = RepeatInfoUser.DoTest (1, 0, RepeatDirection.Vertical, RepeatLayout.Flow, true, false, false, true);
  5140. string exp = @"";
  5141. Assert.AreEqual (exp, v, "#274");
  5142. }
  5143. [Test]
  5144. public void RepeatInfo_1cols_5itms_vert_flow_otrtblimp_sep ()
  5145. {
  5146. // cols : 1
  5147. // cnt : 5
  5148. // RepeatDirection : Vertical
  5149. // RepeatLayout : Flow
  5150. // OuterTableImplied : True
  5151. // Header : False
  5152. // Footer : False
  5153. // Separator : True
  5154. string v = RepeatInfoUser.DoTest (1, 5, RepeatDirection.Vertical, RepeatLayout.Flow, true, false, false, true);
  5155. string exp = @"(0,Item,0)<br>(1,Separator,0)(2,Item,1)<br>(3,Separator,1)(4,Item,2)<br>(5,Separator,2)(6,Item,3)<br>(7,Separator,3)(8,Item,4)";
  5156. Assert.AreEqual (exp, v, "#275");
  5157. }
  5158. [Test]
  5159. public void RepeatInfo_2cols_4itms_vert_flow_otrtblimp_sep ()
  5160. {
  5161. // cols : 2
  5162. // cnt : 4
  5163. // RepeatDirection : Vertical
  5164. // RepeatLayout : Flow
  5165. // OuterTableImplied : True
  5166. // Header : False
  5167. // Footer : False
  5168. // Separator : True
  5169. string v = RepeatInfoUser.DoTest (2, 4, RepeatDirection.Vertical, RepeatLayout.Flow, true, false, false, true);
  5170. string exp = @"(0,Item,0)(1,Separator,0)(2,Item,2)(3,Separator,2)(4,Item,1)(5,Separator,1)(6,Item,3)";
  5171. Assert.AreEqual (exp, v, "#276");
  5172. }
  5173. [Test]
  5174. public void RepeatInfo_2cols_7itms_vert_flow_otrtblimp_sep ()
  5175. {
  5176. // cols : 2
  5177. // cnt : 7
  5178. // RepeatDirection : Vertical
  5179. // RepeatLayout : Flow
  5180. // OuterTableImplied : True
  5181. // Header : False
  5182. // Footer : False
  5183. // Separator : True
  5184. string v = RepeatInfoUser.DoTest (2, 7, RepeatDirection.Vertical, RepeatLayout.Flow, true, false, false, true);
  5185. 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)";
  5186. Assert.AreEqual (exp, v, "#277");
  5187. }
  5188. [Test]
  5189. public void RepeatInfo_3cols_9itms_vert_flow_otrtblimp_sep ()
  5190. {
  5191. // cols : 3
  5192. // cnt : 9
  5193. // RepeatDirection : Vertical
  5194. // RepeatLayout : Flow
  5195. // OuterTableImplied : True
  5196. // Header : False
  5197. // Footer : False
  5198. // Separator : True
  5199. string v = RepeatInfoUser.DoTest (3, 9, RepeatDirection.Vertical, RepeatLayout.Flow, true, false, false, true);
  5200. 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)";
  5201. Assert.AreEqual (exp, v, "#278");
  5202. }
  5203. [Test]
  5204. public void RepeatInfo_3cols_7itms_vert_flow_otrtblimp_sep ()
  5205. {
  5206. // cols : 3
  5207. // cnt : 7
  5208. // RepeatDirection : Vertical
  5209. // RepeatLayout : Flow
  5210. // OuterTableImplied : True
  5211. // Header : False
  5212. // Footer : False
  5213. // Separator : True
  5214. string v = RepeatInfoUser.DoTest (3, 7, RepeatDirection.Vertical, RepeatLayout.Flow, true, false, false, true);
  5215. 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)";
  5216. Assert.AreEqual (exp, v, "#279");
  5217. }
  5218. [Test]
  5219. public void RepeatInfo_0cols_0itms_horiz_tbl_sep ()
  5220. {
  5221. // cols : 0
  5222. // cnt : 0
  5223. // RepeatDirection : Horizontal
  5224. // RepeatLayout : Table
  5225. // OuterTableImplied : False
  5226. // Header : False
  5227. // Footer : False
  5228. // Separator : True
  5229. string v = RepeatInfoUser.DoTest (0, 0, RepeatDirection.Horizontal, RepeatLayout.Table, false, false, false, true);
  5230. string exp = @"<table class=""mainstyle"" border=""0"">
  5231. </table>";
  5232. Assert.AreEqual (exp, v, "#280");
  5233. }
  5234. [Test]
  5235. public void RepeatInfo_0cols_1itms_horiz_tbl_sep ()
  5236. {
  5237. // cols : 0
  5238. // cnt : 1
  5239. // RepeatDirection : Horizontal
  5240. // RepeatLayout : Table
  5241. // OuterTableImplied : False
  5242. // Header : False
  5243. // Footer : False
  5244. // Separator : True
  5245. string v = RepeatInfoUser.DoTest (0, 1, RepeatDirection.Horizontal, RepeatLayout.Table, false, false, false, true);
  5246. string exp = @"<table class=""mainstyle"" border=""0"">
  5247. <tr>
  5248. <td class=""Item0"">(0,Item,0)</td>
  5249. </tr>
  5250. </table>";
  5251. Assert.AreEqual (exp, v, "#281");
  5252. }
  5253. [Test]
  5254. public void RepeatInfo_0cols_2itms_horiz_tbl_sep ()
  5255. {
  5256. // cols : 0
  5257. // cnt : 2
  5258. // RepeatDirection : Horizontal
  5259. // RepeatLayout : Table
  5260. // OuterTableImplied : False
  5261. // Header : False
  5262. // Footer : False
  5263. // Separator : True
  5264. string v = RepeatInfoUser.DoTest (0, 2, RepeatDirection.Horizontal, RepeatLayout.Table, false, false, false, true);
  5265. string exp = @"<table class=""mainstyle"" border=""0"">
  5266. <tr>
  5267. <td class=""Item0"">(0,Item,0)</td><td class=""Separator0"">(1,Separator,0)</td><td class=""Item1"">(2,Item,1)</td>
  5268. </tr>
  5269. </table>";
  5270. Assert.AreEqual (exp, v, "#282");
  5271. }
  5272. [Test]
  5273. public void RepeatInfo_0cols_5itms_horiz_tbl_sep ()
  5274. {
  5275. // cols : 0
  5276. // cnt : 5
  5277. // RepeatDirection : Horizontal
  5278. // RepeatLayout : Table
  5279. // OuterTableImplied : False
  5280. // Header : False
  5281. // Footer : False
  5282. // Separator : True
  5283. string v = RepeatInfoUser.DoTest (0, 5, RepeatDirection.Horizontal, RepeatLayout.Table, false, false, false, true);
  5284. string exp = @"<table class=""mainstyle"" border=""0"">
  5285. <tr>
  5286. <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>
  5287. </tr>
  5288. </table>";
  5289. Assert.AreEqual (exp, v, "#283");
  5290. }
  5291. [Test]
  5292. public void RepeatInfo_1cols_0itms_horiz_tbl_sep ()
  5293. {
  5294. // cols : 1
  5295. // cnt : 0
  5296. // RepeatDirection : Horizontal
  5297. // RepeatLayout : Table
  5298. // OuterTableImplied : False
  5299. // Header : False
  5300. // Footer : False
  5301. // Separator : True
  5302. string v = RepeatInfoUser.DoTest (1, 0, RepeatDirection.Horizontal, RepeatLayout.Table, false, false, false, true);
  5303. string exp = @"<table class=""mainstyle"" border=""0"">
  5304. </table>";
  5305. Assert.AreEqual (exp, v, "#284");
  5306. }
  5307. [Test]
  5308. public void RepeatInfo_1cols_5itms_horiz_tbl_sep ()
  5309. {
  5310. // cols : 1
  5311. // cnt : 5
  5312. // RepeatDirection : Horizontal
  5313. // RepeatLayout : Table
  5314. // OuterTableImplied : False
  5315. // Header : False
  5316. // Footer : False
  5317. // Separator : True
  5318. string v = RepeatInfoUser.DoTest (1, 5, RepeatDirection.Horizontal, RepeatLayout.Table, false, false, false, true);
  5319. string exp = @"<table class=""mainstyle"" border=""0"">
  5320. <tr>
  5321. <td class=""Item0"">(0,Item,0)</td><td class=""Separator0"">(1,Separator,0)</td>
  5322. </tr><tr>
  5323. <td class=""Item1"">(2,Item,1)</td><td class=""Separator1"">(3,Separator,1)</td>
  5324. </tr><tr>
  5325. <td class=""Item2"">(4,Item,2)</td><td class=""Separator2"">(5,Separator,2)</td>
  5326. </tr><tr>
  5327. <td class=""Item3"">(6,Item,3)</td><td class=""Separator3"">(7,Separator,3)</td>
  5328. </tr><tr>
  5329. <td class=""Item4"">(8,Item,4)</td>
  5330. </tr>
  5331. </table>";
  5332. Assert.AreEqual (exp, v, "#285");
  5333. }
  5334. [Test]
  5335. public void RepeatInfo_2cols_4itms_horiz_tbl_sep ()
  5336. {
  5337. // cols : 2
  5338. // cnt : 4
  5339. // RepeatDirection : Horizontal
  5340. // RepeatLayout : Table
  5341. // OuterTableImplied : False
  5342. // Header : False
  5343. // Footer : False
  5344. // Separator : True
  5345. string v = RepeatInfoUser.DoTest (2, 4, RepeatDirection.Horizontal, RepeatLayout.Table, false, false, false, true);
  5346. string exp = @"<table class=""mainstyle"" border=""0"">
  5347. <tr>
  5348. <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>
  5349. </tr><tr>
  5350. <td class=""Item2"">(4,Item,2)</td><td class=""Separator2"">(5,Separator,2)</td><td class=""Item3"">(6,Item,3)</td>
  5351. </tr>
  5352. </table>";
  5353. Assert.AreEqual (exp, v, "#286");
  5354. }
  5355. [Test]
  5356. public void RepeatInfo_2cols_7itms_horiz_tbl_sep ()
  5357. {
  5358. // cols : 2
  5359. // cnt : 7
  5360. // RepeatDirection : Horizontal
  5361. // RepeatLayout : Table
  5362. // OuterTableImplied : False
  5363. // Header : False
  5364. // Footer : False
  5365. // Separator : True
  5366. string v = RepeatInfoUser.DoTest (2, 7, RepeatDirection.Horizontal, RepeatLayout.Table, false, false, false, true);
  5367. string exp = @"<table class=""mainstyle"" border=""0"">
  5368. <tr>
  5369. <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>
  5370. </tr><tr>
  5371. <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>
  5372. </tr><tr>
  5373. <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>
  5374. </tr><tr>
  5375. <td class=""Item6"">(12,Item,6)</td>
  5376. </tr>
  5377. </table>";
  5378. Assert.AreEqual (exp, v, "#287");
  5379. }
  5380. [Test]
  5381. public void RepeatInfo_3cols_9itms_horiz_tbl_sep ()
  5382. {
  5383. // cols : 3
  5384. // cnt : 9
  5385. // RepeatDirection : Horizontal
  5386. // RepeatLayout : Table
  5387. // OuterTableImplied : False
  5388. // Header : False
  5389. // Footer : False
  5390. // Separator : True
  5391. string v = RepeatInfoUser.DoTest (3, 9, RepeatDirection.Horizontal, RepeatLayout.Table, false, false, false, true);
  5392. string exp = @"<table border=""0"">
  5393. <tr>
  5394. <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>
  5395. </tr><tr>
  5396. <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>
  5397. </tr><tr>
  5398. <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>
  5399. </tr>
  5400. </table>";
  5401. Assert.AreEqual (exp, v, "#288");
  5402. }
  5403. [Test]
  5404. public void RepeatInfo_3cols_7itms_horiz_tbl_sep ()
  5405. {
  5406. // cols : 3
  5407. // cnt : 7
  5408. // RepeatDirection : Horizontal
  5409. // RepeatLayout : Table
  5410. // OuterTableImplied : False
  5411. // Header : False
  5412. // Footer : False
  5413. // Separator : True
  5414. string v = RepeatInfoUser.DoTest (3, 7, RepeatDirection.Horizontal, RepeatLayout.Table, false, false, false, true);
  5415. string exp = @"<table border=""0"">
  5416. <tr>
  5417. <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>
  5418. </tr><tr>
  5419. <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>
  5420. </tr><tr>
  5421. <td class=""Item6"">(12,Item,6)</td>
  5422. </tr>
  5423. </table>";
  5424. Assert.AreEqual (exp, v, "#289");
  5425. }
  5426. [Test]
  5427. public void RepeatInfo_0cols_0itms_vert_tbl_sep ()
  5428. {
  5429. // cols : 0
  5430. // cnt : 0
  5431. // RepeatDirection : Vertical
  5432. // RepeatLayout : Table
  5433. // OuterTableImplied : False
  5434. // Header : False
  5435. // Footer : False
  5436. // Separator : True
  5437. string v = RepeatInfoUser.DoTest (0, 0, RepeatDirection.Vertical, RepeatLayout.Table, false, false, false, true);
  5438. string exp = @"<table class=""mainstyle"" border=""0"">
  5439. </table>";
  5440. Assert.AreEqual (exp, v, "#290");
  5441. }
  5442. [Test]
  5443. public void RepeatInfo_0cols_1itms_vert_tbl_sep ()
  5444. {
  5445. // cols : 0
  5446. // cnt : 1
  5447. // RepeatDirection : Vertical
  5448. // RepeatLayout : Table
  5449. // OuterTableImplied : False
  5450. // Header : False
  5451. // Footer : False
  5452. // Separator : True
  5453. string v = RepeatInfoUser.DoTest (0, 1, RepeatDirection.Vertical, RepeatLayout.Table, false, false, false, true);
  5454. string exp = @"<table class=""mainstyle"" border=""0"">
  5455. <tr>
  5456. <td class=""Item0"">(0,Item,0)</td>
  5457. </tr>
  5458. </table>";
  5459. Assert.AreEqual (exp, v, "#291");
  5460. }
  5461. [Test]
  5462. public void RepeatInfo_0cols_2itms_vert_tbl_sep ()
  5463. {
  5464. // cols : 0
  5465. // cnt : 2
  5466. // RepeatDirection : Vertical
  5467. // RepeatLayout : Table
  5468. // OuterTableImplied : False
  5469. // Header : False
  5470. // Footer : False
  5471. // Separator : True
  5472. string v = RepeatInfoUser.DoTest (0, 2, RepeatDirection.Vertical, RepeatLayout.Table, false, false, false, true);
  5473. string exp = @"<table class=""mainstyle"" border=""0"">
  5474. <tr>
  5475. <td class=""Item0"">(0,Item,0)</td>
  5476. </tr><tr>
  5477. <td class=""Separator0"">(1,Separator,0)</td>
  5478. </tr><tr>
  5479. <td class=""Item1"">(2,Item,1)</td>
  5480. </tr>
  5481. </table>";
  5482. Assert.AreEqual (exp, v, "#292");
  5483. }
  5484. [Test]
  5485. public void RepeatInfo_0cols_5itms_vert_tbl_sep ()
  5486. {
  5487. // cols : 0
  5488. // cnt : 5
  5489. // RepeatDirection : Vertical
  5490. // RepeatLayout : Table
  5491. // OuterTableImplied : False
  5492. // Header : False
  5493. // Footer : False
  5494. // Separator : True
  5495. string v = RepeatInfoUser.DoTest (0, 5, RepeatDirection.Vertical, RepeatLayout.Table, false, false, false, true);
  5496. string exp = @"<table class=""mainstyle"" border=""0"">
  5497. <tr>
  5498. <td class=""Item0"">(0,Item,0)</td>
  5499. </tr><tr>
  5500. <td class=""Separator0"">(1,Separator,0)</td>
  5501. </tr><tr>
  5502. <td class=""Item1"">(2,Item,1)</td>
  5503. </tr><tr>
  5504. <td class=""Separator1"">(3,Separator,1)</td>
  5505. </tr><tr>
  5506. <td class=""Item2"">(4,Item,2)</td>
  5507. </tr><tr>
  5508. <td class=""Separator2"">(5,Separator,2)</td>
  5509. </tr><tr>
  5510. <td class=""Item3"">(6,Item,3)</td>
  5511. </tr><tr>
  5512. <td class=""Separator3"">(7,Separator,3)</td>
  5513. </tr><tr>
  5514. <td class=""Item4"">(8,Item,4)</td>
  5515. </tr>
  5516. </table>";
  5517. Assert.AreEqual (exp, v, "#293");
  5518. }
  5519. [Test]
  5520. public void RepeatInfo_1cols_0itms_vert_tbl_sep ()
  5521. {
  5522. // cols : 1
  5523. // cnt : 0
  5524. // RepeatDirection : Vertical
  5525. // RepeatLayout : Table
  5526. // OuterTableImplied : False
  5527. // Header : False
  5528. // Footer : False
  5529. // Separator : True
  5530. string v = RepeatInfoUser.DoTest (1, 0, RepeatDirection.Vertical, RepeatLayout.Table, false, false, false, true);
  5531. string exp = @"<table class=""mainstyle"" border=""0"">
  5532. </table>";
  5533. Assert.AreEqual (exp, v, "#294");
  5534. }
  5535. [Test]
  5536. public void RepeatInfo_1cols_5itms_vert_tbl_sep ()
  5537. {
  5538. // cols : 1
  5539. // cnt : 5
  5540. // RepeatDirection : Vertical
  5541. // RepeatLayout : Table
  5542. // OuterTableImplied : False
  5543. // Header : False
  5544. // Footer : False
  5545. // Separator : True
  5546. string v = RepeatInfoUser.DoTest (1, 5, RepeatDirection.Vertical, RepeatLayout.Table, false, false, false, true);
  5547. string exp = @"<table class=""mainstyle"" border=""0"">
  5548. <tr>
  5549. <td class=""Item0"">(0,Item,0)</td>
  5550. </tr><tr>
  5551. <td class=""Separator0"">(1,Separator,0)</td>
  5552. </tr><tr>
  5553. <td class=""Item1"">(2,Item,1)</td>
  5554. </tr><tr>
  5555. <td class=""Separator1"">(3,Separator,1)</td>
  5556. </tr><tr>
  5557. <td class=""Item2"">(4,Item,2)</td>
  5558. </tr><tr>
  5559. <td class=""Separator2"">(5,Separator,2)</td>
  5560. </tr><tr>
  5561. <td class=""Item3"">(6,Item,3)</td>
  5562. </tr><tr>
  5563. <td class=""Separator3"">(7,Separator,3)</td>
  5564. </tr><tr>
  5565. <td class=""Item4"">(8,Item,4)</td>
  5566. </tr>
  5567. </table>";
  5568. Assert.AreEqual (exp, v, "#295");
  5569. }
  5570. [Test]
  5571. public void RepeatInfo_2cols_4itms_vert_tbl_sep ()
  5572. {
  5573. // cols : 2
  5574. // cnt : 4
  5575. // RepeatDirection : Vertical
  5576. // RepeatLayout : Table
  5577. // OuterTableImplied : False
  5578. // Header : False
  5579. // Footer : False
  5580. // Separator : True
  5581. string v = RepeatInfoUser.DoTest (2, 4, RepeatDirection.Vertical, RepeatLayout.Table, false, false, false, true);
  5582. string exp = @"<table class=""mainstyle"" border=""0"">
  5583. <tr>
  5584. <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>
  5585. </tr><tr>
  5586. <td class=""Item1"">(4,Item,1)</td><td class=""Separator1"">(5,Separator,1)</td><td class=""Item3"">(6,Item,3)</td>
  5587. </tr>
  5588. </table>";
  5589. Assert.AreEqual (exp, v, "#296");
  5590. }
  5591. [Test]
  5592. public void RepeatInfo_2cols_7itms_vert_tbl_sep ()
  5593. {
  5594. // cols : 2
  5595. // cnt : 7
  5596. // RepeatDirection : Vertical
  5597. // RepeatLayout : Table
  5598. // OuterTableImplied : False
  5599. // Header : False
  5600. // Footer : False
  5601. // Separator : True
  5602. string v = RepeatInfoUser.DoTest (2, 7, RepeatDirection.Vertical, RepeatLayout.Table, false, false, false, true);
  5603. string exp = @"<table class=""mainstyle"" border=""0"">
  5604. <tr>
  5605. <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>
  5606. </tr><tr>
  5607. <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>
  5608. </tr><tr>
  5609. <td class=""Item2"">(8,Item,2)</td><td class=""Separator2"">(9,Separator,2)</td><td class=""Item6"">(10,Item,6)</td>
  5610. </tr><tr>
  5611. <td class=""Item3"">(11,Item,3)</td><td class=""Separator3"">(12,Separator,3)</td>
  5612. </tr>
  5613. </table>";
  5614. Assert.AreEqual (exp, v, "#297");
  5615. }
  5616. [Test]
  5617. public void RepeatInfo_3cols_9itms_vert_tbl_sep ()
  5618. {
  5619. // cols : 3
  5620. // cnt : 9
  5621. // RepeatDirection : Vertical
  5622. // RepeatLayout : Table
  5623. // OuterTableImplied : False
  5624. // Header : False
  5625. // Footer : False
  5626. // Separator : True
  5627. string v = RepeatInfoUser.DoTest (3, 9, RepeatDirection.Vertical, RepeatLayout.Table, false, false, false, true);
  5628. string exp = @"<table border=""0"">
  5629. <tr>
  5630. <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>
  5631. </tr><tr>
  5632. <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>
  5633. </tr><tr>
  5634. <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>
  5635. </tr>
  5636. </table>";
  5637. Assert.AreEqual (exp, v, "#298");
  5638. }
  5639. [Test]
  5640. public void RepeatInfo_3cols_7itms_vert_tbl_sep ()
  5641. {
  5642. // cols : 3
  5643. // cnt : 7
  5644. // RepeatDirection : Vertical
  5645. // RepeatLayout : Table
  5646. // OuterTableImplied : False
  5647. // Header : False
  5648. // Footer : False
  5649. // Separator : True
  5650. string v = RepeatInfoUser.DoTest (3, 7, RepeatDirection.Vertical, RepeatLayout.Table, false, false, false, true);
  5651. string exp = @"<table border=""0"">
  5652. <tr>
  5653. <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>
  5654. </tr><tr>
  5655. <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>
  5656. </tr><tr>
  5657. <td class=""Item2"">(11,Item,2)</td><td class=""Separator2"">(12,Separator,2)</td>
  5658. </tr>
  5659. </table>";
  5660. Assert.AreEqual (exp, v, "#299");
  5661. }
  5662. [Test]
  5663. public void RepeatInfo_0cols_0itms_horiz_flow_sep ()
  5664. {
  5665. // cols : 0
  5666. // cnt : 0
  5667. // RepeatDirection : Horizontal
  5668. // RepeatLayout : Flow
  5669. // OuterTableImplied : False
  5670. // Header : False
  5671. // Footer : False
  5672. // Separator : True
  5673. string v = RepeatInfoUser.DoTest (0, 0, RepeatDirection.Horizontal, RepeatLayout.Flow, false, false, false, true);
  5674. string exp = @"<span class=""mainstyle""></span>";
  5675. Assert.AreEqual (exp, v, "#300");
  5676. }
  5677. [Test]
  5678. public void RepeatInfo_0cols_1itms_horiz_flow_sep ()
  5679. {
  5680. // cols : 0
  5681. // cnt : 1
  5682. // RepeatDirection : Horizontal
  5683. // RepeatLayout : Flow
  5684. // OuterTableImplied : False
  5685. // Header : False
  5686. // Footer : False
  5687. // Separator : True
  5688. string v = RepeatInfoUser.DoTest (0, 1, RepeatDirection.Horizontal, RepeatLayout.Flow, false, false, false, true);
  5689. string exp = @"<span class=""mainstyle"">(0,Item,0)</span>";
  5690. Assert.AreEqual (exp, v, "#301");
  5691. }
  5692. [Test]
  5693. public void RepeatInfo_0cols_2itms_horiz_flow_sep ()
  5694. {
  5695. // cols : 0
  5696. // cnt : 2
  5697. // RepeatDirection : Horizontal
  5698. // RepeatLayout : Flow
  5699. // OuterTableImplied : False
  5700. // Header : False
  5701. // Footer : False
  5702. // Separator : True
  5703. string v = RepeatInfoUser.DoTest (0, 2, RepeatDirection.Horizontal, RepeatLayout.Flow, false, false, false, true);
  5704. string exp = @"<span class=""mainstyle"">(0,Item,0)(1,Separator,0)(2,Item,1)</span>";
  5705. Assert.AreEqual (exp, v, "#302");
  5706. }
  5707. [Test]
  5708. public void RepeatInfo_0cols_5itms_horiz_flow_sep ()
  5709. {
  5710. // cols : 0
  5711. // cnt : 5
  5712. // RepeatDirection : Horizontal
  5713. // RepeatLayout : Flow
  5714. // OuterTableImplied : False
  5715. // Header : False
  5716. // Footer : False
  5717. // Separator : True
  5718. string v = RepeatInfoUser.DoTest (0, 5, RepeatDirection.Horizontal, RepeatLayout.Flow, false, false, false, true);
  5719. 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>";
  5720. Assert.AreEqual (exp, v, "#303");
  5721. }
  5722. [Test]
  5723. public void RepeatInfo_1cols_0itms_horiz_flow_sep ()
  5724. {
  5725. // cols : 1
  5726. // cnt : 0
  5727. // RepeatDirection : Horizontal
  5728. // RepeatLayout : Flow
  5729. // OuterTableImplied : False
  5730. // Header : False
  5731. // Footer : False
  5732. // Separator : True
  5733. string v = RepeatInfoUser.DoTest (1, 0, RepeatDirection.Horizontal, RepeatLayout.Flow, false, false, false, true);
  5734. string exp = @"<span class=""mainstyle""></span>";
  5735. Assert.AreEqual (exp, v, "#304");
  5736. }
  5737. [Test]
  5738. public void RepeatInfo_1cols_5itms_horiz_flow_sep ()
  5739. {
  5740. // cols : 1
  5741. // cnt : 5
  5742. // RepeatDirection : Horizontal
  5743. // RepeatLayout : Flow
  5744. // OuterTableImplied : False
  5745. // Header : False
  5746. // Footer : False
  5747. // Separator : True
  5748. string v = RepeatInfoUser.DoTest (1, 5, RepeatDirection.Horizontal, RepeatLayout.Flow, false, false, false, true);
  5749. 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>";
  5750. Assert.AreEqual (exp, v, "#305");
  5751. }
  5752. [Test]
  5753. public void RepeatInfo_2cols_4itms_horiz_flow_sep ()
  5754. {
  5755. // cols : 2
  5756. // cnt : 4
  5757. // RepeatDirection : Horizontal
  5758. // RepeatLayout : Flow
  5759. // OuterTableImplied : False
  5760. // Header : False
  5761. // Footer : False
  5762. // Separator : True
  5763. string v = RepeatInfoUser.DoTest (2, 4, RepeatDirection.Horizontal, RepeatLayout.Flow, false, false, false, true);
  5764. 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>";
  5765. Assert.AreEqual (exp, v, "#306");
  5766. }
  5767. [Test]
  5768. public void RepeatInfo_2cols_7itms_horiz_flow_sep ()
  5769. {
  5770. // cols : 2
  5771. // cnt : 7
  5772. // RepeatDirection : Horizontal
  5773. // RepeatLayout : Flow
  5774. // OuterTableImplied : False
  5775. // Header : False
  5776. // Footer : False
  5777. // Separator : True
  5778. string v = RepeatInfoUser.DoTest (2, 7, RepeatDirection.Horizontal, RepeatLayout.Flow, false, false, false, true);
  5779. 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>";
  5780. Assert.AreEqual (exp, v, "#307");
  5781. }
  5782. [Test]
  5783. public void RepeatInfo_3cols_9itms_horiz_flow_sep ()
  5784. {
  5785. // cols : 3
  5786. // cnt : 9
  5787. // RepeatDirection : Horizontal
  5788. // RepeatLayout : Flow
  5789. // OuterTableImplied : False
  5790. // Header : False
  5791. // Footer : False
  5792. // Separator : True
  5793. string v = RepeatInfoUser.DoTest (3, 9, RepeatDirection.Horizontal, RepeatLayout.Flow, false, false, false, true);
  5794. 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>";
  5795. Assert.AreEqual (exp, v, "#308");
  5796. }
  5797. [Test]
  5798. public void RepeatInfo_3cols_7itms_horiz_flow_sep ()
  5799. {
  5800. // cols : 3
  5801. // cnt : 7
  5802. // RepeatDirection : Horizontal
  5803. // RepeatLayout : Flow
  5804. // OuterTableImplied : False
  5805. // Header : False
  5806. // Footer : False
  5807. // Separator : True
  5808. string v = RepeatInfoUser.DoTest (3, 7, RepeatDirection.Horizontal, RepeatLayout.Flow, false, false, false, true);
  5809. 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>";
  5810. Assert.AreEqual (exp, v, "#309");
  5811. }
  5812. [Test]
  5813. public void RepeatInfo_0cols_0itms_vert_flow_sep ()
  5814. {
  5815. // cols : 0
  5816. // cnt : 0
  5817. // RepeatDirection : Vertical
  5818. // RepeatLayout : Flow
  5819. // OuterTableImplied : False
  5820. // Header : False
  5821. // Footer : False
  5822. // Separator : True
  5823. string v = RepeatInfoUser.DoTest (0, 0, RepeatDirection.Vertical, RepeatLayout.Flow, false, false, false, true);
  5824. string exp = @"<span class=""mainstyle""></span>";
  5825. Assert.AreEqual (exp, v, "#310");
  5826. }
  5827. [Test]
  5828. public void RepeatInfo_0cols_1itms_vert_flow_sep ()
  5829. {
  5830. // cols : 0
  5831. // cnt : 1
  5832. // RepeatDirection : Vertical
  5833. // RepeatLayout : Flow
  5834. // OuterTableImplied : False
  5835. // Header : False
  5836. // Footer : False
  5837. // Separator : True
  5838. string v = RepeatInfoUser.DoTest (0, 1, RepeatDirection.Vertical, RepeatLayout.Flow, false, false, false, true);
  5839. string exp = @"<span class=""mainstyle"">(0,Item,0)</span>";
  5840. Assert.AreEqual (exp, v, "#311");
  5841. }
  5842. [Test]
  5843. public void RepeatInfo_0cols_2itms_vert_flow_sep ()
  5844. {
  5845. // cols : 0
  5846. // cnt : 2
  5847. // RepeatDirection : Vertical
  5848. // RepeatLayout : Flow
  5849. // OuterTableImplied : False
  5850. // Header : False
  5851. // Footer : False
  5852. // Separator : True
  5853. string v = RepeatInfoUser.DoTest (0, 2, RepeatDirection.Vertical, RepeatLayout.Flow, false, false, false, true);
  5854. string exp = @"<span class=""mainstyle"">(0,Item,0)<br>(1,Separator,0)<br>(2,Item,1)</span>";
  5855. Assert.AreEqual (exp, v, "#312");
  5856. }
  5857. [Test]
  5858. public void RepeatInfo_0cols_5itms_vert_flow_sep ()
  5859. {
  5860. // cols : 0
  5861. // cnt : 5
  5862. // RepeatDirection : Vertical
  5863. // RepeatLayout : Flow
  5864. // OuterTableImplied : False
  5865. // Header : False
  5866. // Footer : False
  5867. // Separator : True
  5868. string v = RepeatInfoUser.DoTest (0, 5, RepeatDirection.Vertical, RepeatLayout.Flow, false, false, false, true);
  5869. 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>";
  5870. Assert.AreEqual (exp, v, "#313");
  5871. }
  5872. [Test]
  5873. public void RepeatInfo_1cols_0itms_vert_flow_sep ()
  5874. {
  5875. // cols : 1
  5876. // cnt : 0
  5877. // RepeatDirection : Vertical
  5878. // RepeatLayout : Flow
  5879. // OuterTableImplied : False
  5880. // Header : False
  5881. // Footer : False
  5882. // Separator : True
  5883. string v = RepeatInfoUser.DoTest (1, 0, RepeatDirection.Vertical, RepeatLayout.Flow, false, false, false, true);
  5884. string exp = @"<span class=""mainstyle""></span>";
  5885. Assert.AreEqual (exp, v, "#314");
  5886. }
  5887. [Test]
  5888. public void RepeatInfo_1cols_5itms_vert_flow_sep ()
  5889. {
  5890. // cols : 1
  5891. // cnt : 5
  5892. // RepeatDirection : Vertical
  5893. // RepeatLayout : Flow
  5894. // OuterTableImplied : False
  5895. // Header : False
  5896. // Footer : False
  5897. // Separator : True
  5898. string v = RepeatInfoUser.DoTest (1, 5, RepeatDirection.Vertical, RepeatLayout.Flow, false, false, false, true);
  5899. 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>";
  5900. Assert.AreEqual (exp, v, "#315");
  5901. }
  5902. [Test]
  5903. public void RepeatInfo_2cols_4itms_vert_flow_sep ()
  5904. {
  5905. // cols : 2
  5906. // cnt : 4
  5907. // RepeatDirection : Vertical
  5908. // RepeatLayout : Flow
  5909. // OuterTableImplied : False
  5910. // Header : False
  5911. // Footer : False
  5912. // Separator : True
  5913. string v = RepeatInfoUser.DoTest (2, 4, RepeatDirection.Vertical, RepeatLayout.Flow, false, false, false, true);
  5914. 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>";
  5915. Assert.AreEqual (exp, v, "#316");
  5916. }
  5917. [Test]
  5918. public void RepeatInfo_2cols_7itms_vert_flow_sep ()
  5919. {
  5920. // cols : 2
  5921. // cnt : 7
  5922. // RepeatDirection : Vertical
  5923. // RepeatLayout : Flow
  5924. // OuterTableImplied : False
  5925. // Header : False
  5926. // Footer : False
  5927. // Separator : True
  5928. string v = RepeatInfoUser.DoTest (2, 7, RepeatDirection.Vertical, RepeatLayout.Flow, false, false, false, true);
  5929. 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>";
  5930. Assert.AreEqual (exp, v, "#317");
  5931. }
  5932. [Test]
  5933. public void RepeatInfo_3cols_9itms_vert_flow_sep ()
  5934. {
  5935. // cols : 3
  5936. // cnt : 9
  5937. // RepeatDirection : Vertical
  5938. // RepeatLayout : Flow
  5939. // OuterTableImplied : False
  5940. // Header : False
  5941. // Footer : False
  5942. // Separator : True
  5943. string v = RepeatInfoUser.DoTest (3, 9, RepeatDirection.Vertical, RepeatLayout.Flow, false, false, false, true);
  5944. 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>";
  5945. Assert.AreEqual (exp, v, "#318");
  5946. }
  5947. [Test]
  5948. public void RepeatInfo_3cols_7itms_vert_flow_sep ()
  5949. {
  5950. // cols : 3
  5951. // cnt : 7
  5952. // RepeatDirection : Vertical
  5953. // RepeatLayout : Flow
  5954. // OuterTableImplied : False
  5955. // Header : False
  5956. // Footer : False
  5957. // Separator : True
  5958. string v = RepeatInfoUser.DoTest (3, 7, RepeatDirection.Vertical, RepeatLayout.Flow, false, false, false, true);
  5959. 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>";
  5960. Assert.AreEqual (exp, v, "#319");
  5961. }
  5962. [Test]
  5963. public void RepeatInfo_0cols_0itms_horiz_tbl_otrtblimp_hdr_ftr ()
  5964. {
  5965. // cols : 0
  5966. // cnt : 0
  5967. // RepeatDirection : Horizontal
  5968. // RepeatLayout : Table
  5969. // OuterTableImplied : True
  5970. // Header : True
  5971. // Footer : True
  5972. // Separator : False
  5973. string v = RepeatInfoUser.DoTest (0, 0, RepeatDirection.Horizontal, RepeatLayout.Table, true, true, true, false);
  5974. string exp = @"<table class=""mainstyle"" border=""0"">
  5975. <tr>
  5976. <td colspan=""0"" class=""Header-1"">(0,Header,-1)</td>
  5977. </tr><tr>
  5978. <td colspan=""0"" class=""Footer-1"">(1,Footer,-1)</td>
  5979. </tr>
  5980. </table>";
  5981. Assert.AreEqual (exp, v, "#320");
  5982. }
  5983. [Test]
  5984. public void RepeatInfo_0cols_1itms_horiz_tbl_otrtblimp_hdr_ftr ()
  5985. {
  5986. // cols : 0
  5987. // cnt : 1
  5988. // RepeatDirection : Horizontal
  5989. // RepeatLayout : Table
  5990. // OuterTableImplied : True
  5991. // Header : True
  5992. // Footer : True
  5993. // Separator : False
  5994. string v = RepeatInfoUser.DoTest (0, 1, RepeatDirection.Horizontal, RepeatLayout.Table, true, true, true, false);
  5995. string exp = @"<table class=""mainstyle"" border=""0"">
  5996. <tr>
  5997. <td class=""Header-1"">(0,Header,-1)</td>
  5998. </tr><tr>
  5999. <td class=""Item0"">(1,Item,0)</td>
  6000. </tr><tr>
  6001. <td class=""Footer-1"">(2,Footer,-1)</td>
  6002. </tr>
  6003. </table>";
  6004. Assert.AreEqual (exp, v, "#321");
  6005. }
  6006. [Test]
  6007. public void RepeatInfo_0cols_2itms_horiz_tbl_otrtblimp_hdr_ftr ()
  6008. {
  6009. // cols : 0
  6010. // cnt : 2
  6011. // RepeatDirection : Horizontal
  6012. // RepeatLayout : Table
  6013. // OuterTableImplied : True
  6014. // Header : True
  6015. // Footer : True
  6016. // Separator : False
  6017. string v = RepeatInfoUser.DoTest (0, 2, RepeatDirection.Horizontal, RepeatLayout.Table, true, true, true, false);
  6018. string exp = @"<table class=""mainstyle"" border=""0"">
  6019. <tr>
  6020. <td colspan=""2"" class=""Header-1"">(0,Header,-1)</td>
  6021. </tr><tr>
  6022. <td class=""Item0"">(1,Item,0)</td><td class=""Item1"">(2,Item,1)</td>
  6023. </tr><tr>
  6024. <td colspan=""2"" class=""Footer-1"">(3,Footer,-1)</td>
  6025. </tr>
  6026. </table>";
  6027. Assert.AreEqual (exp, v, "#322");
  6028. }
  6029. [Test]
  6030. public void RepeatInfo_0cols_5itms_horiz_tbl_otrtblimp_hdr_ftr ()
  6031. {
  6032. // cols : 0
  6033. // cnt : 5
  6034. // RepeatDirection : Horizontal
  6035. // RepeatLayout : Table
  6036. // OuterTableImplied : True
  6037. // Header : True
  6038. // Footer : True
  6039. // Separator : False
  6040. string v = RepeatInfoUser.DoTest (0, 5, RepeatDirection.Horizontal, RepeatLayout.Table, true, true, true, false);
  6041. string exp = @"<table class=""mainstyle"" border=""0"">
  6042. <tr>
  6043. <td colspan=""5"" class=""Header-1"">(0,Header,-1)</td>
  6044. </tr><tr>
  6045. <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>
  6046. </tr><tr>
  6047. <td colspan=""5"" class=""Footer-1"">(6,Footer,-1)</td>
  6048. </tr>
  6049. </table>";
  6050. Assert.AreEqual (exp, v, "#323");
  6051. }
  6052. [Test]
  6053. public void RepeatInfo_1cols_0itms_horiz_tbl_otrtblimp_hdr_ftr ()
  6054. {
  6055. // cols : 1
  6056. // cnt : 0
  6057. // RepeatDirection : Horizontal
  6058. // RepeatLayout : Table
  6059. // OuterTableImplied : True
  6060. // Header : True
  6061. // Footer : True
  6062. // Separator : False
  6063. string v = RepeatInfoUser.DoTest (1, 0, RepeatDirection.Horizontal, RepeatLayout.Table, true, true, true, false);
  6064. string exp = @"<table class=""mainstyle"" border=""0"">
  6065. <tr>
  6066. <td class=""Header-1"">(0,Header,-1)</td>
  6067. </tr><tr>
  6068. <td class=""Footer-1"">(1,Footer,-1)</td>
  6069. </tr>
  6070. </table>";
  6071. Assert.AreEqual (exp, v, "#324");
  6072. }
  6073. [Test]
  6074. public void RepeatInfo_1cols_5itms_horiz_tbl_otrtblimp_hdr_ftr ()
  6075. {
  6076. // cols : 1
  6077. // cnt : 5
  6078. // RepeatDirection : Horizontal
  6079. // RepeatLayout : Table
  6080. // OuterTableImplied : True
  6081. // Header : True
  6082. // Footer : True
  6083. // Separator : False
  6084. string v = RepeatInfoUser.DoTest (1, 5, RepeatDirection.Horizontal, RepeatLayout.Table, true, true, true, false);
  6085. string exp = @"<table class=""mainstyle"" border=""0"">
  6086. <tr>
  6087. <td class=""Header-1"">(0,Header,-1)</td>
  6088. </tr><tr>
  6089. <td class=""Item0"">(1,Item,0)</td>
  6090. </tr><tr>
  6091. <td class=""Item1"">(2,Item,1)</td>
  6092. </tr><tr>
  6093. <td class=""Item2"">(3,Item,2)</td>
  6094. </tr><tr>
  6095. <td class=""Item3"">(4,Item,3)</td>
  6096. </tr><tr>
  6097. <td class=""Item4"">(5,Item,4)</td>
  6098. </tr><tr>
  6099. <td class=""Footer-1"">(6,Footer,-1)</td>
  6100. </tr>
  6101. </table>";
  6102. Assert.AreEqual (exp, v, "#325");
  6103. }
  6104. [Test]
  6105. public void RepeatInfo_2cols_4itms_horiz_tbl_otrtblimp_hdr_ftr ()
  6106. {
  6107. // cols : 2
  6108. // cnt : 4
  6109. // RepeatDirection : Horizontal
  6110. // RepeatLayout : Table
  6111. // OuterTableImplied : True
  6112. // Header : True
  6113. // Footer : True
  6114. // Separator : False
  6115. string v = RepeatInfoUser.DoTest (2, 4, RepeatDirection.Horizontal, RepeatLayout.Table, true, true, true, false);
  6116. string exp = @"<table class=""mainstyle"" border=""0"">
  6117. <tr>
  6118. <td colspan=""2"" class=""Header-1"">(0,Header,-1)</td>
  6119. </tr><tr>
  6120. <td class=""Item0"">(1,Item,0)</td><td class=""Item1"">(2,Item,1)</td>
  6121. </tr><tr>
  6122. <td class=""Item2"">(3,Item,2)</td><td class=""Item3"">(4,Item,3)</td>
  6123. </tr><tr>
  6124. <td colspan=""2"" class=""Footer-1"">(5,Footer,-1)</td>
  6125. </tr>
  6126. </table>";
  6127. Assert.AreEqual (exp, v, "#326");
  6128. }
  6129. [Test]
  6130. public void RepeatInfo_2cols_7itms_horiz_tbl_otrtblimp_hdr_ftr ()
  6131. {
  6132. // cols : 2
  6133. // cnt : 7
  6134. // RepeatDirection : Horizontal
  6135. // RepeatLayout : Table
  6136. // OuterTableImplied : True
  6137. // Header : True
  6138. // Footer : True
  6139. // Separator : False
  6140. string v = RepeatInfoUser.DoTest (2, 7, RepeatDirection.Horizontal, RepeatLayout.Table, true, true, true, false);
  6141. string exp = @"<table class=""mainstyle"" border=""0"">
  6142. <tr>
  6143. <td colspan=""2"" class=""Header-1"">(0,Header,-1)</td>
  6144. </tr><tr>
  6145. <td class=""Item0"">(1,Item,0)</td><td class=""Item1"">(2,Item,1)</td>
  6146. </tr><tr>
  6147. <td class=""Item2"">(3,Item,2)</td><td class=""Item3"">(4,Item,3)</td>
  6148. </tr><tr>
  6149. <td class=""Item4"">(5,Item,4)</td><td class=""Item5"">(6,Item,5)</td>
  6150. </tr><tr>
  6151. <td class=""Item6"">(7,Item,6)</td>
  6152. </tr><tr>
  6153. <td colspan=""2"" class=""Footer-1"">(8,Footer,-1)</td>
  6154. </tr>
  6155. </table>";
  6156. Assert.AreEqual (exp, v, "#327");
  6157. }
  6158. [Test]
  6159. public void RepeatInfo_3cols_9itms_horiz_tbl_otrtblimp_hdr_ftr ()
  6160. {
  6161. // cols : 3
  6162. // cnt : 9
  6163. // RepeatDirection : Horizontal
  6164. // RepeatLayout : Table
  6165. // OuterTableImplied : True
  6166. // Header : True
  6167. // Footer : True
  6168. // Separator : False
  6169. string v = RepeatInfoUser.DoTest (3, 9, RepeatDirection.Horizontal, RepeatLayout.Table, true, true, true, false);
  6170. string exp = @"<table border=""0"">
  6171. <tr>
  6172. <td colspan=""3"" class=""Header-1"">(0,Header,-1)</td>
  6173. </tr><tr>
  6174. <td class=""Item0"">(1,Item,0)</td><td class=""Item1"">(2,Item,1)</td><td class=""Item2"">(3,Item,2)</td>
  6175. </tr><tr>
  6176. <td class=""Item3"">(4,Item,3)</td><td class=""Item4"">(5,Item,4)</td><td class=""Item5"">(6,Item,5)</td>
  6177. </tr><tr>
  6178. <td class=""Item6"">(7,Item,6)</td><td class=""Item7"">(8,Item,7)</td><td class=""Item8"">(9,Item,8)</td>
  6179. </tr><tr>
  6180. <td colspan=""3"" class=""Footer-1"">(10,Footer,-1)</td>
  6181. </tr>
  6182. </table>";
  6183. Assert.AreEqual (exp, v, "#328");
  6184. }
  6185. [Test]
  6186. public void RepeatInfo_3cols_7itms_horiz_tbl_otrtblimp_hdr_ftr ()
  6187. {
  6188. // cols : 3
  6189. // cnt : 7
  6190. // RepeatDirection : Horizontal
  6191. // RepeatLayout : Table
  6192. // OuterTableImplied : True
  6193. // Header : True
  6194. // Footer : True
  6195. // Separator : False
  6196. string v = RepeatInfoUser.DoTest (3, 7, RepeatDirection.Horizontal, RepeatLayout.Table, true, true, true, false);
  6197. string exp = @"<table border=""0"">
  6198. <tr>
  6199. <td colspan=""3"" class=""Header-1"">(0,Header,-1)</td>
  6200. </tr><tr>
  6201. <td class=""Item0"">(1,Item,0)</td><td class=""Item1"">(2,Item,1)</td><td class=""Item2"">(3,Item,2)</td>
  6202. </tr><tr>
  6203. <td class=""Item3"">(4,Item,3)</td><td class=""Item4"">(5,Item,4)</td><td class=""Item5"">(6,Item,5)</td>
  6204. </tr><tr>
  6205. <td class=""Item6"">(7,Item,6)</td>
  6206. </tr><tr>
  6207. <td colspan=""3"" class=""Footer-1"">(8,Footer,-1)</td>
  6208. </tr>
  6209. </table>";
  6210. Assert.AreEqual (exp, v, "#329");
  6211. }
  6212. [Test]
  6213. public void RepeatInfo_0cols_0itms_vert_tbl_otrtblimp_hdr_ftr ()
  6214. {
  6215. // cols : 0
  6216. // cnt : 0
  6217. // RepeatDirection : Vertical
  6218. // RepeatLayout : Table
  6219. // OuterTableImplied : True
  6220. // Header : True
  6221. // Footer : True
  6222. // Separator : False
  6223. string v = RepeatInfoUser.DoTest (0, 0, RepeatDirection.Vertical, RepeatLayout.Table, true, true, true, false);
  6224. string exp = @"(0,Header,-1)(1,Footer,-1)";
  6225. Assert.AreEqual (exp, v, "#330");
  6226. }
  6227. [Test]
  6228. public void RepeatInfo_0cols_1itms_vert_tbl_otrtblimp_hdr_ftr ()
  6229. {
  6230. // cols : 0
  6231. // cnt : 1
  6232. // RepeatDirection : Vertical
  6233. // RepeatLayout : Table
  6234. // OuterTableImplied : True
  6235. // Header : True
  6236. // Footer : True
  6237. // Separator : False
  6238. string v = RepeatInfoUser.DoTest (0, 1, RepeatDirection.Vertical, RepeatLayout.Table, true, true, true, false);
  6239. string exp = @"(0,Header,-1)(1,Item,0)(2,Footer,-1)";
  6240. Assert.AreEqual (exp, v, "#331");
  6241. }
  6242. [Test]
  6243. public void RepeatInfo_0cols_2itms_vert_tbl_otrtblimp_hdr_ftr ()
  6244. {
  6245. // cols : 0
  6246. // cnt : 2
  6247. // RepeatDirection : Vertical
  6248. // RepeatLayout : Table
  6249. // OuterTableImplied : True
  6250. // Header : True
  6251. // Footer : True
  6252. // Separator : False
  6253. string v = RepeatInfoUser.DoTest (0, 2, RepeatDirection.Vertical, RepeatLayout.Table, true, true, true, false);
  6254. string exp = @"(0,Header,-1)(1,Item,0)(2,Item,1)(3,Footer,-1)";
  6255. Assert.AreEqual (exp, v, "#332");
  6256. }
  6257. [Test]
  6258. public void RepeatInfo_0cols_5itms_vert_tbl_otrtblimp_hdr_ftr ()
  6259. {
  6260. // cols : 0
  6261. // cnt : 5
  6262. // RepeatDirection : Vertical
  6263. // RepeatLayout : Table
  6264. // OuterTableImplied : True
  6265. // Header : True
  6266. // Footer : True
  6267. // Separator : False
  6268. string v = RepeatInfoUser.DoTest (0, 5, RepeatDirection.Vertical, RepeatLayout.Table, true, true, true, false);
  6269. string exp = @"(0,Header,-1)(1,Item,0)(2,Item,1)(3,Item,2)(4,Item,3)(5,Item,4)(6,Footer,-1)";
  6270. Assert.AreEqual (exp, v, "#333");
  6271. }
  6272. [Test]
  6273. public void RepeatInfo_1cols_0itms_vert_tbl_otrtblimp_hdr_ftr ()
  6274. {
  6275. // cols : 1
  6276. // cnt : 0
  6277. // RepeatDirection : Vertical
  6278. // RepeatLayout : Table
  6279. // OuterTableImplied : True
  6280. // Header : True
  6281. // Footer : True
  6282. // Separator : False
  6283. string v = RepeatInfoUser.DoTest (1, 0, RepeatDirection.Vertical, RepeatLayout.Table, true, true, true, false);
  6284. string exp = @"(0,Header,-1)(1,Footer,-1)";
  6285. Assert.AreEqual (exp, v, "#334");
  6286. }
  6287. [Test]
  6288. public void RepeatInfo_1cols_5itms_vert_tbl_otrtblimp_hdr_ftr ()
  6289. {
  6290. // cols : 1
  6291. // cnt : 5
  6292. // RepeatDirection : Vertical
  6293. // RepeatLayout : Table
  6294. // OuterTableImplied : True
  6295. // Header : True
  6296. // Footer : True
  6297. // Separator : False
  6298. string v = RepeatInfoUser.DoTest (1, 5, RepeatDirection.Vertical, RepeatLayout.Table, true, true, true, false);
  6299. string exp = @"(0,Header,-1)(1,Item,0)(2,Item,1)(3,Item,2)(4,Item,3)(5,Item,4)(6,Footer,-1)";
  6300. Assert.AreEqual (exp, v, "#335");
  6301. }
  6302. [Test]
  6303. public void RepeatInfo_2cols_4itms_vert_tbl_otrtblimp_hdr_ftr ()
  6304. {
  6305. // cols : 2
  6306. // cnt : 4
  6307. // RepeatDirection : Vertical
  6308. // RepeatLayout : Table
  6309. // OuterTableImplied : True
  6310. // Header : True
  6311. // Footer : True
  6312. // Separator : False
  6313. string v = RepeatInfoUser.DoTest (2, 4, RepeatDirection.Vertical, RepeatLayout.Table, true, true, true, false);
  6314. string exp = @"(0,Header,-1)(1,Item,0)(2,Item,2)(3,Item,1)(4,Item,3)(5,Footer,-1)";
  6315. Assert.AreEqual (exp, v, "#336");
  6316. }
  6317. [Test]
  6318. public void RepeatInfo_2cols_7itms_vert_tbl_otrtblimp_hdr_ftr ()
  6319. {
  6320. // cols : 2
  6321. // cnt : 7
  6322. // RepeatDirection : Vertical
  6323. // RepeatLayout : Table
  6324. // OuterTableImplied : True
  6325. // Header : True
  6326. // Footer : True
  6327. // Separator : False
  6328. string v = RepeatInfoUser.DoTest (2, 7, RepeatDirection.Vertical, RepeatLayout.Table, true, true, true, false);
  6329. 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)";
  6330. Assert.AreEqual (exp, v, "#337");
  6331. }
  6332. [Test]
  6333. public void RepeatInfo_3cols_9itms_vert_tbl_otrtblimp_hdr_ftr ()
  6334. {
  6335. // cols : 3
  6336. // cnt : 9
  6337. // RepeatDirection : Vertical
  6338. // RepeatLayout : Table
  6339. // OuterTableImplied : True
  6340. // Header : True
  6341. // Footer : True
  6342. // Separator : False
  6343. string v = RepeatInfoUser.DoTest (3, 9, RepeatDirection.Vertical, RepeatLayout.Table, true, true, true, false);
  6344. 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)";
  6345. Assert.AreEqual (exp, v, "#338");
  6346. }
  6347. [Test]
  6348. public void RepeatInfo_3cols_7itms_vert_tbl_otrtblimp_hdr_ftr ()
  6349. {
  6350. // cols : 3
  6351. // cnt : 7
  6352. // RepeatDirection : Vertical
  6353. // RepeatLayout : Table
  6354. // OuterTableImplied : True
  6355. // Header : True
  6356. // Footer : True
  6357. // Separator : False
  6358. string v = RepeatInfoUser.DoTest (3, 7, RepeatDirection.Vertical, RepeatLayout.Table, true, true, true, false);
  6359. 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)";
  6360. Assert.AreEqual (exp, v, "#339");
  6361. }
  6362. [Test]
  6363. public void RepeatInfo_0cols_0itms_horiz_flow_otrtblimp_hdr_ftr ()
  6364. {
  6365. // cols : 0
  6366. // cnt : 0
  6367. // RepeatDirection : Horizontal
  6368. // RepeatLayout : Flow
  6369. // OuterTableImplied : True
  6370. // Header : True
  6371. // Footer : True
  6372. // Separator : False
  6373. string v = RepeatInfoUser.DoTest (0, 0, RepeatDirection.Horizontal, RepeatLayout.Flow, true, true, true, false);
  6374. string exp = @"<span class=""mainstyle"">(0,Header,-1)(1,Footer,-1)</span>";
  6375. Assert.AreEqual (exp, v, "#340");
  6376. }
  6377. [Test]
  6378. public void RepeatInfo_0cols_1itms_horiz_flow_otrtblimp_hdr_ftr ()
  6379. {
  6380. // cols : 0
  6381. // cnt : 1
  6382. // RepeatDirection : Horizontal
  6383. // RepeatLayout : Flow
  6384. // OuterTableImplied : True
  6385. // Header : True
  6386. // Footer : True
  6387. // Separator : False
  6388. string v = RepeatInfoUser.DoTest (0, 1, RepeatDirection.Horizontal, RepeatLayout.Flow, true, true, true, false);
  6389. string exp = @"<span class=""mainstyle"">(0,Header,-1)(1,Item,0)(2,Footer,-1)</span>";
  6390. Assert.AreEqual (exp, v, "#341");
  6391. }
  6392. [Test]
  6393. public void RepeatInfo_0cols_2itms_horiz_flow_otrtblimp_hdr_ftr ()
  6394. {
  6395. // cols : 0
  6396. // cnt : 2
  6397. // RepeatDirection : Horizontal
  6398. // RepeatLayout : Flow
  6399. // OuterTableImplied : True
  6400. // Header : True
  6401. // Footer : True
  6402. // Separator : False
  6403. string v = RepeatInfoUser.DoTest (0, 2, RepeatDirection.Horizontal, RepeatLayout.Flow, true, true, true, false);
  6404. string exp = @"<span class=""mainstyle"">(0,Header,-1)(1,Item,0)(2,Item,1)(3,Footer,-1)</span>";
  6405. Assert.AreEqual (exp, v, "#342");
  6406. }
  6407. [Test]
  6408. public void RepeatInfo_0cols_5itms_horiz_flow_otrtblimp_hdr_ftr ()
  6409. {
  6410. // cols : 0
  6411. // cnt : 5
  6412. // RepeatDirection : Horizontal
  6413. // RepeatLayout : Flow
  6414. // OuterTableImplied : True
  6415. // Header : True
  6416. // Footer : True
  6417. // Separator : False
  6418. string v = RepeatInfoUser.DoTest (0, 5, RepeatDirection.Horizontal, RepeatLayout.Flow, true, true, true, false);
  6419. 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>";
  6420. Assert.AreEqual (exp, v, "#343");
  6421. }
  6422. [Test]
  6423. public void RepeatInfo_1cols_0itms_horiz_flow_otrtblimp_hdr_ftr ()
  6424. {
  6425. // cols : 1
  6426. // cnt : 0
  6427. // RepeatDirection : Horizontal
  6428. // RepeatLayout : Flow
  6429. // OuterTableImplied : True
  6430. // Header : True
  6431. // Footer : True
  6432. // Separator : False
  6433. string v = RepeatInfoUser.DoTest (1, 0, RepeatDirection.Horizontal, RepeatLayout.Flow, true, true, true, false);
  6434. string exp = @"<span class=""mainstyle"">(0,Header,-1)(1,Footer,-1)</span>";
  6435. Assert.AreEqual (exp, v, "#344");
  6436. }
  6437. [Test]
  6438. public void RepeatInfo_1cols_5itms_horiz_flow_otrtblimp_hdr_ftr ()
  6439. {
  6440. // cols : 1
  6441. // cnt : 5
  6442. // RepeatDirection : Horizontal
  6443. // RepeatLayout : Flow
  6444. // OuterTableImplied : True
  6445. // Header : True
  6446. // Footer : True
  6447. // Separator : False
  6448. string v = RepeatInfoUser.DoTest (1, 5, RepeatDirection.Horizontal, RepeatLayout.Flow, true, true, true, false);
  6449. 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>";
  6450. Assert.AreEqual (exp, v, "#345");
  6451. }
  6452. [Test]
  6453. public void RepeatInfo_2cols_4itms_horiz_flow_otrtblimp_hdr_ftr ()
  6454. {
  6455. // cols : 2
  6456. // cnt : 4
  6457. // RepeatDirection : Horizontal
  6458. // RepeatLayout : Flow
  6459. // OuterTableImplied : True
  6460. // Header : True
  6461. // Footer : True
  6462. // Separator : False
  6463. string v = RepeatInfoUser.DoTest (2, 4, RepeatDirection.Horizontal, RepeatLayout.Flow, true, true, true, false);
  6464. 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>";
  6465. Assert.AreEqual (exp, v, "#346");
  6466. }
  6467. [Test]
  6468. public void RepeatInfo_2cols_7itms_horiz_flow_otrtblimp_hdr_ftr ()
  6469. {
  6470. // cols : 2
  6471. // cnt : 7
  6472. // RepeatDirection : Horizontal
  6473. // RepeatLayout : Flow
  6474. // OuterTableImplied : True
  6475. // Header : True
  6476. // Footer : True
  6477. // Separator : False
  6478. string v = RepeatInfoUser.DoTest (2, 7, RepeatDirection.Horizontal, RepeatLayout.Flow, true, true, true, false);
  6479. 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>";
  6480. Assert.AreEqual (exp, v, "#347");
  6481. }
  6482. [Test]
  6483. public void RepeatInfo_3cols_9itms_horiz_flow_otrtblimp_hdr_ftr ()
  6484. {
  6485. // cols : 3
  6486. // cnt : 9
  6487. // RepeatDirection : Horizontal
  6488. // RepeatLayout : Flow
  6489. // OuterTableImplied : True
  6490. // Header : True
  6491. // Footer : True
  6492. // Separator : False
  6493. string v = RepeatInfoUser.DoTest (3, 9, RepeatDirection.Horizontal, RepeatLayout.Flow, true, true, true, false);
  6494. 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>";
  6495. Assert.AreEqual (exp, v, "#348");
  6496. }
  6497. [Test]
  6498. public void RepeatInfo_3cols_7itms_horiz_flow_otrtblimp_hdr_ftr ()
  6499. {
  6500. // cols : 3
  6501. // cnt : 7
  6502. // RepeatDirection : Horizontal
  6503. // RepeatLayout : Flow
  6504. // OuterTableImplied : True
  6505. // Header : True
  6506. // Footer : True
  6507. // Separator : False
  6508. string v = RepeatInfoUser.DoTest (3, 7, RepeatDirection.Horizontal, RepeatLayout.Flow, true, true, true, false);
  6509. 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>";
  6510. Assert.AreEqual (exp, v, "#349");
  6511. }
  6512. [Test]
  6513. public void RepeatInfo_0cols_0itms_vert_flow_otrtblimp_hdr_ftr ()
  6514. {
  6515. // cols : 0
  6516. // cnt : 0
  6517. // RepeatDirection : Vertical
  6518. // RepeatLayout : Flow
  6519. // OuterTableImplied : True
  6520. // Header : True
  6521. // Footer : True
  6522. // Separator : False
  6523. string v = RepeatInfoUser.DoTest (0, 0, RepeatDirection.Vertical, RepeatLayout.Flow, true, true, true, false);
  6524. string exp = @"(0,Header,-1)(1,Footer,-1)";
  6525. Assert.AreEqual (exp, v, "#350");
  6526. }
  6527. [Test]
  6528. public void RepeatInfo_0cols_1itms_vert_flow_otrtblimp_hdr_ftr ()
  6529. {
  6530. // cols : 0
  6531. // cnt : 1
  6532. // RepeatDirection : Vertical
  6533. // RepeatLayout : Flow
  6534. // OuterTableImplied : True
  6535. // Header : True
  6536. // Footer : True
  6537. // Separator : False
  6538. string v = RepeatInfoUser.DoTest (0, 1, RepeatDirection.Vertical, RepeatLayout.Flow, true, true, true, false);
  6539. string exp = @"(0,Header,-1)(1,Item,0)(2,Footer,-1)";
  6540. Assert.AreEqual (exp, v, "#351");
  6541. }
  6542. [Test]
  6543. public void RepeatInfo_0cols_2itms_vert_flow_otrtblimp_hdr_ftr ()
  6544. {
  6545. // cols : 0
  6546. // cnt : 2
  6547. // RepeatDirection : Vertical
  6548. // RepeatLayout : Flow
  6549. // OuterTableImplied : True
  6550. // Header : True
  6551. // Footer : True
  6552. // Separator : False
  6553. string v = RepeatInfoUser.DoTest (0, 2, RepeatDirection.Vertical, RepeatLayout.Flow, true, true, true, false);
  6554. string exp = @"(0,Header,-1)(1,Item,0)(2,Item,1)(3,Footer,-1)";
  6555. Assert.AreEqual (exp, v, "#352");
  6556. }
  6557. [Test]
  6558. public void RepeatInfo_0cols_5itms_vert_flow_otrtblimp_hdr_ftr ()
  6559. {
  6560. // cols : 0
  6561. // cnt : 5
  6562. // RepeatDirection : Vertical
  6563. // RepeatLayout : Flow
  6564. // OuterTableImplied : True
  6565. // Header : True
  6566. // Footer : True
  6567. // Separator : False
  6568. string v = RepeatInfoUser.DoTest (0, 5, RepeatDirection.Vertical, RepeatLayout.Flow, true, true, true, false);
  6569. string exp = @"(0,Header,-1)(1,Item,0)(2,Item,1)(3,Item,2)(4,Item,3)(5,Item,4)(6,Footer,-1)";
  6570. Assert.AreEqual (exp, v, "#353");
  6571. }
  6572. [Test]
  6573. public void RepeatInfo_1cols_0itms_vert_flow_otrtblimp_hdr_ftr ()
  6574. {
  6575. // cols : 1
  6576. // cnt : 0
  6577. // RepeatDirection : Vertical
  6578. // RepeatLayout : Flow
  6579. // OuterTableImplied : True
  6580. // Header : True
  6581. // Footer : True
  6582. // Separator : False
  6583. string v = RepeatInfoUser.DoTest (1, 0, RepeatDirection.Vertical, RepeatLayout.Flow, true, true, true, false);
  6584. string exp = @"(0,Header,-1)(1,Footer,-1)";
  6585. Assert.AreEqual (exp, v, "#354");
  6586. }
  6587. [Test]
  6588. public void RepeatInfo_1cols_5itms_vert_flow_otrtblimp_hdr_ftr ()
  6589. {
  6590. // cols : 1
  6591. // cnt : 5
  6592. // RepeatDirection : Vertical
  6593. // RepeatLayout : Flow
  6594. // OuterTableImplied : True
  6595. // Header : True
  6596. // Footer : True
  6597. // Separator : False
  6598. string v = RepeatInfoUser.DoTest (1, 5, RepeatDirection.Vertical, RepeatLayout.Flow, true, true, true, false);
  6599. string exp = @"(0,Header,-1)(1,Item,0)(2,Item,1)(3,Item,2)(4,Item,3)(5,Item,4)(6,Footer,-1)";
  6600. Assert.AreEqual (exp, v, "#355");
  6601. }
  6602. [Test]
  6603. public void RepeatInfo_2cols_4itms_vert_flow_otrtblimp_hdr_ftr ()
  6604. {
  6605. // cols : 2
  6606. // cnt : 4
  6607. // RepeatDirection : Vertical
  6608. // RepeatLayout : Flow
  6609. // OuterTableImplied : True
  6610. // Header : True
  6611. // Footer : True
  6612. // Separator : False
  6613. string v = RepeatInfoUser.DoTest (2, 4, RepeatDirection.Vertical, RepeatLayout.Flow, true, true, true, false);
  6614. string exp = @"(0,Header,-1)(1,Item,0)(2,Item,2)(3,Item,1)(4,Item,3)(5,Footer,-1)";
  6615. Assert.AreEqual (exp, v, "#356");
  6616. }
  6617. [Test]
  6618. public void RepeatInfo_2cols_7itms_vert_flow_otrtblimp_hdr_ftr ()
  6619. {
  6620. // cols : 2
  6621. // cnt : 7
  6622. // RepeatDirection : Vertical
  6623. // RepeatLayout : Flow
  6624. // OuterTableImplied : True
  6625. // Header : True
  6626. // Footer : True
  6627. // Separator : False
  6628. string v = RepeatInfoUser.DoTest (2, 7, RepeatDirection.Vertical, RepeatLayout.Flow, true, true, true, false);
  6629. 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)";
  6630. Assert.AreEqual (exp, v, "#357");
  6631. }
  6632. [Test]
  6633. public void RepeatInfo_3cols_9itms_vert_flow_otrtblimp_hdr_ftr ()
  6634. {
  6635. // cols : 3
  6636. // cnt : 9
  6637. // RepeatDirection : Vertical
  6638. // RepeatLayout : Flow
  6639. // OuterTableImplied : True
  6640. // Header : True
  6641. // Footer : True
  6642. // Separator : False
  6643. string v = RepeatInfoUser.DoTest (3, 9, RepeatDirection.Vertical, RepeatLayout.Flow, true, true, true, false);
  6644. 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)";
  6645. Assert.AreEqual (exp, v, "#358");
  6646. }
  6647. [Test]
  6648. public void RepeatInfo_3cols_7itms_vert_flow_otrtblimp_hdr_ftr ()
  6649. {
  6650. // cols : 3
  6651. // cnt : 7
  6652. // RepeatDirection : Vertical
  6653. // RepeatLayout : Flow
  6654. // OuterTableImplied : True
  6655. // Header : True
  6656. // Footer : True
  6657. // Separator : False
  6658. string v = RepeatInfoUser.DoTest (3, 7, RepeatDirection.Vertical, RepeatLayout.Flow, true, true, true, false);
  6659. 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)";
  6660. Assert.AreEqual (exp, v, "#359");
  6661. }
  6662. [Test]
  6663. public void RepeatInfo_0cols_0itms_horiz_tbl_hdr_ftr ()
  6664. {
  6665. // cols : 0
  6666. // cnt : 0
  6667. // RepeatDirection : Horizontal
  6668. // RepeatLayout : Table
  6669. // OuterTableImplied : False
  6670. // Header : True
  6671. // Footer : True
  6672. // Separator : False
  6673. string v = RepeatInfoUser.DoTest (0, 0, RepeatDirection.Horizontal, RepeatLayout.Table, false, true, true, false);
  6674. string exp = @"<table class=""mainstyle"" border=""0"">
  6675. <tr>
  6676. <td colspan=""0"" class=""Header-1"">(0,Header,-1)</td>
  6677. </tr><tr>
  6678. <td colspan=""0"" class=""Footer-1"">(1,Footer,-1)</td>
  6679. </tr>
  6680. </table>";
  6681. Assert.AreEqual (exp, v, "#360");
  6682. }
  6683. [Test]
  6684. public void RepeatInfo_0cols_1itms_horiz_tbl_hdr_ftr ()
  6685. {
  6686. // cols : 0
  6687. // cnt : 1
  6688. // RepeatDirection : Horizontal
  6689. // RepeatLayout : Table
  6690. // OuterTableImplied : False
  6691. // Header : True
  6692. // Footer : True
  6693. // Separator : False
  6694. string v = RepeatInfoUser.DoTest (0, 1, RepeatDirection.Horizontal, RepeatLayout.Table, false, true, true, false);
  6695. string exp = @"<table class=""mainstyle"" border=""0"">
  6696. <tr>
  6697. <td class=""Header-1"">(0,Header,-1)</td>
  6698. </tr><tr>
  6699. <td class=""Item0"">(1,Item,0)</td>
  6700. </tr><tr>
  6701. <td class=""Footer-1"">(2,Footer,-1)</td>
  6702. </tr>
  6703. </table>";
  6704. Assert.AreEqual (exp, v, "#361");
  6705. }
  6706. [Test]
  6707. public void RepeatInfo_0cols_2itms_horiz_tbl_hdr_ftr ()
  6708. {
  6709. // cols : 0
  6710. // cnt : 2
  6711. // RepeatDirection : Horizontal
  6712. // RepeatLayout : Table
  6713. // OuterTableImplied : False
  6714. // Header : True
  6715. // Footer : True
  6716. // Separator : False
  6717. string v = RepeatInfoUser.DoTest (0, 2, RepeatDirection.Horizontal, RepeatLayout.Table, false, true, true, false);
  6718. string exp = @"<table class=""mainstyle"" border=""0"">
  6719. <tr>
  6720. <td colspan=""2"" class=""Header-1"">(0,Header,-1)</td>
  6721. </tr><tr>
  6722. <td class=""Item0"">(1,Item,0)</td><td class=""Item1"">(2,Item,1)</td>
  6723. </tr><tr>
  6724. <td colspan=""2"" class=""Footer-1"">(3,Footer,-1)</td>
  6725. </tr>
  6726. </table>";
  6727. Assert.AreEqual (exp, v, "#362");
  6728. }
  6729. [Test]
  6730. public void RepeatInfo_0cols_5itms_horiz_tbl_hdr_ftr ()
  6731. {
  6732. // cols : 0
  6733. // cnt : 5
  6734. // RepeatDirection : Horizontal
  6735. // RepeatLayout : Table
  6736. // OuterTableImplied : False
  6737. // Header : True
  6738. // Footer : True
  6739. // Separator : False
  6740. string v = RepeatInfoUser.DoTest (0, 5, RepeatDirection.Horizontal, RepeatLayout.Table, false, true, true, false);
  6741. string exp = @"<table class=""mainstyle"" border=""0"">
  6742. <tr>
  6743. <td colspan=""5"" class=""Header-1"">(0,Header,-1)</td>
  6744. </tr><tr>
  6745. <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>
  6746. </tr><tr>
  6747. <td colspan=""5"" class=""Footer-1"">(6,Footer,-1)</td>
  6748. </tr>
  6749. </table>";
  6750. Assert.AreEqual (exp, v, "#363");
  6751. }
  6752. [Test]
  6753. public void RepeatInfo_1cols_0itms_horiz_tbl_hdr_ftr ()
  6754. {
  6755. // cols : 1
  6756. // cnt : 0
  6757. // RepeatDirection : Horizontal
  6758. // RepeatLayout : Table
  6759. // OuterTableImplied : False
  6760. // Header : True
  6761. // Footer : True
  6762. // Separator : False
  6763. string v = RepeatInfoUser.DoTest (1, 0, RepeatDirection.Horizontal, RepeatLayout.Table, false, true, true, false);
  6764. string exp = @"<table class=""mainstyle"" border=""0"">
  6765. <tr>
  6766. <td class=""Header-1"">(0,Header,-1)</td>
  6767. </tr><tr>
  6768. <td class=""Footer-1"">(1,Footer,-1)</td>
  6769. </tr>
  6770. </table>";
  6771. Assert.AreEqual (exp, v, "#364");
  6772. }
  6773. [Test]
  6774. public void RepeatInfo_1cols_5itms_horiz_tbl_hdr_ftr ()
  6775. {
  6776. // cols : 1
  6777. // cnt : 5
  6778. // RepeatDirection : Horizontal
  6779. // RepeatLayout : Table
  6780. // OuterTableImplied : False
  6781. // Header : True
  6782. // Footer : True
  6783. // Separator : False
  6784. string v = RepeatInfoUser.DoTest (1, 5, RepeatDirection.Horizontal, RepeatLayout.Table, false, true, true, false);
  6785. string exp = @"<table class=""mainstyle"" border=""0"">
  6786. <tr>
  6787. <td class=""Header-1"">(0,Header,-1)</td>
  6788. </tr><tr>
  6789. <td class=""Item0"">(1,Item,0)</td>
  6790. </tr><tr>
  6791. <td class=""Item1"">(2,Item,1)</td>
  6792. </tr><tr>
  6793. <td class=""Item2"">(3,Item,2)</td>
  6794. </tr><tr>
  6795. <td class=""Item3"">(4,Item,3)</td>
  6796. </tr><tr>
  6797. <td class=""Item4"">(5,Item,4)</td>
  6798. </tr><tr>
  6799. <td class=""Footer-1"">(6,Footer,-1)</td>
  6800. </tr>
  6801. </table>";
  6802. Assert.AreEqual (exp, v, "#365");
  6803. }
  6804. [Test]
  6805. public void RepeatInfo_2cols_4itms_horiz_tbl_hdr_ftr ()
  6806. {
  6807. // cols : 2
  6808. // cnt : 4
  6809. // RepeatDirection : Horizontal
  6810. // RepeatLayout : Table
  6811. // OuterTableImplied : False
  6812. // Header : True
  6813. // Footer : True
  6814. // Separator : False
  6815. string v = RepeatInfoUser.DoTest (2, 4, RepeatDirection.Horizontal, RepeatLayout.Table, false, true, true, false);
  6816. string exp = @"<table class=""mainstyle"" border=""0"">
  6817. <tr>
  6818. <td colspan=""2"" class=""Header-1"">(0,Header,-1)</td>
  6819. </tr><tr>
  6820. <td class=""Item0"">(1,Item,0)</td><td class=""Item1"">(2,Item,1)</td>
  6821. </tr><tr>
  6822. <td class=""Item2"">(3,Item,2)</td><td class=""Item3"">(4,Item,3)</td>
  6823. </tr><tr>
  6824. <td colspan=""2"" class=""Footer-1"">(5,Footer,-1)</td>
  6825. </tr>
  6826. </table>";
  6827. Assert.AreEqual (exp, v, "#366");
  6828. }
  6829. [Test]
  6830. public void RepeatInfo_2cols_7itms_horiz_tbl_hdr_ftr ()
  6831. {
  6832. // cols : 2
  6833. // cnt : 7
  6834. // RepeatDirection : Horizontal
  6835. // RepeatLayout : Table
  6836. // OuterTableImplied : False
  6837. // Header : True
  6838. // Footer : True
  6839. // Separator : False
  6840. string v = RepeatInfoUser.DoTest (2, 7, RepeatDirection.Horizontal, RepeatLayout.Table, false, true, true, false);
  6841. string exp = @"<table class=""mainstyle"" border=""0"">
  6842. <tr>
  6843. <td colspan=""2"" class=""Header-1"">(0,Header,-1)</td>
  6844. </tr><tr>
  6845. <td class=""Item0"">(1,Item,0)</td><td class=""Item1"">(2,Item,1)</td>
  6846. </tr><tr>
  6847. <td class=""Item2"">(3,Item,2)</td><td class=""Item3"">(4,Item,3)</td>
  6848. </tr><tr>
  6849. <td class=""Item4"">(5,Item,4)</td><td class=""Item5"">(6,Item,5)</td>
  6850. </tr><tr>
  6851. <td class=""Item6"">(7,Item,6)</td>
  6852. </tr><tr>
  6853. <td colspan=""2"" class=""Footer-1"">(8,Footer,-1)</td>
  6854. </tr>
  6855. </table>";
  6856. Assert.AreEqual (exp, v, "#367");
  6857. }
  6858. [Test]
  6859. public void RepeatInfo_3cols_9itms_horiz_tbl_hdr_ftr ()
  6860. {
  6861. // cols : 3
  6862. // cnt : 9
  6863. // RepeatDirection : Horizontal
  6864. // RepeatLayout : Table
  6865. // OuterTableImplied : False
  6866. // Header : True
  6867. // Footer : True
  6868. // Separator : False
  6869. string v = RepeatInfoUser.DoTest (3, 9, RepeatDirection.Horizontal, RepeatLayout.Table, false, true, true, false);
  6870. string exp = @"<table border=""0"">
  6871. <tr>
  6872. <td colspan=""3"" class=""Header-1"">(0,Header,-1)</td>
  6873. </tr><tr>
  6874. <td class=""Item0"">(1,Item,0)</td><td class=""Item1"">(2,Item,1)</td><td class=""Item2"">(3,Item,2)</td>
  6875. </tr><tr>
  6876. <td class=""Item3"">(4,Item,3)</td><td class=""Item4"">(5,Item,4)</td><td class=""Item5"">(6,Item,5)</td>
  6877. </tr><tr>
  6878. <td class=""Item6"">(7,Item,6)</td><td class=""Item7"">(8,Item,7)</td><td class=""Item8"">(9,Item,8)</td>
  6879. </tr><tr>
  6880. <td colspan=""3"" class=""Footer-1"">(10,Footer,-1)</td>
  6881. </tr>
  6882. </table>";
  6883. Assert.AreEqual (exp, v, "#368");
  6884. }
  6885. [Test]
  6886. public void RepeatInfo_3cols_7itms_horiz_tbl_hdr_ftr ()
  6887. {
  6888. // cols : 3
  6889. // cnt : 7
  6890. // RepeatDirection : Horizontal
  6891. // RepeatLayout : Table
  6892. // OuterTableImplied : False
  6893. // Header : True
  6894. // Footer : True
  6895. // Separator : False
  6896. string v = RepeatInfoUser.DoTest (3, 7, RepeatDirection.Horizontal, RepeatLayout.Table, false, true, true, false);
  6897. string exp = @"<table border=""0"">
  6898. <tr>
  6899. <td colspan=""3"" class=""Header-1"">(0,Header,-1)</td>
  6900. </tr><tr>
  6901. <td class=""Item0"">(1,Item,0)</td><td class=""Item1"">(2,Item,1)</td><td class=""Item2"">(3,Item,2)</td>
  6902. </tr><tr>
  6903. <td class=""Item3"">(4,Item,3)</td><td class=""Item4"">(5,Item,4)</td><td class=""Item5"">(6,Item,5)</td>
  6904. </tr><tr>
  6905. <td class=""Item6"">(7,Item,6)</td>
  6906. </tr><tr>
  6907. <td colspan=""3"" class=""Footer-1"">(8,Footer,-1)</td>
  6908. </tr>
  6909. </table>";
  6910. Assert.AreEqual (exp, v, "#369");
  6911. }
  6912. [Test]
  6913. public void RepeatInfo_0cols_0itms_vert_tbl_hdr_ftr ()
  6914. {
  6915. // cols : 0
  6916. // cnt : 0
  6917. // RepeatDirection : Vertical
  6918. // RepeatLayout : Table
  6919. // OuterTableImplied : False
  6920. // Header : True
  6921. // Footer : True
  6922. // Separator : False
  6923. string v = RepeatInfoUser.DoTest (0, 0, RepeatDirection.Vertical, RepeatLayout.Table, false, true, true, false);
  6924. string exp = @"<table class=""mainstyle"" border=""0"">
  6925. <tr>
  6926. <td class=""Header-1"">(0,Header,-1)</td>
  6927. </tr><tr>
  6928. <td class=""Footer-1"">(1,Footer,-1)</td>
  6929. </tr>
  6930. </table>";
  6931. Assert.AreEqual (exp, v, "#370");
  6932. }
  6933. [Test]
  6934. public void RepeatInfo_0cols_1itms_vert_tbl_hdr_ftr ()
  6935. {
  6936. // cols : 0
  6937. // cnt : 1
  6938. // RepeatDirection : Vertical
  6939. // RepeatLayout : Table
  6940. // OuterTableImplied : False
  6941. // Header : True
  6942. // Footer : True
  6943. // Separator : False
  6944. string v = RepeatInfoUser.DoTest (0, 1, RepeatDirection.Vertical, RepeatLayout.Table, false, true, true, false);
  6945. string exp = @"<table class=""mainstyle"" border=""0"">
  6946. <tr>
  6947. <td class=""Header-1"">(0,Header,-1)</td>
  6948. </tr><tr>
  6949. <td class=""Item0"">(1,Item,0)</td>
  6950. </tr><tr>
  6951. <td class=""Footer-1"">(2,Footer,-1)</td>
  6952. </tr>
  6953. </table>";
  6954. Assert.AreEqual (exp, v, "#371");
  6955. }
  6956. [Test]
  6957. public void RepeatInfo_0cols_2itms_vert_tbl_hdr_ftr ()
  6958. {
  6959. // cols : 0
  6960. // cnt : 2
  6961. // RepeatDirection : Vertical
  6962. // RepeatLayout : Table
  6963. // OuterTableImplied : False
  6964. // Header : True
  6965. // Footer : True
  6966. // Separator : False
  6967. string v = RepeatInfoUser.DoTest (0, 2, RepeatDirection.Vertical, RepeatLayout.Table, false, true, true, false);
  6968. string exp = @"<table class=""mainstyle"" border=""0"">
  6969. <tr>
  6970. <td class=""Header-1"">(0,Header,-1)</td>
  6971. </tr><tr>
  6972. <td class=""Item0"">(1,Item,0)</td>
  6973. </tr><tr>
  6974. <td class=""Item1"">(2,Item,1)</td>
  6975. </tr><tr>
  6976. <td class=""Footer-1"">(3,Footer,-1)</td>
  6977. </tr>
  6978. </table>";
  6979. Assert.AreEqual (exp, v, "#372");
  6980. }
  6981. [Test]
  6982. public void RepeatInfo_0cols_5itms_vert_tbl_hdr_ftr ()
  6983. {
  6984. // cols : 0
  6985. // cnt : 5
  6986. // RepeatDirection : Vertical
  6987. // RepeatLayout : Table
  6988. // OuterTableImplied : False
  6989. // Header : True
  6990. // Footer : True
  6991. // Separator : False
  6992. string v = RepeatInfoUser.DoTest (0, 5, RepeatDirection.Vertical, RepeatLayout.Table, false, true, true, false);
  6993. string exp = @"<table class=""mainstyle"" border=""0"">
  6994. <tr>
  6995. <td class=""Header-1"">(0,Header,-1)</td>
  6996. </tr><tr>
  6997. <td class=""Item0"">(1,Item,0)</td>
  6998. </tr><tr>
  6999. <td class=""Item1"">(2,Item,1)</td>
  7000. </tr><tr>
  7001. <td class=""Item2"">(3,Item,2)</td>
  7002. </tr><tr>
  7003. <td class=""Item3"">(4,Item,3)</td>
  7004. </tr><tr>
  7005. <td class=""Item4"">(5,Item,4)</td>
  7006. </tr><tr>
  7007. <td class=""Footer-1"">(6,Footer,-1)</td>
  7008. </tr>
  7009. </table>";
  7010. Assert.AreEqual (exp, v, "#373");
  7011. }
  7012. [Test]
  7013. public void RepeatInfo_1cols_0itms_vert_tbl_hdr_ftr ()
  7014. {
  7015. // cols : 1
  7016. // cnt : 0
  7017. // RepeatDirection : Vertical
  7018. // RepeatLayout : Table
  7019. // OuterTableImplied : False
  7020. // Header : True
  7021. // Footer : True
  7022. // Separator : False
  7023. string v = RepeatInfoUser.DoTest (1, 0, RepeatDirection.Vertical, RepeatLayout.Table, false, true, true, false);
  7024. string exp = @"<table class=""mainstyle"" border=""0"">
  7025. <tr>
  7026. <td class=""Header-1"">(0,Header,-1)</td>
  7027. </tr><tr>
  7028. <td class=""Footer-1"">(1,Footer,-1)</td>
  7029. </tr>
  7030. </table>";
  7031. Assert.AreEqual (exp, v, "#374");
  7032. }
  7033. [Test]
  7034. public void RepeatInfo_1cols_5itms_vert_tbl_hdr_ftr ()
  7035. {
  7036. // cols : 1
  7037. // cnt : 5
  7038. // RepeatDirection : Vertical
  7039. // RepeatLayout : Table
  7040. // OuterTableImplied : False
  7041. // Header : True
  7042. // Footer : True
  7043. // Separator : False
  7044. string v = RepeatInfoUser.DoTest (1, 5, RepeatDirection.Vertical, RepeatLayout.Table, false, true, true, false);
  7045. string exp = @"<table class=""mainstyle"" border=""0"">
  7046. <tr>
  7047. <td class=""Header-1"">(0,Header,-1)</td>
  7048. </tr><tr>
  7049. <td class=""Item0"">(1,Item,0)</td>
  7050. </tr><tr>
  7051. <td class=""Item1"">(2,Item,1)</td>
  7052. </tr><tr>
  7053. <td class=""Item2"">(3,Item,2)</td>
  7054. </tr><tr>
  7055. <td class=""Item3"">(4,Item,3)</td>
  7056. </tr><tr>
  7057. <td class=""Item4"">(5,Item,4)</td>
  7058. </tr><tr>
  7059. <td class=""Footer-1"">(6,Footer,-1)</td>
  7060. </tr>
  7061. </table>";
  7062. Assert.AreEqual (exp, v, "#375");
  7063. }
  7064. [Test]
  7065. public void RepeatInfo_2cols_4itms_vert_tbl_hdr_ftr ()
  7066. {
  7067. // cols : 2
  7068. // cnt : 4
  7069. // RepeatDirection : Vertical
  7070. // RepeatLayout : Table
  7071. // OuterTableImplied : False
  7072. // Header : True
  7073. // Footer : True
  7074. // Separator : False
  7075. string v = RepeatInfoUser.DoTest (2, 4, RepeatDirection.Vertical, RepeatLayout.Table, false, true, true, false);
  7076. string exp = @"<table class=""mainstyle"" border=""0"">
  7077. <tr>
  7078. <td colspan=""2"" class=""Header-1"">(0,Header,-1)</td>
  7079. </tr><tr>
  7080. <td class=""Item0"">(1,Item,0)</td><td class=""Item2"">(2,Item,2)</td>
  7081. </tr><tr>
  7082. <td class=""Item1"">(3,Item,1)</td><td class=""Item3"">(4,Item,3)</td>
  7083. </tr><tr>
  7084. <td colspan=""2"" class=""Footer-1"">(5,Footer,-1)</td>
  7085. </tr>
  7086. </table>";
  7087. Assert.AreEqual (exp, v, "#376");
  7088. }
  7089. [Test]
  7090. public void RepeatInfo_2cols_7itms_vert_tbl_hdr_ftr ()
  7091. {
  7092. // cols : 2
  7093. // cnt : 7
  7094. // RepeatDirection : Vertical
  7095. // RepeatLayout : Table
  7096. // OuterTableImplied : False
  7097. // Header : True
  7098. // Footer : True
  7099. // Separator : False
  7100. string v = RepeatInfoUser.DoTest (2, 7, RepeatDirection.Vertical, RepeatLayout.Table, false, true, true, false);
  7101. string exp = @"<table class=""mainstyle"" border=""0"">
  7102. <tr>
  7103. <td colspan=""2"" class=""Header-1"">(0,Header,-1)</td>
  7104. </tr><tr>
  7105. <td class=""Item0"">(1,Item,0)</td><td class=""Item4"">(2,Item,4)</td>
  7106. </tr><tr>
  7107. <td class=""Item1"">(3,Item,1)</td><td class=""Item5"">(4,Item,5)</td>
  7108. </tr><tr>
  7109. <td class=""Item2"">(5,Item,2)</td><td class=""Item6"">(6,Item,6)</td>
  7110. </tr><tr>
  7111. <td class=""Item3"">(7,Item,3)</td>
  7112. </tr><tr>
  7113. <td colspan=""2"" class=""Footer-1"">(8,Footer,-1)</td>
  7114. </tr>
  7115. </table>";
  7116. Assert.AreEqual (exp, v, "#377");
  7117. }
  7118. [Test]
  7119. public void RepeatInfo_3cols_9itms_vert_tbl_hdr_ftr ()
  7120. {
  7121. // cols : 3
  7122. // cnt : 9
  7123. // RepeatDirection : Vertical
  7124. // RepeatLayout : Table
  7125. // OuterTableImplied : False
  7126. // Header : True
  7127. // Footer : True
  7128. // Separator : False
  7129. string v = RepeatInfoUser.DoTest (3, 9, RepeatDirection.Vertical, RepeatLayout.Table, false, true, true, false);
  7130. string exp = @"<table border=""0"">
  7131. <tr>
  7132. <td colspan=""3"" class=""Header-1"">(0,Header,-1)</td>
  7133. </tr><tr>
  7134. <td class=""Item0"">(1,Item,0)</td><td class=""Item3"">(2,Item,3)</td><td class=""Item6"">(3,Item,6)</td>
  7135. </tr><tr>
  7136. <td class=""Item1"">(4,Item,1)</td><td class=""Item4"">(5,Item,4)</td><td class=""Item7"">(6,Item,7)</td>
  7137. </tr><tr>
  7138. <td class=""Item2"">(7,Item,2)</td><td class=""Item5"">(8,Item,5)</td><td class=""Item8"">(9,Item,8)</td>
  7139. </tr><tr>
  7140. <td colspan=""3"" class=""Footer-1"">(10,Footer,-1)</td>
  7141. </tr>
  7142. </table>";
  7143. Assert.AreEqual (exp, v, "#378");
  7144. }
  7145. [Test]
  7146. public void RepeatInfo_3cols_7itms_vert_tbl_hdr_ftr ()
  7147. {
  7148. // cols : 3
  7149. // cnt : 7
  7150. // RepeatDirection : Vertical
  7151. // RepeatLayout : Table
  7152. // OuterTableImplied : False
  7153. // Header : True
  7154. // Footer : True
  7155. // Separator : False
  7156. string v = RepeatInfoUser.DoTest (3, 7, RepeatDirection.Vertical, RepeatLayout.Table, false, true, true, false);
  7157. string exp = @"<table border=""0"">
  7158. <tr>
  7159. <td colspan=""3"" class=""Header-1"">(0,Header,-1)</td>
  7160. </tr><tr>
  7161. <td class=""Item0"">(1,Item,0)</td><td class=""Item3"">(2,Item,3)</td><td class=""Item5"">(3,Item,5)</td>
  7162. </tr><tr>
  7163. <td class=""Item1"">(4,Item,1)</td><td class=""Item4"">(5,Item,4)</td><td class=""Item6"">(6,Item,6)</td>
  7164. </tr><tr>
  7165. <td class=""Item2"">(7,Item,2)</td>
  7166. </tr><tr>
  7167. <td colspan=""3"" class=""Footer-1"">(8,Footer,-1)</td>
  7168. </tr>
  7169. </table>";
  7170. Assert.AreEqual (exp, v, "#379");
  7171. }
  7172. [Test]
  7173. public void RepeatInfo_0cols_0itms_horiz_flow_hdr_ftr ()
  7174. {
  7175. // cols : 0
  7176. // cnt : 0
  7177. // RepeatDirection : Horizontal
  7178. // RepeatLayout : Flow
  7179. // OuterTableImplied : False
  7180. // Header : True
  7181. // Footer : True
  7182. // Separator : False
  7183. string v = RepeatInfoUser.DoTest (0, 0, RepeatDirection.Horizontal, RepeatLayout.Flow, false, true, true, false);
  7184. string exp = @"<span class=""mainstyle"">(0,Header,-1)(1,Footer,-1)</span>";
  7185. Assert.AreEqual (exp, v, "#380");
  7186. }
  7187. [Test]
  7188. public void RepeatInfo_0cols_1itms_horiz_flow_hdr_ftr ()
  7189. {
  7190. // cols : 0
  7191. // cnt : 1
  7192. // RepeatDirection : Horizontal
  7193. // RepeatLayout : Flow
  7194. // OuterTableImplied : False
  7195. // Header : True
  7196. // Footer : True
  7197. // Separator : False
  7198. string v = RepeatInfoUser.DoTest (0, 1, RepeatDirection.Horizontal, RepeatLayout.Flow, false, true, true, false);
  7199. string exp = @"<span class=""mainstyle"">(0,Header,-1)(1,Item,0)(2,Footer,-1)</span>";
  7200. Assert.AreEqual (exp, v, "#381");
  7201. }
  7202. [Test]
  7203. public void RepeatInfo_0cols_2itms_horiz_flow_hdr_ftr ()
  7204. {
  7205. // cols : 0
  7206. // cnt : 2
  7207. // RepeatDirection : Horizontal
  7208. // RepeatLayout : Flow
  7209. // OuterTableImplied : False
  7210. // Header : True
  7211. // Footer : True
  7212. // Separator : False
  7213. string v = RepeatInfoUser.DoTest (0, 2, RepeatDirection.Horizontal, RepeatLayout.Flow, false, true, true, false);
  7214. string exp = @"<span class=""mainstyle"">(0,Header,-1)(1,Item,0)(2,Item,1)(3,Footer,-1)</span>";
  7215. Assert.AreEqual (exp, v, "#382");
  7216. }
  7217. [Test]
  7218. public void RepeatInfo_0cols_5itms_horiz_flow_hdr_ftr ()
  7219. {
  7220. // cols : 0
  7221. // cnt : 5
  7222. // RepeatDirection : Horizontal
  7223. // RepeatLayout : Flow
  7224. // OuterTableImplied : False
  7225. // Header : True
  7226. // Footer : True
  7227. // Separator : False
  7228. string v = RepeatInfoUser.DoTest (0, 5, RepeatDirection.Horizontal, RepeatLayout.Flow, false, true, true, false);
  7229. 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>";
  7230. Assert.AreEqual (exp, v, "#383");
  7231. }
  7232. [Test]
  7233. public void RepeatInfo_1cols_0itms_horiz_flow_hdr_ftr ()
  7234. {
  7235. // cols : 1
  7236. // cnt : 0
  7237. // RepeatDirection : Horizontal
  7238. // RepeatLayout : Flow
  7239. // OuterTableImplied : False
  7240. // Header : True
  7241. // Footer : True
  7242. // Separator : False
  7243. string v = RepeatInfoUser.DoTest (1, 0, RepeatDirection.Horizontal, RepeatLayout.Flow, false, true, true, false);
  7244. string exp = @"<span class=""mainstyle"">(0,Header,-1)(1,Footer,-1)</span>";
  7245. Assert.AreEqual (exp, v, "#384");
  7246. }
  7247. [Test]
  7248. public void RepeatInfo_1cols_5itms_horiz_flow_hdr_ftr ()
  7249. {
  7250. // cols : 1
  7251. // cnt : 5
  7252. // RepeatDirection : Horizontal
  7253. // RepeatLayout : Flow
  7254. // OuterTableImplied : False
  7255. // Header : True
  7256. // Footer : True
  7257. // Separator : False
  7258. string v = RepeatInfoUser.DoTest (1, 5, RepeatDirection.Horizontal, RepeatLayout.Flow, false, true, true, false);
  7259. 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>";
  7260. Assert.AreEqual (exp, v, "#385");
  7261. }
  7262. [Test]
  7263. public void RepeatInfo_2cols_4itms_horiz_flow_hdr_ftr ()
  7264. {
  7265. // cols : 2
  7266. // cnt : 4
  7267. // RepeatDirection : Horizontal
  7268. // RepeatLayout : Flow
  7269. // OuterTableImplied : False
  7270. // Header : True
  7271. // Footer : True
  7272. // Separator : False
  7273. string v = RepeatInfoUser.DoTest (2, 4, RepeatDirection.Horizontal, RepeatLayout.Flow, false, true, true, false);
  7274. 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>";
  7275. Assert.AreEqual (exp, v, "#386");
  7276. }
  7277. [Test]
  7278. public void RepeatInfo_2cols_7itms_horiz_flow_hdr_ftr ()
  7279. {
  7280. // cols : 2
  7281. // cnt : 7
  7282. // RepeatDirection : Horizontal
  7283. // RepeatLayout : Flow
  7284. // OuterTableImplied : False
  7285. // Header : True
  7286. // Footer : True
  7287. // Separator : False
  7288. string v = RepeatInfoUser.DoTest (2, 7, RepeatDirection.Horizontal, RepeatLayout.Flow, false, true, true, false);
  7289. 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>";
  7290. Assert.AreEqual (exp, v, "#387");
  7291. }
  7292. [Test]
  7293. public void RepeatInfo_3cols_9itms_horiz_flow_hdr_ftr ()
  7294. {
  7295. // cols : 3
  7296. // cnt : 9
  7297. // RepeatDirection : Horizontal
  7298. // RepeatLayout : Flow
  7299. // OuterTableImplied : False
  7300. // Header : True
  7301. // Footer : True
  7302. // Separator : False
  7303. string v = RepeatInfoUser.DoTest (3, 9, RepeatDirection.Horizontal, RepeatLayout.Flow, false, true, true, false);
  7304. 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>";
  7305. Assert.AreEqual (exp, v, "#388");
  7306. }
  7307. [Test]
  7308. public void RepeatInfo_3cols_7itms_horiz_flow_hdr_ftr ()
  7309. {
  7310. // cols : 3
  7311. // cnt : 7
  7312. // RepeatDirection : Horizontal
  7313. // RepeatLayout : Flow
  7314. // OuterTableImplied : False
  7315. // Header : True
  7316. // Footer : True
  7317. // Separator : False
  7318. string v = RepeatInfoUser.DoTest (3, 7, RepeatDirection.Horizontal, RepeatLayout.Flow, false, true, true, false);
  7319. 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>";
  7320. Assert.AreEqual (exp, v, "#389");
  7321. }
  7322. [Test]
  7323. public void RepeatInfo_0cols_0itms_vert_flow_hdr_ftr ()
  7324. {
  7325. // cols : 0
  7326. // cnt : 0
  7327. // RepeatDirection : Vertical
  7328. // RepeatLayout : Flow
  7329. // OuterTableImplied : False
  7330. // Header : True
  7331. // Footer : True
  7332. // Separator : False
  7333. string v = RepeatInfoUser.DoTest (0, 0, RepeatDirection.Vertical, RepeatLayout.Flow, false, true, true, false);
  7334. string exp = @"<span class=""mainstyle"">(0,Header,-1)<br>(1,Footer,-1)</span>";
  7335. Assert.AreEqual (exp, v, "#390");
  7336. }
  7337. [Test]
  7338. public void RepeatInfo_0cols_1itms_vert_flow_hdr_ftr ()
  7339. {
  7340. // cols : 0
  7341. // cnt : 1
  7342. // RepeatDirection : Vertical
  7343. // RepeatLayout : Flow
  7344. // OuterTableImplied : False
  7345. // Header : True
  7346. // Footer : True
  7347. // Separator : False
  7348. string v = RepeatInfoUser.DoTest (0, 1, RepeatDirection.Vertical, RepeatLayout.Flow, false, true, true, false);
  7349. string exp = @"<span class=""mainstyle"">(0,Header,-1)<br>(1,Item,0)<br>(2,Footer,-1)</span>";
  7350. Assert.AreEqual (exp, v, "#391");
  7351. }
  7352. [Test]
  7353. public void RepeatInfo_0cols_2itms_vert_flow_hdr_ftr ()
  7354. {
  7355. // cols : 0
  7356. // cnt : 2
  7357. // RepeatDirection : Vertical
  7358. // RepeatLayout : Flow
  7359. // OuterTableImplied : False
  7360. // Header : True
  7361. // Footer : True
  7362. // Separator : False
  7363. string v = RepeatInfoUser.DoTest (0, 2, RepeatDirection.Vertical, RepeatLayout.Flow, false, true, true, false);
  7364. string exp = @"<span class=""mainstyle"">(0,Header,-1)<br>(1,Item,0)<br>(2,Item,1)<br>(3,Footer,-1)</span>";
  7365. Assert.AreEqual (exp, v, "#392");
  7366. }
  7367. [Test]
  7368. public void RepeatInfo_0cols_5itms_vert_flow_hdr_ftr ()
  7369. {
  7370. // cols : 0
  7371. // cnt : 5
  7372. // RepeatDirection : Vertical
  7373. // RepeatLayout : Flow
  7374. // OuterTableImplied : False
  7375. // Header : True
  7376. // Footer : True
  7377. // Separator : False
  7378. string v = RepeatInfoUser.DoTest (0, 5, RepeatDirection.Vertical, RepeatLayout.Flow, false, true, true, false);
  7379. 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>";
  7380. Assert.AreEqual (exp, v, "#393");
  7381. }
  7382. [Test]
  7383. public void RepeatInfo_1cols_0itms_vert_flow_hdr_ftr ()
  7384. {
  7385. // cols : 1
  7386. // cnt : 0
  7387. // RepeatDirection : Vertical
  7388. // RepeatLayout : Flow
  7389. // OuterTableImplied : False
  7390. // Header : True
  7391. // Footer : True
  7392. // Separator : False
  7393. string v = RepeatInfoUser.DoTest (1, 0, RepeatDirection.Vertical, RepeatLayout.Flow, false, true, true, false);
  7394. string exp = @"<span class=""mainstyle"">(0,Header,-1)<br>(1,Footer,-1)</span>";
  7395. Assert.AreEqual (exp, v, "#394");
  7396. }
  7397. [Test]
  7398. public void RepeatInfo_1cols_5itms_vert_flow_hdr_ftr ()
  7399. {
  7400. // cols : 1
  7401. // cnt : 5
  7402. // RepeatDirection : Vertical
  7403. // RepeatLayout : Flow
  7404. // OuterTableImplied : False
  7405. // Header : True
  7406. // Footer : True
  7407. // Separator : False
  7408. string v = RepeatInfoUser.DoTest (1, 5, RepeatDirection.Vertical, RepeatLayout.Flow, false, true, true, false);
  7409. 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>";
  7410. Assert.AreEqual (exp, v, "#395");
  7411. }
  7412. [Test]
  7413. public void RepeatInfo_2cols_4itms_vert_flow_hdr_ftr ()
  7414. {
  7415. // cols : 2
  7416. // cnt : 4
  7417. // RepeatDirection : Vertical
  7418. // RepeatLayout : Flow
  7419. // OuterTableImplied : False
  7420. // Header : True
  7421. // Footer : True
  7422. // Separator : False
  7423. string v = RepeatInfoUser.DoTest (2, 4, RepeatDirection.Vertical, RepeatLayout.Flow, false, true, true, false);
  7424. 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>";
  7425. Assert.AreEqual (exp, v, "#396");
  7426. }
  7427. [Test]
  7428. public void RepeatInfo_2cols_7itms_vert_flow_hdr_ftr ()
  7429. {
  7430. // cols : 2
  7431. // cnt : 7
  7432. // RepeatDirection : Vertical
  7433. // RepeatLayout : Flow
  7434. // OuterTableImplied : False
  7435. // Header : True
  7436. // Footer : True
  7437. // Separator : False
  7438. string v = RepeatInfoUser.DoTest (2, 7, RepeatDirection.Vertical, RepeatLayout.Flow, false, true, true, false);
  7439. 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>";
  7440. Assert.AreEqual (exp, v, "#397");
  7441. }
  7442. [Test]
  7443. public void RepeatInfo_3cols_9itms_vert_flow_hdr_ftr ()
  7444. {
  7445. // cols : 3
  7446. // cnt : 9
  7447. // RepeatDirection : Vertical
  7448. // RepeatLayout : Flow
  7449. // OuterTableImplied : False
  7450. // Header : True
  7451. // Footer : True
  7452. // Separator : False
  7453. string v = RepeatInfoUser.DoTest (3, 9, RepeatDirection.Vertical, RepeatLayout.Flow, false, true, true, false);
  7454. 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>";
  7455. Assert.AreEqual (exp, v, "#398");
  7456. }
  7457. [Test]
  7458. public void RepeatInfo_3cols_7itms_vert_flow_hdr_ftr ()
  7459. {
  7460. // cols : 3
  7461. // cnt : 7
  7462. // RepeatDirection : Vertical
  7463. // RepeatLayout : Flow
  7464. // OuterTableImplied : False
  7465. // Header : True
  7466. // Footer : True
  7467. // Separator : False
  7468. string v = RepeatInfoUser.DoTest (3, 7, RepeatDirection.Vertical, RepeatLayout.Flow, false, true, true, false);
  7469. 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>";
  7470. Assert.AreEqual (exp, v, "#399");
  7471. }
  7472. [Test]
  7473. public void RepeatInfo_0cols_0itms_horiz_tbl_otrtblimp_ftr ()
  7474. {
  7475. // cols : 0
  7476. // cnt : 0
  7477. // RepeatDirection : Horizontal
  7478. // RepeatLayout : Table
  7479. // OuterTableImplied : True
  7480. // Header : False
  7481. // Footer : True
  7482. // Separator : False
  7483. string v = RepeatInfoUser.DoTest (0, 0, RepeatDirection.Horizontal, RepeatLayout.Table, true, false, true, false);
  7484. string exp = @"<table class=""mainstyle"" border=""0"">
  7485. <tr>
  7486. <td colspan=""0"" class=""Footer-1"">(0,Footer,-1)</td>
  7487. </tr>
  7488. </table>";
  7489. Assert.AreEqual (exp, v, "#400");
  7490. }
  7491. [Test]
  7492. public void RepeatInfo_0cols_1itms_horiz_tbl_otrtblimp_ftr ()
  7493. {
  7494. // cols : 0
  7495. // cnt : 1
  7496. // RepeatDirection : Horizontal
  7497. // RepeatLayout : Table
  7498. // OuterTableImplied : True
  7499. // Header : False
  7500. // Footer : True
  7501. // Separator : False
  7502. string v = RepeatInfoUser.DoTest (0, 1, RepeatDirection.Horizontal, RepeatLayout.Table, true, false, true, false);
  7503. string exp = @"<table class=""mainstyle"" border=""0"">
  7504. <tr>
  7505. <td class=""Item0"">(0,Item,0)</td>
  7506. </tr><tr>
  7507. <td class=""Footer-1"">(1,Footer,-1)</td>
  7508. </tr>
  7509. </table>";
  7510. Assert.AreEqual (exp, v, "#401");
  7511. }
  7512. [Test]
  7513. public void RepeatInfo_0cols_2itms_horiz_tbl_otrtblimp_ftr ()
  7514. {
  7515. // cols : 0
  7516. // cnt : 2
  7517. // RepeatDirection : Horizontal
  7518. // RepeatLayout : Table
  7519. // OuterTableImplied : True
  7520. // Header : False
  7521. // Footer : True
  7522. // Separator : False
  7523. string v = RepeatInfoUser.DoTest (0, 2, RepeatDirection.Horizontal, RepeatLayout.Table, true, false, true, false);
  7524. string exp = @"<table class=""mainstyle"" border=""0"">
  7525. <tr>
  7526. <td class=""Item0"">(0,Item,0)</td><td class=""Item1"">(1,Item,1)</td>
  7527. </tr><tr>
  7528. <td colspan=""2"" class=""Footer-1"">(2,Footer,-1)</td>
  7529. </tr>
  7530. </table>";
  7531. Assert.AreEqual (exp, v, "#402");
  7532. }
  7533. [Test]
  7534. public void RepeatInfo_0cols_5itms_horiz_tbl_otrtblimp_ftr ()
  7535. {
  7536. // cols : 0
  7537. // cnt : 5
  7538. // RepeatDirection : Horizontal
  7539. // RepeatLayout : Table
  7540. // OuterTableImplied : True
  7541. // Header : False
  7542. // Footer : True
  7543. // Separator : False
  7544. string v = RepeatInfoUser.DoTest (0, 5, RepeatDirection.Horizontal, RepeatLayout.Table, true, false, true, false);
  7545. string exp = @"<table class=""mainstyle"" border=""0"">
  7546. <tr>
  7547. <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>
  7548. </tr><tr>
  7549. <td colspan=""5"" class=""Footer-1"">(5,Footer,-1)</td>
  7550. </tr>
  7551. </table>";
  7552. Assert.AreEqual (exp, v, "#403");
  7553. }
  7554. [Test]
  7555. public void RepeatInfo_1cols_0itms_horiz_tbl_otrtblimp_ftr ()
  7556. {
  7557. // cols : 1
  7558. // cnt : 0
  7559. // RepeatDirection : Horizontal
  7560. // RepeatLayout : Table
  7561. // OuterTableImplied : True
  7562. // Header : False
  7563. // Footer : True
  7564. // Separator : False
  7565. string v = RepeatInfoUser.DoTest (1, 0, RepeatDirection.Horizontal, RepeatLayout.Table, true, false, true, false);
  7566. string exp = @"<table class=""mainstyle"" border=""0"">
  7567. <tr>
  7568. <td class=""Footer-1"">(0,Footer,-1)</td>
  7569. </tr>
  7570. </table>";
  7571. Assert.AreEqual (exp, v, "#404");
  7572. }
  7573. [Test]
  7574. public void RepeatInfo_1cols_5itms_horiz_tbl_otrtblimp_ftr ()
  7575. {
  7576. // cols : 1
  7577. // cnt : 5
  7578. // RepeatDirection : Horizontal
  7579. // RepeatLayout : Table
  7580. // OuterTableImplied : True
  7581. // Header : False
  7582. // Footer : True
  7583. // Separator : False
  7584. string v = RepeatInfoUser.DoTest (1, 5, RepeatDirection.Horizontal, RepeatLayout.Table, true, false, true, false);
  7585. string exp = @"<table class=""mainstyle"" border=""0"">
  7586. <tr>
  7587. <td class=""Item0"">(0,Item,0)</td>
  7588. </tr><tr>
  7589. <td class=""Item1"">(1,Item,1)</td>
  7590. </tr><tr>
  7591. <td class=""Item2"">(2,Item,2)</td>
  7592. </tr><tr>
  7593. <td class=""Item3"">(3,Item,3)</td>
  7594. </tr><tr>
  7595. <td class=""Item4"">(4,Item,4)</td>
  7596. </tr><tr>
  7597. <td class=""Footer-1"">(5,Footer,-1)</td>
  7598. </tr>
  7599. </table>";
  7600. Assert.AreEqual (exp, v, "#405");
  7601. }
  7602. [Test]
  7603. public void RepeatInfo_2cols_4itms_horiz_tbl_otrtblimp_ftr ()
  7604. {
  7605. // cols : 2
  7606. // cnt : 4
  7607. // RepeatDirection : Horizontal
  7608. // RepeatLayout : Table
  7609. // OuterTableImplied : True
  7610. // Header : False
  7611. // Footer : True
  7612. // Separator : False
  7613. string v = RepeatInfoUser.DoTest (2, 4, RepeatDirection.Horizontal, RepeatLayout.Table, true, false, true, false);
  7614. string exp = @"<table class=""mainstyle"" border=""0"">
  7615. <tr>
  7616. <td class=""Item0"">(0,Item,0)</td><td class=""Item1"">(1,Item,1)</td>
  7617. </tr><tr>
  7618. <td class=""Item2"">(2,Item,2)</td><td class=""Item3"">(3,Item,3)</td>
  7619. </tr><tr>
  7620. <td colspan=""2"" class=""Footer-1"">(4,Footer,-1)</td>
  7621. </tr>
  7622. </table>";
  7623. Assert.AreEqual (exp, v, "#406");
  7624. }
  7625. [Test]
  7626. public void RepeatInfo_2cols_7itms_horiz_tbl_otrtblimp_ftr ()
  7627. {
  7628. // cols : 2
  7629. // cnt : 7
  7630. // RepeatDirection : Horizontal
  7631. // RepeatLayout : Table
  7632. // OuterTableImplied : True
  7633. // Header : False
  7634. // Footer : True
  7635. // Separator : False
  7636. string v = RepeatInfoUser.DoTest (2, 7, RepeatDirection.Horizontal, RepeatLayout.Table, true, false, true, false);
  7637. string exp = @"<table class=""mainstyle"" border=""0"">
  7638. <tr>
  7639. <td class=""Item0"">(0,Item,0)</td><td class=""Item1"">(1,Item,1)</td>
  7640. </tr><tr>
  7641. <td class=""Item2"">(2,Item,2)</td><td class=""Item3"">(3,Item,3)</td>
  7642. </tr><tr>
  7643. <td class=""Item4"">(4,Item,4)</td><td class=""Item5"">(5,Item,5)</td>
  7644. </tr><tr>
  7645. <td class=""Item6"">(6,Item,6)</td>
  7646. </tr><tr>
  7647. <td colspan=""2"" class=""Footer-1"">(7,Footer,-1)</td>
  7648. </tr>
  7649. </table>";
  7650. Assert.AreEqual (exp, v, "#407");
  7651. }
  7652. [Test]
  7653. public void RepeatInfo_3cols_9itms_horiz_tbl_otrtblimp_ftr ()
  7654. {
  7655. // cols : 3
  7656. // cnt : 9
  7657. // RepeatDirection : Horizontal
  7658. // RepeatLayout : Table
  7659. // OuterTableImplied : True
  7660. // Header : False
  7661. // Footer : True
  7662. // Separator : False
  7663. string v = RepeatInfoUser.DoTest (3, 9, RepeatDirection.Horizontal, RepeatLayout.Table, true, false, true, false);
  7664. string exp = @"<table border=""0"">
  7665. <tr>
  7666. <td class=""Item0"">(0,Item,0)</td><td class=""Item1"">(1,Item,1)</td><td class=""Item2"">(2,Item,2)</td>
  7667. </tr><tr>
  7668. <td class=""Item3"">(3,Item,3)</td><td class=""Item4"">(4,Item,4)</td><td class=""Item5"">(5,Item,5)</td>
  7669. </tr><tr>
  7670. <td class=""Item6"">(6,Item,6)</td><td class=""Item7"">(7,Item,7)</td><td class=""Item8"">(8,Item,8)</td>
  7671. </tr><tr>
  7672. <td colspan=""3"" class=""Footer-1"">(9,Footer,-1)</td>
  7673. </tr>
  7674. </table>";
  7675. Assert.AreEqual (exp, v, "#408");
  7676. }
  7677. [Test]
  7678. public void RepeatInfo_3cols_7itms_horiz_tbl_otrtblimp_ftr ()
  7679. {
  7680. // cols : 3
  7681. // cnt : 7
  7682. // RepeatDirection : Horizontal
  7683. // RepeatLayout : Table
  7684. // OuterTableImplied : True
  7685. // Header : False
  7686. // Footer : True
  7687. // Separator : False
  7688. string v = RepeatInfoUser.DoTest (3, 7, RepeatDirection.Horizontal, RepeatLayout.Table, true, false, true, false);
  7689. string exp = @"<table border=""0"">
  7690. <tr>
  7691. <td class=""Item0"">(0,Item,0)</td><td class=""Item1"">(1,Item,1)</td><td class=""Item2"">(2,Item,2)</td>
  7692. </tr><tr>
  7693. <td class=""Item3"">(3,Item,3)</td><td class=""Item4"">(4,Item,4)</td><td class=""Item5"">(5,Item,5)</td>
  7694. </tr><tr>
  7695. <td class=""Item6"">(6,Item,6)</td>
  7696. </tr><tr>
  7697. <td colspan=""3"" class=""Footer-1"">(7,Footer,-1)</td>
  7698. </tr>
  7699. </table>";
  7700. Assert.AreEqual (exp, v, "#409");
  7701. }
  7702. [Test]
  7703. public void RepeatInfo_0cols_0itms_vert_tbl_otrtblimp_ftr ()
  7704. {
  7705. // cols : 0
  7706. // cnt : 0
  7707. // RepeatDirection : Vertical
  7708. // RepeatLayout : Table
  7709. // OuterTableImplied : True
  7710. // Header : False
  7711. // Footer : True
  7712. // Separator : False
  7713. string v = RepeatInfoUser.DoTest (0, 0, RepeatDirection.Vertical, RepeatLayout.Table, true, false, true, false);
  7714. string exp = @"(0,Footer,-1)";
  7715. Assert.AreEqual (exp, v, "#410");
  7716. }
  7717. [Test]
  7718. public void RepeatInfo_0cols_1itms_vert_tbl_otrtblimp_ftr ()
  7719. {
  7720. // cols : 0
  7721. // cnt : 1
  7722. // RepeatDirection : Vertical
  7723. // RepeatLayout : Table
  7724. // OuterTableImplied : True
  7725. // Header : False
  7726. // Footer : True
  7727. // Separator : False
  7728. string v = RepeatInfoUser.DoTest (0, 1, RepeatDirection.Vertical, RepeatLayout.Table, true, false, true, false);
  7729. string exp = @"(0,Item,0)(1,Footer,-1)";
  7730. Assert.AreEqual (exp, v, "#411");
  7731. }
  7732. [Test]
  7733. public void RepeatInfo_0cols_2itms_vert_tbl_otrtblimp_ftr ()
  7734. {
  7735. // cols : 0
  7736. // cnt : 2
  7737. // RepeatDirection : Vertical
  7738. // RepeatLayout : Table
  7739. // OuterTableImplied : True
  7740. // Header : False
  7741. // Footer : True
  7742. // Separator : False
  7743. string v = RepeatInfoUser.DoTest (0, 2, RepeatDirection.Vertical, RepeatLayout.Table, true, false, true, false);
  7744. string exp = @"(0,Item,0)(1,Item,1)(2,Footer,-1)";
  7745. Assert.AreEqual (exp, v, "#412");
  7746. }
  7747. [Test]
  7748. public void RepeatInfo_0cols_5itms_vert_tbl_otrtblimp_ftr ()
  7749. {
  7750. // cols : 0
  7751. // cnt : 5
  7752. // RepeatDirection : Vertical
  7753. // RepeatLayout : Table
  7754. // OuterTableImplied : True
  7755. // Header : False
  7756. // Footer : True
  7757. // Separator : False
  7758. string v = RepeatInfoUser.DoTest (0, 5, RepeatDirection.Vertical, RepeatLayout.Table, true, false, true, false);
  7759. string exp = @"(0,Item,0)(1,Item,1)(2,Item,2)(3,Item,3)(4,Item,4)(5,Footer,-1)";
  7760. Assert.AreEqual (exp, v, "#413");
  7761. }
  7762. [Test]
  7763. public void RepeatInfo_1cols_0itms_vert_tbl_otrtblimp_ftr ()
  7764. {
  7765. // cols : 1
  7766. // cnt : 0
  7767. // RepeatDirection : Vertical
  7768. // RepeatLayout : Table
  7769. // OuterTableImplied : True
  7770. // Header : False
  7771. // Footer : True
  7772. // Separator : False
  7773. string v = RepeatInfoUser.DoTest (1, 0, RepeatDirection.Vertical, RepeatLayout.Table, true, false, true, false);
  7774. string exp = @"(0,Footer,-1)";
  7775. Assert.AreEqual (exp, v, "#414");
  7776. }
  7777. [Test]
  7778. public void RepeatInfo_1cols_5itms_vert_tbl_otrtblimp_ftr ()
  7779. {
  7780. // cols : 1
  7781. // cnt : 5
  7782. // RepeatDirection : Vertical
  7783. // RepeatLayout : Table
  7784. // OuterTableImplied : True
  7785. // Header : False
  7786. // Footer : True
  7787. // Separator : False
  7788. string v = RepeatInfoUser.DoTest (1, 5, RepeatDirection.Vertical, RepeatLayout.Table, true, false, true, false);
  7789. string exp = @"(0,Item,0)(1,Item,1)(2,Item,2)(3,Item,3)(4,Item,4)(5,Footer,-1)";
  7790. Assert.AreEqual (exp, v, "#415");
  7791. }
  7792. [Test]
  7793. public void RepeatInfo_2cols_4itms_vert_tbl_otrtblimp_ftr ()
  7794. {
  7795. // cols : 2
  7796. // cnt : 4
  7797. // RepeatDirection : Vertical
  7798. // RepeatLayout : Table
  7799. // OuterTableImplied : True
  7800. // Header : False
  7801. // Footer : True
  7802. // Separator : False
  7803. string v = RepeatInfoUser.DoTest (2, 4, RepeatDirection.Vertical, RepeatLayout.Table, true, false, true, false);
  7804. string exp = @"(0,Item,0)(1,Item,2)(2,Item,1)(3,Item,3)(4,Footer,-1)";
  7805. Assert.AreEqual (exp, v, "#416");
  7806. }
  7807. [Test]
  7808. public void RepeatInfo_2cols_7itms_vert_tbl_otrtblimp_ftr ()
  7809. {
  7810. // cols : 2
  7811. // cnt : 7
  7812. // RepeatDirection : Vertical
  7813. // RepeatLayout : Table
  7814. // OuterTableImplied : True
  7815. // Header : False
  7816. // Footer : True
  7817. // Separator : False
  7818. string v = RepeatInfoUser.DoTest (2, 7, RepeatDirection.Vertical, RepeatLayout.Table, true, false, true, false);
  7819. 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)";
  7820. Assert.AreEqual (exp, v, "#417");
  7821. }
  7822. [Test]
  7823. public void RepeatInfo_3cols_9itms_vert_tbl_otrtblimp_ftr ()
  7824. {
  7825. // cols : 3
  7826. // cnt : 9
  7827. // RepeatDirection : Vertical
  7828. // RepeatLayout : Table
  7829. // OuterTableImplied : True
  7830. // Header : False
  7831. // Footer : True
  7832. // Separator : False
  7833. string v = RepeatInfoUser.DoTest (3, 9, RepeatDirection.Vertical, RepeatLayout.Table, true, false, true, false);
  7834. 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)";
  7835. Assert.AreEqual (exp, v, "#418");
  7836. }
  7837. [Test]
  7838. public void RepeatInfo_3cols_7itms_vert_tbl_otrtblimp_ftr ()
  7839. {
  7840. // cols : 3
  7841. // cnt : 7
  7842. // RepeatDirection : Vertical
  7843. // RepeatLayout : Table
  7844. // OuterTableImplied : True
  7845. // Header : False
  7846. // Footer : True
  7847. // Separator : False
  7848. string v = RepeatInfoUser.DoTest (3, 7, RepeatDirection.Vertical, RepeatLayout.Table, true, false, true, false);
  7849. 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)";
  7850. Assert.AreEqual (exp, v, "#419");
  7851. }
  7852. [Test]
  7853. public void RepeatInfo_0cols_0itms_horiz_flow_otrtblimp_ftr ()
  7854. {
  7855. // cols : 0
  7856. // cnt : 0
  7857. // RepeatDirection : Horizontal
  7858. // RepeatLayout : Flow
  7859. // OuterTableImplied : True
  7860. // Header : False
  7861. // Footer : True
  7862. // Separator : False
  7863. string v = RepeatInfoUser.DoTest (0, 0, RepeatDirection.Horizontal, RepeatLayout.Flow, true, false, true, false);
  7864. string exp = @"<span class=""mainstyle"">(0,Footer,-1)</span>";
  7865. Assert.AreEqual (exp, v, "#420");
  7866. }
  7867. [Test]
  7868. public void RepeatInfo_0cols_1itms_horiz_flow_otrtblimp_ftr ()
  7869. {
  7870. // cols : 0
  7871. // cnt : 1
  7872. // RepeatDirection : Horizontal
  7873. // RepeatLayout : Flow
  7874. // OuterTableImplied : True
  7875. // Header : False
  7876. // Footer : True
  7877. // Separator : False
  7878. string v = RepeatInfoUser.DoTest (0, 1, RepeatDirection.Horizontal, RepeatLayout.Flow, true, false, true, false);
  7879. string exp = @"<span class=""mainstyle"">(0,Item,0)(1,Footer,-1)</span>";
  7880. Assert.AreEqual (exp, v, "#421");
  7881. }
  7882. [Test]
  7883. public void RepeatInfo_0cols_2itms_horiz_flow_otrtblimp_ftr ()
  7884. {
  7885. // cols : 0
  7886. // cnt : 2
  7887. // RepeatDirection : Horizontal
  7888. // RepeatLayout : Flow
  7889. // OuterTableImplied : True
  7890. // Header : False
  7891. // Footer : True
  7892. // Separator : False
  7893. string v = RepeatInfoUser.DoTest (0, 2, RepeatDirection.Horizontal, RepeatLayout.Flow, true, false, true, false);
  7894. string exp = @"<span class=""mainstyle"">(0,Item,0)(1,Item,1)(2,Footer,-1)</span>";
  7895. Assert.AreEqual (exp, v, "#422");
  7896. }
  7897. [Test]
  7898. public void RepeatInfo_0cols_5itms_horiz_flow_otrtblimp_ftr ()
  7899. {
  7900. // cols : 0
  7901. // cnt : 5
  7902. // RepeatDirection : Horizontal
  7903. // RepeatLayout : Flow
  7904. // OuterTableImplied : True
  7905. // Header : False
  7906. // Footer : True
  7907. // Separator : False
  7908. string v = RepeatInfoUser.DoTest (0, 5, RepeatDirection.Horizontal, RepeatLayout.Flow, true, false, true, false);
  7909. string exp = @"<span class=""mainstyle"">(0,Item,0)(1,Item,1)(2,Item,2)(3,Item,3)(4,Item,4)(5,Footer,-1)</span>";
  7910. Assert.AreEqual (exp, v, "#423");
  7911. }
  7912. [Test]
  7913. public void RepeatInfo_1cols_0itms_horiz_flow_otrtblimp_ftr ()
  7914. {
  7915. // cols : 1
  7916. // cnt : 0
  7917. // RepeatDirection : Horizontal
  7918. // RepeatLayout : Flow
  7919. // OuterTableImplied : True
  7920. // Header : False
  7921. // Footer : True
  7922. // Separator : False
  7923. string v = RepeatInfoUser.DoTest (1, 0, RepeatDirection.Horizontal, RepeatLayout.Flow, true, false, true, false);
  7924. string exp = @"<span class=""mainstyle"">(0,Footer,-1)</span>";
  7925. Assert.AreEqual (exp, v, "#424");
  7926. }
  7927. [Test]
  7928. public void RepeatInfo_1cols_5itms_horiz_flow_otrtblimp_ftr ()
  7929. {
  7930. // cols : 1
  7931. // cnt : 5
  7932. // RepeatDirection : Horizontal
  7933. // RepeatLayout : Flow
  7934. // OuterTableImplied : True
  7935. // Header : False
  7936. // Footer : True
  7937. // Separator : False
  7938. string v = RepeatInfoUser.DoTest (1, 5, RepeatDirection.Horizontal, RepeatLayout.Flow, true, false, true, false);
  7939. 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>";
  7940. Assert.AreEqual (exp, v, "#425");
  7941. }
  7942. [Test]
  7943. public void RepeatInfo_2cols_4itms_horiz_flow_otrtblimp_ftr ()
  7944. {
  7945. // cols : 2
  7946. // cnt : 4
  7947. // RepeatDirection : Horizontal
  7948. // RepeatLayout : Flow
  7949. // OuterTableImplied : True
  7950. // Header : False
  7951. // Footer : True
  7952. // Separator : False
  7953. string v = RepeatInfoUser.DoTest (2, 4, RepeatDirection.Horizontal, RepeatLayout.Flow, true, false, true, false);
  7954. string exp = @"<span class=""mainstyle"">(0,Item,0)(1,Item,1)<br>(2,Item,2)(3,Item,3)<br>(4,Footer,-1)</span>";
  7955. Assert.AreEqual (exp, v, "#426");
  7956. }
  7957. [Test]
  7958. public void RepeatInfo_2cols_7itms_horiz_flow_otrtblimp_ftr ()
  7959. {
  7960. // cols : 2
  7961. // cnt : 7
  7962. // RepeatDirection : Horizontal
  7963. // RepeatLayout : Flow
  7964. // OuterTableImplied : True
  7965. // Header : False
  7966. // Footer : True
  7967. // Separator : False
  7968. string v = RepeatInfoUser.DoTest (2, 7, RepeatDirection.Horizontal, RepeatLayout.Flow, true, false, true, false);
  7969. 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>";
  7970. Assert.AreEqual (exp, v, "#427");
  7971. }
  7972. [Test]
  7973. public void RepeatInfo_3cols_9itms_horiz_flow_otrtblimp_ftr ()
  7974. {
  7975. // cols : 3
  7976. // cnt : 9
  7977. // RepeatDirection : Horizontal
  7978. // RepeatLayout : Flow
  7979. // OuterTableImplied : True
  7980. // Header : False
  7981. // Footer : True
  7982. // Separator : False
  7983. string v = RepeatInfoUser.DoTest (3, 9, RepeatDirection.Horizontal, RepeatLayout.Flow, true, false, true, false);
  7984. 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>";
  7985. Assert.AreEqual (exp, v, "#428");
  7986. }
  7987. [Test]
  7988. public void RepeatInfo_3cols_7itms_horiz_flow_otrtblimp_ftr ()
  7989. {
  7990. // cols : 3
  7991. // cnt : 7
  7992. // RepeatDirection : Horizontal
  7993. // RepeatLayout : Flow
  7994. // OuterTableImplied : True
  7995. // Header : False
  7996. // Footer : True
  7997. // Separator : False
  7998. string v = RepeatInfoUser.DoTest (3, 7, RepeatDirection.Horizontal, RepeatLayout.Flow, true, false, true, false);
  7999. 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>";
  8000. Assert.AreEqual (exp, v, "#429");
  8001. }
  8002. [Test]
  8003. public void RepeatInfo_0cols_0itms_vert_flow_otrtblimp_ftr ()
  8004. {
  8005. // cols : 0
  8006. // cnt : 0
  8007. // RepeatDirection : Vertical
  8008. // RepeatLayout : Flow
  8009. // OuterTableImplied : True
  8010. // Header : False
  8011. // Footer : True
  8012. // Separator : False
  8013. string v = RepeatInfoUser.DoTest (0, 0, RepeatDirection.Vertical, RepeatLayout.Flow, true, false, true, false);
  8014. string exp = @"(0,Footer,-1)";
  8015. Assert.AreEqual (exp, v, "#430");
  8016. }
  8017. [Test]
  8018. public void RepeatInfo_0cols_1itms_vert_flow_otrtblimp_ftr ()
  8019. {
  8020. // cols : 0
  8021. // cnt : 1
  8022. // RepeatDirection : Vertical
  8023. // RepeatLayout : Flow
  8024. // OuterTableImplied : True
  8025. // Header : False
  8026. // Footer : True
  8027. // Separator : False
  8028. string v = RepeatInfoUser.DoTest (0, 1, RepeatDirection.Vertical, RepeatLayout.Flow, true, false, true, false);
  8029. string exp = @"(0,Item,0)(1,Footer,-1)";
  8030. Assert.AreEqual (exp, v, "#431");
  8031. }
  8032. [Test]
  8033. public void RepeatInfo_0cols_2itms_vert_flow_otrtblimp_ftr ()
  8034. {
  8035. // cols : 0
  8036. // cnt : 2
  8037. // RepeatDirection : Vertical
  8038. // RepeatLayout : Flow
  8039. // OuterTableImplied : True
  8040. // Header : False
  8041. // Footer : True
  8042. // Separator : False
  8043. string v = RepeatInfoUser.DoTest (0, 2, RepeatDirection.Vertical, RepeatLayout.Flow, true, false, true, false);
  8044. string exp = @"(0,Item,0)(1,Item,1)(2,Footer,-1)";
  8045. Assert.AreEqual (exp, v, "#432");
  8046. }
  8047. [Test]
  8048. public void RepeatInfo_0cols_5itms_vert_flow_otrtblimp_ftr ()
  8049. {
  8050. // cols : 0
  8051. // cnt : 5
  8052. // RepeatDirection : Vertical
  8053. // RepeatLayout : Flow
  8054. // OuterTableImplied : True
  8055. // Header : False
  8056. // Footer : True
  8057. // Separator : False
  8058. string v = RepeatInfoUser.DoTest (0, 5, RepeatDirection.Vertical, RepeatLayout.Flow, true, false, true, false);
  8059. string exp = @"(0,Item,0)(1,Item,1)(2,Item,2)(3,Item,3)(4,Item,4)(5,Footer,-1)";
  8060. Assert.AreEqual (exp, v, "#433");
  8061. }
  8062. [Test]
  8063. public void RepeatInfo_1cols_0itms_vert_flow_otrtblimp_ftr ()
  8064. {
  8065. // cols : 1
  8066. // cnt : 0
  8067. // RepeatDirection : Vertical
  8068. // RepeatLayout : Flow
  8069. // OuterTableImplied : True
  8070. // Header : False
  8071. // Footer : True
  8072. // Separator : False
  8073. string v = RepeatInfoUser.DoTest (1, 0, RepeatDirection.Vertical, RepeatLayout.Flow, true, false, true, false);
  8074. string exp = @"(0,Footer,-1)";
  8075. Assert.AreEqual (exp, v, "#434");
  8076. }
  8077. [Test]
  8078. public void RepeatInfo_1cols_5itms_vert_flow_otrtblimp_ftr ()
  8079. {
  8080. // cols : 1
  8081. // cnt : 5
  8082. // RepeatDirection : Vertical
  8083. // RepeatLayout : Flow
  8084. // OuterTableImplied : True
  8085. // Header : False
  8086. // Footer : True
  8087. // Separator : False
  8088. string v = RepeatInfoUser.DoTest (1, 5, RepeatDirection.Vertical, RepeatLayout.Flow, true, false, true, false);
  8089. string exp = @"(0,Item,0)(1,Item,1)(2,Item,2)(3,Item,3)(4,Item,4)(5,Footer,-1)";
  8090. Assert.AreEqual (exp, v, "#435");
  8091. }
  8092. [Test]
  8093. public void RepeatInfo_2cols_4itms_vert_flow_otrtblimp_ftr ()
  8094. {
  8095. // cols : 2
  8096. // cnt : 4
  8097. // RepeatDirection : Vertical
  8098. // RepeatLayout : Flow
  8099. // OuterTableImplied : True
  8100. // Header : False
  8101. // Footer : True
  8102. // Separator : False
  8103. string v = RepeatInfoUser.DoTest (2, 4, RepeatDirection.Vertical, RepeatLayout.Flow, true, false, true, false);
  8104. string exp = @"(0,Item,0)(1,Item,2)(2,Item,1)(3,Item,3)(4,Footer,-1)";
  8105. Assert.AreEqual (exp, v, "#436");
  8106. }
  8107. [Test]
  8108. public void RepeatInfo_2cols_7itms_vert_flow_otrtblimp_ftr ()
  8109. {
  8110. // cols : 2
  8111. // cnt : 7
  8112. // RepeatDirection : Vertical
  8113. // RepeatLayout : Flow
  8114. // OuterTableImplied : True
  8115. // Header : False
  8116. // Footer : True
  8117. // Separator : False
  8118. string v = RepeatInfoUser.DoTest (2, 7, RepeatDirection.Vertical, RepeatLayout.Flow, true, false, true, false);
  8119. 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)";
  8120. Assert.AreEqual (exp, v, "#437");
  8121. }
  8122. [Test]
  8123. public void RepeatInfo_3cols_9itms_vert_flow_otrtblimp_ftr ()
  8124. {
  8125. // cols : 3
  8126. // cnt : 9
  8127. // RepeatDirection : Vertical
  8128. // RepeatLayout : Flow
  8129. // OuterTableImplied : True
  8130. // Header : False
  8131. // Footer : True
  8132. // Separator : False
  8133. string v = RepeatInfoUser.DoTest (3, 9, RepeatDirection.Vertical, RepeatLayout.Flow, true, false, true, false);
  8134. 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)";
  8135. Assert.AreEqual (exp, v, "#438");
  8136. }
  8137. [Test]
  8138. public void RepeatInfo_3cols_7itms_vert_flow_otrtblimp_ftr ()
  8139. {
  8140. // cols : 3
  8141. // cnt : 7
  8142. // RepeatDirection : Vertical
  8143. // RepeatLayout : Flow
  8144. // OuterTableImplied : True
  8145. // Header : False
  8146. // Footer : True
  8147. // Separator : False
  8148. string v = RepeatInfoUser.DoTest (3, 7, RepeatDirection.Vertical, RepeatLayout.Flow, true, false, true, false);
  8149. 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)";
  8150. Assert.AreEqual (exp, v, "#439");
  8151. }
  8152. [Test]
  8153. public void RepeatInfo_0cols_0itms_horiz_tbl_ftr ()
  8154. {
  8155. // cols : 0
  8156. // cnt : 0
  8157. // RepeatDirection : Horizontal
  8158. // RepeatLayout : Table
  8159. // OuterTableImplied : False
  8160. // Header : False
  8161. // Footer : True
  8162. // Separator : False
  8163. string v = RepeatInfoUser.DoTest (0, 0, RepeatDirection.Horizontal, RepeatLayout.Table, false, false, true, false);
  8164. string exp = @"<table class=""mainstyle"" border=""0"">
  8165. <tr>
  8166. <td colspan=""0"" class=""Footer-1"">(0,Footer,-1)</td>
  8167. </tr>
  8168. </table>";
  8169. Assert.AreEqual (exp, v, "#440");
  8170. }
  8171. [Test]
  8172. public void RepeatInfo_0cols_1itms_horiz_tbl_ftr ()
  8173. {
  8174. // cols : 0
  8175. // cnt : 1
  8176. // RepeatDirection : Horizontal
  8177. // RepeatLayout : Table
  8178. // OuterTableImplied : False
  8179. // Header : False
  8180. // Footer : True
  8181. // Separator : False
  8182. string v = RepeatInfoUser.DoTest (0, 1, RepeatDirection.Horizontal, RepeatLayout.Table, false, false, true, false);
  8183. string exp = @"<table class=""mainstyle"" border=""0"">
  8184. <tr>
  8185. <td class=""Item0"">(0,Item,0)</td>
  8186. </tr><tr>
  8187. <td class=""Footer-1"">(1,Footer,-1)</td>
  8188. </tr>
  8189. </table>";
  8190. Assert.AreEqual (exp, v, "#441");
  8191. }
  8192. [Test]
  8193. public void RepeatInfo_0cols_2itms_horiz_tbl_ftr ()
  8194. {
  8195. // cols : 0
  8196. // cnt : 2
  8197. // RepeatDirection : Horizontal
  8198. // RepeatLayout : Table
  8199. // OuterTableImplied : False
  8200. // Header : False
  8201. // Footer : True
  8202. // Separator : False
  8203. string v = RepeatInfoUser.DoTest (0, 2, RepeatDirection.Horizontal, RepeatLayout.Table, false, false, true, false);
  8204. string exp = @"<table class=""mainstyle"" border=""0"">
  8205. <tr>
  8206. <td class=""Item0"">(0,Item,0)</td><td class=""Item1"">(1,Item,1)</td>
  8207. </tr><tr>
  8208. <td colspan=""2"" class=""Footer-1"">(2,Footer,-1)</td>
  8209. </tr>
  8210. </table>";
  8211. Assert.AreEqual (exp, v, "#442");
  8212. }
  8213. [Test]
  8214. public void RepeatInfo_0cols_5itms_horiz_tbl_ftr ()
  8215. {
  8216. // cols : 0
  8217. // cnt : 5
  8218. // RepeatDirection : Horizontal
  8219. // RepeatLayout : Table
  8220. // OuterTableImplied : False
  8221. // Header : False
  8222. // Footer : True
  8223. // Separator : False
  8224. string v = RepeatInfoUser.DoTest (0, 5, RepeatDirection.Horizontal, RepeatLayout.Table, false, false, true, false);
  8225. string exp = @"<table class=""mainstyle"" border=""0"">
  8226. <tr>
  8227. <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>
  8228. </tr><tr>
  8229. <td colspan=""5"" class=""Footer-1"">(5,Footer,-1)</td>
  8230. </tr>
  8231. </table>";
  8232. Assert.AreEqual (exp, v, "#443");
  8233. }
  8234. [Test]
  8235. public void RepeatInfo_1cols_0itms_horiz_tbl_ftr ()
  8236. {
  8237. // cols : 1
  8238. // cnt : 0
  8239. // RepeatDirection : Horizontal
  8240. // RepeatLayout : Table
  8241. // OuterTableImplied : False
  8242. // Header : False
  8243. // Footer : True
  8244. // Separator : False
  8245. string v = RepeatInfoUser.DoTest (1, 0, RepeatDirection.Horizontal, RepeatLayout.Table, false, false, true, false);
  8246. string exp = @"<table class=""mainstyle"" border=""0"">
  8247. <tr>
  8248. <td class=""Footer-1"">(0,Footer,-1)</td>
  8249. </tr>
  8250. </table>";
  8251. Assert.AreEqual (exp, v, "#444");
  8252. }
  8253. [Test]
  8254. public void RepeatInfo_1cols_5itms_horiz_tbl_ftr ()
  8255. {
  8256. // cols : 1
  8257. // cnt : 5
  8258. // RepeatDirection : Horizontal
  8259. // RepeatLayout : Table
  8260. // OuterTableImplied : False
  8261. // Header : False
  8262. // Footer : True
  8263. // Separator : False
  8264. string v = RepeatInfoUser.DoTest (1, 5, RepeatDirection.Horizontal, RepeatLayout.Table, false, false, true, false);
  8265. string exp = @"<table class=""mainstyle"" border=""0"">
  8266. <tr>
  8267. <td class=""Item0"">(0,Item,0)</td>
  8268. </tr><tr>
  8269. <td class=""Item1"">(1,Item,1)</td>
  8270. </tr><tr>
  8271. <td class=""Item2"">(2,Item,2)</td>
  8272. </tr><tr>
  8273. <td class=""Item3"">(3,Item,3)</td>
  8274. </tr><tr>
  8275. <td class=""Item4"">(4,Item,4)</td>
  8276. </tr><tr>
  8277. <td class=""Footer-1"">(5,Footer,-1)</td>
  8278. </tr>
  8279. </table>";
  8280. Assert.AreEqual (exp, v, "#445");
  8281. }
  8282. [Test]
  8283. public void RepeatInfo_2cols_4itms_horiz_tbl_ftr ()
  8284. {
  8285. // cols : 2
  8286. // cnt : 4
  8287. // RepeatDirection : Horizontal
  8288. // RepeatLayout : Table
  8289. // OuterTableImplied : False
  8290. // Header : False
  8291. // Footer : True
  8292. // Separator : False
  8293. string v = RepeatInfoUser.DoTest (2, 4, RepeatDirection.Horizontal, RepeatLayout.Table, false, false, true, false);
  8294. string exp = @"<table class=""mainstyle"" border=""0"">
  8295. <tr>
  8296. <td class=""Item0"">(0,Item,0)</td><td class=""Item1"">(1,Item,1)</td>
  8297. </tr><tr>
  8298. <td class=""Item2"">(2,Item,2)</td><td class=""Item3"">(3,Item,3)</td>
  8299. </tr><tr>
  8300. <td colspan=""2"" class=""Footer-1"">(4,Footer,-1)</td>
  8301. </tr>
  8302. </table>";
  8303. Assert.AreEqual (exp, v, "#446");
  8304. }
  8305. [Test]
  8306. public void RepeatInfo_2cols_7itms_horiz_tbl_ftr ()
  8307. {
  8308. // cols : 2
  8309. // cnt : 7
  8310. // RepeatDirection : Horizontal
  8311. // RepeatLayout : Table
  8312. // OuterTableImplied : False
  8313. // Header : False
  8314. // Footer : True
  8315. // Separator : False
  8316. string v = RepeatInfoUser.DoTest (2, 7, RepeatDirection.Horizontal, RepeatLayout.Table, false, false, true, false);
  8317. string exp = @"<table class=""mainstyle"" border=""0"">
  8318. <tr>
  8319. <td class=""Item0"">(0,Item,0)</td><td class=""Item1"">(1,Item,1)</td>
  8320. </tr><tr>
  8321. <td class=""Item2"">(2,Item,2)</td><td class=""Item3"">(3,Item,3)</td>
  8322. </tr><tr>
  8323. <td class=""Item4"">(4,Item,4)</td><td class=""Item5"">(5,Item,5)</td>
  8324. </tr><tr>
  8325. <td class=""Item6"">(6,Item,6)</td>
  8326. </tr><tr>
  8327. <td colspan=""2"" class=""Footer-1"">(7,Footer,-1)</td>
  8328. </tr>
  8329. </table>";
  8330. Assert.AreEqual (exp, v, "#447");
  8331. }
  8332. [Test]
  8333. public void RepeatInfo_3cols_9itms_horiz_tbl_ftr ()
  8334. {
  8335. // cols : 3
  8336. // cnt : 9
  8337. // RepeatDirection : Horizontal
  8338. // RepeatLayout : Table
  8339. // OuterTableImplied : False
  8340. // Header : False
  8341. // Footer : True
  8342. // Separator : False
  8343. string v = RepeatInfoUser.DoTest (3, 9, RepeatDirection.Horizontal, RepeatLayout.Table, false, false, true, false);
  8344. string exp = @"<table border=""0"">
  8345. <tr>
  8346. <td class=""Item0"">(0,Item,0)</td><td class=""Item1"">(1,Item,1)</td><td class=""Item2"">(2,Item,2)</td>
  8347. </tr><tr>
  8348. <td class=""Item3"">(3,Item,3)</td><td class=""Item4"">(4,Item,4)</td><td class=""Item5"">(5,Item,5)</td>
  8349. </tr><tr>
  8350. <td class=""Item6"">(6,Item,6)</td><td class=""Item7"">(7,Item,7)</td><td class=""Item8"">(8,Item,8)</td>
  8351. </tr><tr>
  8352. <td colspan=""3"" class=""Footer-1"">(9,Footer,-1)</td>
  8353. </tr>
  8354. </table>";
  8355. Assert.AreEqual (exp, v, "#448");
  8356. }
  8357. [Test]
  8358. public void RepeatInfo_3cols_7itms_horiz_tbl_ftr ()
  8359. {
  8360. // cols : 3
  8361. // cnt : 7
  8362. // RepeatDirection : Horizontal
  8363. // RepeatLayout : Table
  8364. // OuterTableImplied : False
  8365. // Header : False
  8366. // Footer : True
  8367. // Separator : False
  8368. string v = RepeatInfoUser.DoTest (3, 7, RepeatDirection.Horizontal, RepeatLayout.Table, false, false, true, false);
  8369. string exp = @"<table border=""0"">
  8370. <tr>
  8371. <td class=""Item0"">(0,Item,0)</td><td class=""Item1"">(1,Item,1)</td><td class=""Item2"">(2,Item,2)</td>
  8372. </tr><tr>
  8373. <td class=""Item3"">(3,Item,3)</td><td class=""Item4"">(4,Item,4)</td><td class=""Item5"">(5,Item,5)</td>
  8374. </tr><tr>
  8375. <td class=""Item6"">(6,Item,6)</td>
  8376. </tr><tr>
  8377. <td colspan=""3"" class=""Footer-1"">(7,Footer,-1)</td>
  8378. </tr>
  8379. </table>";
  8380. Assert.AreEqual (exp, v, "#449");
  8381. }
  8382. [Test]
  8383. public void RepeatInfo_0cols_0itms_vert_tbl_ftr ()
  8384. {
  8385. // cols : 0
  8386. // cnt : 0
  8387. // RepeatDirection : Vertical
  8388. // RepeatLayout : Table
  8389. // OuterTableImplied : False
  8390. // Header : False
  8391. // Footer : True
  8392. // Separator : False
  8393. string v = RepeatInfoUser.DoTest (0, 0, RepeatDirection.Vertical, RepeatLayout.Table, false, false, true, false);
  8394. string exp = @"<table class=""mainstyle"" border=""0"">
  8395. <tr>
  8396. <td class=""Footer-1"">(0,Footer,-1)</td>
  8397. </tr>
  8398. </table>";
  8399. Assert.AreEqual (exp, v, "#450");
  8400. }
  8401. [Test]
  8402. public void RepeatInfo_0cols_1itms_vert_tbl_ftr ()
  8403. {
  8404. // cols : 0
  8405. // cnt : 1
  8406. // RepeatDirection : Vertical
  8407. // RepeatLayout : Table
  8408. // OuterTableImplied : False
  8409. // Header : False
  8410. // Footer : True
  8411. // Separator : False
  8412. string v = RepeatInfoUser.DoTest (0, 1, RepeatDirection.Vertical, RepeatLayout.Table, false, false, true, false);
  8413. string exp = @"<table class=""mainstyle"" border=""0"">
  8414. <tr>
  8415. <td class=""Item0"">(0,Item,0)</td>
  8416. </tr><tr>
  8417. <td class=""Footer-1"">(1,Footer,-1)</td>
  8418. </tr>
  8419. </table>";
  8420. Assert.AreEqual (exp, v, "#451");
  8421. }
  8422. [Test]
  8423. public void RepeatInfo_0cols_2itms_vert_tbl_ftr ()
  8424. {
  8425. // cols : 0
  8426. // cnt : 2
  8427. // RepeatDirection : Vertical
  8428. // RepeatLayout : Table
  8429. // OuterTableImplied : False
  8430. // Header : False
  8431. // Footer : True
  8432. // Separator : False
  8433. string v = RepeatInfoUser.DoTest (0, 2, RepeatDirection.Vertical, RepeatLayout.Table, false, false, true, false);
  8434. string exp = @"<table class=""mainstyle"" border=""0"">
  8435. <tr>
  8436. <td class=""Item0"">(0,Item,0)</td>
  8437. </tr><tr>
  8438. <td class=""Item1"">(1,Item,1)</td>
  8439. </tr><tr>
  8440. <td class=""Footer-1"">(2,Footer,-1)</td>
  8441. </tr>
  8442. </table>";
  8443. Assert.AreEqual (exp, v, "#452");
  8444. }
  8445. [Test]
  8446. public void RepeatInfo_0cols_5itms_vert_tbl_ftr ()
  8447. {
  8448. // cols : 0
  8449. // cnt : 5
  8450. // RepeatDirection : Vertical
  8451. // RepeatLayout : Table
  8452. // OuterTableImplied : False
  8453. // Header : False
  8454. // Footer : True
  8455. // Separator : False
  8456. string v = RepeatInfoUser.DoTest (0, 5, RepeatDirection.Vertical, RepeatLayout.Table, false, false, true, false);
  8457. string exp = @"<table class=""mainstyle"" border=""0"">
  8458. <tr>
  8459. <td class=""Item0"">(0,Item,0)</td>
  8460. </tr><tr>
  8461. <td class=""Item1"">(1,Item,1)</td>
  8462. </tr><tr>
  8463. <td class=""Item2"">(2,Item,2)</td>
  8464. </tr><tr>
  8465. <td class=""Item3"">(3,Item,3)</td>
  8466. </tr><tr>
  8467. <td class=""Item4"">(4,Item,4)</td>
  8468. </tr><tr>
  8469. <td class=""Footer-1"">(5,Footer,-1)</td>
  8470. </tr>
  8471. </table>";
  8472. Assert.AreEqual (exp, v, "#453");
  8473. }
  8474. [Test]
  8475. public void RepeatInfo_1cols_0itms_vert_tbl_ftr ()
  8476. {
  8477. // cols : 1
  8478. // cnt : 0
  8479. // RepeatDirection : Vertical
  8480. // RepeatLayout : Table
  8481. // OuterTableImplied : False
  8482. // Header : False
  8483. // Footer : True
  8484. // Separator : False
  8485. string v = RepeatInfoUser.DoTest (1, 0, RepeatDirection.Vertical, RepeatLayout.Table, false, false, true, false);
  8486. string exp = @"<table class=""mainstyle"" border=""0"">
  8487. <tr>
  8488. <td class=""Footer-1"">(0,Footer,-1)</td>
  8489. </tr>
  8490. </table>";
  8491. Assert.AreEqual (exp, v, "#454");
  8492. }
  8493. [Test]
  8494. public void RepeatInfo_1cols_5itms_vert_tbl_ftr ()
  8495. {
  8496. // cols : 1
  8497. // cnt : 5
  8498. // RepeatDirection : Vertical
  8499. // RepeatLayout : Table
  8500. // OuterTableImplied : False
  8501. // Header : False
  8502. // Footer : True
  8503. // Separator : False
  8504. string v = RepeatInfoUser.DoTest (1, 5, RepeatDirection.Vertical, RepeatLayout.Table, false, false, true, false);
  8505. string exp = @"<table class=""mainstyle"" border=""0"">
  8506. <tr>
  8507. <td class=""Item0"">(0,Item,0)</td>
  8508. </tr><tr>
  8509. <td class=""Item1"">(1,Item,1)</td>
  8510. </tr><tr>
  8511. <td class=""Item2"">(2,Item,2)</td>
  8512. </tr><tr>
  8513. <td class=""Item3"">(3,Item,3)</td>
  8514. </tr><tr>
  8515. <td class=""Item4"">(4,Item,4)</td>
  8516. </tr><tr>
  8517. <td class=""Footer-1"">(5,Footer,-1)</td>
  8518. </tr>
  8519. </table>";
  8520. Assert.AreEqual (exp, v, "#455");
  8521. }
  8522. [Test]
  8523. public void RepeatInfo_2cols_4itms_vert_tbl_ftr ()
  8524. {
  8525. // cols : 2
  8526. // cnt : 4
  8527. // RepeatDirection : Vertical
  8528. // RepeatLayout : Table
  8529. // OuterTableImplied : False
  8530. // Header : False
  8531. // Footer : True
  8532. // Separator : False
  8533. string v = RepeatInfoUser.DoTest (2, 4, RepeatDirection.Vertical, RepeatLayout.Table, false, false, true, false);
  8534. string exp = @"<table class=""mainstyle"" border=""0"">
  8535. <tr>
  8536. <td class=""Item0"">(0,Item,0)</td><td class=""Item2"">(1,Item,2)</td>
  8537. </tr><tr>
  8538. <td class=""Item1"">(2,Item,1)</td><td class=""Item3"">(3,Item,3)</td>
  8539. </tr><tr>
  8540. <td colspan=""2"" class=""Footer-1"">(4,Footer,-1)</td>
  8541. </tr>
  8542. </table>";
  8543. Assert.AreEqual (exp, v, "#456");
  8544. }
  8545. [Test]
  8546. public void RepeatInfo_2cols_7itms_vert_tbl_ftr ()
  8547. {
  8548. // cols : 2
  8549. // cnt : 7
  8550. // RepeatDirection : Vertical
  8551. // RepeatLayout : Table
  8552. // OuterTableImplied : False
  8553. // Header : False
  8554. // Footer : True
  8555. // Separator : False
  8556. string v = RepeatInfoUser.DoTest (2, 7, RepeatDirection.Vertical, RepeatLayout.Table, false, false, true, false);
  8557. string exp = @"<table class=""mainstyle"" border=""0"">
  8558. <tr>
  8559. <td class=""Item0"">(0,Item,0)</td><td class=""Item4"">(1,Item,4)</td>
  8560. </tr><tr>
  8561. <td class=""Item1"">(2,Item,1)</td><td class=""Item5"">(3,Item,5)</td>
  8562. </tr><tr>
  8563. <td class=""Item2"">(4,Item,2)</td><td class=""Item6"">(5,Item,6)</td>
  8564. </tr><tr>
  8565. <td class=""Item3"">(6,Item,3)</td>
  8566. </tr><tr>
  8567. <td colspan=""2"" class=""Footer-1"">(7,Footer,-1)</td>
  8568. </tr>
  8569. </table>";
  8570. Assert.AreEqual (exp, v, "#457");
  8571. }
  8572. [Test]
  8573. public void RepeatInfo_3cols_9itms_vert_tbl_ftr ()
  8574. {
  8575. // cols : 3
  8576. // cnt : 9
  8577. // RepeatDirection : Vertical
  8578. // RepeatLayout : Table
  8579. // OuterTableImplied : False
  8580. // Header : False
  8581. // Footer : True
  8582. // Separator : False
  8583. string v = RepeatInfoUser.DoTest (3, 9, RepeatDirection.Vertical, RepeatLayout.Table, false, false, true, false);
  8584. string exp = @"<table border=""0"">
  8585. <tr>
  8586. <td class=""Item0"">(0,Item,0)</td><td class=""Item3"">(1,Item,3)</td><td class=""Item6"">(2,Item,6)</td>
  8587. </tr><tr>
  8588. <td class=""Item1"">(3,Item,1)</td><td class=""Item4"">(4,Item,4)</td><td class=""Item7"">(5,Item,7)</td>
  8589. </tr><tr>
  8590. <td class=""Item2"">(6,Item,2)</td><td class=""Item5"">(7,Item,5)</td><td class=""Item8"">(8,Item,8)</td>
  8591. </tr><tr>
  8592. <td colspan=""3"" class=""Footer-1"">(9,Footer,-1)</td>
  8593. </tr>
  8594. </table>";
  8595. Assert.AreEqual (exp, v, "#458");
  8596. }
  8597. [Test]
  8598. public void RepeatInfo_3cols_7itms_vert_tbl_ftr ()
  8599. {
  8600. // cols : 3
  8601. // cnt : 7
  8602. // RepeatDirection : Vertical
  8603. // RepeatLayout : Table
  8604. // OuterTableImplied : False
  8605. // Header : False
  8606. // Footer : True
  8607. // Separator : False
  8608. string v = RepeatInfoUser.DoTest (3, 7, RepeatDirection.Vertical, RepeatLayout.Table, false, false, true, false);
  8609. string exp = @"<table border=""0"">
  8610. <tr>
  8611. <td class=""Item0"">(0,Item,0)</td><td class=""Item3"">(1,Item,3)</td><td class=""Item5"">(2,Item,5)</td>
  8612. </tr><tr>
  8613. <td class=""Item1"">(3,Item,1)</td><td class=""Item4"">(4,Item,4)</td><td class=""Item6"">(5,Item,6)</td>
  8614. </tr><tr>
  8615. <td class=""Item2"">(6,Item,2)</td>
  8616. </tr><tr>
  8617. <td colspan=""3"" class=""Footer-1"">(7,Footer,-1)</td>
  8618. </tr>
  8619. </table>";
  8620. Assert.AreEqual (exp, v, "#459");
  8621. }
  8622. [Test]
  8623. public void RepeatInfo_0cols_0itms_horiz_flow_ftr ()
  8624. {
  8625. // cols : 0
  8626. // cnt : 0
  8627. // RepeatDirection : Horizontal
  8628. // RepeatLayout : Flow
  8629. // OuterTableImplied : False
  8630. // Header : False
  8631. // Footer : True
  8632. // Separator : False
  8633. string v = RepeatInfoUser.DoTest (0, 0, RepeatDirection.Horizontal, RepeatLayout.Flow, false, false, true, false);
  8634. string exp = @"<span class=""mainstyle"">(0,Footer,-1)</span>";
  8635. Assert.AreEqual (exp, v, "#460");
  8636. }
  8637. [Test]
  8638. public void RepeatInfo_0cols_1itms_horiz_flow_ftr ()
  8639. {
  8640. // cols : 0
  8641. // cnt : 1
  8642. // RepeatDirection : Horizontal
  8643. // RepeatLayout : Flow
  8644. // OuterTableImplied : False
  8645. // Header : False
  8646. // Footer : True
  8647. // Separator : False
  8648. string v = RepeatInfoUser.DoTest (0, 1, RepeatDirection.Horizontal, RepeatLayout.Flow, false, false, true, false);
  8649. string exp = @"<span class=""mainstyle"">(0,Item,0)(1,Footer,-1)</span>";
  8650. Assert.AreEqual (exp, v, "#461");
  8651. }
  8652. [Test]
  8653. public void RepeatInfo_0cols_2itms_horiz_flow_ftr ()
  8654. {
  8655. // cols : 0
  8656. // cnt : 2
  8657. // RepeatDirection : Horizontal
  8658. // RepeatLayout : Flow
  8659. // OuterTableImplied : False
  8660. // Header : False
  8661. // Footer : True
  8662. // Separator : False
  8663. string v = RepeatInfoUser.DoTest (0, 2, RepeatDirection.Horizontal, RepeatLayout.Flow, false, false, true, false);
  8664. string exp = @"<span class=""mainstyle"">(0,Item,0)(1,Item,1)(2,Footer,-1)</span>";
  8665. Assert.AreEqual (exp, v, "#462");
  8666. }
  8667. [Test]
  8668. public void RepeatInfo_0cols_5itms_horiz_flow_ftr ()
  8669. {
  8670. // cols : 0
  8671. // cnt : 5
  8672. // RepeatDirection : Horizontal
  8673. // RepeatLayout : Flow
  8674. // OuterTableImplied : False
  8675. // Header : False
  8676. // Footer : True
  8677. // Separator : False
  8678. string v = RepeatInfoUser.DoTest (0, 5, RepeatDirection.Horizontal, RepeatLayout.Flow, false, false, true, false);
  8679. string exp = @"<span class=""mainstyle"">(0,Item,0)(1,Item,1)(2,Item,2)(3,Item,3)(4,Item,4)(5,Footer,-1)</span>";
  8680. Assert.AreEqual (exp, v, "#463");
  8681. }
  8682. [Test]
  8683. public void RepeatInfo_1cols_0itms_horiz_flow_ftr ()
  8684. {
  8685. // cols : 1
  8686. // cnt : 0
  8687. // RepeatDirection : Horizontal
  8688. // RepeatLayout : Flow
  8689. // OuterTableImplied : False
  8690. // Header : False
  8691. // Footer : True
  8692. // Separator : False
  8693. string v = RepeatInfoUser.DoTest (1, 0, RepeatDirection.Horizontal, RepeatLayout.Flow, false, false, true, false);
  8694. string exp = @"<span class=""mainstyle"">(0,Footer,-1)</span>";
  8695. Assert.AreEqual (exp, v, "#464");
  8696. }
  8697. [Test]
  8698. public void RepeatInfo_1cols_5itms_horiz_flow_ftr ()
  8699. {
  8700. // cols : 1
  8701. // cnt : 5
  8702. // RepeatDirection : Horizontal
  8703. // RepeatLayout : Flow
  8704. // OuterTableImplied : False
  8705. // Header : False
  8706. // Footer : True
  8707. // Separator : False
  8708. string v = RepeatInfoUser.DoTest (1, 5, RepeatDirection.Horizontal, RepeatLayout.Flow, false, false, true, false);
  8709. 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>";
  8710. Assert.AreEqual (exp, v, "#465");
  8711. }
  8712. [Test]
  8713. public void RepeatInfo_2cols_4itms_horiz_flow_ftr ()
  8714. {
  8715. // cols : 2
  8716. // cnt : 4
  8717. // RepeatDirection : Horizontal
  8718. // RepeatLayout : Flow
  8719. // OuterTableImplied : False
  8720. // Header : False
  8721. // Footer : True
  8722. // Separator : False
  8723. string v = RepeatInfoUser.DoTest (2, 4, RepeatDirection.Horizontal, RepeatLayout.Flow, false, false, true, false);
  8724. string exp = @"<span class=""mainstyle"">(0,Item,0)(1,Item,1)<br>(2,Item,2)(3,Item,3)<br>(4,Footer,-1)</span>";
  8725. Assert.AreEqual (exp, v, "#466");
  8726. }
  8727. [Test]
  8728. public void RepeatInfo_2cols_7itms_horiz_flow_ftr ()
  8729. {
  8730. // cols : 2
  8731. // cnt : 7
  8732. // RepeatDirection : Horizontal
  8733. // RepeatLayout : Flow
  8734. // OuterTableImplied : False
  8735. // Header : False
  8736. // Footer : True
  8737. // Separator : False
  8738. string v = RepeatInfoUser.DoTest (2, 7, RepeatDirection.Horizontal, RepeatLayout.Flow, false, false, true, false);
  8739. 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>";
  8740. Assert.AreEqual (exp, v, "#467");
  8741. }
  8742. [Test]
  8743. public void RepeatInfo_3cols_9itms_horiz_flow_ftr ()
  8744. {
  8745. // cols : 3
  8746. // cnt : 9
  8747. // RepeatDirection : Horizontal
  8748. // RepeatLayout : Flow
  8749. // OuterTableImplied : False
  8750. // Header : False
  8751. // Footer : True
  8752. // Separator : False
  8753. string v = RepeatInfoUser.DoTest (3, 9, RepeatDirection.Horizontal, RepeatLayout.Flow, false, false, true, false);
  8754. 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>";
  8755. Assert.AreEqual (exp, v, "#468");
  8756. }
  8757. [Test]
  8758. public void RepeatInfo_3cols_7itms_horiz_flow_ftr ()
  8759. {
  8760. // cols : 3
  8761. // cnt : 7
  8762. // RepeatDirection : Horizontal
  8763. // RepeatLayout : Flow
  8764. // OuterTableImplied : False
  8765. // Header : False
  8766. // Footer : True
  8767. // Separator : False
  8768. string v = RepeatInfoUser.DoTest (3, 7, RepeatDirection.Horizontal, RepeatLayout.Flow, false, false, true, false);
  8769. 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>";
  8770. Assert.AreEqual (exp, v, "#469");
  8771. }
  8772. [Test]
  8773. public void RepeatInfo_0cols_0itms_vert_flow_ftr ()
  8774. {
  8775. // cols : 0
  8776. // cnt : 0
  8777. // RepeatDirection : Vertical
  8778. // RepeatLayout : Flow
  8779. // OuterTableImplied : False
  8780. // Header : False
  8781. // Footer : True
  8782. // Separator : False
  8783. string v = RepeatInfoUser.DoTest (0, 0, RepeatDirection.Vertical, RepeatLayout.Flow, false, false, true, false);
  8784. string exp = @"<span class=""mainstyle"">(0,Footer,-1)</span>";
  8785. Assert.AreEqual (exp, v, "#470");
  8786. }
  8787. [Test]
  8788. public void RepeatInfo_0cols_1itms_vert_flow_ftr ()
  8789. {
  8790. // cols : 0
  8791. // cnt : 1
  8792. // RepeatDirection : Vertical
  8793. // RepeatLayout : Flow
  8794. // OuterTableImplied : False
  8795. // Header : False
  8796. // Footer : True
  8797. // Separator : False
  8798. string v = RepeatInfoUser.DoTest (0, 1, RepeatDirection.Vertical, RepeatLayout.Flow, false, false, true, false);
  8799. string exp = @"<span class=""mainstyle"">(0,Item,0)<br>(1,Footer,-1)</span>";
  8800. Assert.AreEqual (exp, v, "#471");
  8801. }
  8802. [Test]
  8803. public void RepeatInfo_0cols_2itms_vert_flow_ftr ()
  8804. {
  8805. // cols : 0
  8806. // cnt : 2
  8807. // RepeatDirection : Vertical
  8808. // RepeatLayout : Flow
  8809. // OuterTableImplied : False
  8810. // Header : False
  8811. // Footer : True
  8812. // Separator : False
  8813. string v = RepeatInfoUser.DoTest (0, 2, RepeatDirection.Vertical, RepeatLayout.Flow, false, false, true, false);
  8814. string exp = @"<span class=""mainstyle"">(0,Item,0)<br>(1,Item,1)<br>(2,Footer,-1)</span>";
  8815. Assert.AreEqual (exp, v, "#472");
  8816. }
  8817. [Test]
  8818. public void RepeatInfo_0cols_5itms_vert_flow_ftr ()
  8819. {
  8820. // cols : 0
  8821. // cnt : 5
  8822. // RepeatDirection : Vertical
  8823. // RepeatLayout : Flow
  8824. // OuterTableImplied : False
  8825. // Header : False
  8826. // Footer : True
  8827. // Separator : False
  8828. string v = RepeatInfoUser.DoTest (0, 5, RepeatDirection.Vertical, RepeatLayout.Flow, false, false, true, false);
  8829. 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>";
  8830. Assert.AreEqual (exp, v, "#473");
  8831. }
  8832. [Test]
  8833. public void RepeatInfo_1cols_0itms_vert_flow_ftr ()
  8834. {
  8835. // cols : 1
  8836. // cnt : 0
  8837. // RepeatDirection : Vertical
  8838. // RepeatLayout : Flow
  8839. // OuterTableImplied : False
  8840. // Header : False
  8841. // Footer : True
  8842. // Separator : False
  8843. string v = RepeatInfoUser.DoTest (1, 0, RepeatDirection.Vertical, RepeatLayout.Flow, false, false, true, false);
  8844. string exp = @"<span class=""mainstyle"">(0,Footer,-1)</span>";
  8845. Assert.AreEqual (exp, v, "#474");
  8846. }
  8847. [Test]
  8848. public void RepeatInfo_1cols_5itms_vert_flow_ftr ()
  8849. {
  8850. // cols : 1
  8851. // cnt : 5
  8852. // RepeatDirection : Vertical
  8853. // RepeatLayout : Flow
  8854. // OuterTableImplied : False
  8855. // Header : False
  8856. // Footer : True
  8857. // Separator : False
  8858. string v = RepeatInfoUser.DoTest (1, 5, RepeatDirection.Vertical, RepeatLayout.Flow, false, false, true, false);
  8859. 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>";
  8860. Assert.AreEqual (exp, v, "#475");
  8861. }
  8862. [Test]
  8863. public void RepeatInfo_2cols_4itms_vert_flow_ftr ()
  8864. {
  8865. // cols : 2
  8866. // cnt : 4
  8867. // RepeatDirection : Vertical
  8868. // RepeatLayout : Flow
  8869. // OuterTableImplied : False
  8870. // Header : False
  8871. // Footer : True
  8872. // Separator : False
  8873. string v = RepeatInfoUser.DoTest (2, 4, RepeatDirection.Vertical, RepeatLayout.Flow, false, false, true, false);
  8874. string exp = @"<span class=""mainstyle"">(0,Item,0)(1,Item,2)<br>(2,Item,1)(3,Item,3)<br>(4,Footer,-1)</span>";
  8875. Assert.AreEqual (exp, v, "#476");
  8876. }
  8877. [Test]
  8878. public void RepeatInfo_2cols_7itms_vert_flow_ftr ()
  8879. {
  8880. // cols : 2
  8881. // cnt : 7
  8882. // RepeatDirection : Vertical
  8883. // RepeatLayout : Flow
  8884. // OuterTableImplied : False
  8885. // Header : False
  8886. // Footer : True
  8887. // Separator : False
  8888. string v = RepeatInfoUser.DoTest (2, 7, RepeatDirection.Vertical, RepeatLayout.Flow, false, false, true, false);
  8889. 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>";
  8890. Assert.AreEqual (exp, v, "#477");
  8891. }
  8892. [Test]
  8893. public void RepeatInfo_3cols_9itms_vert_flow_ftr ()
  8894. {
  8895. // cols : 3
  8896. // cnt : 9
  8897. // RepeatDirection : Vertical
  8898. // RepeatLayout : Flow
  8899. // OuterTableImplied : False
  8900. // Header : False
  8901. // Footer : True
  8902. // Separator : False
  8903. string v = RepeatInfoUser.DoTest (3, 9, RepeatDirection.Vertical, RepeatLayout.Flow, false, false, true, false);
  8904. 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>";
  8905. Assert.AreEqual (exp, v, "#478");
  8906. }
  8907. [Test]
  8908. public void RepeatInfo_3cols_7itms_vert_flow_ftr ()
  8909. {
  8910. // cols : 3
  8911. // cnt : 7
  8912. // RepeatDirection : Vertical
  8913. // RepeatLayout : Flow
  8914. // OuterTableImplied : False
  8915. // Header : False
  8916. // Footer : True
  8917. // Separator : False
  8918. string v = RepeatInfoUser.DoTest (3, 7, RepeatDirection.Vertical, RepeatLayout.Flow, false, false, true, false);
  8919. 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>";
  8920. Assert.AreEqual (exp, v, "#479");
  8921. }
  8922. [Test]
  8923. public void RepeatInfo_0cols_0itms_horiz_tbl_otrtblimp_hdr ()
  8924. {
  8925. // cols : 0
  8926. // cnt : 0
  8927. // RepeatDirection : Horizontal
  8928. // RepeatLayout : Table
  8929. // OuterTableImplied : True
  8930. // Header : True
  8931. // Footer : False
  8932. // Separator : False
  8933. string v = RepeatInfoUser.DoTest (0, 0, RepeatDirection.Horizontal, RepeatLayout.Table, true, true, false, false);
  8934. string exp = @"<table class=""mainstyle"" border=""0"">
  8935. <tr>
  8936. <td colspan=""0"" class=""Header-1"">(0,Header,-1)</td>
  8937. </tr>
  8938. </table>";
  8939. Assert.AreEqual (exp, v, "#480");
  8940. }
  8941. [Test]
  8942. public void RepeatInfo_0cols_1itms_horiz_tbl_otrtblimp_hdr ()
  8943. {
  8944. // cols : 0
  8945. // cnt : 1
  8946. // RepeatDirection : Horizontal
  8947. // RepeatLayout : Table
  8948. // OuterTableImplied : True
  8949. // Header : True
  8950. // Footer : False
  8951. // Separator : False
  8952. string v = RepeatInfoUser.DoTest (0, 1, RepeatDirection.Horizontal, RepeatLayout.Table, true, true, false, false);
  8953. string exp = @"<table class=""mainstyle"" border=""0"">
  8954. <tr>
  8955. <td class=""Header-1"">(0,Header,-1)</td>
  8956. </tr><tr>
  8957. <td class=""Item0"">(1,Item,0)</td>
  8958. </tr>
  8959. </table>";
  8960. Assert.AreEqual (exp, v, "#481");
  8961. }
  8962. [Test]
  8963. public void RepeatInfo_0cols_2itms_horiz_tbl_otrtblimp_hdr ()
  8964. {
  8965. // cols : 0
  8966. // cnt : 2
  8967. // RepeatDirection : Horizontal
  8968. // RepeatLayout : Table
  8969. // OuterTableImplied : True
  8970. // Header : True
  8971. // Footer : False
  8972. // Separator : False
  8973. string v = RepeatInfoUser.DoTest (0, 2, RepeatDirection.Horizontal, RepeatLayout.Table, true, true, false, false);
  8974. string exp = @"<table class=""mainstyle"" border=""0"">
  8975. <tr>
  8976. <td colspan=""2"" class=""Header-1"">(0,Header,-1)</td>
  8977. </tr><tr>
  8978. <td class=""Item0"">(1,Item,0)</td><td class=""Item1"">(2,Item,1)</td>
  8979. </tr>
  8980. </table>";
  8981. Assert.AreEqual (exp, v, "#482");
  8982. }
  8983. [Test]
  8984. public void RepeatInfo_0cols_5itms_horiz_tbl_otrtblimp_hdr ()
  8985. {
  8986. // cols : 0
  8987. // cnt : 5
  8988. // RepeatDirection : Horizontal
  8989. // RepeatLayout : Table
  8990. // OuterTableImplied : True
  8991. // Header : True
  8992. // Footer : False
  8993. // Separator : False
  8994. string v = RepeatInfoUser.DoTest (0, 5, RepeatDirection.Horizontal, RepeatLayout.Table, true, true, false, false);
  8995. string exp = @"<table class=""mainstyle"" border=""0"">
  8996. <tr>
  8997. <td colspan=""5"" class=""Header-1"">(0,Header,-1)</td>
  8998. </tr><tr>
  8999. <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>
  9000. </tr>
  9001. </table>";
  9002. Assert.AreEqual (exp, v, "#483");
  9003. }
  9004. [Test]
  9005. public void RepeatInfo_1cols_0itms_horiz_tbl_otrtblimp_hdr ()
  9006. {
  9007. // cols : 1
  9008. // cnt : 0
  9009. // RepeatDirection : Horizontal
  9010. // RepeatLayout : Table
  9011. // OuterTableImplied : True
  9012. // Header : True
  9013. // Footer : False
  9014. // Separator : False
  9015. string v = RepeatInfoUser.DoTest (1, 0, RepeatDirection.Horizontal, RepeatLayout.Table, true, true, false, false);
  9016. string exp = @"<table class=""mainstyle"" border=""0"">
  9017. <tr>
  9018. <td class=""Header-1"">(0,Header,-1)</td>
  9019. </tr>
  9020. </table>";
  9021. Assert.AreEqual (exp, v, "#484");
  9022. }
  9023. [Test]
  9024. public void RepeatInfo_1cols_5itms_horiz_tbl_otrtblimp_hdr ()
  9025. {
  9026. // cols : 1
  9027. // cnt : 5
  9028. // RepeatDirection : Horizontal
  9029. // RepeatLayout : Table
  9030. // OuterTableImplied : True
  9031. // Header : True
  9032. // Footer : False
  9033. // Separator : False
  9034. string v = RepeatInfoUser.DoTest (1, 5, RepeatDirection.Horizontal, RepeatLayout.Table, true, true, false, false);
  9035. string exp = @"<table class=""mainstyle"" border=""0"">
  9036. <tr>
  9037. <td class=""Header-1"">(0,Header,-1)</td>
  9038. </tr><tr>
  9039. <td class=""Item0"">(1,Item,0)</td>
  9040. </tr><tr>
  9041. <td class=""Item1"">(2,Item,1)</td>
  9042. </tr><tr>
  9043. <td class=""Item2"">(3,Item,2)</td>
  9044. </tr><tr>
  9045. <td class=""Item3"">(4,Item,3)</td>
  9046. </tr><tr>
  9047. <td class=""Item4"">(5,Item,4)</td>
  9048. </tr>
  9049. </table>";
  9050. Assert.AreEqual (exp, v, "#485");
  9051. }
  9052. [Test]
  9053. public void RepeatInfo_2cols_4itms_horiz_tbl_otrtblimp_hdr ()
  9054. {
  9055. // cols : 2
  9056. // cnt : 4
  9057. // RepeatDirection : Horizontal
  9058. // RepeatLayout : Table
  9059. // OuterTableImplied : True
  9060. // Header : True
  9061. // Footer : False
  9062. // Separator : False
  9063. string v = RepeatInfoUser.DoTest (2, 4, RepeatDirection.Horizontal, RepeatLayout.Table, true, true, false, false);
  9064. string exp = @"<table class=""mainstyle"" border=""0"">
  9065. <tr>
  9066. <td colspan=""2"" class=""Header-1"">(0,Header,-1)</td>
  9067. </tr><tr>
  9068. <td class=""Item0"">(1,Item,0)</td><td class=""Item1"">(2,Item,1)</td>
  9069. </tr><tr>
  9070. <td class=""Item2"">(3,Item,2)</td><td class=""Item3"">(4,Item,3)</td>
  9071. </tr>
  9072. </table>";
  9073. Assert.AreEqual (exp, v, "#486");
  9074. }
  9075. [Test]
  9076. public void RepeatInfo_2cols_7itms_horiz_tbl_otrtblimp_hdr ()
  9077. {
  9078. // cols : 2
  9079. // cnt : 7
  9080. // RepeatDirection : Horizontal
  9081. // RepeatLayout : Table
  9082. // OuterTableImplied : True
  9083. // Header : True
  9084. // Footer : False
  9085. // Separator : False
  9086. string v = RepeatInfoUser.DoTest (2, 7, RepeatDirection.Horizontal, RepeatLayout.Table, true, true, false, false);
  9087. string exp = @"<table class=""mainstyle"" border=""0"">
  9088. <tr>
  9089. <td colspan=""2"" class=""Header-1"">(0,Header,-1)</td>
  9090. </tr><tr>
  9091. <td class=""Item0"">(1,Item,0)</td><td class=""Item1"">(2,Item,1)</td>
  9092. </tr><tr>
  9093. <td class=""Item2"">(3,Item,2)</td><td class=""Item3"">(4,Item,3)</td>
  9094. </tr><tr>
  9095. <td class=""Item4"">(5,Item,4)</td><td class=""Item5"">(6,Item,5)</td>
  9096. </tr><tr>
  9097. <td class=""Item6"">(7,Item,6)</td>
  9098. </tr>
  9099. </table>";
  9100. Assert.AreEqual (exp, v, "#487");
  9101. }
  9102. [Test]
  9103. public void RepeatInfo_3cols_9itms_horiz_tbl_otrtblimp_hdr ()
  9104. {
  9105. // cols : 3
  9106. // cnt : 9
  9107. // RepeatDirection : Horizontal
  9108. // RepeatLayout : Table
  9109. // OuterTableImplied : True
  9110. // Header : True
  9111. // Footer : False
  9112. // Separator : False
  9113. string v = RepeatInfoUser.DoTest (3, 9, RepeatDirection.Horizontal, RepeatLayout.Table, true, true, false, false);
  9114. string exp = @"<table border=""0"">
  9115. <tr>
  9116. <td colspan=""3"" class=""Header-1"">(0,Header,-1)</td>
  9117. </tr><tr>
  9118. <td class=""Item0"">(1,Item,0)</td><td class=""Item1"">(2,Item,1)</td><td class=""Item2"">(3,Item,2)</td>
  9119. </tr><tr>
  9120. <td class=""Item3"">(4,Item,3)</td><td class=""Item4"">(5,Item,4)</td><td class=""Item5"">(6,Item,5)</td>
  9121. </tr><tr>
  9122. <td class=""Item6"">(7,Item,6)</td><td class=""Item7"">(8,Item,7)</td><td class=""Item8"">(9,Item,8)</td>
  9123. </tr>
  9124. </table>";
  9125. Assert.AreEqual (exp, v, "#488");
  9126. }
  9127. [Test]
  9128. public void RepeatInfo_3cols_7itms_horiz_tbl_otrtblimp_hdr ()
  9129. {
  9130. // cols : 3
  9131. // cnt : 7
  9132. // RepeatDirection : Horizontal
  9133. // RepeatLayout : Table
  9134. // OuterTableImplied : True
  9135. // Header : True
  9136. // Footer : False
  9137. // Separator : False
  9138. string v = RepeatInfoUser.DoTest (3, 7, RepeatDirection.Horizontal, RepeatLayout.Table, true, true, false, false);
  9139. string exp = @"<table border=""0"">
  9140. <tr>
  9141. <td colspan=""3"" class=""Header-1"">(0,Header,-1)</td>
  9142. </tr><tr>
  9143. <td class=""Item0"">(1,Item,0)</td><td class=""Item1"">(2,Item,1)</td><td class=""Item2"">(3,Item,2)</td>
  9144. </tr><tr>
  9145. <td class=""Item3"">(4,Item,3)</td><td class=""Item4"">(5,Item,4)</td><td class=""Item5"">(6,Item,5)</td>
  9146. </tr><tr>
  9147. <td class=""Item6"">(7,Item,6)</td>
  9148. </tr>
  9149. </table>";
  9150. Assert.AreEqual (exp, v, "#489");
  9151. }
  9152. [Test]
  9153. public void RepeatInfo_0cols_0itms_vert_tbl_otrtblimp_hdr ()
  9154. {
  9155. // cols : 0
  9156. // cnt : 0
  9157. // RepeatDirection : Vertical
  9158. // RepeatLayout : Table
  9159. // OuterTableImplied : True
  9160. // Header : True
  9161. // Footer : False
  9162. // Separator : False
  9163. string v = RepeatInfoUser.DoTest (0, 0, RepeatDirection.Vertical, RepeatLayout.Table, true, true, false, false);
  9164. string exp = @"(0,Header,-1)";
  9165. Assert.AreEqual (exp, v, "#490");
  9166. }
  9167. [Test]
  9168. public void RepeatInfo_0cols_1itms_vert_tbl_otrtblimp_hdr ()
  9169. {
  9170. // cols : 0
  9171. // cnt : 1
  9172. // RepeatDirection : Vertical
  9173. // RepeatLayout : Table
  9174. // OuterTableImplied : True
  9175. // Header : True
  9176. // Footer : False
  9177. // Separator : False
  9178. string v = RepeatInfoUser.DoTest (0, 1, RepeatDirection.Vertical, RepeatLayout.Table, true, true, false, false);
  9179. string exp = @"(0,Header,-1)(1,Item,0)";
  9180. Assert.AreEqual (exp, v, "#491");
  9181. }
  9182. [Test]
  9183. public void RepeatInfo_0cols_2itms_vert_tbl_otrtblimp_hdr ()
  9184. {
  9185. // cols : 0
  9186. // cnt : 2
  9187. // RepeatDirection : Vertical
  9188. // RepeatLayout : Table
  9189. // OuterTableImplied : True
  9190. // Header : True
  9191. // Footer : False
  9192. // Separator : False
  9193. string v = RepeatInfoUser.DoTest (0, 2, RepeatDirection.Vertical, RepeatLayout.Table, true, true, false, false);
  9194. string exp = @"(0,Header,-1)(1,Item,0)(2,Item,1)";
  9195. Assert.AreEqual (exp, v, "#492");
  9196. }
  9197. [Test]
  9198. public void RepeatInfo_0cols_5itms_vert_tbl_otrtblimp_hdr ()
  9199. {
  9200. // cols : 0
  9201. // cnt : 5
  9202. // RepeatDirection : Vertical
  9203. // RepeatLayout : Table
  9204. // OuterTableImplied : True
  9205. // Header : True
  9206. // Footer : False
  9207. // Separator : False
  9208. string v = RepeatInfoUser.DoTest (0, 5, RepeatDirection.Vertical, RepeatLayout.Table, true, true, false, false);
  9209. string exp = @"(0,Header,-1)(1,Item,0)(2,Item,1)(3,Item,2)(4,Item,3)(5,Item,4)";
  9210. Assert.AreEqual (exp, v, "#493");
  9211. }
  9212. [Test]
  9213. public void RepeatInfo_1cols_0itms_vert_tbl_otrtblimp_hdr ()
  9214. {
  9215. // cols : 1
  9216. // cnt : 0
  9217. // RepeatDirection : Vertical
  9218. // RepeatLayout : Table
  9219. // OuterTableImplied : True
  9220. // Header : True
  9221. // Footer : False
  9222. // Separator : False
  9223. string v = RepeatInfoUser.DoTest (1, 0, RepeatDirection.Vertical, RepeatLayout.Table, true, true, false, false);
  9224. string exp = @"(0,Header,-1)";
  9225. Assert.AreEqual (exp, v, "#494");
  9226. }
  9227. [Test]
  9228. public void RepeatInfo_1cols_5itms_vert_tbl_otrtblimp_hdr ()
  9229. {
  9230. // cols : 1
  9231. // cnt : 5
  9232. // RepeatDirection : Vertical
  9233. // RepeatLayout : Table
  9234. // OuterTableImplied : True
  9235. // Header : True
  9236. // Footer : False
  9237. // Separator : False
  9238. string v = RepeatInfoUser.DoTest (1, 5, RepeatDirection.Vertical, RepeatLayout.Table, true, true, false, false);
  9239. string exp = @"(0,Header,-1)(1,Item,0)(2,Item,1)(3,Item,2)(4,Item,3)(5,Item,4)";
  9240. Assert.AreEqual (exp, v, "#495");
  9241. }
  9242. [Test]
  9243. public void RepeatInfo_2cols_4itms_vert_tbl_otrtblimp_hdr ()
  9244. {
  9245. // cols : 2
  9246. // cnt : 4
  9247. // RepeatDirection : Vertical
  9248. // RepeatLayout : Table
  9249. // OuterTableImplied : True
  9250. // Header : True
  9251. // Footer : False
  9252. // Separator : False
  9253. string v = RepeatInfoUser.DoTest (2, 4, RepeatDirection.Vertical, RepeatLayout.Table, true, true, false, false);
  9254. string exp = @"(0,Header,-1)(1,Item,0)(2,Item,2)(3,Item,1)(4,Item,3)";
  9255. Assert.AreEqual (exp, v, "#496");
  9256. }
  9257. [Test]
  9258. public void RepeatInfo_2cols_7itms_vert_tbl_otrtblimp_hdr ()
  9259. {
  9260. // cols : 2
  9261. // cnt : 7
  9262. // RepeatDirection : Vertical
  9263. // RepeatLayout : Table
  9264. // OuterTableImplied : True
  9265. // Header : True
  9266. // Footer : False
  9267. // Separator : False
  9268. string v = RepeatInfoUser.DoTest (2, 7, RepeatDirection.Vertical, RepeatLayout.Table, true, true, false, false);
  9269. 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)";
  9270. Assert.AreEqual (exp, v, "#497");
  9271. }
  9272. [Test]
  9273. public void RepeatInfo_3cols_9itms_vert_tbl_otrtblimp_hdr ()
  9274. {
  9275. // cols : 3
  9276. // cnt : 9
  9277. // RepeatDirection : Vertical
  9278. // RepeatLayout : Table
  9279. // OuterTableImplied : True
  9280. // Header : True
  9281. // Footer : False
  9282. // Separator : False
  9283. string v = RepeatInfoUser.DoTest (3, 9, RepeatDirection.Vertical, RepeatLayout.Table, true, true, false, false);
  9284. 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)";
  9285. Assert.AreEqual (exp, v, "#498");
  9286. }
  9287. [Test]
  9288. public void RepeatInfo_3cols_7itms_vert_tbl_otrtblimp_hdr ()
  9289. {
  9290. // cols : 3
  9291. // cnt : 7
  9292. // RepeatDirection : Vertical
  9293. // RepeatLayout : Table
  9294. // OuterTableImplied : True
  9295. // Header : True
  9296. // Footer : False
  9297. // Separator : False
  9298. string v = RepeatInfoUser.DoTest (3, 7, RepeatDirection.Vertical, RepeatLayout.Table, true, true, false, false);
  9299. 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)";
  9300. Assert.AreEqual (exp, v, "#499");
  9301. }
  9302. [Test]
  9303. public void RepeatInfo_0cols_0itms_horiz_flow_otrtblimp_hdr ()
  9304. {
  9305. // cols : 0
  9306. // cnt : 0
  9307. // RepeatDirection : Horizontal
  9308. // RepeatLayout : Flow
  9309. // OuterTableImplied : True
  9310. // Header : True
  9311. // Footer : False
  9312. // Separator : False
  9313. string v = RepeatInfoUser.DoTest (0, 0, RepeatDirection.Horizontal, RepeatLayout.Flow, true, true, false, false);
  9314. string exp = @"<span class=""mainstyle"">(0,Header,-1)</span>";
  9315. Assert.AreEqual (exp, v, "#500");
  9316. }
  9317. [Test]
  9318. public void RepeatInfo_0cols_1itms_horiz_flow_otrtblimp_hdr ()
  9319. {
  9320. // cols : 0
  9321. // cnt : 1
  9322. // RepeatDirection : Horizontal
  9323. // RepeatLayout : Flow
  9324. // OuterTableImplied : True
  9325. // Header : True
  9326. // Footer : False
  9327. // Separator : False
  9328. string v = RepeatInfoUser.DoTest (0, 1, RepeatDirection.Horizontal, RepeatLayout.Flow, true, true, false, false);
  9329. string exp = @"<span class=""mainstyle"">(0,Header,-1)(1,Item,0)</span>";
  9330. Assert.AreEqual (exp, v, "#501");
  9331. }
  9332. [Test]
  9333. public void RepeatInfo_0cols_2itms_horiz_flow_otrtblimp_hdr ()
  9334. {
  9335. // cols : 0
  9336. // cnt : 2
  9337. // RepeatDirection : Horizontal
  9338. // RepeatLayout : Flow
  9339. // OuterTableImplied : True
  9340. // Header : True
  9341. // Footer : False
  9342. // Separator : False
  9343. string v = RepeatInfoUser.DoTest (0, 2, RepeatDirection.Horizontal, RepeatLayout.Flow, true, true, false, false);
  9344. string exp = @"<span class=""mainstyle"">(0,Header,-1)(1,Item,0)(2,Item,1)</span>";
  9345. Assert.AreEqual (exp, v, "#502");
  9346. }
  9347. [Test]
  9348. public void RepeatInfo_0cols_5itms_horiz_flow_otrtblimp_hdr ()
  9349. {
  9350. // cols : 0
  9351. // cnt : 5
  9352. // RepeatDirection : Horizontal
  9353. // RepeatLayout : Flow
  9354. // OuterTableImplied : True
  9355. // Header : True
  9356. // Footer : False
  9357. // Separator : False
  9358. string v = RepeatInfoUser.DoTest (0, 5, RepeatDirection.Horizontal, RepeatLayout.Flow, true, true, false, false);
  9359. string exp = @"<span class=""mainstyle"">(0,Header,-1)(1,Item,0)(2,Item,1)(3,Item,2)(4,Item,3)(5,Item,4)</span>";
  9360. Assert.AreEqual (exp, v, "#503");
  9361. }
  9362. [Test]
  9363. public void RepeatInfo_1cols_0itms_horiz_flow_otrtblimp_hdr ()
  9364. {
  9365. // cols : 1
  9366. // cnt : 0
  9367. // RepeatDirection : Horizontal
  9368. // RepeatLayout : Flow
  9369. // OuterTableImplied : True
  9370. // Header : True
  9371. // Footer : False
  9372. // Separator : False
  9373. string v = RepeatInfoUser.DoTest (1, 0, RepeatDirection.Horizontal, RepeatLayout.Flow, true, true, false, false);
  9374. string exp = @"<span class=""mainstyle"">(0,Header,-1)</span>";
  9375. Assert.AreEqual (exp, v, "#504");
  9376. }
  9377. [Test]
  9378. public void RepeatInfo_1cols_5itms_horiz_flow_otrtblimp_hdr ()
  9379. {
  9380. // cols : 1
  9381. // cnt : 5
  9382. // RepeatDirection : Horizontal
  9383. // RepeatLayout : Flow
  9384. // OuterTableImplied : True
  9385. // Header : True
  9386. // Footer : False
  9387. // Separator : False
  9388. string v = RepeatInfoUser.DoTest (1, 5, RepeatDirection.Horizontal, RepeatLayout.Flow, true, true, false, false);
  9389. 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>";
  9390. Assert.AreEqual (exp, v, "#505");
  9391. }
  9392. [Test]
  9393. public void RepeatInfo_2cols_4itms_horiz_flow_otrtblimp_hdr ()
  9394. {
  9395. // cols : 2
  9396. // cnt : 4
  9397. // RepeatDirection : Horizontal
  9398. // RepeatLayout : Flow
  9399. // OuterTableImplied : True
  9400. // Header : True
  9401. // Footer : False
  9402. // Separator : False
  9403. string v = RepeatInfoUser.DoTest (2, 4, RepeatDirection.Horizontal, RepeatLayout.Flow, true, true, false, false);
  9404. string exp = @"<span class=""mainstyle"">(0,Header,-1)<br>(1,Item,0)(2,Item,1)<br>(3,Item,2)(4,Item,3)<br></span>";
  9405. Assert.AreEqual (exp, v, "#506");
  9406. }
  9407. [Test]
  9408. public void RepeatInfo_2cols_7itms_horiz_flow_otrtblimp_hdr ()
  9409. {
  9410. // cols : 2
  9411. // cnt : 7
  9412. // RepeatDirection : Horizontal
  9413. // RepeatLayout : Flow
  9414. // OuterTableImplied : True
  9415. // Header : True
  9416. // Footer : False
  9417. // Separator : False
  9418. string v = RepeatInfoUser.DoTest (2, 7, RepeatDirection.Horizontal, RepeatLayout.Flow, true, true, false, false);
  9419. 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>";
  9420. Assert.AreEqual (exp, v, "#507");
  9421. }
  9422. [Test]
  9423. public void RepeatInfo_3cols_9itms_horiz_flow_otrtblimp_hdr ()
  9424. {
  9425. // cols : 3
  9426. // cnt : 9
  9427. // RepeatDirection : Horizontal
  9428. // RepeatLayout : Flow
  9429. // OuterTableImplied : True
  9430. // Header : True
  9431. // Footer : False
  9432. // Separator : False
  9433. string v = RepeatInfoUser.DoTest (3, 9, RepeatDirection.Horizontal, RepeatLayout.Flow, true, true, false, false);
  9434. 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>";
  9435. Assert.AreEqual (exp, v, "#508");
  9436. }
  9437. [Test]
  9438. public void RepeatInfo_3cols_7itms_horiz_flow_otrtblimp_hdr ()
  9439. {
  9440. // cols : 3
  9441. // cnt : 7
  9442. // RepeatDirection : Horizontal
  9443. // RepeatLayout : Flow
  9444. // OuterTableImplied : True
  9445. // Header : True
  9446. // Footer : False
  9447. // Separator : False
  9448. string v = RepeatInfoUser.DoTest (3, 7, RepeatDirection.Horizontal, RepeatLayout.Flow, true, true, false, false);
  9449. 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>";
  9450. Assert.AreEqual (exp, v, "#509");
  9451. }
  9452. [Test]
  9453. public void RepeatInfo_0cols_0itms_vert_flow_otrtblimp_hdr ()
  9454. {
  9455. // cols : 0
  9456. // cnt : 0
  9457. // RepeatDirection : Vertical
  9458. // RepeatLayout : Flow
  9459. // OuterTableImplied : True
  9460. // Header : True
  9461. // Footer : False
  9462. // Separator : False
  9463. string v = RepeatInfoUser.DoTest (0, 0, RepeatDirection.Vertical, RepeatLayout.Flow, true, true, false, false);
  9464. string exp = @"(0,Header,-1)";
  9465. Assert.AreEqual (exp, v, "#510");
  9466. }
  9467. [Test]
  9468. public void RepeatInfo_0cols_1itms_vert_flow_otrtblimp_hdr ()
  9469. {
  9470. // cols : 0
  9471. // cnt : 1
  9472. // RepeatDirection : Vertical
  9473. // RepeatLayout : Flow
  9474. // OuterTableImplied : True
  9475. // Header : True
  9476. // Footer : False
  9477. // Separator : False
  9478. string v = RepeatInfoUser.DoTest (0, 1, RepeatDirection.Vertical, RepeatLayout.Flow, true, true, false, false);
  9479. string exp = @"(0,Header,-1)(1,Item,0)";
  9480. Assert.AreEqual (exp, v, "#511");
  9481. }
  9482. [Test]
  9483. public void RepeatInfo_0cols_2itms_vert_flow_otrtblimp_hdr ()
  9484. {
  9485. // cols : 0
  9486. // cnt : 2
  9487. // RepeatDirection : Vertical
  9488. // RepeatLayout : Flow
  9489. // OuterTableImplied : True
  9490. // Header : True
  9491. // Footer : False
  9492. // Separator : False
  9493. string v = RepeatInfoUser.DoTest (0, 2, RepeatDirection.Vertical, RepeatLayout.Flow, true, true, false, false);
  9494. string exp = @"(0,Header,-1)(1,Item,0)(2,Item,1)";
  9495. Assert.AreEqual (exp, v, "#512");
  9496. }
  9497. [Test]
  9498. public void RepeatInfo_0cols_5itms_vert_flow_otrtblimp_hdr ()
  9499. {
  9500. // cols : 0
  9501. // cnt : 5
  9502. // RepeatDirection : Vertical
  9503. // RepeatLayout : Flow
  9504. // OuterTableImplied : True
  9505. // Header : True
  9506. // Footer : False
  9507. // Separator : False
  9508. string v = RepeatInfoUser.DoTest (0, 5, RepeatDirection.Vertical, RepeatLayout.Flow, true, true, false, false);
  9509. string exp = @"(0,Header,-1)(1,Item,0)(2,Item,1)(3,Item,2)(4,Item,3)(5,Item,4)";
  9510. Assert.AreEqual (exp, v, "#513");
  9511. }
  9512. [Test]
  9513. public void RepeatInfo_1cols_0itms_vert_flow_otrtblimp_hdr ()
  9514. {
  9515. // cols : 1
  9516. // cnt : 0
  9517. // RepeatDirection : Vertical
  9518. // RepeatLayout : Flow
  9519. // OuterTableImplied : True
  9520. // Header : True
  9521. // Footer : False
  9522. // Separator : False
  9523. string v = RepeatInfoUser.DoTest (1, 0, RepeatDirection.Vertical, RepeatLayout.Flow, true, true, false, false);
  9524. string exp = @"(0,Header,-1)";
  9525. Assert.AreEqual (exp, v, "#514");
  9526. }
  9527. [Test]
  9528. public void RepeatInfo_1cols_5itms_vert_flow_otrtblimp_hdr ()
  9529. {
  9530. // cols : 1
  9531. // cnt : 5
  9532. // RepeatDirection : Vertical
  9533. // RepeatLayout : Flow
  9534. // OuterTableImplied : True
  9535. // Header : True
  9536. // Footer : False
  9537. // Separator : False
  9538. string v = RepeatInfoUser.DoTest (1, 5, RepeatDirection.Vertical, RepeatLayout.Flow, true, true, false, false);
  9539. string exp = @"(0,Header,-1)(1,Item,0)(2,Item,1)(3,Item,2)(4,Item,3)(5,Item,4)";
  9540. Assert.AreEqual (exp, v, "#515");
  9541. }
  9542. [Test]
  9543. public void RepeatInfo_2cols_4itms_vert_flow_otrtblimp_hdr ()
  9544. {
  9545. // cols : 2
  9546. // cnt : 4
  9547. // RepeatDirection : Vertical
  9548. // RepeatLayout : Flow
  9549. // OuterTableImplied : True
  9550. // Header : True
  9551. // Footer : False
  9552. // Separator : False
  9553. string v = RepeatInfoUser.DoTest (2, 4, RepeatDirection.Vertical, RepeatLayout.Flow, true, true, false, false);
  9554. string exp = @"(0,Header,-1)(1,Item,0)(2,Item,2)(3,Item,1)(4,Item,3)";
  9555. Assert.AreEqual (exp, v, "#516");
  9556. }
  9557. [Test]
  9558. public void RepeatInfo_2cols_7itms_vert_flow_otrtblimp_hdr ()
  9559. {
  9560. // cols : 2
  9561. // cnt : 7
  9562. // RepeatDirection : Vertical
  9563. // RepeatLayout : Flow
  9564. // OuterTableImplied : True
  9565. // Header : True
  9566. // Footer : False
  9567. // Separator : False
  9568. string v = RepeatInfoUser.DoTest (2, 7, RepeatDirection.Vertical, RepeatLayout.Flow, true, true, false, false);
  9569. 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)";
  9570. Assert.AreEqual (exp, v, "#517");
  9571. }
  9572. [Test]
  9573. public void RepeatInfo_3cols_9itms_vert_flow_otrtblimp_hdr ()
  9574. {
  9575. // cols : 3
  9576. // cnt : 9
  9577. // RepeatDirection : Vertical
  9578. // RepeatLayout : Flow
  9579. // OuterTableImplied : True
  9580. // Header : True
  9581. // Footer : False
  9582. // Separator : False
  9583. string v = RepeatInfoUser.DoTest (3, 9, RepeatDirection.Vertical, RepeatLayout.Flow, true, true, false, false);
  9584. 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)";
  9585. Assert.AreEqual (exp, v, "#518");
  9586. }
  9587. [Test]
  9588. public void RepeatInfo_3cols_7itms_vert_flow_otrtblimp_hdr ()
  9589. {
  9590. // cols : 3
  9591. // cnt : 7
  9592. // RepeatDirection : Vertical
  9593. // RepeatLayout : Flow
  9594. // OuterTableImplied : True
  9595. // Header : True
  9596. // Footer : False
  9597. // Separator : False
  9598. string v = RepeatInfoUser.DoTest (3, 7, RepeatDirection.Vertical, RepeatLayout.Flow, true, true, false, false);
  9599. 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)";
  9600. Assert.AreEqual (exp, v, "#519");
  9601. }
  9602. [Test]
  9603. public void RepeatInfo_0cols_0itms_horiz_tbl_hdr ()
  9604. {
  9605. // cols : 0
  9606. // cnt : 0
  9607. // RepeatDirection : Horizontal
  9608. // RepeatLayout : Table
  9609. // OuterTableImplied : False
  9610. // Header : True
  9611. // Footer : False
  9612. // Separator : False
  9613. string v = RepeatInfoUser.DoTest (0, 0, RepeatDirection.Horizontal, RepeatLayout.Table, false, true, false, false);
  9614. string exp = @"<table class=""mainstyle"" border=""0"">
  9615. <tr>
  9616. <td colspan=""0"" class=""Header-1"">(0,Header,-1)</td>
  9617. </tr>
  9618. </table>";
  9619. Assert.AreEqual (exp, v, "#520");
  9620. }
  9621. [Test]
  9622. public void RepeatInfo_0cols_1itms_horiz_tbl_hdr ()
  9623. {
  9624. // cols : 0
  9625. // cnt : 1
  9626. // RepeatDirection : Horizontal
  9627. // RepeatLayout : Table
  9628. // OuterTableImplied : False
  9629. // Header : True
  9630. // Footer : False
  9631. // Separator : False
  9632. string v = RepeatInfoUser.DoTest (0, 1, RepeatDirection.Horizontal, RepeatLayout.Table, false, true, false, false);
  9633. string exp = @"<table class=""mainstyle"" border=""0"">
  9634. <tr>
  9635. <td class=""Header-1"">(0,Header,-1)</td>
  9636. </tr><tr>
  9637. <td class=""Item0"">(1,Item,0)</td>
  9638. </tr>
  9639. </table>";
  9640. Assert.AreEqual (exp, v, "#521");
  9641. }
  9642. [Test]
  9643. public void RepeatInfo_0cols_2itms_horiz_tbl_hdr ()
  9644. {
  9645. // cols : 0
  9646. // cnt : 2
  9647. // RepeatDirection : Horizontal
  9648. // RepeatLayout : Table
  9649. // OuterTableImplied : False
  9650. // Header : True
  9651. // Footer : False
  9652. // Separator : False
  9653. string v = RepeatInfoUser.DoTest (0, 2, RepeatDirection.Horizontal, RepeatLayout.Table, false, true, false, false);
  9654. string exp = @"<table class=""mainstyle"" border=""0"">
  9655. <tr>
  9656. <td colspan=""2"" class=""Header-1"">(0,Header,-1)</td>
  9657. </tr><tr>
  9658. <td class=""Item0"">(1,Item,0)</td><td class=""Item1"">(2,Item,1)</td>
  9659. </tr>
  9660. </table>";
  9661. Assert.AreEqual (exp, v, "#522");
  9662. }
  9663. [Test]
  9664. public void RepeatInfo_0cols_5itms_horiz_tbl_hdr ()
  9665. {
  9666. // cols : 0
  9667. // cnt : 5
  9668. // RepeatDirection : Horizontal
  9669. // RepeatLayout : Table
  9670. // OuterTableImplied : False
  9671. // Header : True
  9672. // Footer : False
  9673. // Separator : False
  9674. string v = RepeatInfoUser.DoTest (0, 5, RepeatDirection.Horizontal, RepeatLayout.Table, false, true, false, false);
  9675. string exp = @"<table class=""mainstyle"" border=""0"">
  9676. <tr>
  9677. <td colspan=""5"" class=""Header-1"">(0,Header,-1)</td>
  9678. </tr><tr>
  9679. <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>
  9680. </tr>
  9681. </table>";
  9682. Assert.AreEqual (exp, v, "#523");
  9683. }
  9684. [Test]
  9685. public void RepeatInfo_1cols_0itms_horiz_tbl_hdr ()
  9686. {
  9687. // cols : 1
  9688. // cnt : 0
  9689. // RepeatDirection : Horizontal
  9690. // RepeatLayout : Table
  9691. // OuterTableImplied : False
  9692. // Header : True
  9693. // Footer : False
  9694. // Separator : False
  9695. string v = RepeatInfoUser.DoTest (1, 0, RepeatDirection.Horizontal, RepeatLayout.Table, false, true, false, false);
  9696. string exp = @"<table class=""mainstyle"" border=""0"">
  9697. <tr>
  9698. <td class=""Header-1"">(0,Header,-1)</td>
  9699. </tr>
  9700. </table>";
  9701. Assert.AreEqual (exp, v, "#524");
  9702. }
  9703. [Test]
  9704. public void RepeatInfo_1cols_5itms_horiz_tbl_hdr ()
  9705. {
  9706. // cols : 1
  9707. // cnt : 5
  9708. // RepeatDirection : Horizontal
  9709. // RepeatLayout : Table
  9710. // OuterTableImplied : False
  9711. // Header : True
  9712. // Footer : False
  9713. // Separator : False
  9714. string v = RepeatInfoUser.DoTest (1, 5, RepeatDirection.Horizontal, RepeatLayout.Table, false, true, false, false);
  9715. string exp = @"<table class=""mainstyle"" border=""0"">
  9716. <tr>
  9717. <td class=""Header-1"">(0,Header,-1)</td>
  9718. </tr><tr>
  9719. <td class=""Item0"">(1,Item,0)</td>
  9720. </tr><tr>
  9721. <td class=""Item1"">(2,Item,1)</td>
  9722. </tr><tr>
  9723. <td class=""Item2"">(3,Item,2)</td>
  9724. </tr><tr>
  9725. <td class=""Item3"">(4,Item,3)</td>
  9726. </tr><tr>
  9727. <td class=""Item4"">(5,Item,4)</td>
  9728. </tr>
  9729. </table>";
  9730. Assert.AreEqual (exp, v, "#525");
  9731. }
  9732. [Test]
  9733. public void RepeatInfo_2cols_4itms_horiz_tbl_hdr ()
  9734. {
  9735. // cols : 2
  9736. // cnt : 4
  9737. // RepeatDirection : Horizontal
  9738. // RepeatLayout : Table
  9739. // OuterTableImplied : False
  9740. // Header : True
  9741. // Footer : False
  9742. // Separator : False
  9743. string v = RepeatInfoUser.DoTest (2, 4, RepeatDirection.Horizontal, RepeatLayout.Table, false, true, false, false);
  9744. string exp = @"<table class=""mainstyle"" border=""0"">
  9745. <tr>
  9746. <td colspan=""2"" class=""Header-1"">(0,Header,-1)</td>
  9747. </tr><tr>
  9748. <td class=""Item0"">(1,Item,0)</td><td class=""Item1"">(2,Item,1)</td>
  9749. </tr><tr>
  9750. <td class=""Item2"">(3,Item,2)</td><td class=""Item3"">(4,Item,3)</td>
  9751. </tr>
  9752. </table>";
  9753. Assert.AreEqual (exp, v, "#526");
  9754. }
  9755. [Test]
  9756. public void RepeatInfo_2cols_7itms_horiz_tbl_hdr ()
  9757. {
  9758. // cols : 2
  9759. // cnt : 7
  9760. // RepeatDirection : Horizontal
  9761. // RepeatLayout : Table
  9762. // OuterTableImplied : False
  9763. // Header : True
  9764. // Footer : False
  9765. // Separator : False
  9766. string v = RepeatInfoUser.DoTest (2, 7, RepeatDirection.Horizontal, RepeatLayout.Table, false, true, false, false);
  9767. string exp = @"<table class=""mainstyle"" border=""0"">
  9768. <tr>
  9769. <td colspan=""2"" class=""Header-1"">(0,Header,-1)</td>
  9770. </tr><tr>
  9771. <td class=""Item0"">(1,Item,0)</td><td class=""Item1"">(2,Item,1)</td>
  9772. </tr><tr>
  9773. <td class=""Item2"">(3,Item,2)</td><td class=""Item3"">(4,Item,3)</td>
  9774. </tr><tr>
  9775. <td class=""Item4"">(5,Item,4)</td><td class=""Item5"">(6,Item,5)</td>
  9776. </tr><tr>
  9777. <td class=""Item6"">(7,Item,6)</td>
  9778. </tr>
  9779. </table>";
  9780. Assert.AreEqual (exp, v, "#527");
  9781. }
  9782. [Test]
  9783. public void RepeatInfo_3cols_9itms_horiz_tbl_hdr ()
  9784. {
  9785. // cols : 3
  9786. // cnt : 9
  9787. // RepeatDirection : Horizontal
  9788. // RepeatLayout : Table
  9789. // OuterTableImplied : False
  9790. // Header : True
  9791. // Footer : False
  9792. // Separator : False
  9793. string v = RepeatInfoUser.DoTest (3, 9, RepeatDirection.Horizontal, RepeatLayout.Table, false, true, false, false);
  9794. string exp = @"<table border=""0"">
  9795. <tr>
  9796. <td colspan=""3"" class=""Header-1"">(0,Header,-1)</td>
  9797. </tr><tr>
  9798. <td class=""Item0"">(1,Item,0)</td><td class=""Item1"">(2,Item,1)</td><td class=""Item2"">(3,Item,2)</td>
  9799. </tr><tr>
  9800. <td class=""Item3"">(4,Item,3)</td><td class=""Item4"">(5,Item,4)</td><td class=""Item5"">(6,Item,5)</td>
  9801. </tr><tr>
  9802. <td class=""Item6"">(7,Item,6)</td><td class=""Item7"">(8,Item,7)</td><td class=""Item8"">(9,Item,8)</td>
  9803. </tr>
  9804. </table>";
  9805. Assert.AreEqual (exp, v, "#528");
  9806. }
  9807. [Test]
  9808. public void RepeatInfo_3cols_7itms_horiz_tbl_hdr ()
  9809. {
  9810. // cols : 3
  9811. // cnt : 7
  9812. // RepeatDirection : Horizontal
  9813. // RepeatLayout : Table
  9814. // OuterTableImplied : False
  9815. // Header : True
  9816. // Footer : False
  9817. // Separator : False
  9818. string v = RepeatInfoUser.DoTest (3, 7, RepeatDirection.Horizontal, RepeatLayout.Table, false, true, false, false);
  9819. string exp = @"<table border=""0"">
  9820. <tr>
  9821. <td colspan=""3"" class=""Header-1"">(0,Header,-1)</td>
  9822. </tr><tr>
  9823. <td class=""Item0"">(1,Item,0)</td><td class=""Item1"">(2,Item,1)</td><td class=""Item2"">(3,Item,2)</td>
  9824. </tr><tr>
  9825. <td class=""Item3"">(4,Item,3)</td><td class=""Item4"">(5,Item,4)</td><td class=""Item5"">(6,Item,5)</td>
  9826. </tr><tr>
  9827. <td class=""Item6"">(7,Item,6)</td>
  9828. </tr>
  9829. </table>";
  9830. Assert.AreEqual (exp, v, "#529");
  9831. }
  9832. [Test]
  9833. public void RepeatInfo_0cols_0itms_vert_tbl_hdr ()
  9834. {
  9835. // cols : 0
  9836. // cnt : 0
  9837. // RepeatDirection : Vertical
  9838. // RepeatLayout : Table
  9839. // OuterTableImplied : False
  9840. // Header : True
  9841. // Footer : False
  9842. // Separator : False
  9843. string v = RepeatInfoUser.DoTest (0, 0, RepeatDirection.Vertical, RepeatLayout.Table, false, true, false, false);
  9844. string exp = @"<table class=""mainstyle"" border=""0"">
  9845. <tr>
  9846. <td class=""Header-1"">(0,Header,-1)</td>
  9847. </tr>
  9848. </table>";
  9849. Assert.AreEqual (exp, v, "#530");
  9850. }
  9851. [Test]
  9852. public void RepeatInfo_0cols_1itms_vert_tbl_hdr ()
  9853. {
  9854. // cols : 0
  9855. // cnt : 1
  9856. // RepeatDirection : Vertical
  9857. // RepeatLayout : Table
  9858. // OuterTableImplied : False
  9859. // Header : True
  9860. // Footer : False
  9861. // Separator : False
  9862. string v = RepeatInfoUser.DoTest (0, 1, RepeatDirection.Vertical, RepeatLayout.Table, false, true, false, false);
  9863. string exp = @"<table class=""mainstyle"" border=""0"">
  9864. <tr>
  9865. <td class=""Header-1"">(0,Header,-1)</td>
  9866. </tr><tr>
  9867. <td class=""Item0"">(1,Item,0)</td>
  9868. </tr>
  9869. </table>";
  9870. Assert.AreEqual (exp, v, "#531");
  9871. }
  9872. [Test]
  9873. public void RepeatInfo_0cols_2itms_vert_tbl_hdr ()
  9874. {
  9875. // cols : 0
  9876. // cnt : 2
  9877. // RepeatDirection : Vertical
  9878. // RepeatLayout : Table
  9879. // OuterTableImplied : False
  9880. // Header : True
  9881. // Footer : False
  9882. // Separator : False
  9883. string v = RepeatInfoUser.DoTest (0, 2, RepeatDirection.Vertical, RepeatLayout.Table, false, true, false, false);
  9884. string exp = @"<table class=""mainstyle"" border=""0"">
  9885. <tr>
  9886. <td class=""Header-1"">(0,Header,-1)</td>
  9887. </tr><tr>
  9888. <td class=""Item0"">(1,Item,0)</td>
  9889. </tr><tr>
  9890. <td class=""Item1"">(2,Item,1)</td>
  9891. </tr>
  9892. </table>";
  9893. Assert.AreEqual (exp, v, "#532");
  9894. }
  9895. [Test]
  9896. public void RepeatInfo_0cols_5itms_vert_tbl_hdr ()
  9897. {
  9898. // cols : 0
  9899. // cnt : 5
  9900. // RepeatDirection : Vertical
  9901. // RepeatLayout : Table
  9902. // OuterTableImplied : False
  9903. // Header : True
  9904. // Footer : False
  9905. // Separator : False
  9906. string v = RepeatInfoUser.DoTest (0, 5, RepeatDirection.Vertical, RepeatLayout.Table, false, true, false, false);
  9907. string exp = @"<table class=""mainstyle"" border=""0"">
  9908. <tr>
  9909. <td class=""Header-1"">(0,Header,-1)</td>
  9910. </tr><tr>
  9911. <td class=""Item0"">(1,Item,0)</td>
  9912. </tr><tr>
  9913. <td class=""Item1"">(2,Item,1)</td>
  9914. </tr><tr>
  9915. <td class=""Item2"">(3,Item,2)</td>
  9916. </tr><tr>
  9917. <td class=""Item3"">(4,Item,3)</td>
  9918. </tr><tr>
  9919. <td class=""Item4"">(5,Item,4)</td>
  9920. </tr>
  9921. </table>";
  9922. Assert.AreEqual (exp, v, "#533");
  9923. }
  9924. [Test]
  9925. public void RepeatInfo_1cols_0itms_vert_tbl_hdr ()
  9926. {
  9927. // cols : 1
  9928. // cnt : 0
  9929. // RepeatDirection : Vertical
  9930. // RepeatLayout : Table
  9931. // OuterTableImplied : False
  9932. // Header : True
  9933. // Footer : False
  9934. // Separator : False
  9935. string v = RepeatInfoUser.DoTest (1, 0, RepeatDirection.Vertical, RepeatLayout.Table, false, true, false, false);
  9936. string exp = @"<table class=""mainstyle"" border=""0"">
  9937. <tr>
  9938. <td class=""Header-1"">(0,Header,-1)</td>
  9939. </tr>
  9940. </table>";
  9941. Assert.AreEqual (exp, v, "#534");
  9942. }
  9943. [Test]
  9944. public void RepeatInfo_1cols_5itms_vert_tbl_hdr ()
  9945. {
  9946. // cols : 1
  9947. // cnt : 5
  9948. // RepeatDirection : Vertical
  9949. // RepeatLayout : Table
  9950. // OuterTableImplied : False
  9951. // Header : True
  9952. // Footer : False
  9953. // Separator : False
  9954. string v = RepeatInfoUser.DoTest (1, 5, RepeatDirection.Vertical, RepeatLayout.Table, false, true, false, false);
  9955. string exp = @"<table class=""mainstyle"" border=""0"">
  9956. <tr>
  9957. <td class=""Header-1"">(0,Header,-1)</td>
  9958. </tr><tr>
  9959. <td class=""Item0"">(1,Item,0)</td>
  9960. </tr><tr>
  9961. <td class=""Item1"">(2,Item,1)</td>
  9962. </tr><tr>
  9963. <td class=""Item2"">(3,Item,2)</td>
  9964. </tr><tr>
  9965. <td class=""Item3"">(4,Item,3)</td>
  9966. </tr><tr>
  9967. <td class=""Item4"">(5,Item,4)</td>
  9968. </tr>
  9969. </table>";
  9970. Assert.AreEqual (exp, v, "#535");
  9971. }
  9972. [Test]
  9973. public void RepeatInfo_2cols_4itms_vert_tbl_hdr ()
  9974. {
  9975. // cols : 2
  9976. // cnt : 4
  9977. // RepeatDirection : Vertical
  9978. // RepeatLayout : Table
  9979. // OuterTableImplied : False
  9980. // Header : True
  9981. // Footer : False
  9982. // Separator : False
  9983. string v = RepeatInfoUser.DoTest (2, 4, RepeatDirection.Vertical, RepeatLayout.Table, false, true, false, false);
  9984. string exp = @"<table class=""mainstyle"" border=""0"">
  9985. <tr>
  9986. <td colspan=""2"" class=""Header-1"">(0,Header,-1)</td>
  9987. </tr><tr>
  9988. <td class=""Item0"">(1,Item,0)</td><td class=""Item2"">(2,Item,2)</td>
  9989. </tr><tr>
  9990. <td class=""Item1"">(3,Item,1)</td><td class=""Item3"">(4,Item,3)</td>
  9991. </tr>
  9992. </table>";
  9993. Assert.AreEqual (exp, v, "#536");
  9994. }
  9995. [Test]
  9996. public void RepeatInfo_2cols_7itms_vert_tbl_hdr ()
  9997. {
  9998. // cols : 2
  9999. // cnt : 7
  10000. // RepeatDirection : Vertical
  10001. // RepeatLayout : Table
  10002. // OuterTableImplied : False
  10003. // Header : True
  10004. // Footer : False
  10005. // Separator : False
  10006. string v = RepeatInfoUser.DoTest (2, 7, RepeatDirection.Vertical, RepeatLayout.Table, false, true, false, false);
  10007. string exp = @"<table class=""mainstyle"" border=""0"">
  10008. <tr>
  10009. <td colspan=""2"" class=""Header-1"">(0,Header,-1)</td>
  10010. </tr><tr>
  10011. <td class=""Item0"">(1,Item,0)</td><td class=""Item4"">(2,Item,4)</td>
  10012. </tr><tr>
  10013. <td class=""Item1"">(3,Item,1)</td><td class=""Item5"">(4,Item,5)</td>
  10014. </tr><tr>
  10015. <td class=""Item2"">(5,Item,2)</td><td class=""Item6"">(6,Item,6)</td>
  10016. </tr><tr>
  10017. <td class=""Item3"">(7,Item,3)</td>
  10018. </tr>
  10019. </table>";
  10020. Assert.AreEqual (exp, v, "#537");
  10021. }
  10022. [Test]
  10023. public void RepeatInfo_3cols_9itms_vert_tbl_hdr ()
  10024. {
  10025. // cols : 3
  10026. // cnt : 9
  10027. // RepeatDirection : Vertical
  10028. // RepeatLayout : Table
  10029. // OuterTableImplied : False
  10030. // Header : True
  10031. // Footer : False
  10032. // Separator : False
  10033. string v = RepeatInfoUser.DoTest (3, 9, RepeatDirection.Vertical, RepeatLayout.Table, false, true, false, false);
  10034. string exp = @"<table border=""0"">
  10035. <tr>
  10036. <td colspan=""3"" class=""Header-1"">(0,Header,-1)</td>
  10037. </tr><tr>
  10038. <td class=""Item0"">(1,Item,0)</td><td class=""Item3"">(2,Item,3)</td><td class=""Item6"">(3,Item,6)</td>
  10039. </tr><tr>
  10040. <td class=""Item1"">(4,Item,1)</td><td class=""Item4"">(5,Item,4)</td><td class=""Item7"">(6,Item,7)</td>
  10041. </tr><tr>
  10042. <td class=""Item2"">(7,Item,2)</td><td class=""Item5"">(8,Item,5)</td><td class=""Item8"">(9,Item,8)</td>
  10043. </tr>
  10044. </table>";
  10045. Assert.AreEqual (exp, v, "#538");
  10046. }
  10047. [Test]
  10048. public void RepeatInfo_3cols_7itms_vert_tbl_hdr ()
  10049. {
  10050. // cols : 3
  10051. // cnt : 7
  10052. // RepeatDirection : Vertical
  10053. // RepeatLayout : Table
  10054. // OuterTableImplied : False
  10055. // Header : True
  10056. // Footer : False
  10057. // Separator : False
  10058. string v = RepeatInfoUser.DoTest (3, 7, RepeatDirection.Vertical, RepeatLayout.Table, false, true, false, false);
  10059. string exp = @"<table border=""0"">
  10060. <tr>
  10061. <td colspan=""3"" class=""Header-1"">(0,Header,-1)</td>
  10062. </tr><tr>
  10063. <td class=""Item0"">(1,Item,0)</td><td class=""Item3"">(2,Item,3)</td><td class=""Item5"">(3,Item,5)</td>
  10064. </tr><tr>
  10065. <td class=""Item1"">(4,Item,1)</td><td class=""Item4"">(5,Item,4)</td><td class=""Item6"">(6,Item,6)</td>
  10066. </tr><tr>
  10067. <td class=""Item2"">(7,Item,2)</td>
  10068. </tr>
  10069. </table>";
  10070. Assert.AreEqual (exp, v, "#539");
  10071. }
  10072. [Test]
  10073. public void RepeatInfo_0cols_0itms_horiz_flow_hdr ()
  10074. {
  10075. // cols : 0
  10076. // cnt : 0
  10077. // RepeatDirection : Horizontal
  10078. // RepeatLayout : Flow
  10079. // OuterTableImplied : False
  10080. // Header : True
  10081. // Footer : False
  10082. // Separator : False
  10083. string v = RepeatInfoUser.DoTest (0, 0, RepeatDirection.Horizontal, RepeatLayout.Flow, false, true, false, false);
  10084. string exp = @"<span class=""mainstyle"">(0,Header,-1)</span>";
  10085. Assert.AreEqual (exp, v, "#540");
  10086. }
  10087. [Test]
  10088. public void RepeatInfo_0cols_1itms_horiz_flow_hdr ()
  10089. {
  10090. // cols : 0
  10091. // cnt : 1
  10092. // RepeatDirection : Horizontal
  10093. // RepeatLayout : Flow
  10094. // OuterTableImplied : False
  10095. // Header : True
  10096. // Footer : False
  10097. // Separator : False
  10098. string v = RepeatInfoUser.DoTest (0, 1, RepeatDirection.Horizontal, RepeatLayout.Flow, false, true, false, false);
  10099. string exp = @"<span class=""mainstyle"">(0,Header,-1)(1,Item,0)</span>";
  10100. Assert.AreEqual (exp, v, "#541");
  10101. }
  10102. [Test]
  10103. public void RepeatInfo_0cols_2itms_horiz_flow_hdr ()
  10104. {
  10105. // cols : 0
  10106. // cnt : 2
  10107. // RepeatDirection : Horizontal
  10108. // RepeatLayout : Flow
  10109. // OuterTableImplied : False
  10110. // Header : True
  10111. // Footer : False
  10112. // Separator : False
  10113. string v = RepeatInfoUser.DoTest (0, 2, RepeatDirection.Horizontal, RepeatLayout.Flow, false, true, false, false);
  10114. string exp = @"<span class=""mainstyle"">(0,Header,-1)(1,Item,0)(2,Item,1)</span>";
  10115. Assert.AreEqual (exp, v, "#542");
  10116. }
  10117. [Test]
  10118. public void RepeatInfo_0cols_5itms_horiz_flow_hdr ()
  10119. {
  10120. // cols : 0
  10121. // cnt : 5
  10122. // RepeatDirection : Horizontal
  10123. // RepeatLayout : Flow
  10124. // OuterTableImplied : False
  10125. // Header : True
  10126. // Footer : False
  10127. // Separator : False
  10128. string v = RepeatInfoUser.DoTest (0, 5, RepeatDirection.Horizontal, RepeatLayout.Flow, false, true, false, false);
  10129. string exp = @"<span class=""mainstyle"">(0,Header,-1)(1,Item,0)(2,Item,1)(3,Item,2)(4,Item,3)(5,Item,4)</span>";
  10130. Assert.AreEqual (exp, v, "#543");
  10131. }
  10132. [Test]
  10133. public void RepeatInfo_1cols_0itms_horiz_flow_hdr ()
  10134. {
  10135. // cols : 1
  10136. // cnt : 0
  10137. // RepeatDirection : Horizontal
  10138. // RepeatLayout : Flow
  10139. // OuterTableImplied : False
  10140. // Header : True
  10141. // Footer : False
  10142. // Separator : False
  10143. string v = RepeatInfoUser.DoTest (1, 0, RepeatDirection.Horizontal, RepeatLayout.Flow, false, true, false, false);
  10144. string exp = @"<span class=""mainstyle"">(0,Header,-1)</span>";
  10145. Assert.AreEqual (exp, v, "#544");
  10146. }
  10147. [Test]
  10148. public void RepeatInfo_1cols_5itms_horiz_flow_hdr ()
  10149. {
  10150. // cols : 1
  10151. // cnt : 5
  10152. // RepeatDirection : Horizontal
  10153. // RepeatLayout : Flow
  10154. // OuterTableImplied : False
  10155. // Header : True
  10156. // Footer : False
  10157. // Separator : False
  10158. string v = RepeatInfoUser.DoTest (1, 5, RepeatDirection.Horizontal, RepeatLayout.Flow, false, true, false, false);
  10159. 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>";
  10160. Assert.AreEqual (exp, v, "#545");
  10161. }
  10162. [Test]
  10163. public void RepeatInfo_2cols_4itms_horiz_flow_hdr ()
  10164. {
  10165. // cols : 2
  10166. // cnt : 4
  10167. // RepeatDirection : Horizontal
  10168. // RepeatLayout : Flow
  10169. // OuterTableImplied : False
  10170. // Header : True
  10171. // Footer : False
  10172. // Separator : False
  10173. string v = RepeatInfoUser.DoTest (2, 4, RepeatDirection.Horizontal, RepeatLayout.Flow, false, true, false, false);
  10174. string exp = @"<span class=""mainstyle"">(0,Header,-1)<br>(1,Item,0)(2,Item,1)<br>(3,Item,2)(4,Item,3)<br></span>";
  10175. Assert.AreEqual (exp, v, "#546");
  10176. }
  10177. [Test]
  10178. public void RepeatInfo_2cols_7itms_horiz_flow_hdr ()
  10179. {
  10180. // cols : 2
  10181. // cnt : 7
  10182. // RepeatDirection : Horizontal
  10183. // RepeatLayout : Flow
  10184. // OuterTableImplied : False
  10185. // Header : True
  10186. // Footer : False
  10187. // Separator : False
  10188. string v = RepeatInfoUser.DoTest (2, 7, RepeatDirection.Horizontal, RepeatLayout.Flow, false, true, false, false);
  10189. 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>";
  10190. Assert.AreEqual (exp, v, "#547");
  10191. }
  10192. [Test]
  10193. public void RepeatInfo_3cols_9itms_horiz_flow_hdr ()
  10194. {
  10195. // cols : 3
  10196. // cnt : 9
  10197. // RepeatDirection : Horizontal
  10198. // RepeatLayout : Flow
  10199. // OuterTableImplied : False
  10200. // Header : True
  10201. // Footer : False
  10202. // Separator : False
  10203. string v = RepeatInfoUser.DoTest (3, 9, RepeatDirection.Horizontal, RepeatLayout.Flow, false, true, false, false);
  10204. 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>";
  10205. Assert.AreEqual (exp, v, "#548");
  10206. }
  10207. [Test]
  10208. public void RepeatInfo_3cols_7itms_horiz_flow_hdr ()
  10209. {
  10210. // cols : 3
  10211. // cnt : 7
  10212. // RepeatDirection : Horizontal
  10213. // RepeatLayout : Flow
  10214. // OuterTableImplied : False
  10215. // Header : True
  10216. // Footer : False
  10217. // Separator : False
  10218. string v = RepeatInfoUser.DoTest (3, 7, RepeatDirection.Horizontal, RepeatLayout.Flow, false, true, false, false);
  10219. 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>";
  10220. Assert.AreEqual (exp, v, "#549");
  10221. }
  10222. [Test]
  10223. public void RepeatInfo_0cols_0itms_vert_flow_hdr ()
  10224. {
  10225. // cols : 0
  10226. // cnt : 0
  10227. // RepeatDirection : Vertical
  10228. // RepeatLayout : Flow
  10229. // OuterTableImplied : False
  10230. // Header : True
  10231. // Footer : False
  10232. // Separator : False
  10233. string v = RepeatInfoUser.DoTest (0, 0, RepeatDirection.Vertical, RepeatLayout.Flow, false, true, false, false);
  10234. string exp = @"<span class=""mainstyle"">(0,Header,-1)<br></span>";
  10235. Assert.AreEqual (exp, v, "#550");
  10236. }
  10237. [Test]
  10238. public void RepeatInfo_0cols_1itms_vert_flow_hdr ()
  10239. {
  10240. // cols : 0
  10241. // cnt : 1
  10242. // RepeatDirection : Vertical
  10243. // RepeatLayout : Flow
  10244. // OuterTableImplied : False
  10245. // Header : True
  10246. // Footer : False
  10247. // Separator : False
  10248. string v = RepeatInfoUser.DoTest (0, 1, RepeatDirection.Vertical, RepeatLayout.Flow, false, true, false, false);
  10249. string exp = @"<span class=""mainstyle"">(0,Header,-1)<br>(1,Item,0)</span>";
  10250. Assert.AreEqual (exp, v, "#551");
  10251. }
  10252. [Test]
  10253. public void RepeatInfo_0cols_2itms_vert_flow_hdr ()
  10254. {
  10255. // cols : 0
  10256. // cnt : 2
  10257. // RepeatDirection : Vertical
  10258. // RepeatLayout : Flow
  10259. // OuterTableImplied : False
  10260. // Header : True
  10261. // Footer : False
  10262. // Separator : False
  10263. string v = RepeatInfoUser.DoTest (0, 2, RepeatDirection.Vertical, RepeatLayout.Flow, false, true, false, false);
  10264. string exp = @"<span class=""mainstyle"">(0,Header,-1)<br>(1,Item,0)<br>(2,Item,1)</span>";
  10265. Assert.AreEqual (exp, v, "#552");
  10266. }
  10267. [Test]
  10268. public void RepeatInfo_0cols_5itms_vert_flow_hdr ()
  10269. {
  10270. // cols : 0
  10271. // cnt : 5
  10272. // RepeatDirection : Vertical
  10273. // RepeatLayout : Flow
  10274. // OuterTableImplied : False
  10275. // Header : True
  10276. // Footer : False
  10277. // Separator : False
  10278. string v = RepeatInfoUser.DoTest (0, 5, RepeatDirection.Vertical, RepeatLayout.Flow, false, true, false, false);
  10279. 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>";
  10280. Assert.AreEqual (exp, v, "#553");
  10281. }
  10282. [Test]
  10283. public void RepeatInfo_1cols_0itms_vert_flow_hdr ()
  10284. {
  10285. // cols : 1
  10286. // cnt : 0
  10287. // RepeatDirection : Vertical
  10288. // RepeatLayout : Flow
  10289. // OuterTableImplied : False
  10290. // Header : True
  10291. // Footer : False
  10292. // Separator : False
  10293. string v = RepeatInfoUser.DoTest (1, 0, RepeatDirection.Vertical, RepeatLayout.Flow, false, true, false, false);
  10294. string exp = @"<span class=""mainstyle"">(0,Header,-1)<br></span>";
  10295. Assert.AreEqual (exp, v, "#554");
  10296. }
  10297. [Test]
  10298. public void RepeatInfo_1cols_5itms_vert_flow_hdr ()
  10299. {
  10300. // cols : 1
  10301. // cnt : 5
  10302. // RepeatDirection : Vertical
  10303. // RepeatLayout : Flow
  10304. // OuterTableImplied : False
  10305. // Header : True
  10306. // Footer : False
  10307. // Separator : False
  10308. string v = RepeatInfoUser.DoTest (1, 5, RepeatDirection.Vertical, RepeatLayout.Flow, false, true, false, false);
  10309. 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>";
  10310. Assert.AreEqual (exp, v, "#555");
  10311. }
  10312. [Test]
  10313. public void RepeatInfo_2cols_4itms_vert_flow_hdr ()
  10314. {
  10315. // cols : 2
  10316. // cnt : 4
  10317. // RepeatDirection : Vertical
  10318. // RepeatLayout : Flow
  10319. // OuterTableImplied : False
  10320. // Header : True
  10321. // Footer : False
  10322. // Separator : False
  10323. string v = RepeatInfoUser.DoTest (2, 4, RepeatDirection.Vertical, RepeatLayout.Flow, false, true, false, false);
  10324. string exp = @"<span class=""mainstyle"">(0,Header,-1)<br>(1,Item,0)(2,Item,2)<br>(3,Item,1)(4,Item,3)</span>";
  10325. Assert.AreEqual (exp, v, "#556");
  10326. }
  10327. [Test]
  10328. public void RepeatInfo_2cols_7itms_vert_flow_hdr ()
  10329. {
  10330. // cols : 2
  10331. // cnt : 7
  10332. // RepeatDirection : Vertical
  10333. // RepeatLayout : Flow
  10334. // OuterTableImplied : False
  10335. // Header : True
  10336. // Footer : False
  10337. // Separator : False
  10338. string v = RepeatInfoUser.DoTest (2, 7, RepeatDirection.Vertical, RepeatLayout.Flow, false, true, false, false);
  10339. 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>";
  10340. Assert.AreEqual (exp, v, "#557");
  10341. }
  10342. [Test]
  10343. public void RepeatInfo_3cols_9itms_vert_flow_hdr ()
  10344. {
  10345. // cols : 3
  10346. // cnt : 9
  10347. // RepeatDirection : Vertical
  10348. // RepeatLayout : Flow
  10349. // OuterTableImplied : False
  10350. // Header : True
  10351. // Footer : False
  10352. // Separator : False
  10353. string v = RepeatInfoUser.DoTest (3, 9, RepeatDirection.Vertical, RepeatLayout.Flow, false, true, false, false);
  10354. 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>";
  10355. Assert.AreEqual (exp, v, "#558");
  10356. }
  10357. [Test]
  10358. public void RepeatInfo_3cols_7itms_vert_flow_hdr ()
  10359. {
  10360. // cols : 3
  10361. // cnt : 7
  10362. // RepeatDirection : Vertical
  10363. // RepeatLayout : Flow
  10364. // OuterTableImplied : False
  10365. // Header : True
  10366. // Footer : False
  10367. // Separator : False
  10368. string v = RepeatInfoUser.DoTest (3, 7, RepeatDirection.Vertical, RepeatLayout.Flow, false, true, false, false);
  10369. 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>";
  10370. Assert.AreEqual (exp, v, "#559");
  10371. }
  10372. [Test]
  10373. public void RepeatInfo_0cols_0itms_horiz_tbl_otrtblimp ()
  10374. {
  10375. // cols : 0
  10376. // cnt : 0
  10377. // RepeatDirection : Horizontal
  10378. // RepeatLayout : Table
  10379. // OuterTableImplied : True
  10380. // Header : False
  10381. // Footer : False
  10382. // Separator : False
  10383. string v = RepeatInfoUser.DoTest (0, 0, RepeatDirection.Horizontal, RepeatLayout.Table, true, false, false, false);
  10384. string exp = @"<table class=""mainstyle"" border=""0"">
  10385. </table>";
  10386. Assert.AreEqual (exp, v, "#560");
  10387. }
  10388. [Test]
  10389. public void RepeatInfo_0cols_1itms_horiz_tbl_otrtblimp ()
  10390. {
  10391. // cols : 0
  10392. // cnt : 1
  10393. // RepeatDirection : Horizontal
  10394. // RepeatLayout : Table
  10395. // OuterTableImplied : True
  10396. // Header : False
  10397. // Footer : False
  10398. // Separator : False
  10399. string v = RepeatInfoUser.DoTest (0, 1, RepeatDirection.Horizontal, RepeatLayout.Table, true, false, false, false);
  10400. string exp = @"<table class=""mainstyle"" border=""0"">
  10401. <tr>
  10402. <td class=""Item0"">(0,Item,0)</td>
  10403. </tr>
  10404. </table>";
  10405. Assert.AreEqual (exp, v, "#561");
  10406. }
  10407. [Test]
  10408. public void RepeatInfo_0cols_2itms_horiz_tbl_otrtblimp ()
  10409. {
  10410. // cols : 0
  10411. // cnt : 2
  10412. // RepeatDirection : Horizontal
  10413. // RepeatLayout : Table
  10414. // OuterTableImplied : True
  10415. // Header : False
  10416. // Footer : False
  10417. // Separator : False
  10418. string v = RepeatInfoUser.DoTest (0, 2, RepeatDirection.Horizontal, RepeatLayout.Table, true, false, false, false);
  10419. string exp = @"<table class=""mainstyle"" border=""0"">
  10420. <tr>
  10421. <td class=""Item0"">(0,Item,0)</td><td class=""Item1"">(1,Item,1)</td>
  10422. </tr>
  10423. </table>";
  10424. Assert.AreEqual (exp, v, "#562");
  10425. }
  10426. [Test]
  10427. public void RepeatInfo_0cols_5itms_horiz_tbl_otrtblimp ()
  10428. {
  10429. // cols : 0
  10430. // cnt : 5
  10431. // RepeatDirection : Horizontal
  10432. // RepeatLayout : Table
  10433. // OuterTableImplied : True
  10434. // Header : False
  10435. // Footer : False
  10436. // Separator : False
  10437. string v = RepeatInfoUser.DoTest (0, 5, RepeatDirection.Horizontal, RepeatLayout.Table, true, false, false, false);
  10438. string exp = @"<table class=""mainstyle"" border=""0"">
  10439. <tr>
  10440. <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>
  10441. </tr>
  10442. </table>";
  10443. Assert.AreEqual (exp, v, "#563");
  10444. }
  10445. [Test]
  10446. public void RepeatInfo_1cols_0itms_horiz_tbl_otrtblimp ()
  10447. {
  10448. // cols : 1
  10449. // cnt : 0
  10450. // RepeatDirection : Horizontal
  10451. // RepeatLayout : Table
  10452. // OuterTableImplied : True
  10453. // Header : False
  10454. // Footer : False
  10455. // Separator : False
  10456. string v = RepeatInfoUser.DoTest (1, 0, RepeatDirection.Horizontal, RepeatLayout.Table, true, false, false, false);
  10457. string exp = @"<table class=""mainstyle"" border=""0"">
  10458. </table>";
  10459. Assert.AreEqual (exp, v, "#564");
  10460. }
  10461. [Test]
  10462. public void RepeatInfo_1cols_5itms_horiz_tbl_otrtblimp ()
  10463. {
  10464. // cols : 1
  10465. // cnt : 5
  10466. // RepeatDirection : Horizontal
  10467. // RepeatLayout : Table
  10468. // OuterTableImplied : True
  10469. // Header : False
  10470. // Footer : False
  10471. // Separator : False
  10472. string v = RepeatInfoUser.DoTest (1, 5, RepeatDirection.Horizontal, RepeatLayout.Table, true, false, false, false);
  10473. string exp = @"<table class=""mainstyle"" border=""0"">
  10474. <tr>
  10475. <td class=""Item0"">(0,Item,0)</td>
  10476. </tr><tr>
  10477. <td class=""Item1"">(1,Item,1)</td>
  10478. </tr><tr>
  10479. <td class=""Item2"">(2,Item,2)</td>
  10480. </tr><tr>
  10481. <td class=""Item3"">(3,Item,3)</td>
  10482. </tr><tr>
  10483. <td class=""Item4"">(4,Item,4)</td>
  10484. </tr>
  10485. </table>";
  10486. Assert.AreEqual (exp, v, "#565");
  10487. }
  10488. [Test]
  10489. public void RepeatInfo_2cols_4itms_horiz_tbl_otrtblimp ()
  10490. {
  10491. // cols : 2
  10492. // cnt : 4
  10493. // RepeatDirection : Horizontal
  10494. // RepeatLayout : Table
  10495. // OuterTableImplied : True
  10496. // Header : False
  10497. // Footer : False
  10498. // Separator : False
  10499. string v = RepeatInfoUser.DoTest (2, 4, RepeatDirection.Horizontal, RepeatLayout.Table, true, false, false, false);
  10500. string exp = @"<table class=""mainstyle"" border=""0"">
  10501. <tr>
  10502. <td class=""Item0"">(0,Item,0)</td><td class=""Item1"">(1,Item,1)</td>
  10503. </tr><tr>
  10504. <td class=""Item2"">(2,Item,2)</td><td class=""Item3"">(3,Item,3)</td>
  10505. </tr>
  10506. </table>";
  10507. Assert.AreEqual (exp, v, "#566");
  10508. }
  10509. [Test]
  10510. public void RepeatInfo_2cols_7itms_horiz_tbl_otrtblimp ()
  10511. {
  10512. // cols : 2
  10513. // cnt : 7
  10514. // RepeatDirection : Horizontal
  10515. // RepeatLayout : Table
  10516. // OuterTableImplied : True
  10517. // Header : False
  10518. // Footer : False
  10519. // Separator : False
  10520. string v = RepeatInfoUser.DoTest (2, 7, RepeatDirection.Horizontal, RepeatLayout.Table, true, false, false, false);
  10521. string exp = @"<table class=""mainstyle"" border=""0"">
  10522. <tr>
  10523. <td class=""Item0"">(0,Item,0)</td><td class=""Item1"">(1,Item,1)</td>
  10524. </tr><tr>
  10525. <td class=""Item2"">(2,Item,2)</td><td class=""Item3"">(3,Item,3)</td>
  10526. </tr><tr>
  10527. <td class=""Item4"">(4,Item,4)</td><td class=""Item5"">(5,Item,5)</td>
  10528. </tr><tr>
  10529. <td class=""Item6"">(6,Item,6)</td>
  10530. </tr>
  10531. </table>";
  10532. Assert.AreEqual (exp, v, "#567");
  10533. }
  10534. [Test]
  10535. public void RepeatInfo_3cols_9itms_horiz_tbl_otrtblimp ()
  10536. {
  10537. // cols : 3
  10538. // cnt : 9
  10539. // RepeatDirection : Horizontal
  10540. // RepeatLayout : Table
  10541. // OuterTableImplied : True
  10542. // Header : False
  10543. // Footer : False
  10544. // Separator : False
  10545. string v = RepeatInfoUser.DoTest (3, 9, RepeatDirection.Horizontal, RepeatLayout.Table, true, false, false, false);
  10546. string exp = @"<table border=""0"">
  10547. <tr>
  10548. <td class=""Item0"">(0,Item,0)</td><td class=""Item1"">(1,Item,1)</td><td class=""Item2"">(2,Item,2)</td>
  10549. </tr><tr>
  10550. <td class=""Item3"">(3,Item,3)</td><td class=""Item4"">(4,Item,4)</td><td class=""Item5"">(5,Item,5)</td>
  10551. </tr><tr>
  10552. <td class=""Item6"">(6,Item,6)</td><td class=""Item7"">(7,Item,7)</td><td class=""Item8"">(8,Item,8)</td>
  10553. </tr>
  10554. </table>";
  10555. Assert.AreEqual (exp, v, "#568");
  10556. }
  10557. [Test]
  10558. public void RepeatInfo_3cols_7itms_horiz_tbl_otrtblimp ()
  10559. {
  10560. // cols : 3
  10561. // cnt : 7
  10562. // RepeatDirection : Horizontal
  10563. // RepeatLayout : Table
  10564. // OuterTableImplied : True
  10565. // Header : False
  10566. // Footer : False
  10567. // Separator : False
  10568. string v = RepeatInfoUser.DoTest (3, 7, RepeatDirection.Horizontal, RepeatLayout.Table, true, false, false, false);
  10569. string exp = @"<table border=""0"">
  10570. <tr>
  10571. <td class=""Item0"">(0,Item,0)</td><td class=""Item1"">(1,Item,1)</td><td class=""Item2"">(2,Item,2)</td>
  10572. </tr><tr>
  10573. <td class=""Item3"">(3,Item,3)</td><td class=""Item4"">(4,Item,4)</td><td class=""Item5"">(5,Item,5)</td>
  10574. </tr><tr>
  10575. <td class=""Item6"">(6,Item,6)</td>
  10576. </tr>
  10577. </table>";
  10578. Assert.AreEqual (exp, v, "#569");
  10579. }
  10580. [Test]
  10581. public void RepeatInfo_0cols_0itms_vert_tbl_otrtblimp ()
  10582. {
  10583. // cols : 0
  10584. // cnt : 0
  10585. // RepeatDirection : Vertical
  10586. // RepeatLayout : Table
  10587. // OuterTableImplied : True
  10588. // Header : False
  10589. // Footer : False
  10590. // Separator : False
  10591. string v = RepeatInfoUser.DoTest (0, 0, RepeatDirection.Vertical, RepeatLayout.Table, true, false, false, false);
  10592. string exp = @"";
  10593. Assert.AreEqual (exp, v, "#570");
  10594. }
  10595. [Test]
  10596. public void RepeatInfo_0cols_1itms_vert_tbl_otrtblimp ()
  10597. {
  10598. // cols : 0
  10599. // cnt : 1
  10600. // RepeatDirection : Vertical
  10601. // RepeatLayout : Table
  10602. // OuterTableImplied : True
  10603. // Header : False
  10604. // Footer : False
  10605. // Separator : False
  10606. string v = RepeatInfoUser.DoTest (0, 1, RepeatDirection.Vertical, RepeatLayout.Table, true, false, false, false);
  10607. string exp = @"(0,Item,0)";
  10608. Assert.AreEqual (exp, v, "#571");
  10609. }
  10610. [Test]
  10611. public void RepeatInfo_0cols_2itms_vert_tbl_otrtblimp ()
  10612. {
  10613. // cols : 0
  10614. // cnt : 2
  10615. // RepeatDirection : Vertical
  10616. // RepeatLayout : Table
  10617. // OuterTableImplied : True
  10618. // Header : False
  10619. // Footer : False
  10620. // Separator : False
  10621. string v = RepeatInfoUser.DoTest (0, 2, RepeatDirection.Vertical, RepeatLayout.Table, true, false, false, false);
  10622. string exp = @"(0,Item,0)(1,Item,1)";
  10623. Assert.AreEqual (exp, v, "#572");
  10624. }
  10625. [Test]
  10626. public void RepeatInfo_0cols_5itms_vert_tbl_otrtblimp ()
  10627. {
  10628. // cols : 0
  10629. // cnt : 5
  10630. // RepeatDirection : Vertical
  10631. // RepeatLayout : Table
  10632. // OuterTableImplied : True
  10633. // Header : False
  10634. // Footer : False
  10635. // Separator : False
  10636. string v = RepeatInfoUser.DoTest (0, 5, RepeatDirection.Vertical, RepeatLayout.Table, true, false, false, false);
  10637. string exp = @"(0,Item,0)(1,Item,1)(2,Item,2)(3,Item,3)(4,Item,4)";
  10638. Assert.AreEqual (exp, v, "#573");
  10639. }
  10640. [Test]
  10641. public void RepeatInfo_1cols_0itms_vert_tbl_otrtblimp ()
  10642. {
  10643. // cols : 1
  10644. // cnt : 0
  10645. // RepeatDirection : Vertical
  10646. // RepeatLayout : Table
  10647. // OuterTableImplied : True
  10648. // Header : False
  10649. // Footer : False
  10650. // Separator : False
  10651. string v = RepeatInfoUser.DoTest (1, 0, RepeatDirection.Vertical, RepeatLayout.Table, true, false, false, false);
  10652. string exp = @"";
  10653. Assert.AreEqual (exp, v, "#574");
  10654. }
  10655. [Test]
  10656. public void RepeatInfo_1cols_5itms_vert_tbl_otrtblimp ()
  10657. {
  10658. // cols : 1
  10659. // cnt : 5
  10660. // RepeatDirection : Vertical
  10661. // RepeatLayout : Table
  10662. // OuterTableImplied : True
  10663. // Header : False
  10664. // Footer : False
  10665. // Separator : False
  10666. string v = RepeatInfoUser.DoTest (1, 5, RepeatDirection.Vertical, RepeatLayout.Table, true, false, false, false);
  10667. string exp = @"(0,Item,0)(1,Item,1)(2,Item,2)(3,Item,3)(4,Item,4)";
  10668. Assert.AreEqual (exp, v, "#575");
  10669. }
  10670. [Test]
  10671. public void RepeatInfo_2cols_4itms_vert_tbl_otrtblimp ()
  10672. {
  10673. // cols : 2
  10674. // cnt : 4
  10675. // RepeatDirection : Vertical
  10676. // RepeatLayout : Table
  10677. // OuterTableImplied : True
  10678. // Header : False
  10679. // Footer : False
  10680. // Separator : False
  10681. string v = RepeatInfoUser.DoTest (2, 4, RepeatDirection.Vertical, RepeatLayout.Table, true, false, false, false);
  10682. string exp = @"(0,Item,0)(1,Item,2)(2,Item,1)(3,Item,3)";
  10683. Assert.AreEqual (exp, v, "#576");
  10684. }
  10685. [Test]
  10686. public void RepeatInfo_2cols_7itms_vert_tbl_otrtblimp ()
  10687. {
  10688. // cols : 2
  10689. // cnt : 7
  10690. // RepeatDirection : Vertical
  10691. // RepeatLayout : Table
  10692. // OuterTableImplied : True
  10693. // Header : False
  10694. // Footer : False
  10695. // Separator : False
  10696. string v = RepeatInfoUser.DoTest (2, 7, RepeatDirection.Vertical, RepeatLayout.Table, true, false, false, false);
  10697. string exp = @"(0,Item,0)(1,Item,4)(2,Item,1)(3,Item,5)(4,Item,2)(5,Item,6)(6,Item,3)";
  10698. Assert.AreEqual (exp, v, "#577");
  10699. }
  10700. [Test]
  10701. public void RepeatInfo_3cols_9itms_vert_tbl_otrtblimp ()
  10702. {
  10703. // cols : 3
  10704. // cnt : 9
  10705. // RepeatDirection : Vertical
  10706. // RepeatLayout : Table
  10707. // OuterTableImplied : True
  10708. // Header : False
  10709. // Footer : False
  10710. // Separator : False
  10711. string v = RepeatInfoUser.DoTest (3, 9, RepeatDirection.Vertical, RepeatLayout.Table, true, false, false, false);
  10712. 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)";
  10713. Assert.AreEqual (exp, v, "#578");
  10714. }
  10715. [Test]
  10716. public void RepeatInfo_3cols_7itms_vert_tbl_otrtblimp ()
  10717. {
  10718. // cols : 3
  10719. // cnt : 7
  10720. // RepeatDirection : Vertical
  10721. // RepeatLayout : Table
  10722. // OuterTableImplied : True
  10723. // Header : False
  10724. // Footer : False
  10725. // Separator : False
  10726. string v = RepeatInfoUser.DoTest (3, 7, RepeatDirection.Vertical, RepeatLayout.Table, true, false, false, false);
  10727. string exp = @"(0,Item,0)(1,Item,3)(2,Item,5)(3,Item,1)(4,Item,4)(5,Item,6)(6,Item,2)";
  10728. Assert.AreEqual (exp, v, "#579");
  10729. }
  10730. [Test]
  10731. public void RepeatInfo_0cols_0itms_horiz_flow_otrtblimp ()
  10732. {
  10733. // cols : 0
  10734. // cnt : 0
  10735. // RepeatDirection : Horizontal
  10736. // RepeatLayout : Flow
  10737. // OuterTableImplied : True
  10738. // Header : False
  10739. // Footer : False
  10740. // Separator : False
  10741. string v = RepeatInfoUser.DoTest (0, 0, RepeatDirection.Horizontal, RepeatLayout.Flow, true, false, false, false);
  10742. string exp = @"<span class=""mainstyle""></span>";
  10743. Assert.AreEqual (exp, v, "#580");
  10744. }
  10745. [Test]
  10746. public void RepeatInfo_0cols_1itms_horiz_flow_otrtblimp ()
  10747. {
  10748. // cols : 0
  10749. // cnt : 1
  10750. // RepeatDirection : Horizontal
  10751. // RepeatLayout : Flow
  10752. // OuterTableImplied : True
  10753. // Header : False
  10754. // Footer : False
  10755. // Separator : False
  10756. string v = RepeatInfoUser.DoTest (0, 1, RepeatDirection.Horizontal, RepeatLayout.Flow, true, false, false, false);
  10757. string exp = @"<span class=""mainstyle"">(0,Item,0)</span>";
  10758. Assert.AreEqual (exp, v, "#581");
  10759. }
  10760. [Test]
  10761. public void RepeatInfo_0cols_2itms_horiz_flow_otrtblimp ()
  10762. {
  10763. // cols : 0
  10764. // cnt : 2
  10765. // RepeatDirection : Horizontal
  10766. // RepeatLayout : Flow
  10767. // OuterTableImplied : True
  10768. // Header : False
  10769. // Footer : False
  10770. // Separator : False
  10771. string v = RepeatInfoUser.DoTest (0, 2, RepeatDirection.Horizontal, RepeatLayout.Flow, true, false, false, false);
  10772. string exp = @"<span class=""mainstyle"">(0,Item,0)(1,Item,1)</span>";
  10773. Assert.AreEqual (exp, v, "#582");
  10774. }
  10775. [Test]
  10776. public void RepeatInfo_0cols_5itms_horiz_flow_otrtblimp ()
  10777. {
  10778. // cols : 0
  10779. // cnt : 5
  10780. // RepeatDirection : Horizontal
  10781. // RepeatLayout : Flow
  10782. // OuterTableImplied : True
  10783. // Header : False
  10784. // Footer : False
  10785. // Separator : False
  10786. string v = RepeatInfoUser.DoTest (0, 5, RepeatDirection.Horizontal, RepeatLayout.Flow, true, false, false, false);
  10787. string exp = @"<span class=""mainstyle"">(0,Item,0)(1,Item,1)(2,Item,2)(3,Item,3)(4,Item,4)</span>";
  10788. Assert.AreEqual (exp, v, "#583");
  10789. }
  10790. [Test]
  10791. public void RepeatInfo_1cols_0itms_horiz_flow_otrtblimp ()
  10792. {
  10793. // cols : 1
  10794. // cnt : 0
  10795. // RepeatDirection : Horizontal
  10796. // RepeatLayout : Flow
  10797. // OuterTableImplied : True
  10798. // Header : False
  10799. // Footer : False
  10800. // Separator : False
  10801. string v = RepeatInfoUser.DoTest (1, 0, RepeatDirection.Horizontal, RepeatLayout.Flow, true, false, false, false);
  10802. string exp = @"<span class=""mainstyle""></span>";
  10803. Assert.AreEqual (exp, v, "#584");
  10804. }
  10805. [Test]
  10806. public void RepeatInfo_1cols_5itms_horiz_flow_otrtblimp ()
  10807. {
  10808. // cols : 1
  10809. // cnt : 5
  10810. // RepeatDirection : Horizontal
  10811. // RepeatLayout : Flow
  10812. // OuterTableImplied : True
  10813. // Header : False
  10814. // Footer : False
  10815. // Separator : False
  10816. string v = RepeatInfoUser.DoTest (1, 5, RepeatDirection.Horizontal, RepeatLayout.Flow, true, false, false, false);
  10817. 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>";
  10818. Assert.AreEqual (exp, v, "#585");
  10819. }
  10820. [Test]
  10821. public void RepeatInfo_2cols_4itms_horiz_flow_otrtblimp ()
  10822. {
  10823. // cols : 2
  10824. // cnt : 4
  10825. // RepeatDirection : Horizontal
  10826. // RepeatLayout : Flow
  10827. // OuterTableImplied : True
  10828. // Header : False
  10829. // Footer : False
  10830. // Separator : False
  10831. string v = RepeatInfoUser.DoTest (2, 4, RepeatDirection.Horizontal, RepeatLayout.Flow, true, false, false, false);
  10832. string exp = @"<span class=""mainstyle"">(0,Item,0)(1,Item,1)<br>(2,Item,2)(3,Item,3)<br></span>";
  10833. Assert.AreEqual (exp, v, "#586");
  10834. }
  10835. [Test]
  10836. public void RepeatInfo_2cols_7itms_horiz_flow_otrtblimp ()
  10837. {
  10838. // cols : 2
  10839. // cnt : 7
  10840. // RepeatDirection : Horizontal
  10841. // RepeatLayout : Flow
  10842. // OuterTableImplied : True
  10843. // Header : False
  10844. // Footer : False
  10845. // Separator : False
  10846. string v = RepeatInfoUser.DoTest (2, 7, RepeatDirection.Horizontal, RepeatLayout.Flow, true, false, false, false);
  10847. 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>";
  10848. Assert.AreEqual (exp, v, "#587");
  10849. }
  10850. [Test]
  10851. public void RepeatInfo_3cols_9itms_horiz_flow_otrtblimp ()
  10852. {
  10853. // cols : 3
  10854. // cnt : 9
  10855. // RepeatDirection : Horizontal
  10856. // RepeatLayout : Flow
  10857. // OuterTableImplied : True
  10858. // Header : False
  10859. // Footer : False
  10860. // Separator : False
  10861. string v = RepeatInfoUser.DoTest (3, 9, RepeatDirection.Horizontal, RepeatLayout.Flow, true, false, false, false);
  10862. 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>";
  10863. Assert.AreEqual (exp, v, "#588");
  10864. }
  10865. [Test]
  10866. public void RepeatInfo_3cols_7itms_horiz_flow_otrtblimp ()
  10867. {
  10868. // cols : 3
  10869. // cnt : 7
  10870. // RepeatDirection : Horizontal
  10871. // RepeatLayout : Flow
  10872. // OuterTableImplied : True
  10873. // Header : False
  10874. // Footer : False
  10875. // Separator : False
  10876. string v = RepeatInfoUser.DoTest (3, 7, RepeatDirection.Horizontal, RepeatLayout.Flow, true, false, false, false);
  10877. 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>";
  10878. Assert.AreEqual (exp, v, "#589");
  10879. }
  10880. [Test]
  10881. public void RepeatInfo_0cols_0itms_vert_flow_otrtblimp ()
  10882. {
  10883. // cols : 0
  10884. // cnt : 0
  10885. // RepeatDirection : Vertical
  10886. // RepeatLayout : Flow
  10887. // OuterTableImplied : True
  10888. // Header : False
  10889. // Footer : False
  10890. // Separator : False
  10891. string v = RepeatInfoUser.DoTest (0, 0, RepeatDirection.Vertical, RepeatLayout.Flow, true, false, false, false);
  10892. string exp = @"";
  10893. Assert.AreEqual (exp, v, "#590");
  10894. }
  10895. [Test]
  10896. public void RepeatInfo_0cols_1itms_vert_flow_otrtblimp ()
  10897. {
  10898. // cols : 0
  10899. // cnt : 1
  10900. // RepeatDirection : Vertical
  10901. // RepeatLayout : Flow
  10902. // OuterTableImplied : True
  10903. // Header : False
  10904. // Footer : False
  10905. // Separator : False
  10906. string v = RepeatInfoUser.DoTest (0, 1, RepeatDirection.Vertical, RepeatLayout.Flow, true, false, false, false);
  10907. string exp = @"(0,Item,0)";
  10908. Assert.AreEqual (exp, v, "#591");
  10909. }
  10910. [Test]
  10911. public void RepeatInfo_0cols_2itms_vert_flow_otrtblimp ()
  10912. {
  10913. // cols : 0
  10914. // cnt : 2
  10915. // RepeatDirection : Vertical
  10916. // RepeatLayout : Flow
  10917. // OuterTableImplied : True
  10918. // Header : False
  10919. // Footer : False
  10920. // Separator : False
  10921. string v = RepeatInfoUser.DoTest (0, 2, RepeatDirection.Vertical, RepeatLayout.Flow, true, false, false, false);
  10922. string exp = @"(0,Item,0)(1,Item,1)";
  10923. Assert.AreEqual (exp, v, "#592");
  10924. }
  10925. [Test]
  10926. public void RepeatInfo_0cols_5itms_vert_flow_otrtblimp ()
  10927. {
  10928. // cols : 0
  10929. // cnt : 5
  10930. // RepeatDirection : Vertical
  10931. // RepeatLayout : Flow
  10932. // OuterTableImplied : True
  10933. // Header : False
  10934. // Footer : False
  10935. // Separator : False
  10936. string v = RepeatInfoUser.DoTest (0, 5, RepeatDirection.Vertical, RepeatLayout.Flow, true, false, false, false);
  10937. string exp = @"(0,Item,0)(1,Item,1)(2,Item,2)(3,Item,3)(4,Item,4)";
  10938. Assert.AreEqual (exp, v, "#593");
  10939. }
  10940. [Test]
  10941. public void RepeatInfo_1cols_0itms_vert_flow_otrtblimp ()
  10942. {
  10943. // cols : 1
  10944. // cnt : 0
  10945. // RepeatDirection : Vertical
  10946. // RepeatLayout : Flow
  10947. // OuterTableImplied : True
  10948. // Header : False
  10949. // Footer : False
  10950. // Separator : False
  10951. string v = RepeatInfoUser.DoTest (1, 0, RepeatDirection.Vertical, RepeatLayout.Flow, true, false, false, false);
  10952. string exp = @"";
  10953. Assert.AreEqual (exp, v, "#594");
  10954. }
  10955. [Test]
  10956. public void RepeatInfo_1cols_5itms_vert_flow_otrtblimp ()
  10957. {
  10958. // cols : 1
  10959. // cnt : 5
  10960. // RepeatDirection : Vertical
  10961. // RepeatLayout : Flow
  10962. // OuterTableImplied : True
  10963. // Header : False
  10964. // Footer : False
  10965. // Separator : False
  10966. string v = RepeatInfoUser.DoTest (1, 5, RepeatDirection.Vertical, RepeatLayout.Flow, true, false, false, false);
  10967. string exp = @"(0,Item,0)(1,Item,1)(2,Item,2)(3,Item,3)(4,Item,4)";
  10968. Assert.AreEqual (exp, v, "#595");
  10969. }
  10970. [Test]
  10971. public void RepeatInfo_2cols_4itms_vert_flow_otrtblimp ()
  10972. {
  10973. // cols : 2
  10974. // cnt : 4
  10975. // RepeatDirection : Vertical
  10976. // RepeatLayout : Flow
  10977. // OuterTableImplied : True
  10978. // Header : False
  10979. // Footer : False
  10980. // Separator : False
  10981. string v = RepeatInfoUser.DoTest (2, 4, RepeatDirection.Vertical, RepeatLayout.Flow, true, false, false, false);
  10982. string exp = @"(0,Item,0)(1,Item,2)(2,Item,1)(3,Item,3)";
  10983. Assert.AreEqual (exp, v, "#596");
  10984. }
  10985. [Test]
  10986. public void RepeatInfo_2cols_7itms_vert_flow_otrtblimp ()
  10987. {
  10988. // cols : 2
  10989. // cnt : 7
  10990. // RepeatDirection : Vertical
  10991. // RepeatLayout : Flow
  10992. // OuterTableImplied : True
  10993. // Header : False
  10994. // Footer : False
  10995. // Separator : False
  10996. string v = RepeatInfoUser.DoTest (2, 7, RepeatDirection.Vertical, RepeatLayout.Flow, true, false, false, false);
  10997. string exp = @"(0,Item,0)(1,Item,4)(2,Item,1)(3,Item,5)(4,Item,2)(5,Item,6)(6,Item,3)";
  10998. Assert.AreEqual (exp, v, "#597");
  10999. }
  11000. [Test]
  11001. public void RepeatInfo_3cols_9itms_vert_flow_otrtblimp ()
  11002. {
  11003. // cols : 3
  11004. // cnt : 9
  11005. // RepeatDirection : Vertical
  11006. // RepeatLayout : Flow
  11007. // OuterTableImplied : True
  11008. // Header : False
  11009. // Footer : False
  11010. // Separator : False
  11011. string v = RepeatInfoUser.DoTest (3, 9, RepeatDirection.Vertical, RepeatLayout.Flow, true, false, false, false);
  11012. 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)";
  11013. Assert.AreEqual (exp, v, "#598");
  11014. }
  11015. [Test]
  11016. public void RepeatInfo_3cols_7itms_vert_flow_otrtblimp ()
  11017. {
  11018. // cols : 3
  11019. // cnt : 7
  11020. // RepeatDirection : Vertical
  11021. // RepeatLayout : Flow
  11022. // OuterTableImplied : True
  11023. // Header : False
  11024. // Footer : False
  11025. // Separator : False
  11026. string v = RepeatInfoUser.DoTest (3, 7, RepeatDirection.Vertical, RepeatLayout.Flow, true, false, false, false);
  11027. string exp = @"(0,Item,0)(1,Item,3)(2,Item,5)(3,Item,1)(4,Item,4)(5,Item,6)(6,Item,2)";
  11028. Assert.AreEqual (exp, v, "#599");
  11029. }
  11030. [Test]
  11031. public void RepeatInfo_0cols_0itms_horiz_tbl ()
  11032. {
  11033. // cols : 0
  11034. // cnt : 0
  11035. // RepeatDirection : Horizontal
  11036. // RepeatLayout : Table
  11037. // OuterTableImplied : False
  11038. // Header : False
  11039. // Footer : False
  11040. // Separator : False
  11041. string v = RepeatInfoUser.DoTest (0, 0, RepeatDirection.Horizontal, RepeatLayout.Table, false, false, false, false);
  11042. string exp = @"<table class=""mainstyle"" border=""0"">
  11043. </table>";
  11044. Assert.AreEqual (exp, v, "#600");
  11045. }
  11046. [Test]
  11047. public void RepeatInfo_0cols_1itms_horiz_tbl ()
  11048. {
  11049. // cols : 0
  11050. // cnt : 1
  11051. // RepeatDirection : Horizontal
  11052. // RepeatLayout : Table
  11053. // OuterTableImplied : False
  11054. // Header : False
  11055. // Footer : False
  11056. // Separator : False
  11057. string v = RepeatInfoUser.DoTest (0, 1, RepeatDirection.Horizontal, RepeatLayout.Table, false, false, false, false);
  11058. string exp = @"<table class=""mainstyle"" border=""0"">
  11059. <tr>
  11060. <td class=""Item0"">(0,Item,0)</td>
  11061. </tr>
  11062. </table>";
  11063. Assert.AreEqual (exp, v, "#601");
  11064. }
  11065. [Test]
  11066. public void RepeatInfo_0cols_2itms_horiz_tbl ()
  11067. {
  11068. // cols : 0
  11069. // cnt : 2
  11070. // RepeatDirection : Horizontal
  11071. // RepeatLayout : Table
  11072. // OuterTableImplied : False
  11073. // Header : False
  11074. // Footer : False
  11075. // Separator : False
  11076. string v = RepeatInfoUser.DoTest (0, 2, RepeatDirection.Horizontal, RepeatLayout.Table, false, false, false, false);
  11077. string exp = @"<table class=""mainstyle"" border=""0"">
  11078. <tr>
  11079. <td class=""Item0"">(0,Item,0)</td><td class=""Item1"">(1,Item,1)</td>
  11080. </tr>
  11081. </table>";
  11082. Assert.AreEqual (exp, v, "#602");
  11083. }
  11084. [Test]
  11085. public void RepeatInfo_0cols_5itms_horiz_tbl ()
  11086. {
  11087. // cols : 0
  11088. // cnt : 5
  11089. // RepeatDirection : Horizontal
  11090. // RepeatLayout : Table
  11091. // OuterTableImplied : False
  11092. // Header : False
  11093. // Footer : False
  11094. // Separator : False
  11095. string v = RepeatInfoUser.DoTest (0, 5, RepeatDirection.Horizontal, RepeatLayout.Table, false, false, false, false);
  11096. string exp = @"<table class=""mainstyle"" border=""0"">
  11097. <tr>
  11098. <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>
  11099. </tr>
  11100. </table>";
  11101. Assert.AreEqual (exp, v, "#603");
  11102. }
  11103. [Test]
  11104. public void RepeatInfo_1cols_0itms_horiz_tbl ()
  11105. {
  11106. // cols : 1
  11107. // cnt : 0
  11108. // RepeatDirection : Horizontal
  11109. // RepeatLayout : Table
  11110. // OuterTableImplied : False
  11111. // Header : False
  11112. // Footer : False
  11113. // Separator : False
  11114. string v = RepeatInfoUser.DoTest (1, 0, RepeatDirection.Horizontal, RepeatLayout.Table, false, false, false, false);
  11115. string exp = @"<table class=""mainstyle"" border=""0"">
  11116. </table>";
  11117. Assert.AreEqual (exp, v, "#604");
  11118. }
  11119. [Test]
  11120. public void RepeatInfo_1cols_5itms_horiz_tbl ()
  11121. {
  11122. // cols : 1
  11123. // cnt : 5
  11124. // RepeatDirection : Horizontal
  11125. // RepeatLayout : Table
  11126. // OuterTableImplied : False
  11127. // Header : False
  11128. // Footer : False
  11129. // Separator : False
  11130. string v = RepeatInfoUser.DoTest (1, 5, RepeatDirection.Horizontal, RepeatLayout.Table, false, false, false, false);
  11131. string exp = @"<table class=""mainstyle"" border=""0"">
  11132. <tr>
  11133. <td class=""Item0"">(0,Item,0)</td>
  11134. </tr><tr>
  11135. <td class=""Item1"">(1,Item,1)</td>
  11136. </tr><tr>
  11137. <td class=""Item2"">(2,Item,2)</td>
  11138. </tr><tr>
  11139. <td class=""Item3"">(3,Item,3)</td>
  11140. </tr><tr>
  11141. <td class=""Item4"">(4,Item,4)</td>
  11142. </tr>
  11143. </table>";
  11144. Assert.AreEqual (exp, v, "#605");
  11145. }
  11146. [Test]
  11147. public void RepeatInfo_2cols_4itms_horiz_tbl ()
  11148. {
  11149. // cols : 2
  11150. // cnt : 4
  11151. // RepeatDirection : Horizontal
  11152. // RepeatLayout : Table
  11153. // OuterTableImplied : False
  11154. // Header : False
  11155. // Footer : False
  11156. // Separator : False
  11157. string v = RepeatInfoUser.DoTest (2, 4, RepeatDirection.Horizontal, RepeatLayout.Table, false, false, false, false);
  11158. string exp = @"<table class=""mainstyle"" border=""0"">
  11159. <tr>
  11160. <td class=""Item0"">(0,Item,0)</td><td class=""Item1"">(1,Item,1)</td>
  11161. </tr><tr>
  11162. <td class=""Item2"">(2,Item,2)</td><td class=""Item3"">(3,Item,3)</td>
  11163. </tr>
  11164. </table>";
  11165. Assert.AreEqual (exp, v, "#606");
  11166. }
  11167. [Test]
  11168. public void RepeatInfo_2cols_7itms_horiz_tbl ()
  11169. {
  11170. // cols : 2
  11171. // cnt : 7
  11172. // RepeatDirection : Horizontal
  11173. // RepeatLayout : Table
  11174. // OuterTableImplied : False
  11175. // Header : False
  11176. // Footer : False
  11177. // Separator : False
  11178. string v = RepeatInfoUser.DoTest (2, 7, RepeatDirection.Horizontal, RepeatLayout.Table, false, false, false, false);
  11179. string exp = @"<table class=""mainstyle"" border=""0"">
  11180. <tr>
  11181. <td class=""Item0"">(0,Item,0)</td><td class=""Item1"">(1,Item,1)</td>
  11182. </tr><tr>
  11183. <td class=""Item2"">(2,Item,2)</td><td class=""Item3"">(3,Item,3)</td>
  11184. </tr><tr>
  11185. <td class=""Item4"">(4,Item,4)</td><td class=""Item5"">(5,Item,5)</td>
  11186. </tr><tr>
  11187. <td class=""Item6"">(6,Item,6)</td>
  11188. </tr>
  11189. </table>";
  11190. Assert.AreEqual (exp, v, "#607");
  11191. }
  11192. [Test]
  11193. public void RepeatInfo_3cols_9itms_horiz_tbl ()
  11194. {
  11195. // cols : 3
  11196. // cnt : 9
  11197. // RepeatDirection : Horizontal
  11198. // RepeatLayout : Table
  11199. // OuterTableImplied : False
  11200. // Header : False
  11201. // Footer : False
  11202. // Separator : False
  11203. string v = RepeatInfoUser.DoTest (3, 9, RepeatDirection.Horizontal, RepeatLayout.Table, false, false, false, false);
  11204. string exp = @"<table border=""0"">
  11205. <tr>
  11206. <td class=""Item0"">(0,Item,0)</td><td class=""Item1"">(1,Item,1)</td><td class=""Item2"">(2,Item,2)</td>
  11207. </tr><tr>
  11208. <td class=""Item3"">(3,Item,3)</td><td class=""Item4"">(4,Item,4)</td><td class=""Item5"">(5,Item,5)</td>
  11209. </tr><tr>
  11210. <td class=""Item6"">(6,Item,6)</td><td class=""Item7"">(7,Item,7)</td><td class=""Item8"">(8,Item,8)</td>
  11211. </tr>
  11212. </table>";
  11213. Assert.AreEqual (exp, v, "#608");
  11214. }
  11215. [Test]
  11216. public void RepeatInfo_3cols_7itms_horiz_tbl ()
  11217. {
  11218. // cols : 3
  11219. // cnt : 7
  11220. // RepeatDirection : Horizontal
  11221. // RepeatLayout : Table
  11222. // OuterTableImplied : False
  11223. // Header : False
  11224. // Footer : False
  11225. // Separator : False
  11226. string v = RepeatInfoUser.DoTest (3, 7, RepeatDirection.Horizontal, RepeatLayout.Table, false, false, false, false);
  11227. string exp = @"<table border=""0"">
  11228. <tr>
  11229. <td class=""Item0"">(0,Item,0)</td><td class=""Item1"">(1,Item,1)</td><td class=""Item2"">(2,Item,2)</td>
  11230. </tr><tr>
  11231. <td class=""Item3"">(3,Item,3)</td><td class=""Item4"">(4,Item,4)</td><td class=""Item5"">(5,Item,5)</td>
  11232. </tr><tr>
  11233. <td class=""Item6"">(6,Item,6)</td>
  11234. </tr>
  11235. </table>";
  11236. Assert.AreEqual (exp, v, "#609");
  11237. }
  11238. [Test]
  11239. public void RepeatInfo_0cols_0itms_vert_tbl ()
  11240. {
  11241. // cols : 0
  11242. // cnt : 0
  11243. // RepeatDirection : Vertical
  11244. // RepeatLayout : Table
  11245. // OuterTableImplied : False
  11246. // Header : False
  11247. // Footer : False
  11248. // Separator : False
  11249. string v = RepeatInfoUser.DoTest (0, 0, RepeatDirection.Vertical, RepeatLayout.Table, false, false, false, false);
  11250. string exp = @"<table class=""mainstyle"" border=""0"">
  11251. </table>";
  11252. Assert.AreEqual (exp, v, "#610");
  11253. }
  11254. [Test]
  11255. public void RepeatInfo_0cols_1itms_vert_tbl ()
  11256. {
  11257. // cols : 0
  11258. // cnt : 1
  11259. // RepeatDirection : Vertical
  11260. // RepeatLayout : Table
  11261. // OuterTableImplied : False
  11262. // Header : False
  11263. // Footer : False
  11264. // Separator : False
  11265. string v = RepeatInfoUser.DoTest (0, 1, RepeatDirection.Vertical, RepeatLayout.Table, false, false, false, false);
  11266. string exp = @"<table class=""mainstyle"" border=""0"">
  11267. <tr>
  11268. <td class=""Item0"">(0,Item,0)</td>
  11269. </tr>
  11270. </table>";
  11271. Assert.AreEqual (exp, v, "#611");
  11272. }
  11273. [Test]
  11274. public void RepeatInfo_0cols_2itms_vert_tbl ()
  11275. {
  11276. // cols : 0
  11277. // cnt : 2
  11278. // RepeatDirection : Vertical
  11279. // RepeatLayout : Table
  11280. // OuterTableImplied : False
  11281. // Header : False
  11282. // Footer : False
  11283. // Separator : False
  11284. string v = RepeatInfoUser.DoTest (0, 2, RepeatDirection.Vertical, RepeatLayout.Table, false, false, false, false);
  11285. string exp = @"<table class=""mainstyle"" border=""0"">
  11286. <tr>
  11287. <td class=""Item0"">(0,Item,0)</td>
  11288. </tr><tr>
  11289. <td class=""Item1"">(1,Item,1)</td>
  11290. </tr>
  11291. </table>";
  11292. Assert.AreEqual (exp, v, "#612");
  11293. }
  11294. [Test]
  11295. public void RepeatInfo_0cols_5itms_vert_tbl ()
  11296. {
  11297. // cols : 0
  11298. // cnt : 5
  11299. // RepeatDirection : Vertical
  11300. // RepeatLayout : Table
  11301. // OuterTableImplied : False
  11302. // Header : False
  11303. // Footer : False
  11304. // Separator : False
  11305. string v = RepeatInfoUser.DoTest (0, 5, RepeatDirection.Vertical, RepeatLayout.Table, false, false, false, false);
  11306. string exp = @"<table class=""mainstyle"" border=""0"">
  11307. <tr>
  11308. <td class=""Item0"">(0,Item,0)</td>
  11309. </tr><tr>
  11310. <td class=""Item1"">(1,Item,1)</td>
  11311. </tr><tr>
  11312. <td class=""Item2"">(2,Item,2)</td>
  11313. </tr><tr>
  11314. <td class=""Item3"">(3,Item,3)</td>
  11315. </tr><tr>
  11316. <td class=""Item4"">(4,Item,4)</td>
  11317. </tr>
  11318. </table>";
  11319. Assert.AreEqual (exp, v, "#613");
  11320. }
  11321. [Test]
  11322. public void RepeatInfo_1cols_0itms_vert_tbl ()
  11323. {
  11324. // cols : 1
  11325. // cnt : 0
  11326. // RepeatDirection : Vertical
  11327. // RepeatLayout : Table
  11328. // OuterTableImplied : False
  11329. // Header : False
  11330. // Footer : False
  11331. // Separator : False
  11332. string v = RepeatInfoUser.DoTest (1, 0, RepeatDirection.Vertical, RepeatLayout.Table, false, false, false, false);
  11333. string exp = @"<table class=""mainstyle"" border=""0"">
  11334. </table>";
  11335. Assert.AreEqual (exp, v, "#614");
  11336. }
  11337. [Test]
  11338. public void RepeatInfo_1cols_5itms_vert_tbl ()
  11339. {
  11340. // cols : 1
  11341. // cnt : 5
  11342. // RepeatDirection : Vertical
  11343. // RepeatLayout : Table
  11344. // OuterTableImplied : False
  11345. // Header : False
  11346. // Footer : False
  11347. // Separator : False
  11348. string v = RepeatInfoUser.DoTest (1, 5, RepeatDirection.Vertical, RepeatLayout.Table, false, false, false, false);
  11349. string exp = @"<table class=""mainstyle"" border=""0"">
  11350. <tr>
  11351. <td class=""Item0"">(0,Item,0)</td>
  11352. </tr><tr>
  11353. <td class=""Item1"">(1,Item,1)</td>
  11354. </tr><tr>
  11355. <td class=""Item2"">(2,Item,2)</td>
  11356. </tr><tr>
  11357. <td class=""Item3"">(3,Item,3)</td>
  11358. </tr><tr>
  11359. <td class=""Item4"">(4,Item,4)</td>
  11360. </tr>
  11361. </table>";
  11362. Assert.AreEqual (exp, v, "#615");
  11363. }
  11364. [Test]
  11365. public void RepeatInfo_2cols_4itms_vert_tbl ()
  11366. {
  11367. // cols : 2
  11368. // cnt : 4
  11369. // RepeatDirection : Vertical
  11370. // RepeatLayout : Table
  11371. // OuterTableImplied : False
  11372. // Header : False
  11373. // Footer : False
  11374. // Separator : False
  11375. string v = RepeatInfoUser.DoTest (2, 4, RepeatDirection.Vertical, RepeatLayout.Table, false, false, false, false);
  11376. string exp = @"<table class=""mainstyle"" border=""0"">
  11377. <tr>
  11378. <td class=""Item0"">(0,Item,0)</td><td class=""Item2"">(1,Item,2)</td>
  11379. </tr><tr>
  11380. <td class=""Item1"">(2,Item,1)</td><td class=""Item3"">(3,Item,3)</td>
  11381. </tr>
  11382. </table>";
  11383. Assert.AreEqual (exp, v, "#616");
  11384. }
  11385. [Test]
  11386. public void RepeatInfo_2cols_7itms_vert_tbl ()
  11387. {
  11388. // cols : 2
  11389. // cnt : 7
  11390. // RepeatDirection : Vertical
  11391. // RepeatLayout : Table
  11392. // OuterTableImplied : False
  11393. // Header : False
  11394. // Footer : False
  11395. // Separator : False
  11396. string v = RepeatInfoUser.DoTest (2, 7, RepeatDirection.Vertical, RepeatLayout.Table, false, false, false, false);
  11397. string exp = @"<table class=""mainstyle"" border=""0"">
  11398. <tr>
  11399. <td class=""Item0"">(0,Item,0)</td><td class=""Item4"">(1,Item,4)</td>
  11400. </tr><tr>
  11401. <td class=""Item1"">(2,Item,1)</td><td class=""Item5"">(3,Item,5)</td>
  11402. </tr><tr>
  11403. <td class=""Item2"">(4,Item,2)</td><td class=""Item6"">(5,Item,6)</td>
  11404. </tr><tr>
  11405. <td class=""Item3"">(6,Item,3)</td>
  11406. </tr>
  11407. </table>";
  11408. Assert.AreEqual (exp, v, "#617");
  11409. }
  11410. [Test]
  11411. public void RepeatInfo_3cols_9itms_vert_tbl ()
  11412. {
  11413. // cols : 3
  11414. // cnt : 9
  11415. // RepeatDirection : Vertical
  11416. // RepeatLayout : Table
  11417. // OuterTableImplied : False
  11418. // Header : False
  11419. // Footer : False
  11420. // Separator : False
  11421. string v = RepeatInfoUser.DoTest (3, 9, RepeatDirection.Vertical, RepeatLayout.Table, false, false, false, false);
  11422. string exp = @"<table border=""0"">
  11423. <tr>
  11424. <td class=""Item0"">(0,Item,0)</td><td class=""Item3"">(1,Item,3)</td><td class=""Item6"">(2,Item,6)</td>
  11425. </tr><tr>
  11426. <td class=""Item1"">(3,Item,1)</td><td class=""Item4"">(4,Item,4)</td><td class=""Item7"">(5,Item,7)</td>
  11427. </tr><tr>
  11428. <td class=""Item2"">(6,Item,2)</td><td class=""Item5"">(7,Item,5)</td><td class=""Item8"">(8,Item,8)</td>
  11429. </tr>
  11430. </table>";
  11431. Assert.AreEqual (exp, v, "#618");
  11432. }
  11433. [Test]
  11434. public void RepeatInfo_3cols_7itms_vert_tbl ()
  11435. {
  11436. // cols : 3
  11437. // cnt : 7
  11438. // RepeatDirection : Vertical
  11439. // RepeatLayout : Table
  11440. // OuterTableImplied : False
  11441. // Header : False
  11442. // Footer : False
  11443. // Separator : False
  11444. string v = RepeatInfoUser.DoTest (3, 7, RepeatDirection.Vertical, RepeatLayout.Table, false, false, false, false);
  11445. string exp = @"<table border=""0"">
  11446. <tr>
  11447. <td class=""Item0"">(0,Item,0)</td><td class=""Item3"">(1,Item,3)</td><td class=""Item5"">(2,Item,5)</td>
  11448. </tr><tr>
  11449. <td class=""Item1"">(3,Item,1)</td><td class=""Item4"">(4,Item,4)</td><td class=""Item6"">(5,Item,6)</td>
  11450. </tr><tr>
  11451. <td class=""Item2"">(6,Item,2)</td>
  11452. </tr>
  11453. </table>";
  11454. Assert.AreEqual (exp, v, "#619");
  11455. }
  11456. [Test]
  11457. public void RepeatInfo_0cols_0itms_horiz_flow ()
  11458. {
  11459. // cols : 0
  11460. // cnt : 0
  11461. // RepeatDirection : Horizontal
  11462. // RepeatLayout : Flow
  11463. // OuterTableImplied : False
  11464. // Header : False
  11465. // Footer : False
  11466. // Separator : False
  11467. string v = RepeatInfoUser.DoTest (0, 0, RepeatDirection.Horizontal, RepeatLayout.Flow, false, false, false, false);
  11468. string exp = @"<span class=""mainstyle""></span>";
  11469. Assert.AreEqual (exp, v, "#620");
  11470. }
  11471. [Test]
  11472. public void RepeatInfo_0cols_1itms_horiz_flow ()
  11473. {
  11474. // cols : 0
  11475. // cnt : 1
  11476. // RepeatDirection : Horizontal
  11477. // RepeatLayout : Flow
  11478. // OuterTableImplied : False
  11479. // Header : False
  11480. // Footer : False
  11481. // Separator : False
  11482. string v = RepeatInfoUser.DoTest (0, 1, RepeatDirection.Horizontal, RepeatLayout.Flow, false, false, false, false);
  11483. string exp = @"<span class=""mainstyle"">(0,Item,0)</span>";
  11484. Assert.AreEqual (exp, v, "#621");
  11485. }
  11486. [Test]
  11487. public void RepeatInfo_0cols_2itms_horiz_flow ()
  11488. {
  11489. // cols : 0
  11490. // cnt : 2
  11491. // RepeatDirection : Horizontal
  11492. // RepeatLayout : Flow
  11493. // OuterTableImplied : False
  11494. // Header : False
  11495. // Footer : False
  11496. // Separator : False
  11497. string v = RepeatInfoUser.DoTest (0, 2, RepeatDirection.Horizontal, RepeatLayout.Flow, false, false, false, false);
  11498. string exp = @"<span class=""mainstyle"">(0,Item,0)(1,Item,1)</span>";
  11499. Assert.AreEqual (exp, v, "#622");
  11500. }
  11501. [Test]
  11502. public void RepeatInfo_0cols_5itms_horiz_flow ()
  11503. {
  11504. // cols : 0
  11505. // cnt : 5
  11506. // RepeatDirection : Horizontal
  11507. // RepeatLayout : Flow
  11508. // OuterTableImplied : False
  11509. // Header : False
  11510. // Footer : False
  11511. // Separator : False
  11512. string v = RepeatInfoUser.DoTest (0, 5, RepeatDirection.Horizontal, RepeatLayout.Flow, false, false, false, false);
  11513. string exp = @"<span class=""mainstyle"">(0,Item,0)(1,Item,1)(2,Item,2)(3,Item,3)(4,Item,4)</span>";
  11514. Assert.AreEqual (exp, v, "#623");
  11515. }
  11516. [Test]
  11517. public void RepeatInfo_1cols_0itms_horiz_flow ()
  11518. {
  11519. // cols : 1
  11520. // cnt : 0
  11521. // RepeatDirection : Horizontal
  11522. // RepeatLayout : Flow
  11523. // OuterTableImplied : False
  11524. // Header : False
  11525. // Footer : False
  11526. // Separator : False
  11527. string v = RepeatInfoUser.DoTest (1, 0, RepeatDirection.Horizontal, RepeatLayout.Flow, false, false, false, false);
  11528. string exp = @"<span class=""mainstyle""></span>";
  11529. Assert.AreEqual (exp, v, "#624");
  11530. }
  11531. [Test]
  11532. public void RepeatInfo_1cols_5itms_horiz_flow ()
  11533. {
  11534. // cols : 1
  11535. // cnt : 5
  11536. // RepeatDirection : Horizontal
  11537. // RepeatLayout : Flow
  11538. // OuterTableImplied : False
  11539. // Header : False
  11540. // Footer : False
  11541. // Separator : False
  11542. string v = RepeatInfoUser.DoTest (1, 5, RepeatDirection.Horizontal, RepeatLayout.Flow, false, false, false, false);
  11543. 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>";
  11544. Assert.AreEqual (exp, v, "#625");
  11545. }
  11546. [Test]
  11547. public void RepeatInfo_2cols_4itms_horiz_flow ()
  11548. {
  11549. // cols : 2
  11550. // cnt : 4
  11551. // RepeatDirection : Horizontal
  11552. // RepeatLayout : Flow
  11553. // OuterTableImplied : False
  11554. // Header : False
  11555. // Footer : False
  11556. // Separator : False
  11557. string v = RepeatInfoUser.DoTest (2, 4, RepeatDirection.Horizontal, RepeatLayout.Flow, false, false, false, false);
  11558. string exp = @"<span class=""mainstyle"">(0,Item,0)(1,Item,1)<br>(2,Item,2)(3,Item,3)<br></span>";
  11559. Assert.AreEqual (exp, v, "#626");
  11560. }
  11561. [Test]
  11562. public void RepeatInfo_2cols_7itms_horiz_flow ()
  11563. {
  11564. // cols : 2
  11565. // cnt : 7
  11566. // RepeatDirection : Horizontal
  11567. // RepeatLayout : Flow
  11568. // OuterTableImplied : False
  11569. // Header : False
  11570. // Footer : False
  11571. // Separator : False
  11572. string v = RepeatInfoUser.DoTest (2, 7, RepeatDirection.Horizontal, RepeatLayout.Flow, false, false, false, false);
  11573. 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>";
  11574. Assert.AreEqual (exp, v, "#627");
  11575. }
  11576. [Test]
  11577. public void RepeatInfo_3cols_9itms_horiz_flow ()
  11578. {
  11579. // cols : 3
  11580. // cnt : 9
  11581. // RepeatDirection : Horizontal
  11582. // RepeatLayout : Flow
  11583. // OuterTableImplied : False
  11584. // Header : False
  11585. // Footer : False
  11586. // Separator : False
  11587. string v = RepeatInfoUser.DoTest (3, 9, RepeatDirection.Horizontal, RepeatLayout.Flow, false, false, false, false);
  11588. 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>";
  11589. Assert.AreEqual (exp, v, "#628");
  11590. }
  11591. [Test]
  11592. public void RepeatInfo_3cols_7itms_horiz_flow ()
  11593. {
  11594. // cols : 3
  11595. // cnt : 7
  11596. // RepeatDirection : Horizontal
  11597. // RepeatLayout : Flow
  11598. // OuterTableImplied : False
  11599. // Header : False
  11600. // Footer : False
  11601. // Separator : False
  11602. string v = RepeatInfoUser.DoTest (3, 7, RepeatDirection.Horizontal, RepeatLayout.Flow, false, false, false, false);
  11603. 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>";
  11604. Assert.AreEqual (exp, v, "#629");
  11605. }
  11606. [Test]
  11607. public void RepeatInfo_0cols_0itms_vert_flow ()
  11608. {
  11609. // cols : 0
  11610. // cnt : 0
  11611. // RepeatDirection : Vertical
  11612. // RepeatLayout : Flow
  11613. // OuterTableImplied : False
  11614. // Header : False
  11615. // Footer : False
  11616. // Separator : False
  11617. string v = RepeatInfoUser.DoTest (0, 0, RepeatDirection.Vertical, RepeatLayout.Flow, false, false, false, false);
  11618. string exp = @"<span class=""mainstyle""></span>";
  11619. Assert.AreEqual (exp, v, "#630");
  11620. }
  11621. [Test]
  11622. public void RepeatInfo_0cols_1itms_vert_flow ()
  11623. {
  11624. // cols : 0
  11625. // cnt : 1
  11626. // RepeatDirection : Vertical
  11627. // RepeatLayout : Flow
  11628. // OuterTableImplied : False
  11629. // Header : False
  11630. // Footer : False
  11631. // Separator : False
  11632. string v = RepeatInfoUser.DoTest (0, 1, RepeatDirection.Vertical, RepeatLayout.Flow, false, false, false, false);
  11633. string exp = @"<span class=""mainstyle"">(0,Item,0)</span>";
  11634. Assert.AreEqual (exp, v, "#631");
  11635. }
  11636. [Test]
  11637. public void RepeatInfo_0cols_2itms_vert_flow ()
  11638. {
  11639. // cols : 0
  11640. // cnt : 2
  11641. // RepeatDirection : Vertical
  11642. // RepeatLayout : Flow
  11643. // OuterTableImplied : False
  11644. // Header : False
  11645. // Footer : False
  11646. // Separator : False
  11647. string v = RepeatInfoUser.DoTest (0, 2, RepeatDirection.Vertical, RepeatLayout.Flow, false, false, false, false);
  11648. string exp = @"<span class=""mainstyle"">(0,Item,0)<br>(1,Item,1)</span>";
  11649. Assert.AreEqual (exp, v, "#632");
  11650. }
  11651. [Test]
  11652. public void RepeatInfo_0cols_5itms_vert_flow ()
  11653. {
  11654. // cols : 0
  11655. // cnt : 5
  11656. // RepeatDirection : Vertical
  11657. // RepeatLayout : Flow
  11658. // OuterTableImplied : False
  11659. // Header : False
  11660. // Footer : False
  11661. // Separator : False
  11662. string v = RepeatInfoUser.DoTest (0, 5, RepeatDirection.Vertical, RepeatLayout.Flow, false, false, false, false);
  11663. 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>";
  11664. Assert.AreEqual (exp, v, "#633");
  11665. }
  11666. [Test]
  11667. public void RepeatInfo_1cols_0itms_vert_flow ()
  11668. {
  11669. // cols : 1
  11670. // cnt : 0
  11671. // RepeatDirection : Vertical
  11672. // RepeatLayout : Flow
  11673. // OuterTableImplied : False
  11674. // Header : False
  11675. // Footer : False
  11676. // Separator : False
  11677. string v = RepeatInfoUser.DoTest (1, 0, RepeatDirection.Vertical, RepeatLayout.Flow, false, false, false, false);
  11678. string exp = @"<span class=""mainstyle""></span>";
  11679. Assert.AreEqual (exp, v, "#634");
  11680. }
  11681. [Test]
  11682. public void RepeatInfo_1cols_5itms_vert_flow ()
  11683. {
  11684. // cols : 1
  11685. // cnt : 5
  11686. // RepeatDirection : Vertical
  11687. // RepeatLayout : Flow
  11688. // OuterTableImplied : False
  11689. // Header : False
  11690. // Footer : False
  11691. // Separator : False
  11692. string v = RepeatInfoUser.DoTest (1, 5, RepeatDirection.Vertical, RepeatLayout.Flow, false, false, false, false);
  11693. 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>";
  11694. Assert.AreEqual (exp, v, "#635");
  11695. }
  11696. [Test]
  11697. public void RepeatInfo_2cols_4itms_vert_flow ()
  11698. {
  11699. // cols : 2
  11700. // cnt : 4
  11701. // RepeatDirection : Vertical
  11702. // RepeatLayout : Flow
  11703. // OuterTableImplied : False
  11704. // Header : False
  11705. // Footer : False
  11706. // Separator : False
  11707. string v = RepeatInfoUser.DoTest (2, 4, RepeatDirection.Vertical, RepeatLayout.Flow, false, false, false, false);
  11708. string exp = @"<span class=""mainstyle"">(0,Item,0)(1,Item,2)<br>(2,Item,1)(3,Item,3)</span>";
  11709. Assert.AreEqual (exp, v, "#636");
  11710. }
  11711. [Test]
  11712. public void RepeatInfo_2cols_7itms_vert_flow ()
  11713. {
  11714. // cols : 2
  11715. // cnt : 7
  11716. // RepeatDirection : Vertical
  11717. // RepeatLayout : Flow
  11718. // OuterTableImplied : False
  11719. // Header : False
  11720. // Footer : False
  11721. // Separator : False
  11722. string v = RepeatInfoUser.DoTest (2, 7, RepeatDirection.Vertical, RepeatLayout.Flow, false, false, false, false);
  11723. 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>";
  11724. Assert.AreEqual (exp, v, "#637");
  11725. }
  11726. [Test]
  11727. public void RepeatInfo_3cols_9itms_vert_flow ()
  11728. {
  11729. // cols : 3
  11730. // cnt : 9
  11731. // RepeatDirection : Vertical
  11732. // RepeatLayout : Flow
  11733. // OuterTableImplied : False
  11734. // Header : False
  11735. // Footer : False
  11736. // Separator : False
  11737. string v = RepeatInfoUser.DoTest (3, 9, RepeatDirection.Vertical, RepeatLayout.Flow, false, false, false, false);
  11738. 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>";
  11739. Assert.AreEqual (exp, v, "#638");
  11740. }
  11741. [Test]
  11742. public void RepeatInfo_3cols_7itms_vert_flow ()
  11743. {
  11744. // cols : 3
  11745. // cnt : 7
  11746. // RepeatDirection : Vertical
  11747. // RepeatLayout : Flow
  11748. // OuterTableImplied : False
  11749. // Header : False
  11750. // Footer : False
  11751. // Separator : False
  11752. string v = RepeatInfoUser.DoTest (3, 7, RepeatDirection.Vertical, RepeatLayout.Flow, false, false, false, false);
  11753. 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>";
  11754. Assert.AreEqual (exp, v, "#639");
  11755. }
  11756. }
  11757. }
  11758. #endif