RepeatInfoTest.auto.2.0.cs 436 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472447344744475447644774478447944804481448244834484448544864487448844894490449144924493449444954496449744984499450045014502450345044505450645074508450945104511451245134514451545164517451845194520452145224523452445254526452745284529453045314532453345344535453645374538453945404541454245434544454545464547454845494550455145524553455445554556455745584559456045614562456345644565456645674568456945704571457245734574457545764577457845794580458145824583458445854586458745884589459045914592459345944595459645974598459946004601460246034604460546064607460846094610461146124613461446154616461746184619462046214622462346244625462646274628462946304631463246334634463546364637463846394640464146424643464446454646464746484649465046514652465346544655465646574658465946604661466246634664466546664667466846694670467146724673467446754676467746784679468046814682468346844685468646874688468946904691469246934694469546964697469846994700470147024703470447054706470747084709471047114712471347144715471647174718471947204721472247234724472547264727472847294730473147324733473447354736473747384739474047414742474347444745474647474748474947504751475247534754475547564757475847594760476147624763476447654766476747684769477047714772477347744775477647774778477947804781478247834784478547864787478847894790479147924793479447954796479747984799480048014802480348044805480648074808480948104811481248134814481548164817481848194820482148224823482448254826482748284829483048314832483348344835483648374838483948404841484248434844484548464847484848494850485148524853485448554856485748584859486048614862486348644865486648674868486948704871487248734874487548764877487848794880488148824883488448854886488748884889489048914892489348944895489648974898489949004901490249034904490549064907490849094910491149124913491449154916491749184919492049214922492349244925492649274928492949304931493249334934493549364937493849394940494149424943494449454946494749484949495049514952495349544955495649574958495949604961496249634964496549664967496849694970497149724973497449754976497749784979498049814982498349844985498649874988498949904991499249934994499549964997499849995000500150025003500450055006500750085009501050115012501350145015501650175018501950205021502250235024502550265027502850295030503150325033503450355036503750385039504050415042504350445045504650475048504950505051505250535054505550565057505850595060506150625063506450655066506750685069507050715072507350745075507650775078507950805081508250835084508550865087508850895090509150925093509450955096509750985099510051015102510351045105510651075108510951105111511251135114511551165117511851195120512151225123512451255126512751285129513051315132513351345135513651375138513951405141514251435144514551465147514851495150515151525153515451555156515751585159516051615162516351645165516651675168516951705171517251735174517551765177517851795180518151825183518451855186518751885189519051915192519351945195519651975198519952005201520252035204520552065207520852095210521152125213521452155216521752185219522052215222522352245225522652275228522952305231523252335234523552365237523852395240524152425243524452455246524752485249525052515252525352545255525652575258525952605261526252635264526552665267526852695270527152725273527452755276527752785279528052815282528352845285528652875288528952905291529252935294529552965297529852995300530153025303530453055306530753085309531053115312531353145315531653175318531953205321532253235324532553265327532853295330533153325333533453355336533753385339534053415342534353445345534653475348534953505351535253535354535553565357535853595360536153625363536453655366536753685369537053715372537353745375537653775378537953805381538253835384538553865387538853895390539153925393539453955396539753985399540054015402540354045405540654075408540954105411541254135414541554165417541854195420542154225423542454255426542754285429543054315432543354345435543654375438543954405441544254435444544554465447544854495450545154525453545454555456545754585459546054615462546354645465546654675468546954705471547254735474547554765477547854795480548154825483548454855486548754885489549054915492549354945495549654975498549955005501550255035504550555065507550855095510551155125513551455155516551755185519552055215522552355245525552655275528552955305531553255335534553555365537553855395540554155425543554455455546554755485549555055515552555355545555555655575558555955605561556255635564556555665567556855695570557155725573557455755576557755785579558055815582558355845585558655875588558955905591559255935594559555965597559855995600560156025603560456055606560756085609561056115612561356145615561656175618561956205621562256235624562556265627562856295630563156325633563456355636563756385639564056415642564356445645564656475648564956505651565256535654565556565657565856595660566156625663566456655666566756685669567056715672567356745675567656775678567956805681568256835684568556865687568856895690569156925693569456955696569756985699570057015702570357045705570657075708570957105711571257135714571557165717571857195720572157225723572457255726572757285729573057315732573357345735573657375738573957405741574257435744574557465747574857495750575157525753575457555756575757585759576057615762576357645765576657675768576957705771577257735774577557765777577857795780578157825783578457855786578757885789579057915792579357945795579657975798579958005801580258035804580558065807580858095810581158125813581458155816581758185819582058215822582358245825582658275828582958305831583258335834583558365837583858395840584158425843584458455846584758485849585058515852585358545855585658575858585958605861586258635864586558665867586858695870587158725873587458755876587758785879588058815882588358845885588658875888588958905891589258935894589558965897589858995900590159025903590459055906590759085909591059115912591359145915591659175918591959205921592259235924592559265927592859295930593159325933593459355936593759385939594059415942594359445945594659475948594959505951595259535954595559565957595859595960596159625963596459655966596759685969597059715972597359745975597659775978597959805981598259835984598559865987598859895990599159925993599459955996599759985999600060016002600360046005600660076008600960106011601260136014601560166017601860196020602160226023602460256026602760286029603060316032603360346035603660376038603960406041604260436044604560466047604860496050605160526053605460556056605760586059606060616062606360646065606660676068606960706071607260736074607560766077607860796080608160826083608460856086608760886089609060916092609360946095609660976098609961006101610261036104610561066107610861096110611161126113611461156116611761186119612061216122612361246125612661276128612961306131613261336134613561366137613861396140614161426143614461456146614761486149615061516152615361546155615661576158615961606161616261636164616561666167616861696170617161726173617461756176617761786179618061816182618361846185618661876188618961906191619261936194619561966197619861996200620162026203620462056206620762086209621062116212621362146215621662176218621962206221622262236224622562266227622862296230623162326233623462356236623762386239624062416242624362446245624662476248624962506251625262536254625562566257625862596260626162626263626462656266626762686269627062716272627362746275627662776278627962806281628262836284628562866287628862896290629162926293629462956296629762986299630063016302630363046305630663076308630963106311631263136314631563166317631863196320632163226323632463256326632763286329633063316332633363346335633663376338633963406341634263436344634563466347634863496350635163526353635463556356635763586359636063616362636363646365636663676368636963706371637263736374637563766377637863796380638163826383638463856386638763886389639063916392639363946395639663976398639964006401640264036404640564066407640864096410641164126413641464156416641764186419642064216422642364246425642664276428642964306431643264336434643564366437643864396440644164426443644464456446644764486449645064516452645364546455645664576458645964606461646264636464646564666467646864696470647164726473647464756476647764786479648064816482648364846485648664876488648964906491649264936494649564966497649864996500650165026503650465056506650765086509651065116512651365146515651665176518651965206521652265236524652565266527652865296530653165326533653465356536653765386539654065416542654365446545654665476548654965506551655265536554655565566557655865596560656165626563656465656566656765686569657065716572657365746575657665776578657965806581658265836584658565866587658865896590659165926593659465956596659765986599660066016602660366046605660666076608660966106611661266136614661566166617661866196620662166226623662466256626662766286629663066316632663366346635663666376638663966406641664266436644664566466647664866496650665166526653665466556656665766586659666066616662666366646665666666676668666966706671667266736674667566766677667866796680668166826683668466856686668766886689669066916692669366946695669666976698669967006701670267036704670567066707670867096710671167126713671467156716671767186719672067216722672367246725672667276728672967306731673267336734673567366737673867396740674167426743674467456746674767486749675067516752675367546755675667576758675967606761676267636764676567666767676867696770677167726773677467756776677767786779678067816782678367846785678667876788678967906791679267936794679567966797679867996800680168026803680468056806680768086809681068116812681368146815681668176818681968206821682268236824682568266827682868296830683168326833683468356836683768386839684068416842684368446845684668476848684968506851685268536854685568566857685868596860686168626863686468656866686768686869687068716872687368746875687668776878687968806881688268836884688568866887688868896890689168926893689468956896689768986899690069016902690369046905690669076908690969106911691269136914691569166917691869196920692169226923692469256926692769286929693069316932693369346935693669376938693969406941694269436944694569466947694869496950695169526953695469556956695769586959696069616962696369646965696669676968696969706971697269736974697569766977697869796980698169826983698469856986698769886989699069916992699369946995699669976998699970007001700270037004700570067007700870097010701170127013701470157016701770187019702070217022702370247025702670277028702970307031703270337034703570367037703870397040704170427043704470457046704770487049705070517052705370547055705670577058705970607061706270637064706570667067706870697070707170727073707470757076707770787079708070817082708370847085708670877088708970907091709270937094709570967097709870997100710171027103710471057106710771087109711071117112711371147115711671177118711971207121712271237124712571267127712871297130713171327133713471357136713771387139714071417142714371447145714671477148714971507151715271537154715571567157715871597160716171627163716471657166716771687169717071717172717371747175717671777178717971807181718271837184718571867187718871897190719171927193719471957196719771987199720072017202720372047205720672077208720972107211721272137214721572167217721872197220722172227223722472257226722772287229723072317232723372347235723672377238723972407241724272437244724572467247724872497250725172527253725472557256725772587259726072617262726372647265726672677268726972707271727272737274727572767277727872797280728172827283728472857286728772887289729072917292729372947295729672977298729973007301730273037304730573067307730873097310731173127313731473157316731773187319732073217322732373247325732673277328732973307331733273337334733573367337733873397340734173427343734473457346734773487349735073517352735373547355735673577358735973607361736273637364736573667367736873697370737173727373737473757376737773787379738073817382738373847385738673877388738973907391739273937394739573967397739873997400740174027403740474057406740774087409741074117412741374147415741674177418741974207421742274237424742574267427742874297430743174327433743474357436743774387439744074417442744374447445744674477448744974507451745274537454745574567457745874597460746174627463746474657466746774687469747074717472747374747475747674777478747974807481748274837484748574867487748874897490749174927493749474957496749774987499750075017502750375047505750675077508750975107511751275137514751575167517751875197520752175227523752475257526752775287529753075317532753375347535753675377538753975407541754275437544754575467547754875497550755175527553755475557556755775587559756075617562756375647565756675677568756975707571757275737574757575767577757875797580758175827583758475857586758775887589759075917592759375947595759675977598759976007601760276037604760576067607760876097610761176127613761476157616761776187619762076217622762376247625762676277628762976307631763276337634763576367637763876397640764176427643764476457646764776487649765076517652765376547655765676577658765976607661766276637664766576667667766876697670767176727673767476757676767776787679768076817682768376847685768676877688768976907691769276937694769576967697769876997700770177027703770477057706770777087709771077117712771377147715771677177718771977207721772277237724772577267727772877297730773177327733773477357736773777387739774077417742774377447745774677477748774977507751775277537754775577567757775877597760776177627763776477657766776777687769777077717772777377747775777677777778777977807781778277837784778577867787778877897790779177927793779477957796779777987799780078017802780378047805780678077808780978107811781278137814781578167817781878197820782178227823782478257826782778287829783078317832783378347835783678377838783978407841784278437844784578467847784878497850785178527853785478557856785778587859786078617862786378647865786678677868786978707871787278737874787578767877787878797880788178827883788478857886788778887889789078917892789378947895789678977898789979007901790279037904790579067907790879097910791179127913791479157916791779187919792079217922792379247925792679277928792979307931793279337934793579367937793879397940794179427943794479457946794779487949795079517952795379547955795679577958795979607961796279637964796579667967796879697970797179727973797479757976797779787979798079817982798379847985798679877988798979907991799279937994799579967997799879998000800180028003800480058006800780088009801080118012801380148015801680178018801980208021802280238024802580268027802880298030803180328033803480358036803780388039804080418042804380448045804680478048804980508051805280538054805580568057805880598060806180628063806480658066806780688069807080718072807380748075807680778078807980808081808280838084808580868087808880898090809180928093809480958096809780988099810081018102810381048105810681078108810981108111811281138114811581168117811881198120812181228123812481258126812781288129813081318132813381348135813681378138813981408141814281438144814581468147814881498150815181528153815481558156815781588159816081618162816381648165816681678168816981708171817281738174817581768177817881798180818181828183818481858186818781888189819081918192819381948195819681978198819982008201820282038204820582068207820882098210821182128213821482158216821782188219822082218222822382248225822682278228822982308231823282338234823582368237823882398240824182428243824482458246824782488249825082518252825382548255825682578258825982608261826282638264826582668267826882698270827182728273827482758276827782788279828082818282828382848285828682878288828982908291829282938294829582968297829882998300830183028303830483058306830783088309831083118312831383148315831683178318831983208321832283238324832583268327832883298330833183328333833483358336833783388339834083418342834383448345834683478348834983508351835283538354835583568357835883598360836183628363836483658366836783688369837083718372837383748375837683778378837983808381838283838384838583868387838883898390839183928393839483958396839783988399840084018402840384048405840684078408840984108411841284138414841584168417841884198420842184228423842484258426842784288429843084318432843384348435843684378438843984408441844284438444844584468447844884498450845184528453845484558456845784588459846084618462846384648465846684678468846984708471847284738474847584768477847884798480848184828483848484858486848784888489849084918492849384948495849684978498849985008501850285038504850585068507850885098510851185128513851485158516851785188519852085218522852385248525852685278528852985308531853285338534853585368537853885398540854185428543854485458546854785488549855085518552855385548555855685578558855985608561856285638564856585668567856885698570857185728573857485758576857785788579858085818582858385848585858685878588858985908591859285938594859585968597859885998600860186028603860486058606860786088609861086118612861386148615861686178618861986208621862286238624862586268627862886298630863186328633863486358636863786388639864086418642864386448645864686478648864986508651865286538654865586568657865886598660866186628663866486658666866786688669867086718672867386748675867686778678867986808681868286838684868586868687868886898690869186928693869486958696869786988699870087018702870387048705870687078708870987108711871287138714871587168717871887198720872187228723872487258726872787288729873087318732873387348735873687378738873987408741874287438744874587468747874887498750875187528753875487558756875787588759876087618762876387648765876687678768876987708771877287738774877587768777877887798780878187828783878487858786878787888789879087918792879387948795879687978798879988008801880288038804880588068807880888098810881188128813881488158816881788188819882088218822882388248825882688278828882988308831883288338834883588368837883888398840884188428843884488458846884788488849885088518852885388548855885688578858885988608861886288638864886588668867886888698870887188728873887488758876887788788879888088818882888388848885888688878888888988908891889288938894889588968897889888998900890189028903890489058906890789088909891089118912891389148915891689178918891989208921892289238924892589268927892889298930893189328933893489358936893789388939894089418942894389448945894689478948894989508951895289538954895589568957895889598960896189628963896489658966896789688969897089718972897389748975897689778978897989808981898289838984898589868987898889898990899189928993899489958996899789988999900090019002900390049005900690079008900990109011901290139014901590169017901890199020902190229023902490259026902790289029903090319032903390349035903690379038903990409041904290439044904590469047904890499050905190529053905490559056905790589059906090619062906390649065906690679068906990709071907290739074907590769077907890799080908190829083908490859086908790889089909090919092909390949095909690979098909991009101910291039104910591069107910891099110911191129113911491159116911791189119912091219122912391249125912691279128912991309131913291339134913591369137913891399140914191429143914491459146914791489149915091519152915391549155915691579158915991609161916291639164916591669167916891699170917191729173917491759176917791789179918091819182918391849185918691879188918991909191919291939194919591969197919891999200920192029203920492059206920792089209921092119212921392149215921692179218921992209221922292239224922592269227922892299230923192329233923492359236923792389239924092419242924392449245924692479248924992509251925292539254925592569257925892599260926192629263926492659266926792689269927092719272927392749275927692779278927992809281928292839284928592869287928892899290929192929293929492959296929792989299930093019302930393049305930693079308930993109311931293139314931593169317931893199320932193229323932493259326932793289329933093319332933393349335933693379338933993409341934293439344934593469347934893499350935193529353935493559356935793589359936093619362936393649365936693679368936993709371937293739374937593769377937893799380938193829383938493859386938793889389939093919392939393949395939693979398939994009401940294039404940594069407940894099410941194129413941494159416941794189419942094219422942394249425942694279428942994309431943294339434943594369437943894399440944194429443944494459446944794489449945094519452945394549455945694579458945994609461946294639464946594669467946894699470947194729473947494759476947794789479948094819482948394849485948694879488948994909491949294939494949594969497949894999500950195029503950495059506950795089509951095119512951395149515951695179518951995209521952295239524952595269527952895299530953195329533953495359536953795389539954095419542954395449545954695479548954995509551955295539554955595569557955895599560956195629563956495659566956795689569957095719572957395749575957695779578957995809581958295839584958595869587958895899590959195929593959495959596959795989599960096019602960396049605960696079608960996109611961296139614961596169617961896199620962196229623962496259626962796289629963096319632963396349635963696379638963996409641964296439644964596469647964896499650965196529653965496559656965796589659966096619662966396649665966696679668966996709671967296739674967596769677967896799680968196829683968496859686968796889689969096919692969396949695969696979698969997009701970297039704970597069707970897099710971197129713971497159716971797189719972097219722972397249725972697279728972997309731973297339734973597369737973897399740974197429743974497459746974797489749975097519752975397549755975697579758975997609761976297639764976597669767976897699770977197729773977497759776977797789779978097819782978397849785978697879788978997909791979297939794979597969797979897999800980198029803980498059806980798089809981098119812981398149815981698179818981998209821982298239824982598269827982898299830983198329833983498359836983798389839984098419842984398449845984698479848984998509851985298539854985598569857985898599860986198629863986498659866986798689869987098719872987398749875987698779878987998809881988298839884988598869887988898899890989198929893989498959896989798989899990099019902990399049905990699079908990999109911991299139914991599169917991899199920992199229923992499259926992799289929993099319932993399349935993699379938993999409941994299439944994599469947994899499950995199529953995499559956995799589959996099619962996399649965996699679968996999709971997299739974997599769977997899799980998199829983998499859986998799889989999099919992999399949995999699979998999910000100011000210003100041000510006100071000810009100101001110012100131001410015100161001710018100191002010021100221002310024100251002610027100281002910030100311003210033100341003510036100371003810039100401004110042100431004410045100461004710048100491005010051100521005310054100551005610057100581005910060100611006210063100641006510066100671006810069100701007110072100731007410075100761007710078100791008010081100821008310084100851008610087100881008910090100911009210093100941009510096100971009810099101001010110102101031010410105101061010710108101091011010111101121011310114101151011610117101181011910120101211012210123101241012510126101271012810129101301013110132101331013410135101361013710138101391014010141101421014310144101451014610147101481014910150101511015210153101541015510156101571015810159101601016110162101631016410165101661016710168101691017010171101721017310174101751017610177101781017910180101811018210183101841018510186101871018810189101901019110192101931019410195101961019710198101991020010201102021020310204102051020610207102081020910210102111021210213102141021510216102171021810219102201022110222102231022410225102261022710228102291023010231102321023310234102351023610237102381023910240102411024210243102441024510246102471024810249102501025110252102531025410255102561025710258102591026010261102621026310264102651026610267102681026910270102711027210273102741027510276102771027810279102801028110282102831028410285102861028710288102891029010291102921029310294102951029610297102981029910300103011030210303103041030510306103071030810309103101031110312103131031410315103161031710318103191032010321103221032310324103251032610327103281032910330103311033210333103341033510336103371033810339103401034110342103431034410345103461034710348103491035010351103521035310354103551035610357103581035910360103611036210363103641036510366103671036810369103701037110372103731037410375103761037710378103791038010381103821038310384103851038610387103881038910390103911039210393103941039510396103971039810399104001040110402104031040410405104061040710408104091041010411104121041310414104151041610417104181041910420104211042210423104241042510426104271042810429104301043110432104331043410435104361043710438104391044010441104421044310444104451044610447104481044910450104511045210453104541045510456104571045810459104601046110462104631046410465104661046710468104691047010471104721047310474104751047610477104781047910480104811048210483104841048510486104871048810489104901049110492104931049410495104961049710498104991050010501105021050310504105051050610507105081050910510105111051210513105141051510516105171051810519105201052110522105231052410525105261052710528105291053010531105321053310534105351053610537105381053910540105411054210543105441054510546105471054810549105501055110552105531055410555105561055710558105591056010561105621056310564105651056610567105681056910570105711057210573105741057510576105771057810579105801058110582105831058410585105861058710588105891059010591105921059310594105951059610597105981059910600106011060210603106041060510606106071060810609106101061110612106131061410615106161061710618106191062010621106221062310624106251062610627106281062910630106311063210633106341063510636106371063810639106401064110642106431064410645106461064710648106491065010651106521065310654106551065610657106581065910660106611066210663106641066510666106671066810669106701067110672106731067410675106761067710678106791068010681106821068310684106851068610687106881068910690106911069210693106941069510696106971069810699107001070110702107031070410705107061070710708107091071010711107121071310714107151071610717107181071910720107211072210723107241072510726107271072810729107301073110732107331073410735107361073710738107391074010741107421074310744107451074610747107481074910750107511075210753107541075510756107571075810759107601076110762107631076410765107661076710768107691077010771107721077310774107751077610777107781077910780107811078210783107841078510786107871078810789107901079110792107931079410795107961079710798107991080010801108021080310804108051080610807108081080910810108111081210813108141081510816108171081810819108201082110822108231082410825108261082710828108291083010831108321083310834108351083610837108381083910840108411084210843108441084510846108471084810849108501085110852108531085410855108561085710858108591086010861108621086310864108651086610867108681086910870108711087210873108741087510876108771087810879108801088110882108831088410885108861088710888108891089010891108921089310894108951089610897108981089910900109011090210903109041090510906109071090810909109101091110912109131091410915109161091710918109191092010921109221092310924109251092610927109281092910930109311093210933109341093510936109371093810939109401094110942109431094410945109461094710948109491095010951109521095310954109551095610957109581095910960109611096210963109641096510966109671096810969109701097110972109731097410975109761097710978109791098010981109821098310984109851098610987109881098910990109911099210993109941099510996109971099810999110001100111002110031100411005110061100711008110091101011011110121101311014110151101611017110181101911020110211102211023110241102511026110271102811029110301103111032110331103411035110361103711038110391104011041110421104311044110451104611047110481104911050110511105211053110541105511056110571105811059110601106111062110631106411065110661106711068110691107011071110721107311074110751107611077110781107911080110811108211083110841108511086110871108811089110901109111092110931109411095110961109711098110991110011101111021110311104111051110611107111081110911110111111111211113111141111511116111171111811119111201112111122111231112411125111261112711128111291113011131111321113311134111351113611137111381113911140111411114211143111441114511146111471114811149111501115111152111531115411155111561115711158111591116011161111621116311164111651116611167111681116911170111711117211173111741117511176111771117811179111801118111182111831118411185111861118711188111891119011191111921119311194111951119611197111981119911200112011120211203112041120511206112071120811209112101121111212112131121411215112161121711218112191122011221112221122311224112251122611227112281122911230112311123211233112341123511236112371123811239112401124111242112431124411245112461124711248112491125011251112521125311254112551125611257112581125911260112611126211263112641126511266112671126811269112701127111272112731127411275112761127711278112791128011281112821128311284112851128611287112881128911290112911129211293112941129511296112971129811299113001130111302113031130411305113061130711308113091131011311113121131311314113151131611317113181131911320113211132211323113241132511326113271132811329113301133111332113331133411335113361133711338113391134011341113421134311344113451134611347113481134911350113511135211353113541135511356113571135811359113601136111362113631136411365113661136711368113691137011371113721137311374113751137611377113781137911380113811138211383113841138511386113871138811389113901139111392113931139411395113961139711398113991140011401114021140311404114051140611407114081140911410114111141211413114141141511416114171141811419114201142111422114231142411425114261142711428114291143011431114321143311434114351143611437114381143911440114411144211443114441144511446114471144811449114501145111452114531145411455114561145711458114591146011461114621146311464114651146611467114681146911470114711147211473114741147511476114771147811479114801148111482114831148411485114861148711488114891149011491114921149311494114951149611497114981149911500115011150211503115041150511506115071150811509115101151111512115131151411515115161151711518115191152011521115221152311524115251152611527115281152911530115311153211533115341153511536115371153811539115401154111542115431154411545115461154711548115491155011551115521155311554115551155611557115581155911560115611156211563115641156511566115671156811569115701157111572115731157411575115761157711578115791158011581115821158311584115851158611587115881158911590115911159211593115941159511596115971159811599116001160111602116031160411605116061160711608116091161011611116121161311614116151161611617116181161911620116211162211623116241162511626116271162811629116301163111632116331163411635116361163711638116391164011641116421164311644116451164611647116481164911650116511165211653116541165511656116571165811659116601166111662116631166411665116661166711668116691167011671116721167311674116751167611677116781167911680116811168211683116841168511686116871168811689116901169111692116931169411695116961169711698116991170011701117021170311704117051170611707117081170911710117111171211713117141171511716117171171811719117201172111722117231172411725117261172711728117291173011731117321173311734117351173611737117381173911740117411174211743117441174511746117471174811749117501175111752117531175411755117561175711758117591176011761117621176311764117651176611767117681176911770117711177211773117741177511776117771177811779117801178111782117831178411785117861178711788117891179011791117921179311794117951179611797117981179911800118011180211803118041180511806118071180811809118101181111812118131181411815118161181711818118191182011821118221182311824118251182611827118281182911830118311183211833118341183511836118371183811839118401184111842118431184411845118461184711848118491185011851118521185311854118551185611857118581185911860118611186211863118641186511866118671186811869118701187111872118731187411875118761187711878118791188011881118821188311884118851188611887118881188911890118911189211893118941189511896118971189811899119001190111902119031190411905119061190711908119091191011911119121191311914119151191611917119181191911920119211192211923119241192511926119271192811929119301193111932119331193411935119361193711938119391194011941119421194311944119451194611947119481194911950119511195211953119541195511956119571195811959119601196111962119631196411965119661196711968119691197011971119721197311974119751197611977119781197911980119811198211983119841198511986119871198811989119901199111992119931199411995119961199711998119991200012001120021200312004120051200612007120081200912010120111201212013120141201512016120171201812019120201202112022120231202412025120261202712028120291203012031120321203312034120351203612037120381203912040120411204212043120441204512046120471204812049120501205112052120531205412055120561205712058120591206012061120621206312064120651206612067120681206912070120711207212073120741207512076120771207812079120801208112082120831208412085120861208712088120891209012091120921209312094120951209612097120981209912100121011210212103121041210512106121071210812109121101211112112121131211412115121161211712118121191212012121121221212312124121251212612127121281212912130121311213212133121341213512136121371213812139121401214112142121431214412145121461214712148121491215012151121521215312154121551215612157121581215912160121611216212163121641216512166121671216812169121701217112172121731217412175121761217712178121791218012181121821218312184121851218612187121881218912190121911219212193121941219512196121971219812199122001220112202122031220412205122061220712208122091221012211122121221312214122151221612217122181221912220122211222212223122241222512226122271222812229122301223112232122331223412235122361223712238122391224012241122421224312244122451224612247122481224912250122511225212253122541225512256122571225812259122601226112262122631226412265122661226712268122691227012271122721227312274122751227612277122781227912280122811228212283122841228512286122871228812289122901229112292122931229412295122961229712298122991230012301123021230312304123051230612307123081230912310123111231212313123141231512316123171231812319123201232112322123231232412325123261232712328123291233012331123321233312334123351233612337123381233912340123411234212343123441234512346123471234812349123501235112352123531235412355123561235712358123591236012361123621236312364123651236612367123681236912370123711237212373123741237512376123771237812379123801238112382123831238412385123861238712388123891239012391123921239312394123951239612397123981239912400124011240212403124041240512406124071240812409124101241112412124131241412415124161241712418124191242012421124221242312424124251242612427124281242912430124311243212433124341243512436124371243812439124401244112442124431244412445124461244712448124491245012451124521245312454124551245612457124581245912460124611246212463124641246512466124671246812469124701247112472124731247412475124761247712478124791248012481124821248312484124851248612487124881248912490124911249212493124941249512496124971249812499125001250112502125031250412505125061250712508125091251012511125121251312514125151251612517125181251912520125211252212523125241252512526125271252812529125301253112532125331253412535125361253712538125391254012541125421254312544125451254612547125481254912550125511255212553125541255512556125571255812559125601256112562125631256412565125661256712568125691257012571125721257312574125751257612577125781257912580125811258212583125841258512586125871258812589125901259112592125931259412595125961259712598125991260012601126021260312604126051260612607126081260912610126111261212613126141261512616126171261812619126201262112622126231262412625126261262712628126291263012631126321263312634126351263612637126381263912640126411264212643126441264512646126471264812649126501265112652126531265412655126561265712658126591266012661126621266312664126651266612667126681266912670126711267212673126741267512676126771267812679126801268112682126831268412685126861268712688126891269012691126921269312694126951269612697126981269912700127011270212703127041270512706127071270812709127101271112712127131271412715127161271712718127191272012721127221272312724127251272612727127281272912730127311273212733127341273512736127371273812739127401274112742127431274412745127461274712748127491275012751127521275312754127551275612757127581275912760127611276212763127641276512766127671276812769127701277112772127731277412775127761277712778127791278012781127821278312784127851278612787127881278912790127911279212793127941279512796127971279812799128001280112802128031280412805128061280712808128091281012811128121281312814128151281612817128181281912820128211282212823128241282512826128271282812829128301283112832128331283412835128361283712838128391284012841128421284312844128451284612847128481284912850128511285212853128541285512856128571285812859128601286112862128631286412865128661286712868128691287012871128721287312874128751287612877128781287912880128811288212883128841288512886128871288812889128901289112892128931289412895128961289712898128991290012901129021290312904129051290612907129081290912910129111291212913129141291512916129171291812919129201292112922129231292412925129261292712928129291293012931129321293312934129351293612937129381293912940129411294212943129441294512946129471294812949129501295112952129531295412955129561295712958129591296012961129621296312964129651296612967129681296912970129711297212973129741297512976129771297812979129801298112982129831298412985129861298712988129891299012991129921299312994129951299612997129981299913000130011300213003130041300513006130071300813009130101301113012130131301413015130161301713018130191302013021130221302313024130251302613027130281302913030130311303213033130341303513036130371303813039130401304113042130431304413045130461304713048130491305013051130521305313054130551305613057130581305913060130611306213063130641306513066130671306813069130701307113072130731307413075130761307713078130791308013081130821308313084130851308613087130881308913090130911309213093130941309513096130971309813099131001310113102131031310413105131061310713108131091311013111131121311313114131151311613117131181311913120131211312213123131241312513126131271312813129131301313113132131331313413135131361313713138131391314013141131421314313144131451314613147131481314913150131511315213153131541315513156131571315813159131601316113162131631316413165131661316713168131691317013171131721317313174131751317613177131781317913180131811318213183131841318513186131871318813189131901319113192131931319413195131961319713198131991320013201132021320313204132051320613207132081320913210132111321213213132141321513216132171321813219132201322113222132231322413225132261322713228132291323013231132321323313234132351323613237132381323913240132411324213243132441324513246132471324813249132501325113252132531325413255132561325713258132591326013261132621326313264132651326613267132681326913270132711327213273132741327513276132771327813279132801328113282132831328413285132861328713288132891329013291132921329313294132951329613297132981329913300133011330213303133041330513306133071330813309133101331113312133131331413315133161331713318133191332013321133221332313324133251332613327133281332913330133311333213333133341333513336133371333813339133401334113342133431334413345133461334713348133491335013351133521335313354133551335613357133581335913360133611336213363133641336513366133671336813369133701337113372133731337413375133761337713378133791338013381133821338313384133851338613387133881338913390133911339213393133941339513396133971339813399134001340113402134031340413405134061340713408134091341013411134121341313414134151341613417134181341913420134211342213423134241342513426134271342813429134301343113432134331343413435134361343713438134391344013441134421344313444134451344613447134481344913450134511345213453134541345513456134571345813459134601346113462134631346413465134661346713468134691347013471134721347313474134751347613477134781347913480134811348213483134841348513486134871348813489134901349113492134931349413495134961349713498134991350013501135021350313504135051350613507135081350913510135111351213513135141351513516135171351813519135201352113522135231352413525135261352713528135291353013531135321353313534135351353613537135381353913540135411354213543135441354513546135471354813549135501355113552135531355413555135561355713558135591356013561135621356313564135651356613567135681356913570135711357213573135741357513576135771357813579135801358113582135831358413585135861358713588135891359013591135921359313594135951359613597135981359913600136011360213603136041360513606136071360813609136101361113612136131361413615136161361713618136191362013621136221362313624136251362613627136281362913630136311363213633136341363513636136371363813639136401364113642136431364413645136461364713648136491365013651136521365313654136551365613657136581365913660136611366213663136641366513666136671366813669136701367113672136731367413675136761367713678136791368013681136821368313684136851368613687136881368913690136911369213693136941369513696136971369813699137001370113702137031370413705137061370713708137091371013711137121371313714137151371613717137181371913720137211372213723137241372513726137271372813729137301373113732137331373413735137361373713738137391374013741137421374313744137451374613747137481374913750137511375213753137541375513756137571375813759137601376113762137631376413765137661376713768137691377013771137721377313774137751377613777137781377913780137811378213783137841378513786137871378813789137901379113792137931379413795137961379713798137991380013801138021380313804138051380613807138081380913810138111381213813138141381513816138171381813819138201382113822138231382413825138261382713828138291383013831138321383313834138351383613837138381383913840138411384213843138441384513846138471384813849138501385113852138531385413855138561385713858138591386013861138621386313864138651386613867138681386913870138711387213873138741387513876138771387813879138801388113882138831388413885138861388713888138891389013891138921389313894138951389613897138981389913900139011390213903139041390513906139071390813909139101391113912139131391413915139161391713918139191392013921139221392313924139251392613927139281392913930139311393213933139341393513936139371393813939139401394113942139431394413945139461394713948139491395013951139521395313954139551395613957139581395913960139611396213963139641396513966139671396813969139701397113972139731397413975139761397713978139791398013981139821398313984139851398613987139881398913990139911399213993139941399513996139971399813999140001400114002140031400414005140061400714008140091401014011140121401314014140151401614017140181401914020140211402214023140241402514026140271402814029140301403114032140331403414035140361403714038140391404014041140421404314044140451404614047140481404914050140511405214053140541405514056140571405814059140601406114062140631406414065140661406714068140691407014071140721407314074140751407614077140781407914080140811408214083140841408514086140871408814089140901409114092140931409414095140961409714098140991410014101141021410314104141051410614107141081410914110141111411214113141141411514116141171411814119141201412114122141231412414125141261412714128141291413014131141321413314134141351413614137141381413914140141411414214143141441414514146141471414814149141501415114152141531415414155141561415714158141591416014161141621416314164141651416614167141681416914170141711417214173141741417514176141771417814179141801418114182141831418414185141861418714188141891419014191141921419314194141951419614197141981419914200142011420214203142041420514206142071420814209142101421114212142131421414215142161421714218142191422014221142221422314224142251422614227142281422914230142311423214233142341423514236142371423814239142401424114242142431424414245142461424714248142491425014251142521425314254142551425614257142581425914260142611426214263142641426514266142671426814269142701427114272142731427414275142761427714278142791428014281142821428314284142851428614287142881428914290142911429214293142941429514296142971429814299143001430114302143031430414305143061430714308143091431014311143121431314314143151431614317143181431914320143211432214323143241432514326143271432814329143301433114332143331433414335143361433714338143391434014341143421434314344143451434614347
  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><td></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><td></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><td></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><td></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><td></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><td></td><td></td><td></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><td></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><td></td><td></td><td></td><td></td><td></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)(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)(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)";
  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)(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)";
  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)(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)(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)";
  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)(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)";
  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><td></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><td></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><td></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><td></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><td></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><td></td><td></td><td></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><td></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><td></td><td></td><td></td><td></td><td></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><td></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><td></td>
  1262. </tr><tr>
  1263. <td class=""Item3"">(12,Item,3)</td><td class=""Separator3"">(13,Separator,3)</td><td></td><td></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><td></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><td></td>
  1316. </tr><tr>
  1317. <td class=""Item2"">(12,Item,2)</td><td class=""Separator2"">(13,Separator,2)</td><td></td><td></td><td></td><td></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><td></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><td></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><td></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><td></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><td></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><td></td><td></td><td></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><td></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><td></td><td></td><td></td><td></td><td></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)(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)(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)";
  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)(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)";
  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)(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)(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)";
  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)(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)";
  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><td></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><td></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><td></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><td></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><td></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><td></td><td></td><td></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><td></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><td></td><td></td><td></td><td></td><td></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><td></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><td></td>
  2734. </tr><tr>
  2735. <td class=""Item3"">(11,Item,3)</td><td class=""Separator3"">(12,Separator,3)</td><td></td><td></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><td></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><td></td>
  2784. </tr><tr>
  2785. <td class=""Item2"">(11,Item,2)</td><td class=""Separator2"">(12,Separator,2)</td><td></td><td></td><td></td><td></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><td></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><td></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><td></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><td></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><td></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><td></td><td></td><td></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><td></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><td></td><td></td><td></td><td></td><td></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)(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)(2,Separator,0)(3,Item,1)(4,Separator,1)(5,Item,2)(6,Separator,2)(7,Item,3)(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)(2,Separator,0)(3,Item,1)(4,Separator,1)(5,Item,2)(6,Separator,2)(7,Item,3)(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)(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)(2,Separator,0)(3,Item,1)(4,Separator,1)(5,Item,2)(6,Separator,2)(7,Item,3)(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)(2,Separator,0)(3,Item,1)(4,Separator,1)(5,Item,2)(6,Separator,2)(7,Item,3)(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><td></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><td></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><td></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><td></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><td></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><td></td><td></td><td></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><td></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><td></td><td></td><td></td><td></td><td></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><td></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><td></td>
  4204. </tr><tr>
  4205. <td class=""Item3"">(12,Item,3)</td><td class=""Separator3"">(13,Separator,3)</td><td></td><td></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><td></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><td></td>
  4254. </tr><tr>
  4255. <td class=""Item2"">(12,Item,2)</td><td class=""Separator2"">(13,Separator,2)</td><td></td><td></td><td></td><td></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><td></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><td></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><td></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><td></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><td></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><td></td><td></td><td></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><td></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><td></td><td></td><td></td><td></td><td></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)(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)(1,Separator,0)(2,Item,1)(3,Separator,1)(4,Item,2)(5,Separator,2)(6,Item,3)(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)(1,Separator,0)(2,Item,1)(3,Separator,1)(4,Item,2)(5,Separator,2)(6,Item,3)(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)(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)(1,Separator,0)(2,Item,1)(3,Separator,1)(4,Item,2)(5,Separator,2)(6,Item,3)(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)(1,Separator,0)(2,Item,1)(3,Separator,1)(4,Item,2)(5,Separator,2)(6,Item,3)(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><td></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><td></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><td></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><td></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><td></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><td></td><td></td><td></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><td></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><td></td><td></td><td></td><td></td><td></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><td></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><td></td>
  5610. </tr><tr>
  5611. <td class=""Item3"">(11,Item,3)</td><td class=""Separator3"">(12,Separator,3)</td><td></td><td></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><td></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><td></td>
  5656. </tr><tr>
  5657. <td class=""Item2"">(11,Item,2)</td><td class=""Separator2"">(12,Separator,2)</td><td></td><td></td><td></td><td></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><td></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><td></td><td></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><td></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><td></td><td></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><td></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><td></td><td></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><td></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><td></td><td></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><td></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><td></td><td></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><td></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><td></td><td></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><td></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><td></td><td></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><td></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><td></td><td></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><td></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><td></td><td></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><td></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><td></td><td></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><td></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><td></td><td></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><td></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><td></td><td></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