RepeatInfoTest.auto.2.0.cs 441 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472447344744475447644774478447944804481448244834484448544864487448844894490449144924493449444954496449744984499450045014502450345044505450645074508450945104511451245134514451545164517451845194520452145224523452445254526452745284529453045314532453345344535453645374538453945404541454245434544454545464547454845494550455145524553455445554556455745584559456045614562456345644565456645674568456945704571457245734574457545764577457845794580458145824583458445854586458745884589459045914592459345944595459645974598459946004601460246034604460546064607460846094610461146124613461446154616461746184619462046214622462346244625462646274628462946304631463246334634463546364637463846394640464146424643464446454646464746484649465046514652465346544655465646574658465946604661466246634664466546664667466846694670467146724673467446754676467746784679468046814682468346844685468646874688468946904691469246934694469546964697469846994700470147024703470447054706470747084709471047114712471347144715471647174718471947204721472247234724472547264727472847294730473147324733473447354736473747384739474047414742474347444745474647474748474947504751475247534754475547564757475847594760476147624763476447654766476747684769477047714772477347744775477647774778477947804781478247834784478547864787478847894790479147924793479447954796479747984799480048014802480348044805480648074808480948104811481248134814481548164817481848194820482148224823482448254826482748284829483048314832483348344835483648374838483948404841484248434844484548464847484848494850485148524853485448554856485748584859486048614862486348644865486648674868486948704871487248734874487548764877487848794880488148824883488448854886488748884889489048914892489348944895489648974898489949004901490249034904490549064907490849094910491149124913491449154916491749184919492049214922492349244925492649274928492949304931493249334934493549364937493849394940494149424943494449454946494749484949495049514952495349544955495649574958495949604961496249634964496549664967496849694970497149724973497449754976497749784979498049814982498349844985498649874988498949904991499249934994499549964997499849995000500150025003500450055006500750085009501050115012501350145015501650175018501950205021502250235024502550265027502850295030503150325033503450355036503750385039504050415042504350445045504650475048504950505051505250535054505550565057505850595060506150625063506450655066506750685069507050715072507350745075507650775078507950805081508250835084508550865087508850895090509150925093509450955096509750985099510051015102510351045105510651075108510951105111511251135114511551165117511851195120512151225123512451255126512751285129513051315132513351345135513651375138513951405141514251435144514551465147514851495150515151525153515451555156515751585159516051615162516351645165516651675168516951705171517251735174517551765177517851795180518151825183518451855186518751885189519051915192519351945195519651975198519952005201520252035204520552065207520852095210521152125213521452155216521752185219522052215222522352245225522652275228522952305231523252335234523552365237523852395240524152425243524452455246524752485249525052515252525352545255525652575258525952605261526252635264526552665267526852695270527152725273527452755276527752785279528052815282528352845285528652875288528952905291529252935294529552965297529852995300530153025303530453055306530753085309531053115312531353145315531653175318531953205321532253235324532553265327532853295330533153325333533453355336533753385339534053415342534353445345534653475348534953505351535253535354535553565357535853595360536153625363536453655366536753685369537053715372537353745375537653775378537953805381538253835384538553865387538853895390539153925393539453955396539753985399540054015402540354045405540654075408540954105411541254135414541554165417541854195420542154225423542454255426542754285429543054315432543354345435543654375438543954405441544254435444544554465447544854495450545154525453545454555456545754585459546054615462546354645465546654675468546954705471547254735474547554765477547854795480548154825483548454855486548754885489549054915492549354945495549654975498549955005501550255035504550555065507550855095510551155125513551455155516551755185519552055215522552355245525552655275528552955305531553255335534553555365537553855395540554155425543554455455546554755485549555055515552555355545555555655575558555955605561556255635564556555665567556855695570557155725573557455755576557755785579558055815582558355845585558655875588558955905591559255935594559555965597559855995600560156025603560456055606560756085609561056115612561356145615561656175618561956205621562256235624562556265627562856295630563156325633563456355636563756385639564056415642564356445645564656475648564956505651565256535654565556565657565856595660566156625663566456655666566756685669567056715672567356745675567656775678567956805681568256835684568556865687568856895690569156925693569456955696569756985699570057015702570357045705570657075708570957105711571257135714571557165717571857195720572157225723572457255726572757285729573057315732573357345735573657375738573957405741574257435744574557465747574857495750575157525753575457555756575757585759576057615762576357645765576657675768576957705771577257735774577557765777577857795780578157825783578457855786578757885789579057915792579357945795579657975798579958005801580258035804580558065807580858095810581158125813581458155816581758185819582058215822582358245825582658275828582958305831583258335834583558365837583858395840584158425843584458455846584758485849585058515852585358545855585658575858585958605861586258635864586558665867586858695870587158725873587458755876587758785879588058815882588358845885588658875888588958905891589258935894589558965897589858995900590159025903590459055906590759085909591059115912591359145915591659175918591959205921592259235924592559265927592859295930593159325933593459355936593759385939594059415942594359445945594659475948594959505951595259535954595559565957595859595960596159625963596459655966596759685969597059715972597359745975597659775978597959805981598259835984598559865987598859895990599159925993599459955996599759985999600060016002600360046005600660076008600960106011601260136014601560166017601860196020602160226023602460256026602760286029603060316032603360346035603660376038603960406041604260436044604560466047604860496050605160526053605460556056605760586059606060616062606360646065606660676068606960706071607260736074607560766077607860796080608160826083608460856086608760886089609060916092609360946095609660976098609961006101610261036104610561066107610861096110611161126113611461156116611761186119612061216122612361246125612661276128612961306131613261336134613561366137613861396140614161426143614461456146614761486149615061516152615361546155615661576158615961606161616261636164616561666167616861696170617161726173617461756176617761786179618061816182618361846185618661876188618961906191619261936194619561966197619861996200620162026203620462056206620762086209621062116212621362146215621662176218621962206221622262236224622562266227622862296230623162326233623462356236623762386239624062416242624362446245624662476248624962506251625262536254625562566257625862596260626162626263626462656266626762686269627062716272627362746275627662776278627962806281628262836284628562866287628862896290629162926293629462956296629762986299630063016302630363046305630663076308630963106311631263136314631563166317631863196320632163226323632463256326632763286329633063316332633363346335633663376338633963406341634263436344634563466347634863496350635163526353635463556356635763586359636063616362636363646365636663676368636963706371637263736374637563766377637863796380638163826383638463856386638763886389639063916392639363946395639663976398639964006401640264036404640564066407640864096410641164126413641464156416641764186419642064216422642364246425642664276428642964306431643264336434643564366437643864396440644164426443644464456446644764486449645064516452645364546455645664576458645964606461646264636464646564666467646864696470647164726473647464756476647764786479648064816482648364846485648664876488648964906491649264936494649564966497649864996500650165026503650465056506650765086509651065116512651365146515651665176518651965206521652265236524652565266527652865296530653165326533653465356536653765386539654065416542654365446545654665476548654965506551655265536554655565566557655865596560656165626563656465656566656765686569657065716572657365746575657665776578657965806581658265836584658565866587658865896590659165926593659465956596659765986599660066016602660366046605660666076608660966106611661266136614661566166617661866196620662166226623662466256626662766286629663066316632663366346635663666376638663966406641664266436644664566466647664866496650665166526653665466556656665766586659666066616662666366646665666666676668666966706671667266736674667566766677667866796680668166826683668466856686668766886689669066916692669366946695669666976698669967006701670267036704670567066707670867096710671167126713671467156716671767186719672067216722672367246725672667276728672967306731673267336734673567366737673867396740674167426743674467456746674767486749675067516752675367546755675667576758675967606761676267636764676567666767676867696770677167726773677467756776677767786779678067816782678367846785678667876788678967906791679267936794679567966797679867996800680168026803680468056806680768086809681068116812681368146815681668176818681968206821682268236824682568266827682868296830683168326833683468356836683768386839684068416842684368446845684668476848684968506851685268536854685568566857685868596860686168626863686468656866686768686869687068716872687368746875687668776878687968806881688268836884688568866887688868896890689168926893689468956896689768986899690069016902690369046905690669076908690969106911691269136914691569166917691869196920692169226923692469256926692769286929693069316932693369346935693669376938693969406941694269436944694569466947694869496950695169526953695469556956695769586959696069616962696369646965696669676968696969706971697269736974697569766977697869796980698169826983698469856986698769886989699069916992699369946995699669976998699970007001700270037004700570067007700870097010701170127013701470157016701770187019702070217022702370247025702670277028702970307031703270337034703570367037703870397040704170427043704470457046704770487049705070517052705370547055705670577058705970607061706270637064706570667067706870697070707170727073707470757076707770787079708070817082708370847085708670877088708970907091709270937094709570967097709870997100710171027103710471057106710771087109711071117112711371147115711671177118711971207121712271237124712571267127712871297130713171327133713471357136713771387139714071417142714371447145714671477148714971507151715271537154715571567157715871597160716171627163716471657166716771687169717071717172717371747175717671777178717971807181718271837184718571867187718871897190719171927193719471957196719771987199720072017202720372047205720672077208720972107211721272137214721572167217721872197220722172227223722472257226722772287229723072317232723372347235723672377238723972407241724272437244724572467247724872497250725172527253725472557256725772587259726072617262726372647265726672677268726972707271727272737274727572767277727872797280728172827283728472857286728772887289729072917292729372947295729672977298729973007301730273037304730573067307730873097310731173127313731473157316731773187319732073217322732373247325732673277328732973307331733273337334733573367337733873397340734173427343734473457346734773487349735073517352735373547355735673577358735973607361736273637364736573667367736873697370737173727373737473757376737773787379738073817382738373847385738673877388738973907391739273937394739573967397739873997400740174027403740474057406740774087409741074117412741374147415741674177418741974207421742274237424742574267427742874297430743174327433743474357436743774387439744074417442744374447445744674477448744974507451745274537454745574567457745874597460746174627463746474657466746774687469747074717472747374747475747674777478747974807481748274837484748574867487748874897490749174927493749474957496749774987499750075017502750375047505750675077508750975107511751275137514751575167517751875197520752175227523752475257526752775287529753075317532753375347535753675377538753975407541754275437544754575467547754875497550755175527553755475557556755775587559756075617562756375647565756675677568756975707571757275737574757575767577757875797580758175827583758475857586758775887589759075917592759375947595759675977598759976007601760276037604760576067607760876097610761176127613761476157616761776187619762076217622762376247625762676277628762976307631763276337634763576367637763876397640764176427643764476457646764776487649765076517652765376547655765676577658765976607661766276637664766576667667766876697670767176727673767476757676767776787679768076817682768376847685768676877688768976907691769276937694769576967697769876997700770177027703770477057706770777087709771077117712771377147715771677177718771977207721772277237724772577267727772877297730773177327733773477357736773777387739774077417742774377447745774677477748774977507751775277537754775577567757775877597760776177627763776477657766776777687769777077717772777377747775777677777778777977807781778277837784778577867787778877897790779177927793779477957796779777987799780078017802780378047805780678077808780978107811781278137814781578167817781878197820782178227823782478257826782778287829783078317832783378347835783678377838783978407841784278437844784578467847784878497850785178527853785478557856785778587859786078617862786378647865786678677868786978707871787278737874787578767877787878797880788178827883788478857886788778887889789078917892789378947895789678977898789979007901790279037904790579067907790879097910791179127913791479157916791779187919792079217922792379247925792679277928792979307931793279337934793579367937793879397940794179427943794479457946794779487949795079517952795379547955795679577958795979607961796279637964796579667967796879697970797179727973797479757976797779787979798079817982798379847985798679877988798979907991799279937994799579967997799879998000800180028003800480058006800780088009801080118012801380148015801680178018801980208021802280238024802580268027802880298030803180328033803480358036803780388039804080418042804380448045804680478048804980508051805280538054805580568057805880598060806180628063806480658066806780688069807080718072807380748075807680778078807980808081808280838084808580868087808880898090809180928093809480958096809780988099810081018102810381048105810681078108810981108111811281138114811581168117811881198120812181228123812481258126812781288129813081318132813381348135813681378138813981408141814281438144814581468147814881498150815181528153815481558156815781588159816081618162816381648165816681678168816981708171817281738174817581768177817881798180818181828183818481858186818781888189819081918192819381948195819681978198819982008201820282038204820582068207820882098210821182128213821482158216821782188219822082218222822382248225822682278228822982308231823282338234823582368237823882398240824182428243824482458246824782488249825082518252825382548255825682578258825982608261826282638264826582668267826882698270827182728273827482758276827782788279828082818282828382848285828682878288828982908291829282938294829582968297829882998300830183028303830483058306830783088309831083118312831383148315831683178318831983208321832283238324832583268327832883298330833183328333833483358336833783388339834083418342834383448345834683478348834983508351835283538354835583568357835883598360836183628363836483658366836783688369837083718372837383748375837683778378837983808381838283838384838583868387838883898390839183928393839483958396839783988399840084018402840384048405840684078408840984108411841284138414841584168417841884198420842184228423842484258426842784288429843084318432843384348435843684378438843984408441844284438444844584468447844884498450845184528453845484558456845784588459846084618462846384648465846684678468846984708471847284738474847584768477847884798480848184828483848484858486848784888489849084918492849384948495849684978498849985008501850285038504850585068507850885098510851185128513851485158516851785188519852085218522852385248525852685278528852985308531853285338534853585368537853885398540854185428543854485458546854785488549855085518552855385548555855685578558855985608561856285638564856585668567856885698570857185728573857485758576857785788579858085818582858385848585858685878588858985908591859285938594859585968597859885998600860186028603860486058606860786088609861086118612861386148615861686178618861986208621862286238624862586268627862886298630863186328633863486358636863786388639864086418642864386448645864686478648864986508651865286538654865586568657865886598660866186628663866486658666866786688669867086718672867386748675867686778678867986808681868286838684868586868687868886898690869186928693869486958696869786988699870087018702870387048705870687078708870987108711871287138714871587168717871887198720872187228723872487258726872787288729873087318732873387348735873687378738873987408741874287438744874587468747874887498750875187528753875487558756875787588759876087618762876387648765876687678768876987708771877287738774877587768777877887798780878187828783878487858786878787888789879087918792879387948795879687978798879988008801880288038804880588068807880888098810881188128813881488158816881788188819882088218822882388248825882688278828882988308831883288338834883588368837883888398840884188428843884488458846884788488849885088518852885388548855885688578858885988608861886288638864886588668867886888698870887188728873887488758876887788788879888088818882888388848885888688878888888988908891889288938894889588968897889888998900890189028903890489058906890789088909891089118912891389148915891689178918891989208921892289238924892589268927892889298930893189328933893489358936893789388939894089418942894389448945894689478948894989508951895289538954895589568957895889598960896189628963896489658966896789688969897089718972897389748975897689778978897989808981898289838984898589868987898889898990899189928993899489958996899789988999900090019002900390049005900690079008900990109011901290139014901590169017901890199020902190229023902490259026902790289029903090319032903390349035903690379038903990409041904290439044904590469047904890499050905190529053905490559056905790589059906090619062906390649065906690679068906990709071907290739074907590769077907890799080908190829083908490859086908790889089909090919092909390949095909690979098909991009101910291039104910591069107910891099110911191129113911491159116911791189119912091219122912391249125912691279128912991309131913291339134913591369137913891399140914191429143914491459146914791489149915091519152915391549155915691579158915991609161916291639164916591669167916891699170917191729173917491759176917791789179918091819182918391849185918691879188918991909191919291939194919591969197919891999200920192029203920492059206920792089209921092119212921392149215921692179218921992209221922292239224922592269227922892299230923192329233923492359236923792389239924092419242924392449245924692479248924992509251925292539254925592569257925892599260926192629263926492659266926792689269927092719272927392749275927692779278927992809281928292839284928592869287928892899290929192929293929492959296929792989299930093019302930393049305930693079308930993109311931293139314931593169317931893199320932193229323932493259326932793289329933093319332933393349335933693379338933993409341934293439344934593469347934893499350935193529353935493559356935793589359936093619362936393649365936693679368936993709371937293739374937593769377937893799380938193829383938493859386938793889389939093919392939393949395939693979398939994009401940294039404940594069407940894099410941194129413941494159416941794189419942094219422942394249425942694279428942994309431943294339434943594369437943894399440944194429443944494459446944794489449945094519452945394549455945694579458945994609461946294639464946594669467946894699470947194729473947494759476947794789479948094819482948394849485948694879488948994909491949294939494949594969497949894999500950195029503950495059506950795089509951095119512951395149515951695179518951995209521952295239524952595269527952895299530953195329533953495359536953795389539954095419542954395449545954695479548954995509551955295539554955595569557955895599560956195629563956495659566956795689569957095719572957395749575957695779578957995809581958295839584958595869587958895899590959195929593959495959596959795989599960096019602960396049605960696079608960996109611961296139614961596169617961896199620962196229623962496259626962796289629963096319632963396349635963696379638963996409641964296439644964596469647964896499650965196529653965496559656965796589659966096619662966396649665966696679668966996709671967296739674967596769677967896799680968196829683968496859686968796889689969096919692969396949695969696979698969997009701970297039704970597069707970897099710971197129713971497159716971797189719972097219722972397249725972697279728972997309731973297339734973597369737973897399740974197429743974497459746974797489749975097519752975397549755975697579758975997609761976297639764976597669767976897699770977197729773977497759776977797789779978097819782978397849785978697879788978997909791979297939794979597969797979897999800980198029803980498059806980798089809981098119812981398149815981698179818981998209821982298239824982598269827982898299830983198329833983498359836983798389839984098419842984398449845984698479848984998509851985298539854985598569857985898599860986198629863986498659866986798689869987098719872987398749875987698779878987998809881988298839884988598869887988898899890989198929893989498959896989798989899990099019902990399049905990699079908990999109911991299139914991599169917991899199920992199229923992499259926992799289929993099319932993399349935993699379938993999409941994299439944994599469947994899499950995199529953995499559956995799589959996099619962996399649965996699679968996999709971997299739974997599769977997899799980998199829983998499859986998799889989999099919992999399949995999699979998999910000100011000210003100041000510006100071000810009100101001110012100131001410015100161001710018100191002010021100221002310024100251002610027100281002910030100311003210033100341003510036100371003810039100401004110042100431004410045100461004710048100491005010051100521005310054100551005610057100581005910060100611006210063100641006510066100671006810069100701007110072100731007410075100761007710078100791008010081100821008310084100851008610087100881008910090100911009210093100941009510096100971009810099101001010110102101031010410105101061010710108101091011010111101121011310114101151011610117101181011910120101211012210123101241012510126101271012810129101301013110132101331013410135101361013710138101391014010141101421014310144101451014610147101481014910150101511015210153101541015510156101571015810159101601016110162101631016410165101661016710168101691017010171101721017310174101751017610177101781017910180101811018210183101841018510186101871018810189101901019110192101931019410195101961019710198101991020010201102021020310204102051020610207102081020910210102111021210213102141021510216102171021810219102201022110222102231022410225102261022710228102291023010231102321023310234102351023610237102381023910240102411024210243102441024510246102471024810249102501025110252102531025410255102561025710258102591026010261102621026310264102651026610267102681026910270102711027210273102741027510276102771027810279102801028110282102831028410285102861028710288102891029010291102921029310294102951029610297102981029910300103011030210303103041030510306103071030810309103101031110312103131031410315103161031710318103191032010321103221032310324103251032610327103281032910330103311033210333103341033510336103371033810339103401034110342103431034410345103461034710348103491035010351103521035310354103551035610357103581035910360103611036210363103641036510366103671036810369103701037110372103731037410375103761037710378103791038010381103821038310384103851038610387103881038910390103911039210393103941039510396103971039810399104001040110402104031040410405104061040710408104091041010411104121041310414104151041610417104181041910420104211042210423104241042510426104271042810429104301043110432104331043410435104361043710438104391044010441104421044310444104451044610447104481044910450104511045210453104541045510456104571045810459104601046110462104631046410465104661046710468104691047010471104721047310474104751047610477104781047910480104811048210483104841048510486104871048810489104901049110492104931049410495104961049710498104991050010501105021050310504105051050610507105081050910510105111051210513105141051510516105171051810519105201052110522105231052410525105261052710528105291053010531105321053310534105351053610537105381053910540105411054210543105441054510546105471054810549105501055110552105531055410555105561055710558105591056010561105621056310564105651056610567105681056910570105711057210573105741057510576105771057810579105801058110582105831058410585105861058710588105891059010591105921059310594105951059610597105981059910600106011060210603106041060510606106071060810609106101061110612106131061410615106161061710618106191062010621106221062310624106251062610627106281062910630106311063210633106341063510636106371063810639106401064110642106431064410645106461064710648106491065010651106521065310654106551065610657106581065910660106611066210663106641066510666106671066810669106701067110672106731067410675106761067710678106791068010681106821068310684106851068610687106881068910690106911069210693106941069510696106971069810699107001070110702107031070410705107061070710708107091071010711107121071310714107151071610717107181071910720107211072210723107241072510726107271072810729107301073110732107331073410735107361073710738107391074010741107421074310744107451074610747107481074910750107511075210753107541075510756107571075810759107601076110762107631076410765107661076710768107691077010771107721077310774107751077610777107781077910780107811078210783107841078510786107871078810789107901079110792107931079410795107961079710798107991080010801108021080310804108051080610807108081080910810108111081210813108141081510816108171081810819108201082110822108231082410825108261082710828108291083010831108321083310834108351083610837108381083910840108411084210843108441084510846108471084810849108501085110852108531085410855108561085710858108591086010861108621086310864108651086610867108681086910870108711087210873108741087510876108771087810879108801088110882108831088410885108861088710888108891089010891108921089310894108951089610897108981089910900109011090210903109041090510906109071090810909109101091110912109131091410915109161091710918109191092010921109221092310924109251092610927109281092910930109311093210933109341093510936109371093810939109401094110942109431094410945109461094710948109491095010951109521095310954109551095610957109581095910960109611096210963109641096510966109671096810969109701097110972109731097410975109761097710978109791098010981109821098310984109851098610987109881098910990109911099210993109941099510996109971099810999110001100111002110031100411005110061100711008110091101011011110121101311014110151101611017110181101911020110211102211023110241102511026110271102811029110301103111032110331103411035110361103711038110391104011041110421104311044110451104611047110481104911050110511105211053110541105511056110571105811059110601106111062110631106411065110661106711068110691107011071110721107311074110751107611077110781107911080110811108211083110841108511086110871108811089110901109111092110931109411095110961109711098110991110011101111021110311104111051110611107111081110911110111111111211113111141111511116111171111811119111201112111122111231112411125111261112711128111291113011131111321113311134111351113611137111381113911140111411114211143111441114511146111471114811149111501115111152111531115411155111561115711158111591116011161111621116311164111651116611167111681116911170111711117211173111741117511176111771117811179111801118111182111831118411185111861118711188111891119011191111921119311194111951119611197111981119911200112011120211203112041120511206112071120811209112101121111212112131121411215112161121711218112191122011221112221122311224112251122611227112281122911230112311123211233112341123511236112371123811239112401124111242112431124411245112461124711248112491125011251112521125311254112551125611257112581125911260112611126211263112641126511266112671126811269112701127111272112731127411275112761127711278112791128011281112821128311284112851128611287112881128911290112911129211293112941129511296112971129811299113001130111302113031130411305113061130711308113091131011311113121131311314113151131611317113181131911320113211132211323113241132511326113271132811329113301133111332113331133411335113361133711338113391134011341113421134311344113451134611347113481134911350113511135211353113541135511356113571135811359113601136111362113631136411365113661136711368113691137011371113721137311374113751137611377113781137911380113811138211383113841138511386113871138811389113901139111392113931139411395113961139711398113991140011401114021140311404114051140611407114081140911410114111141211413114141141511416114171141811419114201142111422114231142411425114261142711428114291143011431114321143311434114351143611437114381143911440114411144211443114441144511446114471144811449114501145111452114531145411455114561145711458114591146011461114621146311464114651146611467114681146911470114711147211473114741147511476114771147811479114801148111482114831148411485114861148711488114891149011491114921149311494114951149611497114981149911500115011150211503115041150511506115071150811509115101151111512115131151411515115161151711518115191152011521115221152311524115251152611527115281152911530115311153211533115341153511536115371153811539115401154111542115431154411545115461154711548115491155011551115521155311554115551155611557115581155911560115611156211563115641156511566115671156811569115701157111572115731157411575115761157711578115791158011581115821158311584115851158611587115881158911590115911159211593115941159511596115971159811599116001160111602116031160411605116061160711608116091161011611116121161311614116151161611617116181161911620116211162211623116241162511626116271162811629116301163111632116331163411635116361163711638116391164011641116421164311644116451164611647116481164911650116511165211653116541165511656116571165811659116601166111662116631166411665116661166711668116691167011671116721167311674116751167611677116781167911680116811168211683116841168511686116871168811689116901169111692116931169411695116961169711698116991170011701117021170311704117051170611707117081170911710117111171211713117141171511716117171171811719117201172111722117231172411725117261172711728117291173011731117321173311734117351173611737117381173911740117411174211743117441174511746117471174811749117501175111752117531175411755117561175711758117591176011761117621176311764117651176611767117681176911770117711177211773117741177511776117771177811779117801178111782117831178411785117861178711788117891179011791117921179311794117951179611797117981179911800118011180211803118041180511806118071180811809118101181111812118131181411815118161181711818118191182011821118221182311824118251182611827118281182911830118311183211833118341183511836118371183811839118401184111842118431184411845118461184711848118491185011851118521185311854118551185611857118581185911860118611186211863118641186511866118671186811869118701187111872118731187411875118761187711878118791188011881118821188311884118851188611887118881188911890118911189211893118941189511896118971189811899119001190111902119031190411905119061190711908119091191011911119121191311914119151191611917119181191911920119211192211923119241192511926119271192811929119301193111932119331193411935119361193711938119391194011941119421194311944119451194611947119481194911950119511195211953119541195511956119571195811959119601196111962119631196411965119661196711968119691197011971119721197311974119751197611977119781197911980119811198211983119841198511986119871198811989119901199111992119931199411995119961199711998119991200012001120021200312004120051200612007120081200912010120111201212013120141201512016120171201812019120201202112022120231202412025120261202712028120291203012031120321203312034120351203612037120381203912040120411204212043120441204512046120471204812049120501205112052120531205412055120561205712058120591206012061120621206312064120651206612067120681206912070120711207212073120741207512076120771207812079120801208112082120831208412085120861208712088120891209012091120921209312094120951209612097120981209912100121011210212103121041210512106121071210812109121101211112112121131211412115121161211712118121191212012121121221212312124121251212612127121281212912130121311213212133121341213512136121371213812139121401214112142121431214412145121461214712148121491215012151121521215312154121551215612157121581215912160121611216212163121641216512166121671216812169121701217112172121731217412175121761217712178121791218012181121821218312184121851218612187121881218912190121911219212193121941219512196121971219812199122001220112202122031220412205122061220712208122091221012211122121221312214122151221612217122181221912220122211222212223122241222512226122271222812229122301223112232122331223412235122361223712238122391224012241122421224312244122451224612247122481224912250122511225212253122541225512256122571225812259122601226112262122631226412265122661226712268122691227012271122721227312274122751227612277122781227912280122811228212283122841228512286122871228812289122901229112292122931229412295122961229712298122991230012301123021230312304123051230612307123081230912310123111231212313123141231512316123171231812319123201232112322123231232412325123261232712328123291233012331123321233312334123351233612337123381233912340123411234212343123441234512346123471234812349123501235112352123531235412355123561235712358123591236012361123621236312364123651236612367123681236912370123711237212373123741237512376123771237812379123801238112382123831238412385123861238712388123891239012391123921239312394123951239612397123981239912400124011240212403124041240512406124071240812409124101241112412124131241412415124161241712418124191242012421124221242312424124251242612427124281242912430124311243212433124341243512436124371243812439124401244112442124431244412445124461244712448124491245012451124521245312454124551245612457124581245912460124611246212463124641246512466124671246812469124701247112472124731247412475124761247712478124791248012481124821248312484124851248612487124881248912490124911249212493124941249512496124971249812499125001250112502125031250412505125061250712508125091251012511125121251312514125151251612517125181251912520125211252212523125241252512526125271252812529125301253112532125331253412535125361253712538125391254012541125421254312544125451254612547125481254912550125511255212553125541255512556125571255812559125601256112562125631256412565125661256712568125691257012571125721257312574125751257612577125781257912580125811258212583125841258512586125871258812589125901259112592125931259412595125961259712598125991260012601126021260312604126051260612607126081260912610126111261212613126141261512616126171261812619126201262112622126231262412625126261262712628126291263012631126321263312634126351263612637126381263912640126411264212643126441264512646126471264812649126501265112652126531265412655126561265712658126591266012661126621266312664126651266612667126681266912670126711267212673126741267512676126771267812679126801268112682126831268412685126861268712688126891269012691126921269312694126951269612697126981269912700127011270212703127041270512706127071270812709127101271112712127131271412715127161271712718127191272012721127221272312724127251272612727127281272912730127311273212733127341273512736127371273812739127401274112742127431274412745127461274712748127491275012751127521275312754127551275612757127581275912760127611276212763127641276512766127671276812769127701277112772127731277412775127761277712778127791278012781127821278312784127851278612787127881278912790127911279212793127941279512796127971279812799128001280112802128031280412805128061280712808128091281012811128121281312814128151281612817128181281912820128211282212823128241282512826128271282812829128301283112832128331283412835128361283712838128391284012841128421284312844128451284612847128481284912850128511285212853128541285512856128571285812859128601286112862128631286412865128661286712868128691287012871128721287312874128751287612877128781287912880128811288212883128841288512886128871288812889128901289112892128931289412895128961289712898128991290012901129021290312904129051290612907129081290912910129111291212913129141291512916129171291812919129201292112922129231292412925129261292712928129291293012931129321293312934129351293612937129381293912940129411294212943129441294512946129471294812949129501295112952129531295412955129561295712958129591296012961129621296312964129651296612967129681296912970129711297212973129741297512976129771297812979129801298112982129831298412985129861298712988129891299012991129921299312994129951299612997129981299913000130011300213003130041300513006130071300813009130101301113012130131301413015130161301713018130191302013021130221302313024130251302613027130281302913030130311303213033130341303513036130371303813039130401304113042130431304413045130461304713048130491305013051130521305313054130551305613057130581305913060130611306213063130641306513066130671306813069130701307113072130731307413075130761307713078130791308013081130821308313084130851308613087130881308913090130911309213093130941309513096130971309813099131001310113102131031310413105131061310713108131091311013111131121311313114131151311613117131181311913120131211312213123131241312513126131271312813129131301313113132131331313413135131361313713138131391314013141131421314313144131451314613147131481314913150131511315213153131541315513156131571315813159131601316113162131631316413165131661316713168131691317013171131721317313174131751317613177131781317913180131811318213183131841318513186131871318813189131901319113192131931319413195131961319713198131991320013201132021320313204132051320613207132081320913210132111321213213132141321513216132171321813219132201322113222132231322413225132261322713228132291323013231132321323313234132351323613237132381323913240132411324213243132441324513246132471324813249132501325113252132531325413255132561325713258132591326013261132621326313264132651326613267132681326913270132711327213273132741327513276132771327813279132801328113282132831328413285132861328713288132891329013291132921329313294132951329613297132981329913300133011330213303133041330513306133071330813309133101331113312133131331413315133161331713318133191332013321133221332313324133251332613327133281332913330133311333213333133341333513336133371333813339133401334113342133431334413345133461334713348133491335013351133521335313354133551335613357133581335913360133611336213363133641336513366133671336813369133701337113372133731337413375133761337713378133791338013381133821338313384133851338613387133881338913390133911339213393133941339513396133971339813399134001340113402134031340413405134061340713408134091341013411134121341313414134151341613417134181341913420134211342213423134241342513426134271342813429134301343113432134331343413435134361343713438134391344013441134421344313444134451344613447134481344913450134511345213453134541345513456134571345813459134601346113462134631346413465134661346713468134691347013471134721347313474134751347613477134781347913480134811348213483134841348513486134871348813489134901349113492134931349413495134961349713498134991350013501135021350313504135051350613507135081350913510135111351213513135141351513516135171351813519135201352113522135231352413525135261352713528135291353013531135321353313534135351353613537135381353913540135411354213543135441354513546135471354813549135501355113552135531355413555135561355713558135591356013561135621356313564135651356613567135681356913570135711357213573135741357513576135771357813579135801358113582135831358413585135861358713588135891359013591135921359313594135951359613597135981359913600136011360213603136041360513606136071360813609136101361113612136131361413615136161361713618136191362013621136221362313624136251362613627136281362913630136311363213633136341363513636136371363813639136401364113642136431364413645136461364713648136491365013651136521365313654136551365613657136581365913660136611366213663136641366513666136671366813669136701367113672136731367413675136761367713678136791368013681136821368313684136851368613687136881368913690136911369213693136941369513696136971369813699137001370113702137031370413705137061370713708137091371013711137121371313714137151371613717137181371913720137211372213723137241372513726137271372813729137301373113732137331373413735137361373713738137391374013741137421374313744137451374613747137481374913750137511375213753137541375513756137571375813759137601376113762137631376413765137661376713768137691377013771137721377313774137751377613777137781377913780137811378213783137841378513786137871378813789137901379113792137931379413795137961379713798137991380013801138021380313804138051380613807138081380913810138111381213813138141381513816138171381813819138201382113822138231382413825138261382713828138291383013831138321383313834138351383613837138381383913840138411384213843138441384513846138471384813849138501385113852138531385413855138561385713858138591386013861138621386313864138651386613867138681386913870138711387213873138741387513876138771387813879138801388113882138831388413885138861388713888138891389013891138921389313894138951389613897138981389913900139011390213903139041390513906139071390813909139101391113912139131391413915139161391713918139191392013921139221392313924139251392613927139281392913930139311393213933139341393513936139371393813939139401394113942139431394413945139461394713948139491395013951139521395313954139551395613957139581395913960139611396213963139641396513966139671396813969139701397113972139731397413975139761397713978139791398013981139821398313984139851398613987139881398913990139911399213993139941399513996139971399813999140001400114002140031400414005140061400714008140091401014011140121401314014140151401614017140181401914020140211402214023140241402514026140271402814029140301403114032140331403414035140361403714038140391404014041140421404314044140451404614047140481404914050140511405214053140541405514056140571405814059140601406114062140631406414065140661406714068140691407014071140721407314074140751407614077140781407914080140811408214083140841408514086140871408814089140901409114092140931409414095140961409714098140991410014101141021410314104141051410614107141081410914110141111411214113141141411514116141171411814119141201412114122141231412414125141261412714128141291413014131141321413314134141351413614137141381413914140141411414214143141441414514146141471414814149141501415114152141531415414155141561415714158141591416014161141621416314164141651416614167141681416914170141711417214173141741417514176141771417814179141801418114182141831418414185141861418714188141891419014191141921419314194141951419614197141981419914200142011420214203142041420514206142071420814209142101421114212142131421414215142161421714218142191422014221142221422314224142251422614227142281422914230142311423214233142341423514236142371423814239142401424114242142431424414245142461424714248142491425014251142521425314254142551425614257142581425914260142611426214263142641426514266142671426814269142701427114272142731427414275142761427714278142791428014281142821428314284142851428614287142881428914290142911429214293142941429514296142971429814299143001430114302143031430414305143061430714308143091431014311143121431314314143151431614317143181431914320143211432214323143241432514326143271432814329143301433114332143331433414335143361433714338143391434014341143421434314344143451434614347143481434914350
  1. #if NET_2_0 && !NET_4_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 MonoTests.stand_alone.WebHarness;
  37. using NUnit.Framework;
  38. namespace MonoTests.System.Web.UI.WebControls {
  39. [TestFixture]
  40. public class RepeatInfo_Autogen {
  41. public class RepeatInfoUser : IRepeatInfoUser {
  42. private bool footer;
  43. private bool header;
  44. private bool separators;
  45. private int count;
  46. private int counter;
  47. public RepeatInfoUser (bool header, bool footer, bool separators, int count)
  48. {
  49. this.footer = footer;
  50. this.header = header;
  51. this.separators = separators;
  52. this.count = count;
  53. }
  54. static HtmlTextWriter GetWriter ()
  55. {
  56. StringWriter sw = new StringWriter ();
  57. sw.NewLine = "\n";
  58. return new HtmlTextWriter (sw);
  59. }
  60. public static string DoTest (int cols, int cnt, RepeatDirection d, RepeatLayout l, bool OuterTableImplied, bool hdr, bool ftr, bool sep)
  61. {
  62. HtmlTextWriter htw = GetWriter ();
  63. RepeatInfo ri = new RepeatInfo ();
  64. ri.RepeatColumns = cols;
  65. ri.RepeatDirection = d;
  66. ri.RepeatLayout = l;
  67. ri.OuterTableImplied = OuterTableImplied;
  68. Style s = new Style ();
  69. if (cols != 3)
  70. s.CssClass = "mainstyle";
  71. ri.RenderRepeater (htw, new RepeatInfoUser (hdr, ftr, sep, cnt), s, new DataList ());
  72. return htw.InnerWriter.ToString ();
  73. }
  74. public bool HasFooter {
  75. get { return footer; }
  76. }
  77. public bool HasHeader {
  78. get { return header; }
  79. }
  80. public bool HasSeparators {
  81. get { return separators; }
  82. }
  83. public int RepeatedItemCount {
  84. get { return count; }
  85. }
  86. public Style GetItemStyle (ListItemType itemType, int repeatIndex)
  87. {
  88. Style s = new Style ();
  89. s.CssClass = String.Format ("{0}{1}", itemType, repeatIndex);
  90. return s;
  91. }
  92. public void RenderItem (ListItemType itemType, int repeatIndex, RepeatInfo repeatInfo, HtmlTextWriter writer)
  93. {
  94. writer.Write ("({0},{1},{2})", counter++, itemType, repeatIndex);
  95. }
  96. }
  97. [Test]
  98. public void RepeatInfo_0cols_0itms_horiz_tbl_otrtblimp_hdr_ftr_sep ()
  99. {
  100. // cols : 0
  101. // cnt : 0
  102. // RepeatDirection : Horizontal
  103. // RepeatLayout : Table
  104. // OuterTableImplied : True
  105. // Header : True
  106. // Footer : True
  107. // Separator : True
  108. string v = RepeatInfoUser.DoTest (0, 0, RepeatDirection.Horizontal, RepeatLayout.Table, true, true, true, true);
  109. string exp = @"<table class=""mainstyle"" border=""0"">
  110. <tr>
  111. <td colspan=""0"" class=""Header-1"">(0,Header,-1)</td>
  112. </tr><tr>
  113. <td colspan=""0"" class=""Footer-1"">(1,Footer,-1)</td>
  114. </tr>
  115. </table>";
  116. HtmlDiff.AssertAreEqual(exp, v, "#0");
  117. }
  118. [Test]
  119. public void RepeatInfo_0cols_1itms_horiz_tbl_otrtblimp_hdr_ftr_sep ()
  120. {
  121. // cols : 0
  122. // cnt : 1
  123. // RepeatDirection : Horizontal
  124. // RepeatLayout : Table
  125. // OuterTableImplied : True
  126. // Header : True
  127. // Footer : True
  128. // Separator : True
  129. string v = RepeatInfoUser.DoTest (0, 1, RepeatDirection.Horizontal, RepeatLayout.Table, true, true, true, true);
  130. string exp = @"<table class=""mainstyle"" border=""0"">
  131. <tr>
  132. <td colspan=""2"" class=""Header-1"">(0,Header,-1)</td>
  133. </tr><tr>
  134. <td class=""Item0"">(1,Item,0)</td><td></td>
  135. </tr><tr>
  136. <td colspan=""2"" class=""Footer-1"">(2,Footer,-1)</td>
  137. </tr>
  138. </table>";
  139. HtmlDiff.AssertAreEqual (exp, v, "#1");
  140. }
  141. [Test]
  142. public void RepeatInfo_0cols_2itms_horiz_tbl_otrtblimp_hdr_ftr_sep ()
  143. {
  144. // cols : 0
  145. // cnt : 2
  146. // RepeatDirection : Horizontal
  147. // RepeatLayout : Table
  148. // OuterTableImplied : True
  149. // Header : True
  150. // Footer : True
  151. // Separator : True
  152. string v = RepeatInfoUser.DoTest (0, 2, RepeatDirection.Horizontal, RepeatLayout.Table, true, true, true, true);
  153. string exp = @"<table class=""mainstyle"" border=""0"">
  154. <tr>
  155. <td colspan=""4"" class=""Header-1"">(0,Header,-1)</td>
  156. </tr><tr>
  157. <td class=""Item0"">(1,Item,0)</td><td class=""Separator0"">(2,Separator,0)</td><td class=""Item1"">(3,Item,1)</td><td></td>
  158. </tr><tr>
  159. <td colspan=""4"" class=""Footer-1"">(4,Footer,-1)</td>
  160. </tr>
  161. </table>";
  162. HtmlDiff.AssertAreEqual (exp, v, "#2");
  163. }
  164. [Test]
  165. public void RepeatInfo_0cols_5itms_horiz_tbl_otrtblimp_hdr_ftr_sep ()
  166. {
  167. // cols : 0
  168. // cnt : 5
  169. // RepeatDirection : Horizontal
  170. // RepeatLayout : Table
  171. // OuterTableImplied : True
  172. // Header : True
  173. // Footer : True
  174. // Separator : True
  175. string v = RepeatInfoUser.DoTest (0, 5, RepeatDirection.Horizontal, RepeatLayout.Table, true, true, true, true);
  176. string exp = @"<table class=""mainstyle"" border=""0"">
  177. <tr>
  178. <td colspan=""10"" class=""Header-1"">(0,Header,-1)</td>
  179. </tr><tr>
  180. <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>
  181. </tr><tr>
  182. <td colspan=""10"" class=""Footer-1"">(10,Footer,-1)</td>
  183. </tr>
  184. </table>";
  185. HtmlDiff.AssertAreEqual (exp, v, "#3");
  186. }
  187. [Test]
  188. public void RepeatInfo_1cols_0itms_horiz_tbl_otrtblimp_hdr_ftr_sep ()
  189. {
  190. // cols : 1
  191. // cnt : 0
  192. // RepeatDirection : Horizontal
  193. // RepeatLayout : Table
  194. // OuterTableImplied : True
  195. // Header : True
  196. // Footer : True
  197. // Separator : True
  198. string v = RepeatInfoUser.DoTest (1, 0, RepeatDirection.Horizontal, RepeatLayout.Table, true, true, true, true);
  199. string exp = @"<table class=""mainstyle"" border=""0"">
  200. <tr>
  201. <td colspan=""2"" class=""Header-1"">(0,Header,-1)</td>
  202. </tr><tr>
  203. <td colspan=""2"" class=""Footer-1"">(1,Footer,-1)</td>
  204. </tr>
  205. </table>";
  206. HtmlDiff.AssertAreEqual (exp, v, "#4");
  207. }
  208. [Test]
  209. public void RepeatInfo_1cols_5itms_horiz_tbl_otrtblimp_hdr_ftr_sep ()
  210. {
  211. // cols : 1
  212. // cnt : 5
  213. // RepeatDirection : Horizontal
  214. // RepeatLayout : Table
  215. // OuterTableImplied : True
  216. // Header : True
  217. // Footer : True
  218. // Separator : True
  219. string v = RepeatInfoUser.DoTest (1, 5, RepeatDirection.Horizontal, RepeatLayout.Table, true, true, true, true);
  220. string exp = @"<table class=""mainstyle"" border=""0"">
  221. <tr>
  222. <td colspan=""2"" class=""Header-1"">(0,Header,-1)</td>
  223. </tr><tr>
  224. <td class=""Item0"">(1,Item,0)</td><td class=""Separator0"">(2,Separator,0)</td>
  225. </tr><tr>
  226. <td class=""Item1"">(3,Item,1)</td><td class=""Separator1"">(4,Separator,1)</td>
  227. </tr><tr>
  228. <td class=""Item2"">(5,Item,2)</td><td class=""Separator2"">(6,Separator,2)</td>
  229. </tr><tr>
  230. <td class=""Item3"">(7,Item,3)</td><td class=""Separator3"">(8,Separator,3)</td>
  231. </tr><tr>
  232. <td class=""Item4"">(9,Item,4)</td><td></td>
  233. </tr><tr>
  234. <td colspan=""2"" class=""Footer-1"">(10,Footer,-1)</td>
  235. </tr>
  236. </table>";
  237. HtmlDiff.AssertAreEqual (exp, v, "#5");
  238. }
  239. [Test]
  240. public void RepeatInfo_2cols_4itms_horiz_tbl_otrtblimp_hdr_ftr_sep ()
  241. {
  242. // cols : 2
  243. // cnt : 4
  244. // RepeatDirection : Horizontal
  245. // RepeatLayout : Table
  246. // OuterTableImplied : True
  247. // Header : True
  248. // Footer : True
  249. // Separator : True
  250. string v = RepeatInfoUser.DoTest (2, 4, RepeatDirection.Horizontal, RepeatLayout.Table, true, true, true, true);
  251. string exp = @"<table class=""mainstyle"" border=""0"">
  252. <tr>
  253. <td colspan=""4"" class=""Header-1"">(0,Header,-1)</td>
  254. </tr><tr>
  255. <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>
  256. </tr><tr>
  257. <td class=""Item2"">(5,Item,2)</td><td class=""Separator2"">(6,Separator,2)</td><td class=""Item3"">(7,Item,3)</td><td></td>
  258. </tr><tr>
  259. <td colspan=""4"" class=""Footer-1"">(8,Footer,-1)</td>
  260. </tr>
  261. </table>";
  262. HtmlDiff.AssertAreEqual (exp, v, "#6");
  263. }
  264. [Test]
  265. public void RepeatInfo_2cols_7itms_horiz_tbl_otrtblimp_hdr_ftr_sep ()
  266. {
  267. // cols : 2
  268. // cnt : 7
  269. // RepeatDirection : Horizontal
  270. // RepeatLayout : Table
  271. // OuterTableImplied : True
  272. // Header : True
  273. // Footer : True
  274. // Separator : True
  275. string v = RepeatInfoUser.DoTest (2, 7, RepeatDirection.Horizontal, RepeatLayout.Table, true, true, true, true);
  276. string exp = @"<table class=""mainstyle"" border=""0"">
  277. <tr>
  278. <td colspan=""4"" class=""Header-1"">(0,Header,-1)</td>
  279. </tr><tr>
  280. <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>
  281. </tr><tr>
  282. <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>
  283. </tr><tr>
  284. <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>
  285. </tr><tr>
  286. <td class=""Item6"">(13,Item,6)</td><td></td><td></td><td></td>
  287. </tr><tr>
  288. <td colspan=""4"" class=""Footer-1"">(14,Footer,-1)</td>
  289. </tr>
  290. </table>";
  291. HtmlDiff.AssertAreEqual (exp, v, "#7");
  292. }
  293. [Test]
  294. public void RepeatInfo_3cols_9itms_horiz_tbl_otrtblimp_hdr_ftr_sep ()
  295. {
  296. // cols : 3
  297. // cnt : 9
  298. // RepeatDirection : Horizontal
  299. // RepeatLayout : Table
  300. // OuterTableImplied : True
  301. // Header : True
  302. // Footer : True
  303. // Separator : True
  304. string v = RepeatInfoUser.DoTest (3, 9, RepeatDirection.Horizontal, RepeatLayout.Table, true, true, true, true);
  305. string exp = @"<table border=""0"">
  306. <tr>
  307. <td colspan=""6"" class=""Header-1"">(0,Header,-1)</td>
  308. </tr><tr>
  309. <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>
  310. </tr><tr>
  311. <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>
  312. </tr><tr>
  313. <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>
  314. </tr><tr>
  315. <td colspan=""6"" class=""Footer-1"">(18,Footer,-1)</td>
  316. </tr>
  317. </table>";
  318. HtmlDiff.AssertAreEqual (exp, v, "#8");
  319. }
  320. [Test]
  321. public void RepeatInfo_3cols_7itms_horiz_tbl_otrtblimp_hdr_ftr_sep ()
  322. {
  323. // cols : 3
  324. // cnt : 7
  325. // RepeatDirection : Horizontal
  326. // RepeatLayout : Table
  327. // OuterTableImplied : True
  328. // Header : True
  329. // Footer : True
  330. // Separator : True
  331. string v = RepeatInfoUser.DoTest (3, 7, RepeatDirection.Horizontal, RepeatLayout.Table, true, true, true, true);
  332. string exp = @"<table border=""0"">
  333. <tr>
  334. <td colspan=""6"" class=""Header-1"">(0,Header,-1)</td>
  335. </tr><tr>
  336. <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>
  337. </tr><tr>
  338. <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>
  339. </tr><tr>
  340. <td class=""Item6"">(13,Item,6)</td><td></td><td></td><td></td><td></td><td></td>
  341. </tr><tr>
  342. <td colspan=""6"" class=""Footer-1"">(14,Footer,-1)</td>
  343. </tr>
  344. </table>";
  345. HtmlDiff.AssertAreEqual (exp, v, "#9");
  346. }
  347. [Test]
  348. public void RepeatInfo_0cols_0itms_vert_tbl_otrtblimp_hdr_ftr_sep ()
  349. {
  350. // cols : 0
  351. // cnt : 0
  352. // RepeatDirection : Vertical
  353. // RepeatLayout : Table
  354. // OuterTableImplied : True
  355. // Header : True
  356. // Footer : True
  357. // Separator : True
  358. string v = RepeatInfoUser.DoTest (0, 0, RepeatDirection.Vertical, RepeatLayout.Table, true, true, true, true);
  359. string exp = @"(0,Header,-1)(1,Footer,-1)";
  360. HtmlDiff.AssertAreEqual (exp, v, "#10");
  361. }
  362. [Test]
  363. public void RepeatInfo_0cols_1itms_vert_tbl_otrtblimp_hdr_ftr_sep ()
  364. {
  365. // cols : 0
  366. // cnt : 1
  367. // RepeatDirection : Vertical
  368. // RepeatLayout : Table
  369. // OuterTableImplied : True
  370. // Header : True
  371. // Footer : True
  372. // Separator : True
  373. string v = RepeatInfoUser.DoTest (0, 1, RepeatDirection.Vertical, RepeatLayout.Table, true, true, true, true);
  374. string exp = @"(0,Header,-1)(1,Item,0)(2,Footer,-1)";
  375. HtmlDiff.AssertAreEqual (exp, v, "#11");
  376. }
  377. [Test]
  378. public void RepeatInfo_0cols_2itms_vert_tbl_otrtblimp_hdr_ftr_sep ()
  379. {
  380. // cols : 0
  381. // cnt : 2
  382. // RepeatDirection : Vertical
  383. // RepeatLayout : Table
  384. // OuterTableImplied : True
  385. // Header : True
  386. // Footer : True
  387. // Separator : True
  388. string v = RepeatInfoUser.DoTest (0, 2, RepeatDirection.Vertical, RepeatLayout.Table, true, true, true, true);
  389. string exp = @"(0,Header,-1)(1,Item,0)(2,Separator,0)(3,Item,1)(4,Footer,-1)";
  390. HtmlDiff.AssertAreEqual (exp, v, "#12");
  391. }
  392. [Test]
  393. public void RepeatInfo_0cols_5itms_vert_tbl_otrtblimp_hdr_ftr_sep ()
  394. {
  395. // cols : 0
  396. // cnt : 5
  397. // RepeatDirection : Vertical
  398. // RepeatLayout : Table
  399. // OuterTableImplied : True
  400. // Header : True
  401. // Footer : True
  402. // Separator : True
  403. string v = RepeatInfoUser.DoTest (0, 5, RepeatDirection.Vertical, RepeatLayout.Table, true, true, true, true);
  404. 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)";
  405. HtmlDiff.AssertAreEqual (exp, v, "#13");
  406. }
  407. [Test]
  408. public void RepeatInfo_1cols_0itms_vert_tbl_otrtblimp_hdr_ftr_sep ()
  409. {
  410. // cols : 1
  411. // cnt : 0
  412. // RepeatDirection : Vertical
  413. // RepeatLayout : Table
  414. // OuterTableImplied : True
  415. // Header : True
  416. // Footer : True
  417. // Separator : True
  418. string v = RepeatInfoUser.DoTest (1, 0, RepeatDirection.Vertical, RepeatLayout.Table, true, true, true, true);
  419. string exp = @"(0,Header,-1)(1,Footer,-1)";
  420. HtmlDiff.AssertAreEqual (exp, v, "#14");
  421. }
  422. [Test]
  423. public void RepeatInfo_1cols_5itms_vert_tbl_otrtblimp_hdr_ftr_sep ()
  424. {
  425. // cols : 1
  426. // cnt : 5
  427. // RepeatDirection : Vertical
  428. // RepeatLayout : Table
  429. // OuterTableImplied : True
  430. // Header : True
  431. // Footer : True
  432. // Separator : True
  433. string v = RepeatInfoUser.DoTest (1, 5, RepeatDirection.Vertical, RepeatLayout.Table, true, true, true, true);
  434. 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)";
  435. HtmlDiff.AssertAreEqual (exp, v, "#15");
  436. }
  437. [Test]
  438. public void RepeatInfo_2cols_4itms_vert_tbl_otrtblimp_hdr_ftr_sep ()
  439. {
  440. // cols : 2
  441. // cnt : 4
  442. // RepeatDirection : Vertical
  443. // RepeatLayout : Table
  444. // OuterTableImplied : True
  445. // Header : True
  446. // Footer : True
  447. // Separator : True
  448. string v = RepeatInfoUser.DoTest (2, 4, RepeatDirection.Vertical, RepeatLayout.Table, true, true, true, true);
  449. 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)";
  450. HtmlDiff.AssertAreEqual (exp, v, "#16");
  451. }
  452. [Test]
  453. public void RepeatInfo_2cols_7itms_vert_tbl_otrtblimp_hdr_ftr_sep ()
  454. {
  455. // cols : 2
  456. // cnt : 7
  457. // RepeatDirection : Vertical
  458. // RepeatLayout : Table
  459. // OuterTableImplied : True
  460. // Header : True
  461. // Footer : True
  462. // Separator : True
  463. string v = RepeatInfoUser.DoTest (2, 7, RepeatDirection.Vertical, RepeatLayout.Table, true, true, true, true);
  464. 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)";
  465. HtmlDiff.AssertAreEqual (exp, v, "#17");
  466. }
  467. [Test]
  468. public void RepeatInfo_3cols_9itms_vert_tbl_otrtblimp_hdr_ftr_sep ()
  469. {
  470. // cols : 3
  471. // cnt : 9
  472. // RepeatDirection : Vertical
  473. // RepeatLayout : Table
  474. // OuterTableImplied : True
  475. // Header : True
  476. // Footer : True
  477. // Separator : True
  478. string v = RepeatInfoUser.DoTest (3, 9, RepeatDirection.Vertical, RepeatLayout.Table, true, true, true, true);
  479. 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)";
  480. HtmlDiff.AssertAreEqual (exp, v, "#18");
  481. }
  482. [Test]
  483. public void RepeatInfo_3cols_7itms_vert_tbl_otrtblimp_hdr_ftr_sep ()
  484. {
  485. // cols : 3
  486. // cnt : 7
  487. // RepeatDirection : Vertical
  488. // RepeatLayout : Table
  489. // OuterTableImplied : True
  490. // Header : True
  491. // Footer : True
  492. // Separator : True
  493. string v = RepeatInfoUser.DoTest (3, 7, RepeatDirection.Vertical, RepeatLayout.Table, true, true, true, true);
  494. 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)";
  495. HtmlDiff.AssertAreEqual (exp, v, "#19");
  496. }
  497. [Test]
  498. public void RepeatInfo_0cols_0itms_horiz_flow_otrtblimp_hdr_ftr_sep ()
  499. {
  500. // cols : 0
  501. // cnt : 0
  502. // RepeatDirection : Horizontal
  503. // RepeatLayout : Flow
  504. // OuterTableImplied : True
  505. // Header : True
  506. // Footer : True
  507. // Separator : True
  508. string v = RepeatInfoUser.DoTest (0, 0, RepeatDirection.Horizontal, RepeatLayout.Flow, true, true, true, true);
  509. string exp = @"<span class=""mainstyle"">(0,Header,-1)(1,Footer,-1)</span>";
  510. HtmlDiff.AssertAreEqual (exp, v, "#20");
  511. }
  512. [Test]
  513. public void RepeatInfo_0cols_1itms_horiz_flow_otrtblimp_hdr_ftr_sep ()
  514. {
  515. // cols : 0
  516. // cnt : 1
  517. // RepeatDirection : Horizontal
  518. // RepeatLayout : Flow
  519. // OuterTableImplied : True
  520. // Header : True
  521. // Footer : True
  522. // Separator : True
  523. string v = RepeatInfoUser.DoTest (0, 1, RepeatDirection.Horizontal, RepeatLayout.Flow, true, true, true, true);
  524. string exp = @"<span class=""mainstyle"">(0,Header,-1)(1,Item,0)(2,Footer,-1)</span>";
  525. HtmlDiff.AssertAreEqual (exp, v, "#21");
  526. }
  527. [Test]
  528. public void RepeatInfo_0cols_2itms_horiz_flow_otrtblimp_hdr_ftr_sep ()
  529. {
  530. // cols : 0
  531. // cnt : 2
  532. // RepeatDirection : Horizontal
  533. // RepeatLayout : Flow
  534. // OuterTableImplied : True
  535. // Header : True
  536. // Footer : True
  537. // Separator : True
  538. string v = RepeatInfoUser.DoTest (0, 2, RepeatDirection.Horizontal, RepeatLayout.Flow, true, true, true, true);
  539. string exp = @"<span class=""mainstyle"">(0,Header,-1)(1,Item,0)(2,Separator,0)(3,Item,1)(4,Footer,-1)</span>";
  540. HtmlDiff.AssertAreEqual (exp, v, "#22");
  541. }
  542. [Test]
  543. public void RepeatInfo_0cols_5itms_horiz_flow_otrtblimp_hdr_ftr_sep ()
  544. {
  545. // cols : 0
  546. // cnt : 5
  547. // RepeatDirection : Horizontal
  548. // RepeatLayout : Flow
  549. // OuterTableImplied : True
  550. // Header : True
  551. // Footer : True
  552. // Separator : True
  553. string v = RepeatInfoUser.DoTest (0, 5, RepeatDirection.Horizontal, RepeatLayout.Flow, true, true, true, true);
  554. 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>";
  555. HtmlDiff.AssertAreEqual (exp, v, "#23");
  556. }
  557. [Test]
  558. public void RepeatInfo_1cols_0itms_horiz_flow_otrtblimp_hdr_ftr_sep ()
  559. {
  560. // cols : 1
  561. // cnt : 0
  562. // RepeatDirection : Horizontal
  563. // RepeatLayout : Flow
  564. // OuterTableImplied : True
  565. // Header : True
  566. // Footer : True
  567. // Separator : True
  568. string v = RepeatInfoUser.DoTest (1, 0, RepeatDirection.Horizontal, RepeatLayout.Flow, true, true, true, true);
  569. string exp = @"<span class=""mainstyle"">(0,Header,-1)(1,Footer,-1)</span>";
  570. HtmlDiff.AssertAreEqual (exp, v, "#24");
  571. }
  572. [Test]
  573. public void RepeatInfo_1cols_5itms_horiz_flow_otrtblimp_hdr_ftr_sep ()
  574. {
  575. // cols : 1
  576. // cnt : 5
  577. // RepeatDirection : Horizontal
  578. // RepeatLayout : Flow
  579. // OuterTableImplied : True
  580. // Header : True
  581. // Footer : True
  582. // Separator : True
  583. string v = RepeatInfoUser.DoTest (1, 5, RepeatDirection.Horizontal, RepeatLayout.Flow, true, true, true, true);
  584. 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>";
  585. HtmlDiff.AssertAreEqual (exp, v, "#25");
  586. }
  587. [Test]
  588. public void RepeatInfo_2cols_4itms_horiz_flow_otrtblimp_hdr_ftr_sep ()
  589. {
  590. // cols : 2
  591. // cnt : 4
  592. // RepeatDirection : Horizontal
  593. // RepeatLayout : Flow
  594. // OuterTableImplied : True
  595. // Header : True
  596. // Footer : True
  597. // Separator : True
  598. string v = RepeatInfoUser.DoTest (2, 4, RepeatDirection.Horizontal, RepeatLayout.Flow, true, true, true, true);
  599. 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>";
  600. HtmlDiff.AssertAreEqual (exp, v, "#26");
  601. }
  602. [Test]
  603. public void RepeatInfo_2cols_7itms_horiz_flow_otrtblimp_hdr_ftr_sep ()
  604. {
  605. // cols : 2
  606. // cnt : 7
  607. // RepeatDirection : Horizontal
  608. // RepeatLayout : Flow
  609. // OuterTableImplied : True
  610. // Header : True
  611. // Footer : True
  612. // Separator : True
  613. string v = RepeatInfoUser.DoTest (2, 7, RepeatDirection.Horizontal, RepeatLayout.Flow, true, true, true, true);
  614. 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>";
  615. HtmlDiff.AssertAreEqual (exp, v, "#27");
  616. }
  617. [Test]
  618. public void RepeatInfo_3cols_9itms_horiz_flow_otrtblimp_hdr_ftr_sep ()
  619. {
  620. // cols : 3
  621. // cnt : 9
  622. // RepeatDirection : Horizontal
  623. // RepeatLayout : Flow
  624. // OuterTableImplied : True
  625. // Header : True
  626. // Footer : True
  627. // Separator : True
  628. string v = RepeatInfoUser.DoTest (3, 9, RepeatDirection.Horizontal, RepeatLayout.Flow, true, true, true, true);
  629. 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>";
  630. HtmlDiff.AssertAreEqual (exp, v, "#28");
  631. }
  632. [Test]
  633. public void RepeatInfo_3cols_7itms_horiz_flow_otrtblimp_hdr_ftr_sep ()
  634. {
  635. // cols : 3
  636. // cnt : 7
  637. // RepeatDirection : Horizontal
  638. // RepeatLayout : Flow
  639. // OuterTableImplied : True
  640. // Header : True
  641. // Footer : True
  642. // Separator : True
  643. string v = RepeatInfoUser.DoTest (3, 7, RepeatDirection.Horizontal, RepeatLayout.Flow, true, true, true, true);
  644. 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>";
  645. HtmlDiff.AssertAreEqual (exp, v, "#29");
  646. }
  647. [Test]
  648. public void RepeatInfo_0cols_0itms_vert_flow_otrtblimp_hdr_ftr_sep ()
  649. {
  650. // cols : 0
  651. // cnt : 0
  652. // RepeatDirection : Vertical
  653. // RepeatLayout : Flow
  654. // OuterTableImplied : True
  655. // Header : True
  656. // Footer : True
  657. // Separator : True
  658. string v = RepeatInfoUser.DoTest (0, 0, RepeatDirection.Vertical, RepeatLayout.Flow, true, true, true, true);
  659. string exp = @"(0,Header,-1)(1,Footer,-1)";
  660. HtmlDiff.AssertAreEqual (exp, v, "#30");
  661. }
  662. [Test]
  663. public void RepeatInfo_0cols_1itms_vert_flow_otrtblimp_hdr_ftr_sep ()
  664. {
  665. // cols : 0
  666. // cnt : 1
  667. // RepeatDirection : Vertical
  668. // RepeatLayout : Flow
  669. // OuterTableImplied : True
  670. // Header : True
  671. // Footer : True
  672. // Separator : True
  673. string v = RepeatInfoUser.DoTest (0, 1, RepeatDirection.Vertical, RepeatLayout.Flow, true, true, true, true);
  674. string exp = @"(0,Header,-1)(1,Item,0)(2,Footer,-1)";
  675. HtmlDiff.AssertAreEqual (exp, v, "#31");
  676. }
  677. [Test]
  678. public void RepeatInfo_0cols_2itms_vert_flow_otrtblimp_hdr_ftr_sep ()
  679. {
  680. // cols : 0
  681. // cnt : 2
  682. // RepeatDirection : Vertical
  683. // RepeatLayout : Flow
  684. // OuterTableImplied : True
  685. // Header : True
  686. // Footer : True
  687. // Separator : True
  688. string v = RepeatInfoUser.DoTest (0, 2, RepeatDirection.Vertical, RepeatLayout.Flow, true, true, true, true);
  689. string exp = @"(0,Header,-1)(1,Item,0)(2,Separator,0)(3,Item,1)(4,Footer,-1)";
  690. HtmlDiff.AssertAreEqual (exp, v, "#32");
  691. }
  692. [Test]
  693. public void RepeatInfo_0cols_5itms_vert_flow_otrtblimp_hdr_ftr_sep ()
  694. {
  695. // cols : 0
  696. // cnt : 5
  697. // RepeatDirection : Vertical
  698. // RepeatLayout : Flow
  699. // OuterTableImplied : True
  700. // Header : True
  701. // Footer : True
  702. // Separator : True
  703. string v = RepeatInfoUser.DoTest (0, 5, RepeatDirection.Vertical, RepeatLayout.Flow, true, true, true, true);
  704. 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)";
  705. HtmlDiff.AssertAreEqual (exp, v, "#33");
  706. }
  707. [Test]
  708. public void RepeatInfo_1cols_0itms_vert_flow_otrtblimp_hdr_ftr_sep ()
  709. {
  710. // cols : 1
  711. // cnt : 0
  712. // RepeatDirection : Vertical
  713. // RepeatLayout : Flow
  714. // OuterTableImplied : True
  715. // Header : True
  716. // Footer : True
  717. // Separator : True
  718. string v = RepeatInfoUser.DoTest (1, 0, RepeatDirection.Vertical, RepeatLayout.Flow, true, true, true, true);
  719. string exp = @"(0,Header,-1)(1,Footer,-1)";
  720. HtmlDiff.AssertAreEqual (exp, v, "#34");
  721. }
  722. [Test]
  723. public void RepeatInfo_1cols_5itms_vert_flow_otrtblimp_hdr_ftr_sep ()
  724. {
  725. // cols : 1
  726. // cnt : 5
  727. // RepeatDirection : Vertical
  728. // RepeatLayout : Flow
  729. // OuterTableImplied : True
  730. // Header : True
  731. // Footer : True
  732. // Separator : True
  733. string v = RepeatInfoUser.DoTest (1, 5, RepeatDirection.Vertical, RepeatLayout.Flow, true, true, true, true);
  734. 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)";
  735. HtmlDiff.AssertAreEqual (exp, v, "#35");
  736. }
  737. [Test]
  738. public void RepeatInfo_2cols_4itms_vert_flow_otrtblimp_hdr_ftr_sep ()
  739. {
  740. // cols : 2
  741. // cnt : 4
  742. // RepeatDirection : Vertical
  743. // RepeatLayout : Flow
  744. // OuterTableImplied : True
  745. // Header : True
  746. // Footer : True
  747. // Separator : True
  748. string v = RepeatInfoUser.DoTest (2, 4, RepeatDirection.Vertical, RepeatLayout.Flow, true, true, true, true);
  749. 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)";
  750. HtmlDiff.AssertAreEqual (exp, v, "#36");
  751. }
  752. [Test]
  753. public void RepeatInfo_2cols_7itms_vert_flow_otrtblimp_hdr_ftr_sep ()
  754. {
  755. // cols : 2
  756. // cnt : 7
  757. // RepeatDirection : Vertical
  758. // RepeatLayout : Flow
  759. // OuterTableImplied : True
  760. // Header : True
  761. // Footer : True
  762. // Separator : True
  763. string v = RepeatInfoUser.DoTest (2, 7, RepeatDirection.Vertical, RepeatLayout.Flow, true, true, true, true);
  764. 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)";
  765. HtmlDiff.AssertAreEqual (exp, v, "#37");
  766. }
  767. [Test]
  768. public void RepeatInfo_3cols_9itms_vert_flow_otrtblimp_hdr_ftr_sep ()
  769. {
  770. // cols : 3
  771. // cnt : 9
  772. // RepeatDirection : Vertical
  773. // RepeatLayout : Flow
  774. // OuterTableImplied : True
  775. // Header : True
  776. // Footer : True
  777. // Separator : True
  778. string v = RepeatInfoUser.DoTest (3, 9, RepeatDirection.Vertical, RepeatLayout.Flow, true, true, true, true);
  779. 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)";
  780. HtmlDiff.AssertAreEqual (exp, v, "#38");
  781. }
  782. [Test]
  783. public void RepeatInfo_3cols_7itms_vert_flow_otrtblimp_hdr_ftr_sep ()
  784. {
  785. // cols : 3
  786. // cnt : 7
  787. // RepeatDirection : Vertical
  788. // RepeatLayout : Flow
  789. // OuterTableImplied : True
  790. // Header : True
  791. // Footer : True
  792. // Separator : True
  793. string v = RepeatInfoUser.DoTest (3, 7, RepeatDirection.Vertical, RepeatLayout.Flow, true, true, true, true);
  794. 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)";
  795. HtmlDiff.AssertAreEqual (exp, v, "#39");
  796. }
  797. [Test]
  798. public void RepeatInfo_0cols_0itms_horiz_tbl_hdr_ftr_sep ()
  799. {
  800. // cols : 0
  801. // cnt : 0
  802. // RepeatDirection : Horizontal
  803. // RepeatLayout : Table
  804. // OuterTableImplied : False
  805. // Header : True
  806. // Footer : True
  807. // Separator : True
  808. string v = RepeatInfoUser.DoTest (0, 0, RepeatDirection.Horizontal, RepeatLayout.Table, false, true, true, true);
  809. string exp = @"<table class=""mainstyle"" border=""0"">
  810. <tr>
  811. <td colspan=""0"" class=""Header-1"">(0,Header,-1)</td>
  812. </tr><tr>
  813. <td colspan=""0"" class=""Footer-1"">(1,Footer,-1)</td>
  814. </tr>
  815. </table>";
  816. HtmlDiff.AssertAreEqual (exp, v, "#40");
  817. }
  818. [Test]
  819. public void RepeatInfo_0cols_1itms_horiz_tbl_hdr_ftr_sep ()
  820. {
  821. // cols : 0
  822. // cnt : 1
  823. // RepeatDirection : Horizontal
  824. // RepeatLayout : Table
  825. // OuterTableImplied : False
  826. // Header : True
  827. // Footer : True
  828. // Separator : True
  829. string v = RepeatInfoUser.DoTest (0, 1, RepeatDirection.Horizontal, RepeatLayout.Table, false, true, true, true);
  830. string exp = @"<table class=""mainstyle"" border=""0"">
  831. <tr>
  832. <td colspan=""2"" class=""Header-1"">(0,Header,-1)</td>
  833. </tr><tr>
  834. <td class=""Item0"">(1,Item,0)</td><td></td>
  835. </tr><tr>
  836. <td colspan=""2"" class=""Footer-1"">(2,Footer,-1)</td>
  837. </tr>
  838. </table>";
  839. HtmlDiff.AssertAreEqual (exp, v, "#41");
  840. }
  841. [Test]
  842. public void RepeatInfo_0cols_2itms_horiz_tbl_hdr_ftr_sep ()
  843. {
  844. // cols : 0
  845. // cnt : 2
  846. // RepeatDirection : Horizontal
  847. // RepeatLayout : Table
  848. // OuterTableImplied : False
  849. // Header : True
  850. // Footer : True
  851. // Separator : True
  852. string v = RepeatInfoUser.DoTest (0, 2, RepeatDirection.Horizontal, RepeatLayout.Table, false, true, true, true);
  853. string exp = @"<table class=""mainstyle"" border=""0"">
  854. <tr>
  855. <td colspan=""4"" class=""Header-1"">(0,Header,-1)</td>
  856. </tr><tr>
  857. <td class=""Item0"">(1,Item,0)</td><td class=""Separator0"">(2,Separator,0)</td><td class=""Item1"">(3,Item,1)</td><td></td>
  858. </tr><tr>
  859. <td colspan=""4"" class=""Footer-1"">(4,Footer,-1)</td>
  860. </tr>
  861. </table>";
  862. HtmlDiff.AssertAreEqual (exp, v, "#42");
  863. }
  864. [Test]
  865. public void RepeatInfo_0cols_5itms_horiz_tbl_hdr_ftr_sep ()
  866. {
  867. // cols : 0
  868. // cnt : 5
  869. // RepeatDirection : Horizontal
  870. // RepeatLayout : Table
  871. // OuterTableImplied : False
  872. // Header : True
  873. // Footer : True
  874. // Separator : True
  875. string v = RepeatInfoUser.DoTest (0, 5, RepeatDirection.Horizontal, RepeatLayout.Table, false, true, true, true);
  876. string exp = @"<table class=""mainstyle"" border=""0"">
  877. <tr>
  878. <td colspan=""10"" class=""Header-1"">(0,Header,-1)</td>
  879. </tr><tr>
  880. <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>
  881. </tr><tr>
  882. <td colspan=""10"" class=""Footer-1"">(10,Footer,-1)</td>
  883. </tr>
  884. </table>";
  885. HtmlDiff.AssertAreEqual (exp, v, "#43");
  886. }
  887. [Test]
  888. public void RepeatInfo_1cols_0itms_horiz_tbl_hdr_ftr_sep ()
  889. {
  890. // cols : 1
  891. // cnt : 0
  892. // RepeatDirection : Horizontal
  893. // RepeatLayout : Table
  894. // OuterTableImplied : False
  895. // Header : True
  896. // Footer : True
  897. // Separator : True
  898. string v = RepeatInfoUser.DoTest (1, 0, RepeatDirection.Horizontal, RepeatLayout.Table, false, true, true, true);
  899. string exp = @"<table class=""mainstyle"" border=""0"">
  900. <tr>
  901. <td colspan=""2"" class=""Header-1"">(0,Header,-1)</td>
  902. </tr><tr>
  903. <td colspan=""2"" class=""Footer-1"">(1,Footer,-1)</td>
  904. </tr>
  905. </table>";
  906. HtmlDiff.AssertAreEqual (exp, v, "#44");
  907. }
  908. [Test]
  909. public void RepeatInfo_1cols_5itms_horiz_tbl_hdr_ftr_sep ()
  910. {
  911. // cols : 1
  912. // cnt : 5
  913. // RepeatDirection : Horizontal
  914. // RepeatLayout : Table
  915. // OuterTableImplied : False
  916. // Header : True
  917. // Footer : True
  918. // Separator : True
  919. string v = RepeatInfoUser.DoTest (1, 5, RepeatDirection.Horizontal, RepeatLayout.Table, false, true, true, true);
  920. string exp = @"<table class=""mainstyle"" border=""0"">
  921. <tr>
  922. <td colspan=""2"" class=""Header-1"">(0,Header,-1)</td>
  923. </tr><tr>
  924. <td class=""Item0"">(1,Item,0)</td><td class=""Separator0"">(2,Separator,0)</td>
  925. </tr><tr>
  926. <td class=""Item1"">(3,Item,1)</td><td class=""Separator1"">(4,Separator,1)</td>
  927. </tr><tr>
  928. <td class=""Item2"">(5,Item,2)</td><td class=""Separator2"">(6,Separator,2)</td>
  929. </tr><tr>
  930. <td class=""Item3"">(7,Item,3)</td><td class=""Separator3"">(8,Separator,3)</td>
  931. </tr><tr>
  932. <td class=""Item4"">(9,Item,4)</td><td></td>
  933. </tr><tr>
  934. <td colspan=""2"" class=""Footer-1"">(10,Footer,-1)</td>
  935. </tr>
  936. </table>";
  937. HtmlDiff.AssertAreEqual (exp, v, "#45");
  938. }
  939. [Test]
  940. public void RepeatInfo_2cols_4itms_horiz_tbl_hdr_ftr_sep ()
  941. {
  942. // cols : 2
  943. // cnt : 4
  944. // RepeatDirection : Horizontal
  945. // RepeatLayout : Table
  946. // OuterTableImplied : False
  947. // Header : True
  948. // Footer : True
  949. // Separator : True
  950. string v = RepeatInfoUser.DoTest (2, 4, RepeatDirection.Horizontal, RepeatLayout.Table, false, true, true, true);
  951. string exp = @"<table class=""mainstyle"" border=""0"">
  952. <tr>
  953. <td colspan=""4"" class=""Header-1"">(0,Header,-1)</td>
  954. </tr><tr>
  955. <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>
  956. </tr><tr>
  957. <td class=""Item2"">(5,Item,2)</td><td class=""Separator2"">(6,Separator,2)</td><td class=""Item3"">(7,Item,3)</td><td></td>
  958. </tr><tr>
  959. <td colspan=""4"" class=""Footer-1"">(8,Footer,-1)</td>
  960. </tr>
  961. </table>";
  962. HtmlDiff.AssertAreEqual (exp, v, "#46");
  963. }
  964. [Test]
  965. public void RepeatInfo_2cols_7itms_horiz_tbl_hdr_ftr_sep ()
  966. {
  967. // cols : 2
  968. // cnt : 7
  969. // RepeatDirection : Horizontal
  970. // RepeatLayout : Table
  971. // OuterTableImplied : False
  972. // Header : True
  973. // Footer : True
  974. // Separator : True
  975. string v = RepeatInfoUser.DoTest (2, 7, RepeatDirection.Horizontal, RepeatLayout.Table, false, true, true, true);
  976. string exp = @"<table class=""mainstyle"" border=""0"">
  977. <tr>
  978. <td colspan=""4"" class=""Header-1"">(0,Header,-1)</td>
  979. </tr><tr>
  980. <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>
  981. </tr><tr>
  982. <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>
  983. </tr><tr>
  984. <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>
  985. </tr><tr>
  986. <td class=""Item6"">(13,Item,6)</td><td></td><td></td><td></td>
  987. </tr><tr>
  988. <td colspan=""4"" class=""Footer-1"">(14,Footer,-1)</td>
  989. </tr>
  990. </table>";
  991. HtmlDiff.AssertAreEqual (exp, v, "#47");
  992. }
  993. [Test]
  994. public void RepeatInfo_3cols_9itms_horiz_tbl_hdr_ftr_sep ()
  995. {
  996. // cols : 3
  997. // cnt : 9
  998. // RepeatDirection : Horizontal
  999. // RepeatLayout : Table
  1000. // OuterTableImplied : False
  1001. // Header : True
  1002. // Footer : True
  1003. // Separator : True
  1004. string v = RepeatInfoUser.DoTest (3, 9, RepeatDirection.Horizontal, RepeatLayout.Table, false, true, true, true);
  1005. string exp = @"<table border=""0"">
  1006. <tr>
  1007. <td colspan=""6"" class=""Header-1"">(0,Header,-1)</td>
  1008. </tr><tr>
  1009. <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>
  1010. </tr><tr>
  1011. <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>
  1012. </tr><tr>
  1013. <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>
  1014. </tr><tr>
  1015. <td colspan=""6"" class=""Footer-1"">(18,Footer,-1)</td>
  1016. </tr>
  1017. </table>";
  1018. HtmlDiff.AssertAreEqual (exp, v, "#48");
  1019. }
  1020. [Test]
  1021. public void RepeatInfo_3cols_7itms_horiz_tbl_hdr_ftr_sep ()
  1022. {
  1023. // cols : 3
  1024. // cnt : 7
  1025. // RepeatDirection : Horizontal
  1026. // RepeatLayout : Table
  1027. // OuterTableImplied : False
  1028. // Header : True
  1029. // Footer : True
  1030. // Separator : True
  1031. string v = RepeatInfoUser.DoTest (3, 7, RepeatDirection.Horizontal, RepeatLayout.Table, false, true, true, true);
  1032. string exp = @"<table border=""0"">
  1033. <tr>
  1034. <td colspan=""6"" class=""Header-1"">(0,Header,-1)</td>
  1035. </tr><tr>
  1036. <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>
  1037. </tr><tr>
  1038. <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>
  1039. </tr><tr>
  1040. <td class=""Item6"">(13,Item,6)</td><td></td><td></td><td></td><td></td><td></td>
  1041. </tr><tr>
  1042. <td colspan=""6"" class=""Footer-1"">(14,Footer,-1)</td>
  1043. </tr>
  1044. </table>";
  1045. HtmlDiff.AssertAreEqual (exp, v, "#49");
  1046. }
  1047. [Test]
  1048. public void RepeatInfo_0cols_0itms_vert_tbl_hdr_ftr_sep ()
  1049. {
  1050. // cols : 0
  1051. // cnt : 0
  1052. // RepeatDirection : Vertical
  1053. // RepeatLayout : Table
  1054. // OuterTableImplied : False
  1055. // Header : True
  1056. // Footer : True
  1057. // Separator : True
  1058. string v = RepeatInfoUser.DoTest (0, 0, RepeatDirection.Vertical, RepeatLayout.Table, false, true, true, true);
  1059. string exp = @"<table class=""mainstyle"" border=""0"">
  1060. <tr>
  1061. <td class=""Header-1"">(0,Header,-1)</td>
  1062. </tr><tr>
  1063. <td class=""Footer-1"">(1,Footer,-1)</td>
  1064. </tr>
  1065. </table>";
  1066. HtmlDiff.AssertAreEqual (exp, v, "#50");
  1067. }
  1068. [Test]
  1069. public void RepeatInfo_0cols_1itms_vert_tbl_hdr_ftr_sep ()
  1070. {
  1071. // cols : 0
  1072. // cnt : 1
  1073. // RepeatDirection : Vertical
  1074. // RepeatLayout : Table
  1075. // OuterTableImplied : False
  1076. // Header : True
  1077. // Footer : True
  1078. // Separator : True
  1079. string v = RepeatInfoUser.DoTest (0, 1, RepeatDirection.Vertical, RepeatLayout.Table, false, true, true, true);
  1080. string exp = @"<table class=""mainstyle"" border=""0"">
  1081. <tr>
  1082. <td class=""Header-1"">(0,Header,-1)</td>
  1083. </tr><tr>
  1084. <td class=""Item0"">(1,Item,0)</td>
  1085. </tr><tr>
  1086. <td class=""Footer-1"">(2,Footer,-1)</td>
  1087. </tr>
  1088. </table>";
  1089. HtmlDiff.AssertAreEqual (exp, v, "#51");
  1090. }
  1091. [Test]
  1092. public void RepeatInfo_0cols_2itms_vert_tbl_hdr_ftr_sep ()
  1093. {
  1094. // cols : 0
  1095. // cnt : 2
  1096. // RepeatDirection : Vertical
  1097. // RepeatLayout : Table
  1098. // OuterTableImplied : False
  1099. // Header : True
  1100. // Footer : True
  1101. // Separator : True
  1102. string v = RepeatInfoUser.DoTest (0, 2, RepeatDirection.Vertical, RepeatLayout.Table, false, true, true, true);
  1103. string exp = @"<table class=""mainstyle"" border=""0"">
  1104. <tr>
  1105. <td class=""Header-1"">(0,Header,-1)</td>
  1106. </tr><tr>
  1107. <td class=""Item0"">(1,Item,0)</td>
  1108. </tr><tr>
  1109. <td class=""Separator0"">(2,Separator,0)</td>
  1110. </tr><tr>
  1111. <td class=""Item1"">(3,Item,1)</td>
  1112. </tr><tr>
  1113. <td class=""Footer-1"">(4,Footer,-1)</td>
  1114. </tr>
  1115. </table>";
  1116. HtmlDiff.AssertAreEqual (exp, v, "#52");
  1117. }
  1118. [Test]
  1119. public void RepeatInfo_0cols_5itms_vert_tbl_hdr_ftr_sep ()
  1120. {
  1121. // cols : 0
  1122. // cnt : 5
  1123. // RepeatDirection : Vertical
  1124. // RepeatLayout : Table
  1125. // OuterTableImplied : False
  1126. // Header : True
  1127. // Footer : True
  1128. // Separator : True
  1129. string v = RepeatInfoUser.DoTest (0, 5, RepeatDirection.Vertical, RepeatLayout.Table, false, true, true, true);
  1130. string exp = @"<table class=""mainstyle"" border=""0"">
  1131. <tr>
  1132. <td class=""Header-1"">(0,Header,-1)</td>
  1133. </tr><tr>
  1134. <td class=""Item0"">(1,Item,0)</td>
  1135. </tr><tr>
  1136. <td class=""Separator0"">(2,Separator,0)</td>
  1137. </tr><tr>
  1138. <td class=""Item1"">(3,Item,1)</td>
  1139. </tr><tr>
  1140. <td class=""Separator1"">(4,Separator,1)</td>
  1141. </tr><tr>
  1142. <td class=""Item2"">(5,Item,2)</td>
  1143. </tr><tr>
  1144. <td class=""Separator2"">(6,Separator,2)</td>
  1145. </tr><tr>
  1146. <td class=""Item3"">(7,Item,3)</td>
  1147. </tr><tr>
  1148. <td class=""Separator3"">(8,Separator,3)</td>
  1149. </tr><tr>
  1150. <td class=""Item4"">(9,Item,4)</td>
  1151. </tr><tr>
  1152. <td class=""Footer-1"">(10,Footer,-1)</td>
  1153. </tr>
  1154. </table>";
  1155. HtmlDiff.AssertAreEqual (exp, v, "#53");
  1156. }
  1157. [Test]
  1158. public void RepeatInfo_1cols_0itms_vert_tbl_hdr_ftr_sep ()
  1159. {
  1160. // cols : 1
  1161. // cnt : 0
  1162. // RepeatDirection : Vertical
  1163. // RepeatLayout : Table
  1164. // OuterTableImplied : False
  1165. // Header : True
  1166. // Footer : True
  1167. // Separator : True
  1168. string v = RepeatInfoUser.DoTest (1, 0, RepeatDirection.Vertical, RepeatLayout.Table, false, true, true, true);
  1169. string exp = @"<table class=""mainstyle"" border=""0"">
  1170. <tr>
  1171. <td class=""Header-1"">(0,Header,-1)</td>
  1172. </tr><tr>
  1173. <td class=""Footer-1"">(1,Footer,-1)</td>
  1174. </tr>
  1175. </table>";
  1176. HtmlDiff.AssertAreEqual (exp, v, "#54");
  1177. }
  1178. [Test]
  1179. public void RepeatInfo_1cols_5itms_vert_tbl_hdr_ftr_sep ()
  1180. {
  1181. // cols : 1
  1182. // cnt : 5
  1183. // RepeatDirection : Vertical
  1184. // RepeatLayout : Table
  1185. // OuterTableImplied : False
  1186. // Header : True
  1187. // Footer : True
  1188. // Separator : True
  1189. string v = RepeatInfoUser.DoTest (1, 5, RepeatDirection.Vertical, RepeatLayout.Table, false, true, true, true);
  1190. string exp = @"<table class=""mainstyle"" border=""0"">
  1191. <tr>
  1192. <td class=""Header-1"">(0,Header,-1)</td>
  1193. </tr><tr>
  1194. <td class=""Item0"">(1,Item,0)</td>
  1195. </tr><tr>
  1196. <td class=""Separator0"">(2,Separator,0)</td>
  1197. </tr><tr>
  1198. <td class=""Item1"">(3,Item,1)</td>
  1199. </tr><tr>
  1200. <td class=""Separator1"">(4,Separator,1)</td>
  1201. </tr><tr>
  1202. <td class=""Item2"">(5,Item,2)</td>
  1203. </tr><tr>
  1204. <td class=""Separator2"">(6,Separator,2)</td>
  1205. </tr><tr>
  1206. <td class=""Item3"">(7,Item,3)</td>
  1207. </tr><tr>
  1208. <td class=""Separator3"">(8,Separator,3)</td>
  1209. </tr><tr>
  1210. <td class=""Item4"">(9,Item,4)</td>
  1211. </tr><tr>
  1212. <td class=""Footer-1"">(10,Footer,-1)</td>
  1213. </tr>
  1214. </table>";
  1215. HtmlDiff.AssertAreEqual (exp, v, "#55");
  1216. }
  1217. [Test]
  1218. public void RepeatInfo_2cols_4itms_vert_tbl_hdr_ftr_sep ()
  1219. {
  1220. // cols : 2
  1221. // cnt : 4
  1222. // RepeatDirection : Vertical
  1223. // RepeatLayout : Table
  1224. // OuterTableImplied : False
  1225. // Header : True
  1226. // Footer : True
  1227. // Separator : True
  1228. string v = RepeatInfoUser.DoTest (2, 4, RepeatDirection.Vertical, RepeatLayout.Table, false, true, true, true);
  1229. string exp = @"<table class=""mainstyle"" border=""0"">
  1230. <tr>
  1231. <td colspan=""4"" class=""Header-1"">(0,Header,-1)</td>
  1232. </tr><tr>
  1233. <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>
  1234. </tr><tr>
  1235. <td class=""Item1"">(5,Item,1)</td><td class=""Separator1"">(6,Separator,1)</td><td class=""Item3"">(7,Item,3)</td><td></td>
  1236. </tr><tr>
  1237. <td colspan=""4"" class=""Footer-1"">(8,Footer,-1)</td>
  1238. </tr>
  1239. </table>";
  1240. HtmlDiff.AssertAreEqual (exp, v, "#56");
  1241. }
  1242. [Test]
  1243. public void RepeatInfo_2cols_7itms_vert_tbl_hdr_ftr_sep ()
  1244. {
  1245. // cols : 2
  1246. // cnt : 7
  1247. // RepeatDirection : Vertical
  1248. // RepeatLayout : Table
  1249. // OuterTableImplied : False
  1250. // Header : True
  1251. // Footer : True
  1252. // Separator : True
  1253. string v = RepeatInfoUser.DoTest (2, 7, RepeatDirection.Vertical, RepeatLayout.Table, false, true, true, true);
  1254. string exp = @"<table class=""mainstyle"" border=""0"">
  1255. <tr>
  1256. <td colspan=""4"" class=""Header-1"">(0,Header,-1)</td>
  1257. </tr><tr>
  1258. <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>
  1259. </tr><tr>
  1260. <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>
  1261. </tr><tr>
  1262. <td class=""Item2"">(9,Item,2)</td><td class=""Separator2"">(10,Separator,2)</td><td class=""Item6"">(11,Item,6)</td><td></td>
  1263. </tr><tr>
  1264. <td class=""Item3"">(12,Item,3)</td><td class=""Separator3"">(13,Separator,3)</td><td></td><td></td>
  1265. </tr><tr>
  1266. <td colspan=""4"" class=""Footer-1"">(14,Footer,-1)</td>
  1267. </tr>
  1268. </table>";
  1269. HtmlDiff.AssertAreEqual (exp, v, "#57");
  1270. }
  1271. [Test]
  1272. public void RepeatInfo_3cols_9itms_vert_tbl_hdr_ftr_sep ()
  1273. {
  1274. // cols : 3
  1275. // cnt : 9
  1276. // RepeatDirection : Vertical
  1277. // RepeatLayout : Table
  1278. // OuterTableImplied : False
  1279. // Header : True
  1280. // Footer : True
  1281. // Separator : True
  1282. string v = RepeatInfoUser.DoTest (3, 9, RepeatDirection.Vertical, RepeatLayout.Table, false, true, true, true);
  1283. string exp = @"<table border=""0"">
  1284. <tr>
  1285. <td colspan=""6"" class=""Header-1"">(0,Header,-1)</td>
  1286. </tr><tr>
  1287. <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>
  1288. </tr><tr>
  1289. <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>
  1290. </tr><tr>
  1291. <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>
  1292. </tr><tr>
  1293. <td colspan=""6"" class=""Footer-1"">(18,Footer,-1)</td>
  1294. </tr>
  1295. </table>";
  1296. HtmlDiff.AssertAreEqual (exp, v, "#58");
  1297. }
  1298. [Test]
  1299. public void RepeatInfo_3cols_7itms_vert_tbl_hdr_ftr_sep ()
  1300. {
  1301. // cols : 3
  1302. // cnt : 7
  1303. // RepeatDirection : Vertical
  1304. // RepeatLayout : Table
  1305. // OuterTableImplied : False
  1306. // Header : True
  1307. // Footer : True
  1308. // Separator : True
  1309. string v = RepeatInfoUser.DoTest (3, 7, RepeatDirection.Vertical, RepeatLayout.Table, false, true, true, true);
  1310. string exp = @"<table border=""0"">
  1311. <tr>
  1312. <td colspan=""6"" class=""Header-1"">(0,Header,-1)</td>
  1313. </tr><tr>
  1314. <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>
  1315. </tr><tr>
  1316. <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>
  1317. </tr><tr>
  1318. <td class=""Item2"">(12,Item,2)</td><td class=""Separator2"">(13,Separator,2)</td><td></td><td></td><td></td><td></td>
  1319. </tr><tr>
  1320. <td colspan=""6"" class=""Footer-1"">(14,Footer,-1)</td>
  1321. </tr>
  1322. </table>";
  1323. HtmlDiff.AssertAreEqual (exp, v, "#59");
  1324. }
  1325. [Test]
  1326. public void RepeatInfo_0cols_0itms_horiz_flow_hdr_ftr_sep ()
  1327. {
  1328. // cols : 0
  1329. // cnt : 0
  1330. // RepeatDirection : Horizontal
  1331. // RepeatLayout : Flow
  1332. // OuterTableImplied : False
  1333. // Header : True
  1334. // Footer : True
  1335. // Separator : True
  1336. string v = RepeatInfoUser.DoTest (0, 0, RepeatDirection.Horizontal, RepeatLayout.Flow, false, true, true, true);
  1337. string exp = @"<span class=""mainstyle"">(0,Header,-1)(1,Footer,-1)</span>";
  1338. HtmlDiff.AssertAreEqual (exp, v, "#60");
  1339. }
  1340. [Test]
  1341. public void RepeatInfo_0cols_1itms_horiz_flow_hdr_ftr_sep ()
  1342. {
  1343. // cols : 0
  1344. // cnt : 1
  1345. // RepeatDirection : Horizontal
  1346. // RepeatLayout : Flow
  1347. // OuterTableImplied : False
  1348. // Header : True
  1349. // Footer : True
  1350. // Separator : True
  1351. string v = RepeatInfoUser.DoTest (0, 1, RepeatDirection.Horizontal, RepeatLayout.Flow, false, true, true, true);
  1352. string exp = @"<span class=""mainstyle"">(0,Header,-1)(1,Item,0)(2,Footer,-1)</span>";
  1353. HtmlDiff.AssertAreEqual (exp, v, "#61");
  1354. }
  1355. [Test]
  1356. public void RepeatInfo_0cols_2itms_horiz_flow_hdr_ftr_sep ()
  1357. {
  1358. // cols : 0
  1359. // cnt : 2
  1360. // RepeatDirection : Horizontal
  1361. // RepeatLayout : Flow
  1362. // OuterTableImplied : False
  1363. // Header : True
  1364. // Footer : True
  1365. // Separator : True
  1366. string v = RepeatInfoUser.DoTest (0, 2, RepeatDirection.Horizontal, RepeatLayout.Flow, false, true, true, true);
  1367. string exp = @"<span class=""mainstyle"">(0,Header,-1)(1,Item,0)(2,Separator,0)(3,Item,1)(4,Footer,-1)</span>";
  1368. HtmlDiff.AssertAreEqual (exp, v, "#62");
  1369. }
  1370. [Test]
  1371. public void RepeatInfo_0cols_5itms_horiz_flow_hdr_ftr_sep ()
  1372. {
  1373. // cols : 0
  1374. // cnt : 5
  1375. // RepeatDirection : Horizontal
  1376. // RepeatLayout : Flow
  1377. // OuterTableImplied : False
  1378. // Header : True
  1379. // Footer : True
  1380. // Separator : True
  1381. string v = RepeatInfoUser.DoTest (0, 5, RepeatDirection.Horizontal, RepeatLayout.Flow, false, true, true, true);
  1382. 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>";
  1383. HtmlDiff.AssertAreEqual (exp, v, "#63");
  1384. }
  1385. [Test]
  1386. public void RepeatInfo_1cols_0itms_horiz_flow_hdr_ftr_sep ()
  1387. {
  1388. // cols : 1
  1389. // cnt : 0
  1390. // RepeatDirection : Horizontal
  1391. // RepeatLayout : Flow
  1392. // OuterTableImplied : False
  1393. // Header : True
  1394. // Footer : True
  1395. // Separator : True
  1396. string v = RepeatInfoUser.DoTest (1, 0, RepeatDirection.Horizontal, RepeatLayout.Flow, false, true, true, true);
  1397. string exp = @"<span class=""mainstyle"">(0,Header,-1)(1,Footer,-1)</span>";
  1398. HtmlDiff.AssertAreEqual (exp, v, "#64");
  1399. }
  1400. [Test]
  1401. public void RepeatInfo_1cols_5itms_horiz_flow_hdr_ftr_sep ()
  1402. {
  1403. // cols : 1
  1404. // cnt : 5
  1405. // RepeatDirection : Horizontal
  1406. // RepeatLayout : Flow
  1407. // OuterTableImplied : False
  1408. // Header : True
  1409. // Footer : True
  1410. // Separator : True
  1411. string v = RepeatInfoUser.DoTest (1, 5, RepeatDirection.Horizontal, RepeatLayout.Flow, false, true, true, true);
  1412. 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>";
  1413. HtmlDiff.AssertAreEqual (exp, v, "#65");
  1414. }
  1415. [Test]
  1416. public void RepeatInfo_2cols_4itms_horiz_flow_hdr_ftr_sep ()
  1417. {
  1418. // cols : 2
  1419. // cnt : 4
  1420. // RepeatDirection : Horizontal
  1421. // RepeatLayout : Flow
  1422. // OuterTableImplied : False
  1423. // Header : True
  1424. // Footer : True
  1425. // Separator : True
  1426. string v = RepeatInfoUser.DoTest (2, 4, RepeatDirection.Horizontal, RepeatLayout.Flow, false, true, true, true);
  1427. 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>";
  1428. HtmlDiff.AssertAreEqual (exp, v, "#66");
  1429. }
  1430. [Test]
  1431. public void RepeatInfo_2cols_7itms_horiz_flow_hdr_ftr_sep ()
  1432. {
  1433. // cols : 2
  1434. // cnt : 7
  1435. // RepeatDirection : Horizontal
  1436. // RepeatLayout : Flow
  1437. // OuterTableImplied : False
  1438. // Header : True
  1439. // Footer : True
  1440. // Separator : True
  1441. string v = RepeatInfoUser.DoTest (2, 7, RepeatDirection.Horizontal, RepeatLayout.Flow, false, true, true, true);
  1442. 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>";
  1443. HtmlDiff.AssertAreEqual (exp, v, "#67");
  1444. }
  1445. [Test]
  1446. public void RepeatInfo_3cols_9itms_horiz_flow_hdr_ftr_sep ()
  1447. {
  1448. // cols : 3
  1449. // cnt : 9
  1450. // RepeatDirection : Horizontal
  1451. // RepeatLayout : Flow
  1452. // OuterTableImplied : False
  1453. // Header : True
  1454. // Footer : True
  1455. // Separator : True
  1456. string v = RepeatInfoUser.DoTest (3, 9, RepeatDirection.Horizontal, RepeatLayout.Flow, false, true, true, true);
  1457. 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>";
  1458. HtmlDiff.AssertAreEqual (exp, v, "#68");
  1459. }
  1460. [Test]
  1461. public void RepeatInfo_3cols_7itms_horiz_flow_hdr_ftr_sep ()
  1462. {
  1463. // cols : 3
  1464. // cnt : 7
  1465. // RepeatDirection : Horizontal
  1466. // RepeatLayout : Flow
  1467. // OuterTableImplied : False
  1468. // Header : True
  1469. // Footer : True
  1470. // Separator : True
  1471. string v = RepeatInfoUser.DoTest (3, 7, RepeatDirection.Horizontal, RepeatLayout.Flow, false, true, true, true);
  1472. 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>";
  1473. HtmlDiff.AssertAreEqual (exp, v, "#69");
  1474. }
  1475. [Test]
  1476. public void RepeatInfo_0cols_0itms_vert_flow_hdr_ftr_sep ()
  1477. {
  1478. // cols : 0
  1479. // cnt : 0
  1480. // RepeatDirection : Vertical
  1481. // RepeatLayout : Flow
  1482. // OuterTableImplied : False
  1483. // Header : True
  1484. // Footer : True
  1485. // Separator : True
  1486. string v = RepeatInfoUser.DoTest (0, 0, RepeatDirection.Vertical, RepeatLayout.Flow, false, true, true, true);
  1487. string exp = @"<span class=""mainstyle"">(0,Header,-1)<br />(1,Footer,-1)</span>";
  1488. HtmlDiff.AssertAreEqual (exp, v, "#70");
  1489. }
  1490. [Test]
  1491. public void RepeatInfo_0cols_1itms_vert_flow_hdr_ftr_sep ()
  1492. {
  1493. // cols : 0
  1494. // cnt : 1
  1495. // RepeatDirection : Vertical
  1496. // RepeatLayout : Flow
  1497. // OuterTableImplied : False
  1498. // Header : True
  1499. // Footer : True
  1500. // Separator : True
  1501. string v = RepeatInfoUser.DoTest (0, 1, RepeatDirection.Vertical, RepeatLayout.Flow, false, true, true, true);
  1502. string exp = @"<span class=""mainstyle"">(0,Header,-1)<br />(1,Item,0)<br />(2,Footer,-1)</span>";
  1503. HtmlDiff.AssertAreEqual (exp, v, "#71");
  1504. }
  1505. [Test]
  1506. public void RepeatInfo_0cols_2itms_vert_flow_hdr_ftr_sep ()
  1507. {
  1508. // cols : 0
  1509. // cnt : 2
  1510. // RepeatDirection : Vertical
  1511. // RepeatLayout : Flow
  1512. // OuterTableImplied : False
  1513. // Header : True
  1514. // Footer : True
  1515. // Separator : True
  1516. string v = RepeatInfoUser.DoTest (0, 2, RepeatDirection.Vertical, RepeatLayout.Flow, false, true, true, true);
  1517. 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>";
  1518. HtmlDiff.AssertAreEqual (exp, v, "#72");
  1519. }
  1520. [Test]
  1521. public void RepeatInfo_0cols_5itms_vert_flow_hdr_ftr_sep ()
  1522. {
  1523. // cols : 0
  1524. // cnt : 5
  1525. // RepeatDirection : Vertical
  1526. // RepeatLayout : Flow
  1527. // OuterTableImplied : False
  1528. // Header : True
  1529. // Footer : True
  1530. // Separator : True
  1531. string v = RepeatInfoUser.DoTest (0, 5, RepeatDirection.Vertical, RepeatLayout.Flow, false, true, true, true);
  1532. 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>";
  1533. HtmlDiff.AssertAreEqual (exp, v, "#73");
  1534. }
  1535. [Test]
  1536. public void RepeatInfo_1cols_0itms_vert_flow_hdr_ftr_sep ()
  1537. {
  1538. // cols : 1
  1539. // cnt : 0
  1540. // RepeatDirection : Vertical
  1541. // RepeatLayout : Flow
  1542. // OuterTableImplied : False
  1543. // Header : True
  1544. // Footer : True
  1545. // Separator : True
  1546. string v = RepeatInfoUser.DoTest (1, 0, RepeatDirection.Vertical, RepeatLayout.Flow, false, true, true, true);
  1547. string exp = @"<span class=""mainstyle"">(0,Header,-1)<br />(1,Footer,-1)</span>";
  1548. HtmlDiff.AssertAreEqual (exp, v, "#74");
  1549. }
  1550. [Test]
  1551. public void RepeatInfo_1cols_5itms_vert_flow_hdr_ftr_sep ()
  1552. {
  1553. // cols : 1
  1554. // cnt : 5
  1555. // RepeatDirection : Vertical
  1556. // RepeatLayout : Flow
  1557. // OuterTableImplied : False
  1558. // Header : True
  1559. // Footer : True
  1560. // Separator : True
  1561. string v = RepeatInfoUser.DoTest (1, 5, RepeatDirection.Vertical, RepeatLayout.Flow, false, true, true, true);
  1562. 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>";
  1563. HtmlDiff.AssertAreEqual (exp, v, "#75");
  1564. }
  1565. [Test]
  1566. public void RepeatInfo_2cols_4itms_vert_flow_hdr_ftr_sep ()
  1567. {
  1568. // cols : 2
  1569. // cnt : 4
  1570. // RepeatDirection : Vertical
  1571. // RepeatLayout : Flow
  1572. // OuterTableImplied : False
  1573. // Header : True
  1574. // Footer : True
  1575. // Separator : True
  1576. string v = RepeatInfoUser.DoTest (2, 4, RepeatDirection.Vertical, RepeatLayout.Flow, false, true, true, true);
  1577. 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>";
  1578. HtmlDiff.AssertAreEqual (exp, v, "#76");
  1579. }
  1580. [Test]
  1581. public void RepeatInfo_2cols_7itms_vert_flow_hdr_ftr_sep ()
  1582. {
  1583. // cols : 2
  1584. // cnt : 7
  1585. // RepeatDirection : Vertical
  1586. // RepeatLayout : Flow
  1587. // OuterTableImplied : False
  1588. // Header : True
  1589. // Footer : True
  1590. // Separator : True
  1591. string v = RepeatInfoUser.DoTest (2, 7, RepeatDirection.Vertical, RepeatLayout.Flow, false, true, true, true);
  1592. 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>";
  1593. HtmlDiff.AssertAreEqual (exp, v, "#77");
  1594. }
  1595. [Test]
  1596. public void RepeatInfo_3cols_9itms_vert_flow_hdr_ftr_sep ()
  1597. {
  1598. // cols : 3
  1599. // cnt : 9
  1600. // RepeatDirection : Vertical
  1601. // RepeatLayout : Flow
  1602. // OuterTableImplied : False
  1603. // Header : True
  1604. // Footer : True
  1605. // Separator : True
  1606. string v = RepeatInfoUser.DoTest (3, 9, RepeatDirection.Vertical, RepeatLayout.Flow, false, true, true, true);
  1607. 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>";
  1608. HtmlDiff.AssertAreEqual (exp, v, "#78");
  1609. }
  1610. [Test]
  1611. public void RepeatInfo_3cols_7itms_vert_flow_hdr_ftr_sep ()
  1612. {
  1613. // cols : 3
  1614. // cnt : 7
  1615. // RepeatDirection : Vertical
  1616. // RepeatLayout : Flow
  1617. // OuterTableImplied : False
  1618. // Header : True
  1619. // Footer : True
  1620. // Separator : True
  1621. string v = RepeatInfoUser.DoTest (3, 7, RepeatDirection.Vertical, RepeatLayout.Flow, false, true, true, true);
  1622. 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>";
  1623. HtmlDiff.AssertAreEqual (exp, v, "#79");
  1624. }
  1625. [Test]
  1626. public void RepeatInfo_0cols_0itms_horiz_tbl_otrtblimp_ftr_sep ()
  1627. {
  1628. // cols : 0
  1629. // cnt : 0
  1630. // RepeatDirection : Horizontal
  1631. // RepeatLayout : Table
  1632. // OuterTableImplied : True
  1633. // Header : False
  1634. // Footer : True
  1635. // Separator : True
  1636. string v = RepeatInfoUser.DoTest (0, 0, RepeatDirection.Horizontal, RepeatLayout.Table, true, false, true, true);
  1637. string exp = @"<table class=""mainstyle"" border=""0"">
  1638. <tr>
  1639. <td colspan=""0"" class=""Footer-1"">(0,Footer,-1)</td>
  1640. </tr>
  1641. </table>";
  1642. HtmlDiff.AssertAreEqual (exp, v, "#80");
  1643. }
  1644. [Test]
  1645. public void RepeatInfo_0cols_1itms_horiz_tbl_otrtblimp_ftr_sep ()
  1646. {
  1647. // cols : 0
  1648. // cnt : 1
  1649. // RepeatDirection : Horizontal
  1650. // RepeatLayout : Table
  1651. // OuterTableImplied : True
  1652. // Header : False
  1653. // Footer : True
  1654. // Separator : True
  1655. string v = RepeatInfoUser.DoTest (0, 1, RepeatDirection.Horizontal, RepeatLayout.Table, true, false, true, true);
  1656. string exp = @"<table class=""mainstyle"" border=""0"">
  1657. <tr>
  1658. <td class=""Item0"">(0,Item,0)</td><td></td>
  1659. </tr><tr>
  1660. <td colspan=""2"" class=""Footer-1"">(1,Footer,-1)</td>
  1661. </tr>
  1662. </table>";
  1663. HtmlDiff.AssertAreEqual (exp, v, "#81");
  1664. }
  1665. [Test]
  1666. public void RepeatInfo_0cols_2itms_horiz_tbl_otrtblimp_ftr_sep ()
  1667. {
  1668. // cols : 0
  1669. // cnt : 2
  1670. // RepeatDirection : Horizontal
  1671. // RepeatLayout : Table
  1672. // OuterTableImplied : True
  1673. // Header : False
  1674. // Footer : True
  1675. // Separator : True
  1676. string v = RepeatInfoUser.DoTest (0, 2, RepeatDirection.Horizontal, RepeatLayout.Table, true, false, true, true);
  1677. string exp = @"<table class=""mainstyle"" border=""0"">
  1678. <tr>
  1679. <td class=""Item0"">(0,Item,0)</td><td class=""Separator0"">(1,Separator,0)</td><td class=""Item1"">(2,Item,1)</td><td></td>
  1680. </tr><tr>
  1681. <td colspan=""4"" class=""Footer-1"">(3,Footer,-1)</td>
  1682. </tr>
  1683. </table>";
  1684. HtmlDiff.AssertAreEqual (exp, v, "#82");
  1685. }
  1686. [Test]
  1687. public void RepeatInfo_0cols_5itms_horiz_tbl_otrtblimp_ftr_sep ()
  1688. {
  1689. // cols : 0
  1690. // cnt : 5
  1691. // RepeatDirection : Horizontal
  1692. // RepeatLayout : Table
  1693. // OuterTableImplied : True
  1694. // Header : False
  1695. // Footer : True
  1696. // Separator : True
  1697. string v = RepeatInfoUser.DoTest (0, 5, RepeatDirection.Horizontal, RepeatLayout.Table, true, false, true, true);
  1698. string exp = @"<table class=""mainstyle"" border=""0"">
  1699. <tr>
  1700. <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>
  1701. </tr><tr>
  1702. <td colspan=""10"" class=""Footer-1"">(9,Footer,-1)</td>
  1703. </tr>
  1704. </table>";
  1705. HtmlDiff.AssertAreEqual (exp, v, "#83");
  1706. }
  1707. [Test]
  1708. public void RepeatInfo_1cols_0itms_horiz_tbl_otrtblimp_ftr_sep ()
  1709. {
  1710. // cols : 1
  1711. // cnt : 0
  1712. // RepeatDirection : Horizontal
  1713. // RepeatLayout : Table
  1714. // OuterTableImplied : True
  1715. // Header : False
  1716. // Footer : True
  1717. // Separator : True
  1718. string v = RepeatInfoUser.DoTest (1, 0, RepeatDirection.Horizontal, RepeatLayout.Table, true, false, true, true);
  1719. string exp = @"<table class=""mainstyle"" border=""0"">
  1720. <tr>
  1721. <td colspan=""2"" class=""Footer-1"">(0,Footer,-1)</td>
  1722. </tr>
  1723. </table>";
  1724. HtmlDiff.AssertAreEqual (exp, v, "#84");
  1725. }
  1726. [Test]
  1727. public void RepeatInfo_1cols_5itms_horiz_tbl_otrtblimp_ftr_sep ()
  1728. {
  1729. // cols : 1
  1730. // cnt : 5
  1731. // RepeatDirection : Horizontal
  1732. // RepeatLayout : Table
  1733. // OuterTableImplied : True
  1734. // Header : False
  1735. // Footer : True
  1736. // Separator : True
  1737. string v = RepeatInfoUser.DoTest (1, 5, RepeatDirection.Horizontal, RepeatLayout.Table, true, false, true, true);
  1738. string exp = @"<table class=""mainstyle"" border=""0"">
  1739. <tr>
  1740. <td class=""Item0"">(0,Item,0)</td><td class=""Separator0"">(1,Separator,0)</td>
  1741. </tr><tr>
  1742. <td class=""Item1"">(2,Item,1)</td><td class=""Separator1"">(3,Separator,1)</td>
  1743. </tr><tr>
  1744. <td class=""Item2"">(4,Item,2)</td><td class=""Separator2"">(5,Separator,2)</td>
  1745. </tr><tr>
  1746. <td class=""Item3"">(6,Item,3)</td><td class=""Separator3"">(7,Separator,3)</td>
  1747. </tr><tr>
  1748. <td class=""Item4"">(8,Item,4)</td><td></td>
  1749. </tr><tr>
  1750. <td colspan=""2"" class=""Footer-1"">(9,Footer,-1)</td>
  1751. </tr>
  1752. </table>";
  1753. HtmlDiff.AssertAreEqual (exp, v, "#85");
  1754. }
  1755. [Test]
  1756. public void RepeatInfo_2cols_4itms_horiz_tbl_otrtblimp_ftr_sep ()
  1757. {
  1758. // cols : 2
  1759. // cnt : 4
  1760. // RepeatDirection : Horizontal
  1761. // RepeatLayout : Table
  1762. // OuterTableImplied : True
  1763. // Header : False
  1764. // Footer : True
  1765. // Separator : True
  1766. string v = RepeatInfoUser.DoTest (2, 4, RepeatDirection.Horizontal, RepeatLayout.Table, true, false, true, true);
  1767. string exp = @"<table class=""mainstyle"" border=""0"">
  1768. <tr>
  1769. <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>
  1770. </tr><tr>
  1771. <td class=""Item2"">(4,Item,2)</td><td class=""Separator2"">(5,Separator,2)</td><td class=""Item3"">(6,Item,3)</td><td></td>
  1772. </tr><tr>
  1773. <td colspan=""4"" class=""Footer-1"">(7,Footer,-1)</td>
  1774. </tr>
  1775. </table>";
  1776. HtmlDiff.AssertAreEqual (exp, v, "#86");
  1777. }
  1778. [Test]
  1779. public void RepeatInfo_2cols_7itms_horiz_tbl_otrtblimp_ftr_sep ()
  1780. {
  1781. // cols : 2
  1782. // cnt : 7
  1783. // RepeatDirection : Horizontal
  1784. // RepeatLayout : Table
  1785. // OuterTableImplied : True
  1786. // Header : False
  1787. // Footer : True
  1788. // Separator : True
  1789. string v = RepeatInfoUser.DoTest (2, 7, RepeatDirection.Horizontal, RepeatLayout.Table, true, false, true, true);
  1790. string exp = @"<table class=""mainstyle"" border=""0"">
  1791. <tr>
  1792. <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>
  1793. </tr><tr>
  1794. <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>
  1795. </tr><tr>
  1796. <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>
  1797. </tr><tr>
  1798. <td class=""Item6"">(12,Item,6)</td><td></td><td></td><td></td>
  1799. </tr><tr>
  1800. <td colspan=""4"" class=""Footer-1"">(13,Footer,-1)</td>
  1801. </tr>
  1802. </table>";
  1803. HtmlDiff.AssertAreEqual (exp, v, "#87");
  1804. }
  1805. [Test]
  1806. public void RepeatInfo_3cols_9itms_horiz_tbl_otrtblimp_ftr_sep ()
  1807. {
  1808. // cols : 3
  1809. // cnt : 9
  1810. // RepeatDirection : Horizontal
  1811. // RepeatLayout : Table
  1812. // OuterTableImplied : True
  1813. // Header : False
  1814. // Footer : True
  1815. // Separator : True
  1816. string v = RepeatInfoUser.DoTest (3, 9, RepeatDirection.Horizontal, RepeatLayout.Table, true, false, true, true);
  1817. string exp = @"<table border=""0"">
  1818. <tr>
  1819. <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>
  1820. </tr><tr>
  1821. <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>
  1822. </tr><tr>
  1823. <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>
  1824. </tr><tr>
  1825. <td colspan=""6"" class=""Footer-1"">(17,Footer,-1)</td>
  1826. </tr>
  1827. </table>";
  1828. HtmlDiff.AssertAreEqual (exp, v, "#88");
  1829. }
  1830. [Test]
  1831. public void RepeatInfo_3cols_7itms_horiz_tbl_otrtblimp_ftr_sep ()
  1832. {
  1833. // cols : 3
  1834. // cnt : 7
  1835. // RepeatDirection : Horizontal
  1836. // RepeatLayout : Table
  1837. // OuterTableImplied : True
  1838. // Header : False
  1839. // Footer : True
  1840. // Separator : True
  1841. string v = RepeatInfoUser.DoTest (3, 7, RepeatDirection.Horizontal, RepeatLayout.Table, true, false, true, true);
  1842. string exp = @"<table border=""0"">
  1843. <tr>
  1844. <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>
  1845. </tr><tr>
  1846. <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>
  1847. </tr><tr>
  1848. <td class=""Item6"">(12,Item,6)</td><td></td><td></td><td></td><td></td><td></td>
  1849. </tr><tr>
  1850. <td colspan=""6"" class=""Footer-1"">(13,Footer,-1)</td>
  1851. </tr>
  1852. </table>";
  1853. HtmlDiff.AssertAreEqual (exp, v, "#89");
  1854. }
  1855. [Test]
  1856. public void RepeatInfo_0cols_0itms_vert_tbl_otrtblimp_ftr_sep ()
  1857. {
  1858. // cols : 0
  1859. // cnt : 0
  1860. // RepeatDirection : Vertical
  1861. // RepeatLayout : Table
  1862. // OuterTableImplied : True
  1863. // Header : False
  1864. // Footer : True
  1865. // Separator : True
  1866. string v = RepeatInfoUser.DoTest (0, 0, RepeatDirection.Vertical, RepeatLayout.Table, true, false, true, true);
  1867. string exp = @"(0,Footer,-1)";
  1868. HtmlDiff.AssertAreEqual (exp, v, "#90");
  1869. }
  1870. [Test]
  1871. public void RepeatInfo_0cols_1itms_vert_tbl_otrtblimp_ftr_sep ()
  1872. {
  1873. // cols : 0
  1874. // cnt : 1
  1875. // RepeatDirection : Vertical
  1876. // RepeatLayout : Table
  1877. // OuterTableImplied : True
  1878. // Header : False
  1879. // Footer : True
  1880. // Separator : True
  1881. string v = RepeatInfoUser.DoTest (0, 1, RepeatDirection.Vertical, RepeatLayout.Table, true, false, true, true);
  1882. string exp = @"(0,Item,0)(1,Footer,-1)";
  1883. HtmlDiff.AssertAreEqual (exp, v, "#91");
  1884. }
  1885. [Test]
  1886. public void RepeatInfo_0cols_2itms_vert_tbl_otrtblimp_ftr_sep ()
  1887. {
  1888. // cols : 0
  1889. // cnt : 2
  1890. // RepeatDirection : Vertical
  1891. // RepeatLayout : Table
  1892. // OuterTableImplied : True
  1893. // Header : False
  1894. // Footer : True
  1895. // Separator : True
  1896. string v = RepeatInfoUser.DoTest (0, 2, RepeatDirection.Vertical, RepeatLayout.Table, true, false, true, true);
  1897. string exp = @"(0,Item,0)(1,Separator,0)(2,Item,1)(3,Footer,-1)";
  1898. HtmlDiff.AssertAreEqual (exp, v, "#92");
  1899. }
  1900. [Test]
  1901. public void RepeatInfo_0cols_5itms_vert_tbl_otrtblimp_ftr_sep ()
  1902. {
  1903. // cols : 0
  1904. // cnt : 5
  1905. // RepeatDirection : Vertical
  1906. // RepeatLayout : Table
  1907. // OuterTableImplied : True
  1908. // Header : False
  1909. // Footer : True
  1910. // Separator : True
  1911. string v = RepeatInfoUser.DoTest (0, 5, RepeatDirection.Vertical, RepeatLayout.Table, true, false, true, true);
  1912. 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)";
  1913. HtmlDiff.AssertAreEqual (exp, v, "#93");
  1914. }
  1915. [Test]
  1916. public void RepeatInfo_1cols_0itms_vert_tbl_otrtblimp_ftr_sep ()
  1917. {
  1918. // cols : 1
  1919. // cnt : 0
  1920. // RepeatDirection : Vertical
  1921. // RepeatLayout : Table
  1922. // OuterTableImplied : True
  1923. // Header : False
  1924. // Footer : True
  1925. // Separator : True
  1926. string v = RepeatInfoUser.DoTest (1, 0, RepeatDirection.Vertical, RepeatLayout.Table, true, false, true, true);
  1927. string exp = @"(0,Footer,-1)";
  1928. HtmlDiff.AssertAreEqual (exp, v, "#94");
  1929. }
  1930. [Test]
  1931. public void RepeatInfo_1cols_5itms_vert_tbl_otrtblimp_ftr_sep ()
  1932. {
  1933. // cols : 1
  1934. // cnt : 5
  1935. // RepeatDirection : Vertical
  1936. // RepeatLayout : Table
  1937. // OuterTableImplied : True
  1938. // Header : False
  1939. // Footer : True
  1940. // Separator : True
  1941. string v = RepeatInfoUser.DoTest (1, 5, RepeatDirection.Vertical, RepeatLayout.Table, true, false, true, true);
  1942. 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)";
  1943. HtmlDiff.AssertAreEqual (exp, v, "#95");
  1944. }
  1945. [Test]
  1946. public void RepeatInfo_2cols_4itms_vert_tbl_otrtblimp_ftr_sep ()
  1947. {
  1948. // cols : 2
  1949. // cnt : 4
  1950. // RepeatDirection : Vertical
  1951. // RepeatLayout : Table
  1952. // OuterTableImplied : True
  1953. // Header : False
  1954. // Footer : True
  1955. // Separator : True
  1956. string v = RepeatInfoUser.DoTest (2, 4, RepeatDirection.Vertical, RepeatLayout.Table, true, false, true, true);
  1957. 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)";
  1958. HtmlDiff.AssertAreEqual (exp, v, "#96");
  1959. }
  1960. [Test]
  1961. public void RepeatInfo_2cols_7itms_vert_tbl_otrtblimp_ftr_sep ()
  1962. {
  1963. // cols : 2
  1964. // cnt : 7
  1965. // RepeatDirection : Vertical
  1966. // RepeatLayout : Table
  1967. // OuterTableImplied : True
  1968. // Header : False
  1969. // Footer : True
  1970. // Separator : True
  1971. string v = RepeatInfoUser.DoTest (2, 7, RepeatDirection.Vertical, RepeatLayout.Table, true, false, true, true);
  1972. 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)";
  1973. HtmlDiff.AssertAreEqual (exp, v, "#97");
  1974. }
  1975. [Test]
  1976. public void RepeatInfo_3cols_9itms_vert_tbl_otrtblimp_ftr_sep ()
  1977. {
  1978. // cols : 3
  1979. // cnt : 9
  1980. // RepeatDirection : Vertical
  1981. // RepeatLayout : Table
  1982. // OuterTableImplied : True
  1983. // Header : False
  1984. // Footer : True
  1985. // Separator : True
  1986. string v = RepeatInfoUser.DoTest (3, 9, RepeatDirection.Vertical, RepeatLayout.Table, true, false, true, true);
  1987. 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)";
  1988. HtmlDiff.AssertAreEqual (exp, v, "#98");
  1989. }
  1990. [Test]
  1991. public void RepeatInfo_3cols_7itms_vert_tbl_otrtblimp_ftr_sep ()
  1992. {
  1993. // cols : 3
  1994. // cnt : 7
  1995. // RepeatDirection : Vertical
  1996. // RepeatLayout : Table
  1997. // OuterTableImplied : True
  1998. // Header : False
  1999. // Footer : True
  2000. // Separator : True
  2001. string v = RepeatInfoUser.DoTest (3, 7, RepeatDirection.Vertical, RepeatLayout.Table, true, false, true, true);
  2002. 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)";
  2003. HtmlDiff.AssertAreEqual (exp, v, "#99");
  2004. }
  2005. [Test]
  2006. public void RepeatInfo_0cols_0itms_horiz_flow_otrtblimp_ftr_sep ()
  2007. {
  2008. // cols : 0
  2009. // cnt : 0
  2010. // RepeatDirection : Horizontal
  2011. // RepeatLayout : Flow
  2012. // OuterTableImplied : True
  2013. // Header : False
  2014. // Footer : True
  2015. // Separator : True
  2016. string v = RepeatInfoUser.DoTest (0, 0, RepeatDirection.Horizontal, RepeatLayout.Flow, true, false, true, true);
  2017. string exp = @"<span class=""mainstyle"">(0,Footer,-1)</span>";
  2018. HtmlDiff.AssertAreEqual (exp, v, "#100");
  2019. }
  2020. [Test]
  2021. public void RepeatInfo_0cols_1itms_horiz_flow_otrtblimp_ftr_sep ()
  2022. {
  2023. // cols : 0
  2024. // cnt : 1
  2025. // RepeatDirection : Horizontal
  2026. // RepeatLayout : Flow
  2027. // OuterTableImplied : True
  2028. // Header : False
  2029. // Footer : True
  2030. // Separator : True
  2031. string v = RepeatInfoUser.DoTest (0, 1, RepeatDirection.Horizontal, RepeatLayout.Flow, true, false, true, true);
  2032. string exp = @"<span class=""mainstyle"">(0,Item,0)(1,Footer,-1)</span>";
  2033. HtmlDiff.AssertAreEqual (exp, v, "#101");
  2034. }
  2035. [Test]
  2036. public void RepeatInfo_0cols_2itms_horiz_flow_otrtblimp_ftr_sep ()
  2037. {
  2038. // cols : 0
  2039. // cnt : 2
  2040. // RepeatDirection : Horizontal
  2041. // RepeatLayout : Flow
  2042. // OuterTableImplied : True
  2043. // Header : False
  2044. // Footer : True
  2045. // Separator : True
  2046. string v = RepeatInfoUser.DoTest (0, 2, RepeatDirection.Horizontal, RepeatLayout.Flow, true, false, true, true);
  2047. string exp = @"<span class=""mainstyle"">(0,Item,0)(1,Separator,0)(2,Item,1)(3,Footer,-1)</span>";
  2048. HtmlDiff.AssertAreEqual (exp, v, "#102");
  2049. }
  2050. [Test]
  2051. public void RepeatInfo_0cols_5itms_horiz_flow_otrtblimp_ftr_sep ()
  2052. {
  2053. // cols : 0
  2054. // cnt : 5
  2055. // RepeatDirection : Horizontal
  2056. // RepeatLayout : Flow
  2057. // OuterTableImplied : True
  2058. // Header : False
  2059. // Footer : True
  2060. // Separator : True
  2061. string v = RepeatInfoUser.DoTest (0, 5, RepeatDirection.Horizontal, RepeatLayout.Flow, true, false, true, true);
  2062. 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>";
  2063. HtmlDiff.AssertAreEqual (exp, v, "#103");
  2064. }
  2065. [Test]
  2066. public void RepeatInfo_1cols_0itms_horiz_flow_otrtblimp_ftr_sep ()
  2067. {
  2068. // cols : 1
  2069. // cnt : 0
  2070. // RepeatDirection : Horizontal
  2071. // RepeatLayout : Flow
  2072. // OuterTableImplied : True
  2073. // Header : False
  2074. // Footer : True
  2075. // Separator : True
  2076. string v = RepeatInfoUser.DoTest (1, 0, RepeatDirection.Horizontal, RepeatLayout.Flow, true, false, true, true);
  2077. string exp = @"<span class=""mainstyle"">(0,Footer,-1)</span>";
  2078. HtmlDiff.AssertAreEqual (exp, v, "#104");
  2079. }
  2080. [Test]
  2081. public void RepeatInfo_1cols_5itms_horiz_flow_otrtblimp_ftr_sep ()
  2082. {
  2083. // cols : 1
  2084. // cnt : 5
  2085. // RepeatDirection : Horizontal
  2086. // RepeatLayout : Flow
  2087. // OuterTableImplied : True
  2088. // Header : False
  2089. // Footer : True
  2090. // Separator : True
  2091. string v = RepeatInfoUser.DoTest (1, 5, RepeatDirection.Horizontal, RepeatLayout.Flow, true, false, true, true);
  2092. 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>";
  2093. HtmlDiff.AssertAreEqual (exp, v, "#105");
  2094. }
  2095. [Test]
  2096. public void RepeatInfo_2cols_4itms_horiz_flow_otrtblimp_ftr_sep ()
  2097. {
  2098. // cols : 2
  2099. // cnt : 4
  2100. // RepeatDirection : Horizontal
  2101. // RepeatLayout : Flow
  2102. // OuterTableImplied : True
  2103. // Header : False
  2104. // Footer : True
  2105. // Separator : True
  2106. string v = RepeatInfoUser.DoTest (2, 4, RepeatDirection.Horizontal, RepeatLayout.Flow, true, false, true, true);
  2107. 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>";
  2108. HtmlDiff.AssertAreEqual (exp, v, "#106");
  2109. }
  2110. [Test]
  2111. public void RepeatInfo_2cols_7itms_horiz_flow_otrtblimp_ftr_sep ()
  2112. {
  2113. // cols : 2
  2114. // cnt : 7
  2115. // RepeatDirection : Horizontal
  2116. // RepeatLayout : Flow
  2117. // OuterTableImplied : True
  2118. // Header : False
  2119. // Footer : True
  2120. // Separator : True
  2121. string v = RepeatInfoUser.DoTest (2, 7, RepeatDirection.Horizontal, RepeatLayout.Flow, true, false, true, true);
  2122. 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>";
  2123. HtmlDiff.AssertAreEqual (exp, v, "#107");
  2124. }
  2125. [Test]
  2126. public void RepeatInfo_3cols_9itms_horiz_flow_otrtblimp_ftr_sep ()
  2127. {
  2128. // cols : 3
  2129. // cnt : 9
  2130. // RepeatDirection : Horizontal
  2131. // RepeatLayout : Flow
  2132. // OuterTableImplied : True
  2133. // Header : False
  2134. // Footer : True
  2135. // Separator : True
  2136. string v = RepeatInfoUser.DoTest (3, 9, RepeatDirection.Horizontal, RepeatLayout.Flow, true, false, true, true);
  2137. 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>";
  2138. HtmlDiff.AssertAreEqual (exp, v, "#108");
  2139. }
  2140. [Test]
  2141. public void RepeatInfo_3cols_7itms_horiz_flow_otrtblimp_ftr_sep ()
  2142. {
  2143. // cols : 3
  2144. // cnt : 7
  2145. // RepeatDirection : Horizontal
  2146. // RepeatLayout : Flow
  2147. // OuterTableImplied : True
  2148. // Header : False
  2149. // Footer : True
  2150. // Separator : True
  2151. string v = RepeatInfoUser.DoTest (3, 7, RepeatDirection.Horizontal, RepeatLayout.Flow, true, false, true, true);
  2152. 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>";
  2153. HtmlDiff.AssertAreEqual (exp, v, "#109");
  2154. }
  2155. [Test]
  2156. public void RepeatInfo_0cols_0itms_vert_flow_otrtblimp_ftr_sep ()
  2157. {
  2158. // cols : 0
  2159. // cnt : 0
  2160. // RepeatDirection : Vertical
  2161. // RepeatLayout : Flow
  2162. // OuterTableImplied : True
  2163. // Header : False
  2164. // Footer : True
  2165. // Separator : True
  2166. string v = RepeatInfoUser.DoTest (0, 0, RepeatDirection.Vertical, RepeatLayout.Flow, true, false, true, true);
  2167. string exp = @"(0,Footer,-1)";
  2168. HtmlDiff.AssertAreEqual (exp, v, "#110");
  2169. }
  2170. [Test]
  2171. public void RepeatInfo_0cols_1itms_vert_flow_otrtblimp_ftr_sep ()
  2172. {
  2173. // cols : 0
  2174. // cnt : 1
  2175. // RepeatDirection : Vertical
  2176. // RepeatLayout : Flow
  2177. // OuterTableImplied : True
  2178. // Header : False
  2179. // Footer : True
  2180. // Separator : True
  2181. string v = RepeatInfoUser.DoTest (0, 1, RepeatDirection.Vertical, RepeatLayout.Flow, true, false, true, true);
  2182. string exp = @"(0,Item,0)(1,Footer,-1)";
  2183. HtmlDiff.AssertAreEqual (exp, v, "#111");
  2184. }
  2185. [Test]
  2186. public void RepeatInfo_0cols_2itms_vert_flow_otrtblimp_ftr_sep ()
  2187. {
  2188. // cols : 0
  2189. // cnt : 2
  2190. // RepeatDirection : Vertical
  2191. // RepeatLayout : Flow
  2192. // OuterTableImplied : True
  2193. // Header : False
  2194. // Footer : True
  2195. // Separator : True
  2196. string v = RepeatInfoUser.DoTest (0, 2, RepeatDirection.Vertical, RepeatLayout.Flow, true, false, true, true);
  2197. string exp = @"(0,Item,0)(1,Separator,0)(2,Item,1)(3,Footer,-1)";
  2198. HtmlDiff.AssertAreEqual (exp, v, "#112");
  2199. }
  2200. [Test]
  2201. public void RepeatInfo_0cols_5itms_vert_flow_otrtblimp_ftr_sep ()
  2202. {
  2203. // cols : 0
  2204. // cnt : 5
  2205. // RepeatDirection : Vertical
  2206. // RepeatLayout : Flow
  2207. // OuterTableImplied : True
  2208. // Header : False
  2209. // Footer : True
  2210. // Separator : True
  2211. string v = RepeatInfoUser.DoTest (0, 5, RepeatDirection.Vertical, RepeatLayout.Flow, true, false, true, true);
  2212. 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)";
  2213. HtmlDiff.AssertAreEqual (exp, v, "#113");
  2214. }
  2215. [Test]
  2216. public void RepeatInfo_1cols_0itms_vert_flow_otrtblimp_ftr_sep ()
  2217. {
  2218. // cols : 1
  2219. // cnt : 0
  2220. // RepeatDirection : Vertical
  2221. // RepeatLayout : Flow
  2222. // OuterTableImplied : True
  2223. // Header : False
  2224. // Footer : True
  2225. // Separator : True
  2226. string v = RepeatInfoUser.DoTest (1, 0, RepeatDirection.Vertical, RepeatLayout.Flow, true, false, true, true);
  2227. string exp = @"(0,Footer,-1)";
  2228. HtmlDiff.AssertAreEqual (exp, v, "#114");
  2229. }
  2230. [Test]
  2231. public void RepeatInfo_1cols_5itms_vert_flow_otrtblimp_ftr_sep ()
  2232. {
  2233. // cols : 1
  2234. // cnt : 5
  2235. // RepeatDirection : Vertical
  2236. // RepeatLayout : Flow
  2237. // OuterTableImplied : True
  2238. // Header : False
  2239. // Footer : True
  2240. // Separator : True
  2241. string v = RepeatInfoUser.DoTest (1, 5, RepeatDirection.Vertical, RepeatLayout.Flow, true, false, true, true);
  2242. 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)";
  2243. HtmlDiff.AssertAreEqual (exp, v, "#115");
  2244. }
  2245. [Test]
  2246. public void RepeatInfo_2cols_4itms_vert_flow_otrtblimp_ftr_sep ()
  2247. {
  2248. // cols : 2
  2249. // cnt : 4
  2250. // RepeatDirection : Vertical
  2251. // RepeatLayout : Flow
  2252. // OuterTableImplied : True
  2253. // Header : False
  2254. // Footer : True
  2255. // Separator : True
  2256. string v = RepeatInfoUser.DoTest (2, 4, RepeatDirection.Vertical, RepeatLayout.Flow, true, false, true, true);
  2257. 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)";
  2258. HtmlDiff.AssertAreEqual (exp, v, "#116");
  2259. }
  2260. [Test]
  2261. public void RepeatInfo_2cols_7itms_vert_flow_otrtblimp_ftr_sep ()
  2262. {
  2263. // cols : 2
  2264. // cnt : 7
  2265. // RepeatDirection : Vertical
  2266. // RepeatLayout : Flow
  2267. // OuterTableImplied : True
  2268. // Header : False
  2269. // Footer : True
  2270. // Separator : True
  2271. string v = RepeatInfoUser.DoTest (2, 7, RepeatDirection.Vertical, RepeatLayout.Flow, true, false, true, true);
  2272. 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)";
  2273. HtmlDiff.AssertAreEqual (exp, v, "#117");
  2274. }
  2275. [Test]
  2276. public void RepeatInfo_3cols_9itms_vert_flow_otrtblimp_ftr_sep ()
  2277. {
  2278. // cols : 3
  2279. // cnt : 9
  2280. // RepeatDirection : Vertical
  2281. // RepeatLayout : Flow
  2282. // OuterTableImplied : True
  2283. // Header : False
  2284. // Footer : True
  2285. // Separator : True
  2286. string v = RepeatInfoUser.DoTest (3, 9, RepeatDirection.Vertical, RepeatLayout.Flow, true, false, true, true);
  2287. 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)";
  2288. HtmlDiff.AssertAreEqual (exp, v, "#118");
  2289. }
  2290. [Test]
  2291. public void RepeatInfo_3cols_7itms_vert_flow_otrtblimp_ftr_sep ()
  2292. {
  2293. // cols : 3
  2294. // cnt : 7
  2295. // RepeatDirection : Vertical
  2296. // RepeatLayout : Flow
  2297. // OuterTableImplied : True
  2298. // Header : False
  2299. // Footer : True
  2300. // Separator : True
  2301. string v = RepeatInfoUser.DoTest (3, 7, RepeatDirection.Vertical, RepeatLayout.Flow, true, false, true, true);
  2302. 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)";
  2303. HtmlDiff.AssertAreEqual (exp, v, "#119");
  2304. }
  2305. [Test]
  2306. public void RepeatInfo_0cols_0itms_horiz_tbl_ftr_sep ()
  2307. {
  2308. // cols : 0
  2309. // cnt : 0
  2310. // RepeatDirection : Horizontal
  2311. // RepeatLayout : Table
  2312. // OuterTableImplied : False
  2313. // Header : False
  2314. // Footer : True
  2315. // Separator : True
  2316. string v = RepeatInfoUser.DoTest (0, 0, RepeatDirection.Horizontal, RepeatLayout.Table, false, false, true, true);
  2317. string exp = @"<table class=""mainstyle"" border=""0"">
  2318. <tr>
  2319. <td colspan=""0"" class=""Footer-1"">(0,Footer,-1)</td>
  2320. </tr>
  2321. </table>";
  2322. HtmlDiff.AssertAreEqual (exp, v, "#120");
  2323. }
  2324. [Test]
  2325. public void RepeatInfo_0cols_1itms_horiz_tbl_ftr_sep ()
  2326. {
  2327. // cols : 0
  2328. // cnt : 1
  2329. // RepeatDirection : Horizontal
  2330. // RepeatLayout : Table
  2331. // OuterTableImplied : False
  2332. // Header : False
  2333. // Footer : True
  2334. // Separator : True
  2335. string v = RepeatInfoUser.DoTest (0, 1, RepeatDirection.Horizontal, RepeatLayout.Table, false, false, true, true);
  2336. string exp = @"<table class=""mainstyle"" border=""0"">
  2337. <tr>
  2338. <td class=""Item0"">(0,Item,0)</td><td></td>
  2339. </tr><tr>
  2340. <td colspan=""2"" class=""Footer-1"">(1,Footer,-1)</td>
  2341. </tr>
  2342. </table>";
  2343. HtmlDiff.AssertAreEqual (exp, v, "#121");
  2344. }
  2345. [Test]
  2346. public void RepeatInfo_0cols_2itms_horiz_tbl_ftr_sep ()
  2347. {
  2348. // cols : 0
  2349. // cnt : 2
  2350. // RepeatDirection : Horizontal
  2351. // RepeatLayout : Table
  2352. // OuterTableImplied : False
  2353. // Header : False
  2354. // Footer : True
  2355. // Separator : True
  2356. string v = RepeatInfoUser.DoTest (0, 2, RepeatDirection.Horizontal, RepeatLayout.Table, false, false, true, true);
  2357. string exp = @"<table class=""mainstyle"" border=""0"">
  2358. <tr>
  2359. <td class=""Item0"">(0,Item,0)</td><td class=""Separator0"">(1,Separator,0)</td><td class=""Item1"">(2,Item,1)</td><td></td>
  2360. </tr><tr>
  2361. <td colspan=""4"" class=""Footer-1"">(3,Footer,-1)</td>
  2362. </tr>
  2363. </table>";
  2364. HtmlDiff.AssertAreEqual (exp, v, "#122");
  2365. }
  2366. [Test]
  2367. public void RepeatInfo_0cols_5itms_horiz_tbl_ftr_sep ()
  2368. {
  2369. // cols : 0
  2370. // cnt : 5
  2371. // RepeatDirection : Horizontal
  2372. // RepeatLayout : Table
  2373. // OuterTableImplied : False
  2374. // Header : False
  2375. // Footer : True
  2376. // Separator : True
  2377. string v = RepeatInfoUser.DoTest (0, 5, RepeatDirection.Horizontal, RepeatLayout.Table, false, false, true, true);
  2378. string exp = @"<table class=""mainstyle"" border=""0"">
  2379. <tr>
  2380. <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>
  2381. </tr><tr>
  2382. <td colspan=""10"" class=""Footer-1"">(9,Footer,-1)</td>
  2383. </tr>
  2384. </table>";
  2385. HtmlDiff.AssertAreEqual (exp, v, "#123");
  2386. }
  2387. [Test]
  2388. public void RepeatInfo_1cols_0itms_horiz_tbl_ftr_sep ()
  2389. {
  2390. // cols : 1
  2391. // cnt : 0
  2392. // RepeatDirection : Horizontal
  2393. // RepeatLayout : Table
  2394. // OuterTableImplied : False
  2395. // Header : False
  2396. // Footer : True
  2397. // Separator : True
  2398. string v = RepeatInfoUser.DoTest (1, 0, RepeatDirection.Horizontal, RepeatLayout.Table, false, false, true, true);
  2399. string exp = @"<table class=""mainstyle"" border=""0"">
  2400. <tr>
  2401. <td colspan=""2"" class=""Footer-1"">(0,Footer,-1)</td>
  2402. </tr>
  2403. </table>";
  2404. HtmlDiff.AssertAreEqual (exp, v, "#124");
  2405. }
  2406. [Test]
  2407. public void RepeatInfo_1cols_5itms_horiz_tbl_ftr_sep ()
  2408. {
  2409. // cols : 1
  2410. // cnt : 5
  2411. // RepeatDirection : Horizontal
  2412. // RepeatLayout : Table
  2413. // OuterTableImplied : False
  2414. // Header : False
  2415. // Footer : True
  2416. // Separator : True
  2417. string v = RepeatInfoUser.DoTest (1, 5, RepeatDirection.Horizontal, RepeatLayout.Table, false, false, true, true);
  2418. string exp = @"<table class=""mainstyle"" border=""0"">
  2419. <tr>
  2420. <td class=""Item0"">(0,Item,0)</td><td class=""Separator0"">(1,Separator,0)</td>
  2421. </tr><tr>
  2422. <td class=""Item1"">(2,Item,1)</td><td class=""Separator1"">(3,Separator,1)</td>
  2423. </tr><tr>
  2424. <td class=""Item2"">(4,Item,2)</td><td class=""Separator2"">(5,Separator,2)</td>
  2425. </tr><tr>
  2426. <td class=""Item3"">(6,Item,3)</td><td class=""Separator3"">(7,Separator,3)</td>
  2427. </tr><tr>
  2428. <td class=""Item4"">(8,Item,4)</td><td></td>
  2429. </tr><tr>
  2430. <td colspan=""2"" class=""Footer-1"">(9,Footer,-1)</td>
  2431. </tr>
  2432. </table>";
  2433. HtmlDiff.AssertAreEqual (exp, v, "#125");
  2434. }
  2435. [Test]
  2436. public void RepeatInfo_2cols_4itms_horiz_tbl_ftr_sep ()
  2437. {
  2438. // cols : 2
  2439. // cnt : 4
  2440. // RepeatDirection : Horizontal
  2441. // RepeatLayout : Table
  2442. // OuterTableImplied : False
  2443. // Header : False
  2444. // Footer : True
  2445. // Separator : True
  2446. string v = RepeatInfoUser.DoTest (2, 4, RepeatDirection.Horizontal, RepeatLayout.Table, false, false, true, true);
  2447. string exp = @"<table class=""mainstyle"" border=""0"">
  2448. <tr>
  2449. <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>
  2450. </tr><tr>
  2451. <td class=""Item2"">(4,Item,2)</td><td class=""Separator2"">(5,Separator,2)</td><td class=""Item3"">(6,Item,3)</td><td></td>
  2452. </tr><tr>
  2453. <td colspan=""4"" class=""Footer-1"">(7,Footer,-1)</td>
  2454. </tr>
  2455. </table>";
  2456. HtmlDiff.AssertAreEqual (exp, v, "#126");
  2457. }
  2458. [Test]
  2459. public void RepeatInfo_2cols_7itms_horiz_tbl_ftr_sep ()
  2460. {
  2461. // cols : 2
  2462. // cnt : 7
  2463. // RepeatDirection : Horizontal
  2464. // RepeatLayout : Table
  2465. // OuterTableImplied : False
  2466. // Header : False
  2467. // Footer : True
  2468. // Separator : True
  2469. string v = RepeatInfoUser.DoTest (2, 7, RepeatDirection.Horizontal, RepeatLayout.Table, false, false, true, true);
  2470. string exp = @"<table class=""mainstyle"" border=""0"">
  2471. <tr>
  2472. <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>
  2473. </tr><tr>
  2474. <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>
  2475. </tr><tr>
  2476. <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>
  2477. </tr><tr>
  2478. <td class=""Item6"">(12,Item,6)</td><td></td><td></td><td></td>
  2479. </tr><tr>
  2480. <td colspan=""4"" class=""Footer-1"">(13,Footer,-1)</td>
  2481. </tr>
  2482. </table>";
  2483. HtmlDiff.AssertAreEqual (exp, v, "#127");
  2484. }
  2485. [Test]
  2486. public void RepeatInfo_3cols_9itms_horiz_tbl_ftr_sep ()
  2487. {
  2488. // cols : 3
  2489. // cnt : 9
  2490. // RepeatDirection : Horizontal
  2491. // RepeatLayout : Table
  2492. // OuterTableImplied : False
  2493. // Header : False
  2494. // Footer : True
  2495. // Separator : True
  2496. string v = RepeatInfoUser.DoTest (3, 9, RepeatDirection.Horizontal, RepeatLayout.Table, false, false, true, true);
  2497. string exp = @"<table border=""0"">
  2498. <tr>
  2499. <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>
  2500. </tr><tr>
  2501. <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>
  2502. </tr><tr>
  2503. <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>
  2504. </tr><tr>
  2505. <td colspan=""6"" class=""Footer-1"">(17,Footer,-1)</td>
  2506. </tr>
  2507. </table>";
  2508. HtmlDiff.AssertAreEqual (exp, v, "#128");
  2509. }
  2510. [Test]
  2511. public void RepeatInfo_3cols_7itms_horiz_tbl_ftr_sep ()
  2512. {
  2513. // cols : 3
  2514. // cnt : 7
  2515. // RepeatDirection : Horizontal
  2516. // RepeatLayout : Table
  2517. // OuterTableImplied : False
  2518. // Header : False
  2519. // Footer : True
  2520. // Separator : True
  2521. string v = RepeatInfoUser.DoTest (3, 7, RepeatDirection.Horizontal, RepeatLayout.Table, false, false, true, true);
  2522. string exp = @"<table border=""0"">
  2523. <tr>
  2524. <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>
  2525. </tr><tr>
  2526. <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>
  2527. </tr><tr>
  2528. <td class=""Item6"">(12,Item,6)</td><td></td><td></td><td></td><td></td><td></td>
  2529. </tr><tr>
  2530. <td colspan=""6"" class=""Footer-1"">(13,Footer,-1)</td>
  2531. </tr>
  2532. </table>";
  2533. HtmlDiff.AssertAreEqual (exp, v, "#129");
  2534. }
  2535. [Test]
  2536. public void RepeatInfo_0cols_0itms_vert_tbl_ftr_sep ()
  2537. {
  2538. // cols : 0
  2539. // cnt : 0
  2540. // RepeatDirection : Vertical
  2541. // RepeatLayout : Table
  2542. // OuterTableImplied : False
  2543. // Header : False
  2544. // Footer : True
  2545. // Separator : True
  2546. string v = RepeatInfoUser.DoTest (0, 0, RepeatDirection.Vertical, RepeatLayout.Table, false, false, true, true);
  2547. string exp = @"<table class=""mainstyle"" border=""0"">
  2548. <tr>
  2549. <td class=""Footer-1"">(0,Footer,-1)</td>
  2550. </tr>
  2551. </table>";
  2552. HtmlDiff.AssertAreEqual (exp, v, "#130");
  2553. }
  2554. [Test]
  2555. public void RepeatInfo_0cols_1itms_vert_tbl_ftr_sep ()
  2556. {
  2557. // cols : 0
  2558. // cnt : 1
  2559. // RepeatDirection : Vertical
  2560. // RepeatLayout : Table
  2561. // OuterTableImplied : False
  2562. // Header : False
  2563. // Footer : True
  2564. // Separator : True
  2565. string v = RepeatInfoUser.DoTest (0, 1, RepeatDirection.Vertical, RepeatLayout.Table, false, false, true, true);
  2566. string exp = @"<table class=""mainstyle"" border=""0"">
  2567. <tr>
  2568. <td class=""Item0"">(0,Item,0)</td>
  2569. </tr><tr>
  2570. <td class=""Footer-1"">(1,Footer,-1)</td>
  2571. </tr>
  2572. </table>";
  2573. HtmlDiff.AssertAreEqual (exp, v, "#131");
  2574. }
  2575. [Test]
  2576. public void RepeatInfo_0cols_2itms_vert_tbl_ftr_sep ()
  2577. {
  2578. // cols : 0
  2579. // cnt : 2
  2580. // RepeatDirection : Vertical
  2581. // RepeatLayout : Table
  2582. // OuterTableImplied : False
  2583. // Header : False
  2584. // Footer : True
  2585. // Separator : True
  2586. string v = RepeatInfoUser.DoTest (0, 2, RepeatDirection.Vertical, RepeatLayout.Table, false, false, true, true);
  2587. string exp = @"<table class=""mainstyle"" border=""0"">
  2588. <tr>
  2589. <td class=""Item0"">(0,Item,0)</td>
  2590. </tr><tr>
  2591. <td class=""Separator0"">(1,Separator,0)</td>
  2592. </tr><tr>
  2593. <td class=""Item1"">(2,Item,1)</td>
  2594. </tr><tr>
  2595. <td class=""Footer-1"">(3,Footer,-1)</td>
  2596. </tr>
  2597. </table>";
  2598. HtmlDiff.AssertAreEqual (exp, v, "#132");
  2599. }
  2600. [Test]
  2601. public void RepeatInfo_0cols_5itms_vert_tbl_ftr_sep ()
  2602. {
  2603. // cols : 0
  2604. // cnt : 5
  2605. // RepeatDirection : Vertical
  2606. // RepeatLayout : Table
  2607. // OuterTableImplied : False
  2608. // Header : False
  2609. // Footer : True
  2610. // Separator : True
  2611. string v = RepeatInfoUser.DoTest (0, 5, RepeatDirection.Vertical, RepeatLayout.Table, false, false, true, true);
  2612. string exp = @"<table class=""mainstyle"" border=""0"">
  2613. <tr>
  2614. <td class=""Item0"">(0,Item,0)</td>
  2615. </tr><tr>
  2616. <td class=""Separator0"">(1,Separator,0)</td>
  2617. </tr><tr>
  2618. <td class=""Item1"">(2,Item,1)</td>
  2619. </tr><tr>
  2620. <td class=""Separator1"">(3,Separator,1)</td>
  2621. </tr><tr>
  2622. <td class=""Item2"">(4,Item,2)</td>
  2623. </tr><tr>
  2624. <td class=""Separator2"">(5,Separator,2)</td>
  2625. </tr><tr>
  2626. <td class=""Item3"">(6,Item,3)</td>
  2627. </tr><tr>
  2628. <td class=""Separator3"">(7,Separator,3)</td>
  2629. </tr><tr>
  2630. <td class=""Item4"">(8,Item,4)</td>
  2631. </tr><tr>
  2632. <td class=""Footer-1"">(9,Footer,-1)</td>
  2633. </tr>
  2634. </table>";
  2635. HtmlDiff.AssertAreEqual (exp, v, "#133");
  2636. }
  2637. [Test]
  2638. public void RepeatInfo_1cols_0itms_vert_tbl_ftr_sep ()
  2639. {
  2640. // cols : 1
  2641. // cnt : 0
  2642. // RepeatDirection : Vertical
  2643. // RepeatLayout : Table
  2644. // OuterTableImplied : False
  2645. // Header : False
  2646. // Footer : True
  2647. // Separator : True
  2648. string v = RepeatInfoUser.DoTest (1, 0, RepeatDirection.Vertical, RepeatLayout.Table, false, false, true, true);
  2649. string exp = @"<table class=""mainstyle"" border=""0"">
  2650. <tr>
  2651. <td class=""Footer-1"">(0,Footer,-1)</td>
  2652. </tr>
  2653. </table>";
  2654. HtmlDiff.AssertAreEqual (exp, v, "#134");
  2655. }
  2656. [Test]
  2657. public void RepeatInfo_1cols_5itms_vert_tbl_ftr_sep ()
  2658. {
  2659. // cols : 1
  2660. // cnt : 5
  2661. // RepeatDirection : Vertical
  2662. // RepeatLayout : Table
  2663. // OuterTableImplied : False
  2664. // Header : False
  2665. // Footer : True
  2666. // Separator : True
  2667. string v = RepeatInfoUser.DoTest (1, 5, RepeatDirection.Vertical, RepeatLayout.Table, false, false, true, true);
  2668. string exp = @"<table class=""mainstyle"" border=""0"">
  2669. <tr>
  2670. <td class=""Item0"">(0,Item,0)</td>
  2671. </tr><tr>
  2672. <td class=""Separator0"">(1,Separator,0)</td>
  2673. </tr><tr>
  2674. <td class=""Item1"">(2,Item,1)</td>
  2675. </tr><tr>
  2676. <td class=""Separator1"">(3,Separator,1)</td>
  2677. </tr><tr>
  2678. <td class=""Item2"">(4,Item,2)</td>
  2679. </tr><tr>
  2680. <td class=""Separator2"">(5,Separator,2)</td>
  2681. </tr><tr>
  2682. <td class=""Item3"">(6,Item,3)</td>
  2683. </tr><tr>
  2684. <td class=""Separator3"">(7,Separator,3)</td>
  2685. </tr><tr>
  2686. <td class=""Item4"">(8,Item,4)</td>
  2687. </tr><tr>
  2688. <td class=""Footer-1"">(9,Footer,-1)</td>
  2689. </tr>
  2690. </table>";
  2691. HtmlDiff.AssertAreEqual (exp, v, "#135");
  2692. }
  2693. [Test]
  2694. public void RepeatInfo_2cols_4itms_vert_tbl_ftr_sep ()
  2695. {
  2696. // cols : 2
  2697. // cnt : 4
  2698. // RepeatDirection : Vertical
  2699. // RepeatLayout : Table
  2700. // OuterTableImplied : False
  2701. // Header : False
  2702. // Footer : True
  2703. // Separator : True
  2704. string v = RepeatInfoUser.DoTest (2, 4, RepeatDirection.Vertical, RepeatLayout.Table, false, false, true, true);
  2705. string exp = @"<table class=""mainstyle"" border=""0"">
  2706. <tr>
  2707. <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>
  2708. </tr><tr>
  2709. <td class=""Item1"">(4,Item,1)</td><td class=""Separator1"">(5,Separator,1)</td><td class=""Item3"">(6,Item,3)</td><td></td>
  2710. </tr><tr>
  2711. <td colspan=""4"" class=""Footer-1"">(7,Footer,-1)</td>
  2712. </tr>
  2713. </table>";
  2714. HtmlDiff.AssertAreEqual (exp, v, "#136");
  2715. }
  2716. [Test]
  2717. public void RepeatInfo_2cols_7itms_vert_tbl_ftr_sep ()
  2718. {
  2719. // cols : 2
  2720. // cnt : 7
  2721. // RepeatDirection : Vertical
  2722. // RepeatLayout : Table
  2723. // OuterTableImplied : False
  2724. // Header : False
  2725. // Footer : True
  2726. // Separator : True
  2727. string v = RepeatInfoUser.DoTest (2, 7, RepeatDirection.Vertical, RepeatLayout.Table, false, false, true, true);
  2728. string exp = @"<table class=""mainstyle"" border=""0"">
  2729. <tr>
  2730. <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>
  2731. </tr><tr>
  2732. <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>
  2733. </tr><tr>
  2734. <td class=""Item2"">(8,Item,2)</td><td class=""Separator2"">(9,Separator,2)</td><td class=""Item6"">(10,Item,6)</td><td></td>
  2735. </tr><tr>
  2736. <td class=""Item3"">(11,Item,3)</td><td class=""Separator3"">(12,Separator,3)</td><td></td><td></td>
  2737. </tr><tr>
  2738. <td colspan=""4"" class=""Footer-1"">(13,Footer,-1)</td>
  2739. </tr>
  2740. </table>";
  2741. HtmlDiff.AssertAreEqual (exp, v, "#137");
  2742. }
  2743. [Test]
  2744. public void RepeatInfo_3cols_9itms_vert_tbl_ftr_sep ()
  2745. {
  2746. // cols : 3
  2747. // cnt : 9
  2748. // RepeatDirection : Vertical
  2749. // RepeatLayout : Table
  2750. // OuterTableImplied : False
  2751. // Header : False
  2752. // Footer : True
  2753. // Separator : True
  2754. string v = RepeatInfoUser.DoTest (3, 9, RepeatDirection.Vertical, RepeatLayout.Table, false, false, true, true);
  2755. string exp = @"<table border=""0"">
  2756. <tr>
  2757. <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>
  2758. </tr><tr>
  2759. <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>
  2760. </tr><tr>
  2761. <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>
  2762. </tr><tr>
  2763. <td colspan=""6"" class=""Footer-1"">(17,Footer,-1)</td>
  2764. </tr>
  2765. </table>";
  2766. HtmlDiff.AssertAreEqual (exp, v, "#138");
  2767. }
  2768. [Test]
  2769. public void RepeatInfo_3cols_7itms_vert_tbl_ftr_sep ()
  2770. {
  2771. // cols : 3
  2772. // cnt : 7
  2773. // RepeatDirection : Vertical
  2774. // RepeatLayout : Table
  2775. // OuterTableImplied : False
  2776. // Header : False
  2777. // Footer : True
  2778. // Separator : True
  2779. string v = RepeatInfoUser.DoTest (3, 7, RepeatDirection.Vertical, RepeatLayout.Table, false, false, true, true);
  2780. string exp = @"<table border=""0"">
  2781. <tr>
  2782. <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>
  2783. </tr><tr>
  2784. <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>
  2785. </tr><tr>
  2786. <td class=""Item2"">(11,Item,2)</td><td class=""Separator2"">(12,Separator,2)</td><td></td><td></td><td></td><td></td>
  2787. </tr><tr>
  2788. <td colspan=""6"" class=""Footer-1"">(13,Footer,-1)</td>
  2789. </tr>
  2790. </table>";
  2791. HtmlDiff.AssertAreEqual (exp, v, "#139");
  2792. }
  2793. [Test]
  2794. public void RepeatInfo_0cols_0itms_horiz_flow_ftr_sep ()
  2795. {
  2796. // cols : 0
  2797. // cnt : 0
  2798. // RepeatDirection : Horizontal
  2799. // RepeatLayout : Flow
  2800. // OuterTableImplied : False
  2801. // Header : False
  2802. // Footer : True
  2803. // Separator : True
  2804. string v = RepeatInfoUser.DoTest (0, 0, RepeatDirection.Horizontal, RepeatLayout.Flow, false, false, true, true);
  2805. string exp = @"<span class=""mainstyle"">(0,Footer,-1)</span>";
  2806. HtmlDiff.AssertAreEqual (exp, v, "#140");
  2807. }
  2808. [Test]
  2809. public void RepeatInfo_0cols_1itms_horiz_flow_ftr_sep ()
  2810. {
  2811. // cols : 0
  2812. // cnt : 1
  2813. // RepeatDirection : Horizontal
  2814. // RepeatLayout : Flow
  2815. // OuterTableImplied : False
  2816. // Header : False
  2817. // Footer : True
  2818. // Separator : True
  2819. string v = RepeatInfoUser.DoTest (0, 1, RepeatDirection.Horizontal, RepeatLayout.Flow, false, false, true, true);
  2820. string exp = @"<span class=""mainstyle"">(0,Item,0)(1,Footer,-1)</span>";
  2821. HtmlDiff.AssertAreEqual (exp, v, "#141");
  2822. }
  2823. [Test]
  2824. public void RepeatInfo_0cols_2itms_horiz_flow_ftr_sep ()
  2825. {
  2826. // cols : 0
  2827. // cnt : 2
  2828. // RepeatDirection : Horizontal
  2829. // RepeatLayout : Flow
  2830. // OuterTableImplied : False
  2831. // Header : False
  2832. // Footer : True
  2833. // Separator : True
  2834. string v = RepeatInfoUser.DoTest (0, 2, RepeatDirection.Horizontal, RepeatLayout.Flow, false, false, true, true);
  2835. string exp = @"<span class=""mainstyle"">(0,Item,0)(1,Separator,0)(2,Item,1)(3,Footer,-1)</span>";
  2836. HtmlDiff.AssertAreEqual (exp, v, "#142");
  2837. }
  2838. [Test]
  2839. public void RepeatInfo_0cols_5itms_horiz_flow_ftr_sep ()
  2840. {
  2841. // cols : 0
  2842. // cnt : 5
  2843. // RepeatDirection : Horizontal
  2844. // RepeatLayout : Flow
  2845. // OuterTableImplied : False
  2846. // Header : False
  2847. // Footer : True
  2848. // Separator : True
  2849. string v = RepeatInfoUser.DoTest (0, 5, RepeatDirection.Horizontal, RepeatLayout.Flow, false, false, true, true);
  2850. 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>";
  2851. HtmlDiff.AssertAreEqual (exp, v, "#143");
  2852. }
  2853. [Test]
  2854. public void RepeatInfo_1cols_0itms_horiz_flow_ftr_sep ()
  2855. {
  2856. // cols : 1
  2857. // cnt : 0
  2858. // RepeatDirection : Horizontal
  2859. // RepeatLayout : Flow
  2860. // OuterTableImplied : False
  2861. // Header : False
  2862. // Footer : True
  2863. // Separator : True
  2864. string v = RepeatInfoUser.DoTest (1, 0, RepeatDirection.Horizontal, RepeatLayout.Flow, false, false, true, true);
  2865. string exp = @"<span class=""mainstyle"">(0,Footer,-1)</span>";
  2866. HtmlDiff.AssertAreEqual (exp, v, "#144");
  2867. }
  2868. [Test]
  2869. public void RepeatInfo_1cols_5itms_horiz_flow_ftr_sep ()
  2870. {
  2871. // cols : 1
  2872. // cnt : 5
  2873. // RepeatDirection : Horizontal
  2874. // RepeatLayout : Flow
  2875. // OuterTableImplied : False
  2876. // Header : False
  2877. // Footer : True
  2878. // Separator : True
  2879. string v = RepeatInfoUser.DoTest (1, 5, RepeatDirection.Horizontal, RepeatLayout.Flow, false, false, true, true);
  2880. 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>";
  2881. HtmlDiff.AssertAreEqual (exp, v, "#145");
  2882. }
  2883. [Test]
  2884. public void RepeatInfo_2cols_4itms_horiz_flow_ftr_sep ()
  2885. {
  2886. // cols : 2
  2887. // cnt : 4
  2888. // RepeatDirection : Horizontal
  2889. // RepeatLayout : Flow
  2890. // OuterTableImplied : False
  2891. // Header : False
  2892. // Footer : True
  2893. // Separator : True
  2894. string v = RepeatInfoUser.DoTest (2, 4, RepeatDirection.Horizontal, RepeatLayout.Flow, false, false, true, true);
  2895. 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>";
  2896. HtmlDiff.AssertAreEqual (exp, v, "#146");
  2897. }
  2898. [Test]
  2899. public void RepeatInfo_2cols_7itms_horiz_flow_ftr_sep ()
  2900. {
  2901. // cols : 2
  2902. // cnt : 7
  2903. // RepeatDirection : Horizontal
  2904. // RepeatLayout : Flow
  2905. // OuterTableImplied : False
  2906. // Header : False
  2907. // Footer : True
  2908. // Separator : True
  2909. string v = RepeatInfoUser.DoTest (2, 7, RepeatDirection.Horizontal, RepeatLayout.Flow, false, false, true, true);
  2910. 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>";
  2911. HtmlDiff.AssertAreEqual (exp, v, "#147");
  2912. }
  2913. [Test]
  2914. public void RepeatInfo_3cols_9itms_horiz_flow_ftr_sep ()
  2915. {
  2916. // cols : 3
  2917. // cnt : 9
  2918. // RepeatDirection : Horizontal
  2919. // RepeatLayout : Flow
  2920. // OuterTableImplied : False
  2921. // Header : False
  2922. // Footer : True
  2923. // Separator : True
  2924. string v = RepeatInfoUser.DoTest (3, 9, RepeatDirection.Horizontal, RepeatLayout.Flow, false, false, true, true);
  2925. 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>";
  2926. HtmlDiff.AssertAreEqual (exp, v, "#148");
  2927. }
  2928. [Test]
  2929. public void RepeatInfo_3cols_7itms_horiz_flow_ftr_sep ()
  2930. {
  2931. // cols : 3
  2932. // cnt : 7
  2933. // RepeatDirection : Horizontal
  2934. // RepeatLayout : Flow
  2935. // OuterTableImplied : False
  2936. // Header : False
  2937. // Footer : True
  2938. // Separator : True
  2939. string v = RepeatInfoUser.DoTest (3, 7, RepeatDirection.Horizontal, RepeatLayout.Flow, false, false, true, true);
  2940. 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>";
  2941. HtmlDiff.AssertAreEqual (exp, v, "#149");
  2942. }
  2943. [Test]
  2944. public void RepeatInfo_0cols_0itms_vert_flow_ftr_sep ()
  2945. {
  2946. // cols : 0
  2947. // cnt : 0
  2948. // RepeatDirection : Vertical
  2949. // RepeatLayout : Flow
  2950. // OuterTableImplied : False
  2951. // Header : False
  2952. // Footer : True
  2953. // Separator : True
  2954. string v = RepeatInfoUser.DoTest (0, 0, RepeatDirection.Vertical, RepeatLayout.Flow, false, false, true, true);
  2955. string exp = @"<span class=""mainstyle"">(0,Footer,-1)</span>";
  2956. HtmlDiff.AssertAreEqual (exp, v, "#150");
  2957. }
  2958. [Test]
  2959. public void RepeatInfo_0cols_1itms_vert_flow_ftr_sep ()
  2960. {
  2961. // cols : 0
  2962. // cnt : 1
  2963. // RepeatDirection : Vertical
  2964. // RepeatLayout : Flow
  2965. // OuterTableImplied : False
  2966. // Header : False
  2967. // Footer : True
  2968. // Separator : True
  2969. string v = RepeatInfoUser.DoTest (0, 1, RepeatDirection.Vertical, RepeatLayout.Flow, false, false, true, true);
  2970. string exp = @"<span class=""mainstyle"">(0,Item,0)<br />(1,Footer,-1)</span>";
  2971. HtmlDiff.AssertAreEqual (exp, v, "#151");
  2972. }
  2973. [Test]
  2974. public void RepeatInfo_0cols_2itms_vert_flow_ftr_sep ()
  2975. {
  2976. // cols : 0
  2977. // cnt : 2
  2978. // RepeatDirection : Vertical
  2979. // RepeatLayout : Flow
  2980. // OuterTableImplied : False
  2981. // Header : False
  2982. // Footer : True
  2983. // Separator : True
  2984. string v = RepeatInfoUser.DoTest (0, 2, RepeatDirection.Vertical, RepeatLayout.Flow, false, false, true, true);
  2985. string exp = @"<span class=""mainstyle"">(0,Item,0)<br />(1,Separator,0)<br />(2,Item,1)<br />(3,Footer,-1)</span>";
  2986. HtmlDiff.AssertAreEqual (exp, v, "#152");
  2987. }
  2988. [Test]
  2989. public void RepeatInfo_0cols_5itms_vert_flow_ftr_sep ()
  2990. {
  2991. // cols : 0
  2992. // cnt : 5
  2993. // RepeatDirection : Vertical
  2994. // RepeatLayout : Flow
  2995. // OuterTableImplied : False
  2996. // Header : False
  2997. // Footer : True
  2998. // Separator : True
  2999. string v = RepeatInfoUser.DoTest (0, 5, RepeatDirection.Vertical, RepeatLayout.Flow, false, false, true, true);
  3000. 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>";
  3001. HtmlDiff.AssertAreEqual (exp, v, "#153");
  3002. }
  3003. [Test]
  3004. public void RepeatInfo_1cols_0itms_vert_flow_ftr_sep ()
  3005. {
  3006. // cols : 1
  3007. // cnt : 0
  3008. // RepeatDirection : Vertical
  3009. // RepeatLayout : Flow
  3010. // OuterTableImplied : False
  3011. // Header : False
  3012. // Footer : True
  3013. // Separator : True
  3014. string v = RepeatInfoUser.DoTest (1, 0, RepeatDirection.Vertical, RepeatLayout.Flow, false, false, true, true);
  3015. string exp = @"<span class=""mainstyle"">(0,Footer,-1)</span>";
  3016. HtmlDiff.AssertAreEqual (exp, v, "#154");
  3017. }
  3018. [Test]
  3019. public void RepeatInfo_1cols_5itms_vert_flow_ftr_sep ()
  3020. {
  3021. // cols : 1
  3022. // cnt : 5
  3023. // RepeatDirection : Vertical
  3024. // RepeatLayout : Flow
  3025. // OuterTableImplied : False
  3026. // Header : False
  3027. // Footer : True
  3028. // Separator : True
  3029. string v = RepeatInfoUser.DoTest (1, 5, RepeatDirection.Vertical, RepeatLayout.Flow, false, false, true, true);
  3030. 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>";
  3031. HtmlDiff.AssertAreEqual (exp, v, "#155");
  3032. }
  3033. [Test]
  3034. public void RepeatInfo_2cols_4itms_vert_flow_ftr_sep ()
  3035. {
  3036. // cols : 2
  3037. // cnt : 4
  3038. // RepeatDirection : Vertical
  3039. // RepeatLayout : Flow
  3040. // OuterTableImplied : False
  3041. // Header : False
  3042. // Footer : True
  3043. // Separator : True
  3044. string v = RepeatInfoUser.DoTest (2, 4, RepeatDirection.Vertical, RepeatLayout.Flow, false, false, true, true);
  3045. 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>";
  3046. HtmlDiff.AssertAreEqual (exp, v, "#156");
  3047. }
  3048. [Test]
  3049. public void RepeatInfo_2cols_7itms_vert_flow_ftr_sep ()
  3050. {
  3051. // cols : 2
  3052. // cnt : 7
  3053. // RepeatDirection : Vertical
  3054. // RepeatLayout : Flow
  3055. // OuterTableImplied : False
  3056. // Header : False
  3057. // Footer : True
  3058. // Separator : True
  3059. string v = RepeatInfoUser.DoTest (2, 7, RepeatDirection.Vertical, RepeatLayout.Flow, false, false, true, true);
  3060. 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>";
  3061. HtmlDiff.AssertAreEqual (exp, v, "#157");
  3062. }
  3063. [Test]
  3064. public void RepeatInfo_3cols_9itms_vert_flow_ftr_sep ()
  3065. {
  3066. // cols : 3
  3067. // cnt : 9
  3068. // RepeatDirection : Vertical
  3069. // RepeatLayout : Flow
  3070. // OuterTableImplied : False
  3071. // Header : False
  3072. // Footer : True
  3073. // Separator : True
  3074. string v = RepeatInfoUser.DoTest (3, 9, RepeatDirection.Vertical, RepeatLayout.Flow, false, false, true, true);
  3075. 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>";
  3076. HtmlDiff.AssertAreEqual (exp, v, "#158");
  3077. }
  3078. [Test]
  3079. public void RepeatInfo_3cols_7itms_vert_flow_ftr_sep ()
  3080. {
  3081. // cols : 3
  3082. // cnt : 7
  3083. // RepeatDirection : Vertical
  3084. // RepeatLayout : Flow
  3085. // OuterTableImplied : False
  3086. // Header : False
  3087. // Footer : True
  3088. // Separator : True
  3089. string v = RepeatInfoUser.DoTest (3, 7, RepeatDirection.Vertical, RepeatLayout.Flow, false, false, true, true);
  3090. 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>";
  3091. HtmlDiff.AssertAreEqual (exp, v, "#159");
  3092. }
  3093. [Test]
  3094. public void RepeatInfo_0cols_0itms_horiz_tbl_otrtblimp_hdr_sep ()
  3095. {
  3096. // cols : 0
  3097. // cnt : 0
  3098. // RepeatDirection : Horizontal
  3099. // RepeatLayout : Table
  3100. // OuterTableImplied : True
  3101. // Header : True
  3102. // Footer : False
  3103. // Separator : True
  3104. string v = RepeatInfoUser.DoTest (0, 0, RepeatDirection.Horizontal, RepeatLayout.Table, true, true, false, true);
  3105. string exp = @"<table class=""mainstyle"" border=""0"">
  3106. <tr>
  3107. <td colspan=""0"" class=""Header-1"">(0,Header,-1)</td>
  3108. </tr>
  3109. </table>";
  3110. HtmlDiff.AssertAreEqual (exp, v, "#160");
  3111. }
  3112. [Test]
  3113. public void RepeatInfo_0cols_1itms_horiz_tbl_otrtblimp_hdr_sep ()
  3114. {
  3115. // cols : 0
  3116. // cnt : 1
  3117. // RepeatDirection : Horizontal
  3118. // RepeatLayout : Table
  3119. // OuterTableImplied : True
  3120. // Header : True
  3121. // Footer : False
  3122. // Separator : True
  3123. string v = RepeatInfoUser.DoTest (0, 1, RepeatDirection.Horizontal, RepeatLayout.Table, true, true, false, true);
  3124. string exp = @"<table class=""mainstyle"" border=""0"">
  3125. <tr>
  3126. <td colspan=""2"" class=""Header-1"">(0,Header,-1)</td>
  3127. </tr><tr>
  3128. <td class=""Item0"">(1,Item,0)</td><td></td>
  3129. </tr>
  3130. </table>";
  3131. HtmlDiff.AssertAreEqual (exp, v, "#161");
  3132. }
  3133. [Test]
  3134. public void RepeatInfo_0cols_2itms_horiz_tbl_otrtblimp_hdr_sep ()
  3135. {
  3136. // cols : 0
  3137. // cnt : 2
  3138. // RepeatDirection : Horizontal
  3139. // RepeatLayout : Table
  3140. // OuterTableImplied : True
  3141. // Header : True
  3142. // Footer : False
  3143. // Separator : True
  3144. string v = RepeatInfoUser.DoTest (0, 2, RepeatDirection.Horizontal, RepeatLayout.Table, true, true, false, true);
  3145. string exp = @"<table class=""mainstyle"" border=""0"">
  3146. <tr>
  3147. <td colspan=""4"" class=""Header-1"">(0,Header,-1)</td>
  3148. </tr><tr>
  3149. <td class=""Item0"">(1,Item,0)</td><td class=""Separator0"">(2,Separator,0)</td><td class=""Item1"">(3,Item,1)</td><td></td>
  3150. </tr>
  3151. </table>";
  3152. HtmlDiff.AssertAreEqual (exp, v, "#162");
  3153. }
  3154. [Test]
  3155. public void RepeatInfo_0cols_5itms_horiz_tbl_otrtblimp_hdr_sep ()
  3156. {
  3157. // cols : 0
  3158. // cnt : 5
  3159. // RepeatDirection : Horizontal
  3160. // RepeatLayout : Table
  3161. // OuterTableImplied : True
  3162. // Header : True
  3163. // Footer : False
  3164. // Separator : True
  3165. string v = RepeatInfoUser.DoTest (0, 5, RepeatDirection.Horizontal, RepeatLayout.Table, true, true, false, true);
  3166. string exp = @"<table class=""mainstyle"" border=""0"">
  3167. <tr>
  3168. <td colspan=""10"" class=""Header-1"">(0,Header,-1)</td>
  3169. </tr><tr>
  3170. <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>
  3171. </tr>
  3172. </table>";
  3173. HtmlDiff.AssertAreEqual (exp, v, "#163");
  3174. }
  3175. [Test]
  3176. public void RepeatInfo_1cols_0itms_horiz_tbl_otrtblimp_hdr_sep ()
  3177. {
  3178. // cols : 1
  3179. // cnt : 0
  3180. // RepeatDirection : Horizontal
  3181. // RepeatLayout : Table
  3182. // OuterTableImplied : True
  3183. // Header : True
  3184. // Footer : False
  3185. // Separator : True
  3186. string v = RepeatInfoUser.DoTest (1, 0, RepeatDirection.Horizontal, RepeatLayout.Table, true, true, false, true);
  3187. string exp = @"<table class=""mainstyle"" border=""0"">
  3188. <tr>
  3189. <td colspan=""2"" class=""Header-1"">(0,Header,-1)</td>
  3190. </tr>
  3191. </table>";
  3192. HtmlDiff.AssertAreEqual (exp, v, "#164");
  3193. }
  3194. [Test]
  3195. public void RepeatInfo_1cols_5itms_horiz_tbl_otrtblimp_hdr_sep ()
  3196. {
  3197. // cols : 1
  3198. // cnt : 5
  3199. // RepeatDirection : Horizontal
  3200. // RepeatLayout : Table
  3201. // OuterTableImplied : True
  3202. // Header : True
  3203. // Footer : False
  3204. // Separator : True
  3205. string v = RepeatInfoUser.DoTest (1, 5, RepeatDirection.Horizontal, RepeatLayout.Table, true, true, false, true);
  3206. string exp = @"<table class=""mainstyle"" border=""0"">
  3207. <tr>
  3208. <td colspan=""2"" class=""Header-1"">(0,Header,-1)</td>
  3209. </tr><tr>
  3210. <td class=""Item0"">(1,Item,0)</td><td class=""Separator0"">(2,Separator,0)</td>
  3211. </tr><tr>
  3212. <td class=""Item1"">(3,Item,1)</td><td class=""Separator1"">(4,Separator,1)</td>
  3213. </tr><tr>
  3214. <td class=""Item2"">(5,Item,2)</td><td class=""Separator2"">(6,Separator,2)</td>
  3215. </tr><tr>
  3216. <td class=""Item3"">(7,Item,3)</td><td class=""Separator3"">(8,Separator,3)</td>
  3217. </tr><tr>
  3218. <td class=""Item4"">(9,Item,4)</td><td></td>
  3219. </tr>
  3220. </table>";
  3221. HtmlDiff.AssertAreEqual (exp, v, "#165");
  3222. }
  3223. [Test]
  3224. public void RepeatInfo_2cols_4itms_horiz_tbl_otrtblimp_hdr_sep ()
  3225. {
  3226. // cols : 2
  3227. // cnt : 4
  3228. // RepeatDirection : Horizontal
  3229. // RepeatLayout : Table
  3230. // OuterTableImplied : True
  3231. // Header : True
  3232. // Footer : False
  3233. // Separator : True
  3234. string v = RepeatInfoUser.DoTest (2, 4, RepeatDirection.Horizontal, RepeatLayout.Table, true, true, false, true);
  3235. string exp = @"<table class=""mainstyle"" border=""0"">
  3236. <tr>
  3237. <td colspan=""4"" class=""Header-1"">(0,Header,-1)</td>
  3238. </tr><tr>
  3239. <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>
  3240. </tr><tr>
  3241. <td class=""Item2"">(5,Item,2)</td><td class=""Separator2"">(6,Separator,2)</td><td class=""Item3"">(7,Item,3)</td><td></td>
  3242. </tr>
  3243. </table>";
  3244. HtmlDiff.AssertAreEqual (exp, v, "#166");
  3245. }
  3246. [Test]
  3247. public void RepeatInfo_2cols_7itms_horiz_tbl_otrtblimp_hdr_sep ()
  3248. {
  3249. // cols : 2
  3250. // cnt : 7
  3251. // RepeatDirection : Horizontal
  3252. // RepeatLayout : Table
  3253. // OuterTableImplied : True
  3254. // Header : True
  3255. // Footer : False
  3256. // Separator : True
  3257. string v = RepeatInfoUser.DoTest (2, 7, RepeatDirection.Horizontal, RepeatLayout.Table, true, true, false, true);
  3258. string exp = @"<table class=""mainstyle"" border=""0"">
  3259. <tr>
  3260. <td colspan=""4"" class=""Header-1"">(0,Header,-1)</td>
  3261. </tr><tr>
  3262. <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>
  3263. </tr><tr>
  3264. <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>
  3265. </tr><tr>
  3266. <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>
  3267. </tr><tr>
  3268. <td class=""Item6"">(13,Item,6)</td><td></td><td></td><td></td>
  3269. </tr>
  3270. </table>";
  3271. HtmlDiff.AssertAreEqual (exp, v, "#167");
  3272. }
  3273. [Test]
  3274. public void RepeatInfo_3cols_9itms_horiz_tbl_otrtblimp_hdr_sep ()
  3275. {
  3276. // cols : 3
  3277. // cnt : 9
  3278. // RepeatDirection : Horizontal
  3279. // RepeatLayout : Table
  3280. // OuterTableImplied : True
  3281. // Header : True
  3282. // Footer : False
  3283. // Separator : True
  3284. string v = RepeatInfoUser.DoTest (3, 9, RepeatDirection.Horizontal, RepeatLayout.Table, true, true, false, true);
  3285. string exp = @"<table border=""0"">
  3286. <tr>
  3287. <td colspan=""6"" class=""Header-1"">(0,Header,-1)</td>
  3288. </tr><tr>
  3289. <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>
  3290. </tr><tr>
  3291. <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>
  3292. </tr><tr>
  3293. <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>
  3294. </tr>
  3295. </table>";
  3296. HtmlDiff.AssertAreEqual (exp, v, "#168");
  3297. }
  3298. [Test]
  3299. public void RepeatInfo_3cols_7itms_horiz_tbl_otrtblimp_hdr_sep ()
  3300. {
  3301. // cols : 3
  3302. // cnt : 7
  3303. // RepeatDirection : Horizontal
  3304. // RepeatLayout : Table
  3305. // OuterTableImplied : True
  3306. // Header : True
  3307. // Footer : False
  3308. // Separator : True
  3309. string v = RepeatInfoUser.DoTest (3, 7, RepeatDirection.Horizontal, RepeatLayout.Table, true, true, false, true);
  3310. string exp = @"<table border=""0"">
  3311. <tr>
  3312. <td colspan=""6"" class=""Header-1"">(0,Header,-1)</td>
  3313. </tr><tr>
  3314. <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>
  3315. </tr><tr>
  3316. <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>
  3317. </tr><tr>
  3318. <td class=""Item6"">(13,Item,6)</td><td></td><td></td><td></td><td></td><td></td>
  3319. </tr>
  3320. </table>";
  3321. HtmlDiff.AssertAreEqual (exp, v, "#169");
  3322. }
  3323. [Test]
  3324. public void RepeatInfo_0cols_0itms_vert_tbl_otrtblimp_hdr_sep ()
  3325. {
  3326. // cols : 0
  3327. // cnt : 0
  3328. // RepeatDirection : Vertical
  3329. // RepeatLayout : Table
  3330. // OuterTableImplied : True
  3331. // Header : True
  3332. // Footer : False
  3333. // Separator : True
  3334. string v = RepeatInfoUser.DoTest (0, 0, RepeatDirection.Vertical, RepeatLayout.Table, true, true, false, true);
  3335. string exp = @"(0,Header,-1)";
  3336. HtmlDiff.AssertAreEqual (exp, v, "#170");
  3337. }
  3338. [Test]
  3339. public void RepeatInfo_0cols_1itms_vert_tbl_otrtblimp_hdr_sep ()
  3340. {
  3341. // cols : 0
  3342. // cnt : 1
  3343. // RepeatDirection : Vertical
  3344. // RepeatLayout : Table
  3345. // OuterTableImplied : True
  3346. // Header : True
  3347. // Footer : False
  3348. // Separator : True
  3349. string v = RepeatInfoUser.DoTest (0, 1, RepeatDirection.Vertical, RepeatLayout.Table, true, true, false, true);
  3350. string exp = @"(0,Header,-1)(1,Item,0)";
  3351. HtmlDiff.AssertAreEqual (exp, v, "#171");
  3352. }
  3353. [Test]
  3354. public void RepeatInfo_0cols_2itms_vert_tbl_otrtblimp_hdr_sep ()
  3355. {
  3356. // cols : 0
  3357. // cnt : 2
  3358. // RepeatDirection : Vertical
  3359. // RepeatLayout : Table
  3360. // OuterTableImplied : True
  3361. // Header : True
  3362. // Footer : False
  3363. // Separator : True
  3364. string v = RepeatInfoUser.DoTest (0, 2, RepeatDirection.Vertical, RepeatLayout.Table, true, true, false, true);
  3365. string exp = @"(0,Header,-1)(1,Item,0)(2,Separator,0)(3,Item,1)";
  3366. HtmlDiff.AssertAreEqual (exp, v, "#172");
  3367. }
  3368. [Test]
  3369. public void RepeatInfo_0cols_5itms_vert_tbl_otrtblimp_hdr_sep ()
  3370. {
  3371. // cols : 0
  3372. // cnt : 5
  3373. // RepeatDirection : Vertical
  3374. // RepeatLayout : Table
  3375. // OuterTableImplied : True
  3376. // Header : True
  3377. // Footer : False
  3378. // Separator : True
  3379. string v = RepeatInfoUser.DoTest (0, 5, RepeatDirection.Vertical, RepeatLayout.Table, true, true, false, true);
  3380. 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)";
  3381. HtmlDiff.AssertAreEqual (exp, v, "#173");
  3382. }
  3383. [Test]
  3384. public void RepeatInfo_1cols_0itms_vert_tbl_otrtblimp_hdr_sep ()
  3385. {
  3386. // cols : 1
  3387. // cnt : 0
  3388. // RepeatDirection : Vertical
  3389. // RepeatLayout : Table
  3390. // OuterTableImplied : True
  3391. // Header : True
  3392. // Footer : False
  3393. // Separator : True
  3394. string v = RepeatInfoUser.DoTest (1, 0, RepeatDirection.Vertical, RepeatLayout.Table, true, true, false, true);
  3395. string exp = @"(0,Header,-1)";
  3396. HtmlDiff.AssertAreEqual (exp, v, "#174");
  3397. }
  3398. [Test]
  3399. public void RepeatInfo_1cols_5itms_vert_tbl_otrtblimp_hdr_sep ()
  3400. {
  3401. // cols : 1
  3402. // cnt : 5
  3403. // RepeatDirection : Vertical
  3404. // RepeatLayout : Table
  3405. // OuterTableImplied : True
  3406. // Header : True
  3407. // Footer : False
  3408. // Separator : True
  3409. string v = RepeatInfoUser.DoTest (1, 5, RepeatDirection.Vertical, RepeatLayout.Table, true, true, false, true);
  3410. 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)";
  3411. HtmlDiff.AssertAreEqual (exp, v, "#175");
  3412. }
  3413. [Test]
  3414. public void RepeatInfo_2cols_4itms_vert_tbl_otrtblimp_hdr_sep ()
  3415. {
  3416. // cols : 2
  3417. // cnt : 4
  3418. // RepeatDirection : Vertical
  3419. // RepeatLayout : Table
  3420. // OuterTableImplied : True
  3421. // Header : True
  3422. // Footer : False
  3423. // Separator : True
  3424. string v = RepeatInfoUser.DoTest (2, 4, RepeatDirection.Vertical, RepeatLayout.Table, true, true, false, true);
  3425. 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)";
  3426. HtmlDiff.AssertAreEqual (exp, v, "#176");
  3427. }
  3428. [Test]
  3429. public void RepeatInfo_2cols_7itms_vert_tbl_otrtblimp_hdr_sep ()
  3430. {
  3431. // cols : 2
  3432. // cnt : 7
  3433. // RepeatDirection : Vertical
  3434. // RepeatLayout : Table
  3435. // OuterTableImplied : True
  3436. // Header : True
  3437. // Footer : False
  3438. // Separator : True
  3439. string v = RepeatInfoUser.DoTest (2, 7, RepeatDirection.Vertical, RepeatLayout.Table, true, true, false, true);
  3440. 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)";
  3441. HtmlDiff.AssertAreEqual (exp, v, "#177");
  3442. }
  3443. [Test]
  3444. public void RepeatInfo_3cols_9itms_vert_tbl_otrtblimp_hdr_sep ()
  3445. {
  3446. // cols : 3
  3447. // cnt : 9
  3448. // RepeatDirection : Vertical
  3449. // RepeatLayout : Table
  3450. // OuterTableImplied : True
  3451. // Header : True
  3452. // Footer : False
  3453. // Separator : True
  3454. string v = RepeatInfoUser.DoTest (3, 9, RepeatDirection.Vertical, RepeatLayout.Table, true, true, false, true);
  3455. 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)";
  3456. HtmlDiff.AssertAreEqual (exp, v, "#178");
  3457. }
  3458. [Test]
  3459. public void RepeatInfo_3cols_7itms_vert_tbl_otrtblimp_hdr_sep ()
  3460. {
  3461. // cols : 3
  3462. // cnt : 7
  3463. // RepeatDirection : Vertical
  3464. // RepeatLayout : Table
  3465. // OuterTableImplied : True
  3466. // Header : True
  3467. // Footer : False
  3468. // Separator : True
  3469. string v = RepeatInfoUser.DoTest (3, 7, RepeatDirection.Vertical, RepeatLayout.Table, true, true, false, true);
  3470. 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)";
  3471. HtmlDiff.AssertAreEqual (exp, v, "#179");
  3472. }
  3473. [Test]
  3474. public void RepeatInfo_0cols_0itms_horiz_flow_otrtblimp_hdr_sep ()
  3475. {
  3476. // cols : 0
  3477. // cnt : 0
  3478. // RepeatDirection : Horizontal
  3479. // RepeatLayout : Flow
  3480. // OuterTableImplied : True
  3481. // Header : True
  3482. // Footer : False
  3483. // Separator : True
  3484. string v = RepeatInfoUser.DoTest (0, 0, RepeatDirection.Horizontal, RepeatLayout.Flow, true, true, false, true);
  3485. string exp = @"<span class=""mainstyle"">(0,Header,-1)</span>";
  3486. HtmlDiff.AssertAreEqual (exp, v, "#180");
  3487. }
  3488. [Test]
  3489. public void RepeatInfo_0cols_1itms_horiz_flow_otrtblimp_hdr_sep ()
  3490. {
  3491. // cols : 0
  3492. // cnt : 1
  3493. // RepeatDirection : Horizontal
  3494. // RepeatLayout : Flow
  3495. // OuterTableImplied : True
  3496. // Header : True
  3497. // Footer : False
  3498. // Separator : True
  3499. string v = RepeatInfoUser.DoTest (0, 1, RepeatDirection.Horizontal, RepeatLayout.Flow, true, true, false, true);
  3500. string exp = @"<span class=""mainstyle"">(0,Header,-1)(1,Item,0)</span>";
  3501. HtmlDiff.AssertAreEqual (exp, v, "#181");
  3502. }
  3503. [Test]
  3504. public void RepeatInfo_0cols_2itms_horiz_flow_otrtblimp_hdr_sep ()
  3505. {
  3506. // cols : 0
  3507. // cnt : 2
  3508. // RepeatDirection : Horizontal
  3509. // RepeatLayout : Flow
  3510. // OuterTableImplied : True
  3511. // Header : True
  3512. // Footer : False
  3513. // Separator : True
  3514. string v = RepeatInfoUser.DoTest (0, 2, RepeatDirection.Horizontal, RepeatLayout.Flow, true, true, false, true);
  3515. string exp = @"<span class=""mainstyle"">(0,Header,-1)(1,Item,0)(2,Separator,0)(3,Item,1)</span>";
  3516. HtmlDiff.AssertAreEqual (exp, v, "#182");
  3517. }
  3518. [Test]
  3519. public void RepeatInfo_0cols_5itms_horiz_flow_otrtblimp_hdr_sep ()
  3520. {
  3521. // cols : 0
  3522. // cnt : 5
  3523. // RepeatDirection : Horizontal
  3524. // RepeatLayout : Flow
  3525. // OuterTableImplied : True
  3526. // Header : True
  3527. // Footer : False
  3528. // Separator : True
  3529. string v = RepeatInfoUser.DoTest (0, 5, RepeatDirection.Horizontal, RepeatLayout.Flow, true, true, false, true);
  3530. 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>";
  3531. HtmlDiff.AssertAreEqual (exp, v, "#183");
  3532. }
  3533. [Test]
  3534. public void RepeatInfo_1cols_0itms_horiz_flow_otrtblimp_hdr_sep ()
  3535. {
  3536. // cols : 1
  3537. // cnt : 0
  3538. // RepeatDirection : Horizontal
  3539. // RepeatLayout : Flow
  3540. // OuterTableImplied : True
  3541. // Header : True
  3542. // Footer : False
  3543. // Separator : True
  3544. string v = RepeatInfoUser.DoTest (1, 0, RepeatDirection.Horizontal, RepeatLayout.Flow, true, true, false, true);
  3545. string exp = @"<span class=""mainstyle"">(0,Header,-1)</span>";
  3546. HtmlDiff.AssertAreEqual (exp, v, "#184");
  3547. }
  3548. [Test]
  3549. public void RepeatInfo_1cols_5itms_horiz_flow_otrtblimp_hdr_sep ()
  3550. {
  3551. // cols : 1
  3552. // cnt : 5
  3553. // RepeatDirection : Horizontal
  3554. // RepeatLayout : Flow
  3555. // OuterTableImplied : True
  3556. // Header : True
  3557. // Footer : False
  3558. // Separator : True
  3559. string v = RepeatInfoUser.DoTest (1, 5, RepeatDirection.Horizontal, RepeatLayout.Flow, true, true, false, true);
  3560. 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>";
  3561. HtmlDiff.AssertAreEqual (exp, v, "#185");
  3562. }
  3563. [Test]
  3564. public void RepeatInfo_2cols_4itms_horiz_flow_otrtblimp_hdr_sep ()
  3565. {
  3566. // cols : 2
  3567. // cnt : 4
  3568. // RepeatDirection : Horizontal
  3569. // RepeatLayout : Flow
  3570. // OuterTableImplied : True
  3571. // Header : True
  3572. // Footer : False
  3573. // Separator : True
  3574. string v = RepeatInfoUser.DoTest (2, 4, RepeatDirection.Horizontal, RepeatLayout.Flow, true, true, false, true);
  3575. 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>";
  3576. HtmlDiff.AssertAreEqual (exp, v, "#186");
  3577. }
  3578. [Test]
  3579. public void RepeatInfo_2cols_7itms_horiz_flow_otrtblimp_hdr_sep ()
  3580. {
  3581. // cols : 2
  3582. // cnt : 7
  3583. // RepeatDirection : Horizontal
  3584. // RepeatLayout : Flow
  3585. // OuterTableImplied : True
  3586. // Header : True
  3587. // Footer : False
  3588. // Separator : True
  3589. string v = RepeatInfoUser.DoTest (2, 7, RepeatDirection.Horizontal, RepeatLayout.Flow, true, true, false, true);
  3590. 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>";
  3591. HtmlDiff.AssertAreEqual (exp, v, "#187");
  3592. }
  3593. [Test]
  3594. public void RepeatInfo_3cols_9itms_horiz_flow_otrtblimp_hdr_sep ()
  3595. {
  3596. // cols : 3
  3597. // cnt : 9
  3598. // RepeatDirection : Horizontal
  3599. // RepeatLayout : Flow
  3600. // OuterTableImplied : True
  3601. // Header : True
  3602. // Footer : False
  3603. // Separator : True
  3604. string v = RepeatInfoUser.DoTest (3, 9, RepeatDirection.Horizontal, RepeatLayout.Flow, true, true, false, true);
  3605. 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>";
  3606. HtmlDiff.AssertAreEqual (exp, v, "#188");
  3607. }
  3608. [Test]
  3609. public void RepeatInfo_3cols_7itms_horiz_flow_otrtblimp_hdr_sep ()
  3610. {
  3611. // cols : 3
  3612. // cnt : 7
  3613. // RepeatDirection : Horizontal
  3614. // RepeatLayout : Flow
  3615. // OuterTableImplied : True
  3616. // Header : True
  3617. // Footer : False
  3618. // Separator : True
  3619. string v = RepeatInfoUser.DoTest (3, 7, RepeatDirection.Horizontal, RepeatLayout.Flow, true, true, false, true);
  3620. 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>";
  3621. HtmlDiff.AssertAreEqual (exp, v, "#189");
  3622. }
  3623. [Test]
  3624. public void RepeatInfo_0cols_0itms_vert_flow_otrtblimp_hdr_sep ()
  3625. {
  3626. // cols : 0
  3627. // cnt : 0
  3628. // RepeatDirection : Vertical
  3629. // RepeatLayout : Flow
  3630. // OuterTableImplied : True
  3631. // Header : True
  3632. // Footer : False
  3633. // Separator : True
  3634. string v = RepeatInfoUser.DoTest (0, 0, RepeatDirection.Vertical, RepeatLayout.Flow, true, true, false, true);
  3635. string exp = @"(0,Header,-1)";
  3636. HtmlDiff.AssertAreEqual (exp, v, "#190");
  3637. }
  3638. [Test]
  3639. public void RepeatInfo_0cols_1itms_vert_flow_otrtblimp_hdr_sep ()
  3640. {
  3641. // cols : 0
  3642. // cnt : 1
  3643. // RepeatDirection : Vertical
  3644. // RepeatLayout : Flow
  3645. // OuterTableImplied : True
  3646. // Header : True
  3647. // Footer : False
  3648. // Separator : True
  3649. string v = RepeatInfoUser.DoTest (0, 1, RepeatDirection.Vertical, RepeatLayout.Flow, true, true, false, true);
  3650. string exp = @"(0,Header,-1)(1,Item,0)";
  3651. HtmlDiff.AssertAreEqual (exp, v, "#191");
  3652. }
  3653. [Test]
  3654. public void RepeatInfo_0cols_2itms_vert_flow_otrtblimp_hdr_sep ()
  3655. {
  3656. // cols : 0
  3657. // cnt : 2
  3658. // RepeatDirection : Vertical
  3659. // RepeatLayout : Flow
  3660. // OuterTableImplied : True
  3661. // Header : True
  3662. // Footer : False
  3663. // Separator : True
  3664. string v = RepeatInfoUser.DoTest (0, 2, RepeatDirection.Vertical, RepeatLayout.Flow, true, true, false, true);
  3665. string exp = @"(0,Header,-1)(1,Item,0)(2,Separator,0)(3,Item,1)";
  3666. HtmlDiff.AssertAreEqual (exp, v, "#192");
  3667. }
  3668. [Test]
  3669. public void RepeatInfo_0cols_5itms_vert_flow_otrtblimp_hdr_sep ()
  3670. {
  3671. // cols : 0
  3672. // cnt : 5
  3673. // RepeatDirection : Vertical
  3674. // RepeatLayout : Flow
  3675. // OuterTableImplied : True
  3676. // Header : True
  3677. // Footer : False
  3678. // Separator : True
  3679. string v = RepeatInfoUser.DoTest (0, 5, RepeatDirection.Vertical, RepeatLayout.Flow, true, true, false, true);
  3680. 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)";
  3681. HtmlDiff.AssertAreEqual (exp, v, "#193");
  3682. }
  3683. [Test]
  3684. public void RepeatInfo_1cols_0itms_vert_flow_otrtblimp_hdr_sep ()
  3685. {
  3686. // cols : 1
  3687. // cnt : 0
  3688. // RepeatDirection : Vertical
  3689. // RepeatLayout : Flow
  3690. // OuterTableImplied : True
  3691. // Header : True
  3692. // Footer : False
  3693. // Separator : True
  3694. string v = RepeatInfoUser.DoTest (1, 0, RepeatDirection.Vertical, RepeatLayout.Flow, true, true, false, true);
  3695. string exp = @"(0,Header,-1)";
  3696. HtmlDiff.AssertAreEqual (exp, v, "#194");
  3697. }
  3698. [Test]
  3699. public void RepeatInfo_1cols_5itms_vert_flow_otrtblimp_hdr_sep ()
  3700. {
  3701. // cols : 1
  3702. // cnt : 5
  3703. // RepeatDirection : Vertical
  3704. // RepeatLayout : Flow
  3705. // OuterTableImplied : True
  3706. // Header : True
  3707. // Footer : False
  3708. // Separator : True
  3709. string v = RepeatInfoUser.DoTest (1, 5, RepeatDirection.Vertical, RepeatLayout.Flow, true, true, false, true);
  3710. 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)";
  3711. HtmlDiff.AssertAreEqual (exp, v, "#195");
  3712. }
  3713. [Test]
  3714. public void RepeatInfo_2cols_4itms_vert_flow_otrtblimp_hdr_sep ()
  3715. {
  3716. // cols : 2
  3717. // cnt : 4
  3718. // RepeatDirection : Vertical
  3719. // RepeatLayout : Flow
  3720. // OuterTableImplied : True
  3721. // Header : True
  3722. // Footer : False
  3723. // Separator : True
  3724. string v = RepeatInfoUser.DoTest (2, 4, RepeatDirection.Vertical, RepeatLayout.Flow, true, true, false, true);
  3725. 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)";
  3726. HtmlDiff.AssertAreEqual (exp, v, "#196");
  3727. }
  3728. [Test]
  3729. public void RepeatInfo_2cols_7itms_vert_flow_otrtblimp_hdr_sep ()
  3730. {
  3731. // cols : 2
  3732. // cnt : 7
  3733. // RepeatDirection : Vertical
  3734. // RepeatLayout : Flow
  3735. // OuterTableImplied : True
  3736. // Header : True
  3737. // Footer : False
  3738. // Separator : True
  3739. string v = RepeatInfoUser.DoTest (2, 7, RepeatDirection.Vertical, RepeatLayout.Flow, true, true, false, true);
  3740. 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)";
  3741. HtmlDiff.AssertAreEqual (exp, v, "#197");
  3742. }
  3743. [Test]
  3744. public void RepeatInfo_3cols_9itms_vert_flow_otrtblimp_hdr_sep ()
  3745. {
  3746. // cols : 3
  3747. // cnt : 9
  3748. // RepeatDirection : Vertical
  3749. // RepeatLayout : Flow
  3750. // OuterTableImplied : True
  3751. // Header : True
  3752. // Footer : False
  3753. // Separator : True
  3754. string v = RepeatInfoUser.DoTest (3, 9, RepeatDirection.Vertical, RepeatLayout.Flow, true, true, false, true);
  3755. 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)";
  3756. HtmlDiff.AssertAreEqual (exp, v, "#198");
  3757. }
  3758. [Test]
  3759. public void RepeatInfo_3cols_7itms_vert_flow_otrtblimp_hdr_sep ()
  3760. {
  3761. // cols : 3
  3762. // cnt : 7
  3763. // RepeatDirection : Vertical
  3764. // RepeatLayout : Flow
  3765. // OuterTableImplied : True
  3766. // Header : True
  3767. // Footer : False
  3768. // Separator : True
  3769. string v = RepeatInfoUser.DoTest (3, 7, RepeatDirection.Vertical, RepeatLayout.Flow, true, true, false, true);
  3770. 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)";
  3771. HtmlDiff.AssertAreEqual (exp, v, "#199");
  3772. }
  3773. [Test]
  3774. public void RepeatInfo_0cols_0itms_horiz_tbl_hdr_sep ()
  3775. {
  3776. // cols : 0
  3777. // cnt : 0
  3778. // RepeatDirection : Horizontal
  3779. // RepeatLayout : Table
  3780. // OuterTableImplied : False
  3781. // Header : True
  3782. // Footer : False
  3783. // Separator : True
  3784. string v = RepeatInfoUser.DoTest (0, 0, RepeatDirection.Horizontal, RepeatLayout.Table, false, true, false, true);
  3785. string exp = @"<table class=""mainstyle"" border=""0"">
  3786. <tr>
  3787. <td colspan=""0"" class=""Header-1"">(0,Header,-1)</td>
  3788. </tr>
  3789. </table>";
  3790. HtmlDiff.AssertAreEqual (exp, v, "#200");
  3791. }
  3792. [Test]
  3793. public void RepeatInfo_0cols_1itms_horiz_tbl_hdr_sep ()
  3794. {
  3795. // cols : 0
  3796. // cnt : 1
  3797. // RepeatDirection : Horizontal
  3798. // RepeatLayout : Table
  3799. // OuterTableImplied : False
  3800. // Header : True
  3801. // Footer : False
  3802. // Separator : True
  3803. string v = RepeatInfoUser.DoTest (0, 1, RepeatDirection.Horizontal, RepeatLayout.Table, false, true, false, true);
  3804. string exp = @"<table class=""mainstyle"" border=""0"">
  3805. <tr>
  3806. <td colspan=""2"" class=""Header-1"">(0,Header,-1)</td>
  3807. </tr><tr>
  3808. <td class=""Item0"">(1,Item,0)</td><td></td>
  3809. </tr>
  3810. </table>";
  3811. HtmlDiff.AssertAreEqual (exp, v, "#201");
  3812. }
  3813. [Test]
  3814. public void RepeatInfo_0cols_2itms_horiz_tbl_hdr_sep ()
  3815. {
  3816. // cols : 0
  3817. // cnt : 2
  3818. // RepeatDirection : Horizontal
  3819. // RepeatLayout : Table
  3820. // OuterTableImplied : False
  3821. // Header : True
  3822. // Footer : False
  3823. // Separator : True
  3824. string v = RepeatInfoUser.DoTest (0, 2, RepeatDirection.Horizontal, RepeatLayout.Table, false, true, false, true);
  3825. string exp = @"<table class=""mainstyle"" border=""0"">
  3826. <tr>
  3827. <td colspan=""4"" class=""Header-1"">(0,Header,-1)</td>
  3828. </tr><tr>
  3829. <td class=""Item0"">(1,Item,0)</td><td class=""Separator0"">(2,Separator,0)</td><td class=""Item1"">(3,Item,1)</td><td></td>
  3830. </tr>
  3831. </table>";
  3832. HtmlDiff.AssertAreEqual (exp, v, "#202");
  3833. }
  3834. [Test]
  3835. public void RepeatInfo_0cols_5itms_horiz_tbl_hdr_sep ()
  3836. {
  3837. // cols : 0
  3838. // cnt : 5
  3839. // RepeatDirection : Horizontal
  3840. // RepeatLayout : Table
  3841. // OuterTableImplied : False
  3842. // Header : True
  3843. // Footer : False
  3844. // Separator : True
  3845. string v = RepeatInfoUser.DoTest (0, 5, RepeatDirection.Horizontal, RepeatLayout.Table, false, true, false, true);
  3846. string exp = @"<table class=""mainstyle"" border=""0"">
  3847. <tr>
  3848. <td colspan=""10"" class=""Header-1"">(0,Header,-1)</td>
  3849. </tr><tr>
  3850. <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>
  3851. </tr>
  3852. </table>";
  3853. HtmlDiff.AssertAreEqual (exp, v, "#203");
  3854. }
  3855. [Test]
  3856. public void RepeatInfo_1cols_0itms_horiz_tbl_hdr_sep ()
  3857. {
  3858. // cols : 1
  3859. // cnt : 0
  3860. // RepeatDirection : Horizontal
  3861. // RepeatLayout : Table
  3862. // OuterTableImplied : False
  3863. // Header : True
  3864. // Footer : False
  3865. // Separator : True
  3866. string v = RepeatInfoUser.DoTest (1, 0, RepeatDirection.Horizontal, RepeatLayout.Table, false, true, false, true);
  3867. string exp = @"<table class=""mainstyle"" border=""0"">
  3868. <tr>
  3869. <td colspan=""2"" class=""Header-1"">(0,Header,-1)</td>
  3870. </tr>
  3871. </table>";
  3872. HtmlDiff.AssertAreEqual (exp, v, "#204");
  3873. }
  3874. [Test]
  3875. public void RepeatInfo_1cols_5itms_horiz_tbl_hdr_sep ()
  3876. {
  3877. // cols : 1
  3878. // cnt : 5
  3879. // RepeatDirection : Horizontal
  3880. // RepeatLayout : Table
  3881. // OuterTableImplied : False
  3882. // Header : True
  3883. // Footer : False
  3884. // Separator : True
  3885. string v = RepeatInfoUser.DoTest (1, 5, RepeatDirection.Horizontal, RepeatLayout.Table, false, true, false, true);
  3886. string exp = @"<table class=""mainstyle"" border=""0"">
  3887. <tr>
  3888. <td colspan=""2"" class=""Header-1"">(0,Header,-1)</td>
  3889. </tr><tr>
  3890. <td class=""Item0"">(1,Item,0)</td><td class=""Separator0"">(2,Separator,0)</td>
  3891. </tr><tr>
  3892. <td class=""Item1"">(3,Item,1)</td><td class=""Separator1"">(4,Separator,1)</td>
  3893. </tr><tr>
  3894. <td class=""Item2"">(5,Item,2)</td><td class=""Separator2"">(6,Separator,2)</td>
  3895. </tr><tr>
  3896. <td class=""Item3"">(7,Item,3)</td><td class=""Separator3"">(8,Separator,3)</td>
  3897. </tr><tr>
  3898. <td class=""Item4"">(9,Item,4)</td><td></td>
  3899. </tr>
  3900. </table>";
  3901. HtmlDiff.AssertAreEqual (exp, v, "#205");
  3902. }
  3903. [Test]
  3904. public void RepeatInfo_2cols_4itms_horiz_tbl_hdr_sep ()
  3905. {
  3906. // cols : 2
  3907. // cnt : 4
  3908. // RepeatDirection : Horizontal
  3909. // RepeatLayout : Table
  3910. // OuterTableImplied : False
  3911. // Header : True
  3912. // Footer : False
  3913. // Separator : True
  3914. string v = RepeatInfoUser.DoTest (2, 4, RepeatDirection.Horizontal, RepeatLayout.Table, false, true, false, true);
  3915. string exp = @"<table class=""mainstyle"" border=""0"">
  3916. <tr>
  3917. <td colspan=""4"" class=""Header-1"">(0,Header,-1)</td>
  3918. </tr><tr>
  3919. <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>
  3920. </tr><tr>
  3921. <td class=""Item2"">(5,Item,2)</td><td class=""Separator2"">(6,Separator,2)</td><td class=""Item3"">(7,Item,3)</td><td></td>
  3922. </tr>
  3923. </table>";
  3924. HtmlDiff.AssertAreEqual (exp, v, "#206");
  3925. }
  3926. [Test]
  3927. public void RepeatInfo_2cols_7itms_horiz_tbl_hdr_sep ()
  3928. {
  3929. // cols : 2
  3930. // cnt : 7
  3931. // RepeatDirection : Horizontal
  3932. // RepeatLayout : Table
  3933. // OuterTableImplied : False
  3934. // Header : True
  3935. // Footer : False
  3936. // Separator : True
  3937. string v = RepeatInfoUser.DoTest (2, 7, RepeatDirection.Horizontal, RepeatLayout.Table, false, true, false, true);
  3938. string exp = @"<table class=""mainstyle"" border=""0"">
  3939. <tr>
  3940. <td colspan=""4"" class=""Header-1"">(0,Header,-1)</td>
  3941. </tr><tr>
  3942. <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>
  3943. </tr><tr>
  3944. <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>
  3945. </tr><tr>
  3946. <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>
  3947. </tr><tr>
  3948. <td class=""Item6"">(13,Item,6)</td><td></td><td></td><td></td>
  3949. </tr>
  3950. </table>";
  3951. HtmlDiff.AssertAreEqual (exp, v, "#207");
  3952. }
  3953. [Test]
  3954. public void RepeatInfo_3cols_9itms_horiz_tbl_hdr_sep ()
  3955. {
  3956. // cols : 3
  3957. // cnt : 9
  3958. // RepeatDirection : Horizontal
  3959. // RepeatLayout : Table
  3960. // OuterTableImplied : False
  3961. // Header : True
  3962. // Footer : False
  3963. // Separator : True
  3964. string v = RepeatInfoUser.DoTest (3, 9, RepeatDirection.Horizontal, RepeatLayout.Table, false, true, false, true);
  3965. string exp = @"<table border=""0"">
  3966. <tr>
  3967. <td colspan=""6"" class=""Header-1"">(0,Header,-1)</td>
  3968. </tr><tr>
  3969. <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>
  3970. </tr><tr>
  3971. <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>
  3972. </tr><tr>
  3973. <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>
  3974. </tr>
  3975. </table>";
  3976. HtmlDiff.AssertAreEqual (exp, v, "#208");
  3977. }
  3978. [Test]
  3979. public void RepeatInfo_3cols_7itms_horiz_tbl_hdr_sep ()
  3980. {
  3981. // cols : 3
  3982. // cnt : 7
  3983. // RepeatDirection : Horizontal
  3984. // RepeatLayout : Table
  3985. // OuterTableImplied : False
  3986. // Header : True
  3987. // Footer : False
  3988. // Separator : True
  3989. string v = RepeatInfoUser.DoTest (3, 7, RepeatDirection.Horizontal, RepeatLayout.Table, false, true, false, true);
  3990. string exp = @"<table border=""0"">
  3991. <tr>
  3992. <td colspan=""6"" class=""Header-1"">(0,Header,-1)</td>
  3993. </tr><tr>
  3994. <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>
  3995. </tr><tr>
  3996. <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>
  3997. </tr><tr>
  3998. <td class=""Item6"">(13,Item,6)</td><td></td><td></td><td></td><td></td><td></td>
  3999. </tr>
  4000. </table>";
  4001. HtmlDiff.AssertAreEqual (exp, v, "#209");
  4002. }
  4003. [Test]
  4004. public void RepeatInfo_0cols_0itms_vert_tbl_hdr_sep ()
  4005. {
  4006. // cols : 0
  4007. // cnt : 0
  4008. // RepeatDirection : Vertical
  4009. // RepeatLayout : Table
  4010. // OuterTableImplied : False
  4011. // Header : True
  4012. // Footer : False
  4013. // Separator : True
  4014. string v = RepeatInfoUser.DoTest (0, 0, RepeatDirection.Vertical, RepeatLayout.Table, false, true, false, true);
  4015. string exp = @"<table class=""mainstyle"" border=""0"">
  4016. <tr>
  4017. <td class=""Header-1"">(0,Header,-1)</td>
  4018. </tr>
  4019. </table>";
  4020. HtmlDiff.AssertAreEqual (exp, v, "#210");
  4021. }
  4022. [Test]
  4023. public void RepeatInfo_0cols_1itms_vert_tbl_hdr_sep ()
  4024. {
  4025. // cols : 0
  4026. // cnt : 1
  4027. // RepeatDirection : Vertical
  4028. // RepeatLayout : Table
  4029. // OuterTableImplied : False
  4030. // Header : True
  4031. // Footer : False
  4032. // Separator : True
  4033. string v = RepeatInfoUser.DoTest (0, 1, RepeatDirection.Vertical, RepeatLayout.Table, false, true, false, true);
  4034. string exp = @"<table class=""mainstyle"" border=""0"">
  4035. <tr>
  4036. <td class=""Header-1"">(0,Header,-1)</td>
  4037. </tr><tr>
  4038. <td class=""Item0"">(1,Item,0)</td>
  4039. </tr>
  4040. </table>";
  4041. HtmlDiff.AssertAreEqual (exp, v, "#211");
  4042. }
  4043. [Test]
  4044. public void RepeatInfo_0cols_2itms_vert_tbl_hdr_sep ()
  4045. {
  4046. // cols : 0
  4047. // cnt : 2
  4048. // RepeatDirection : Vertical
  4049. // RepeatLayout : Table
  4050. // OuterTableImplied : False
  4051. // Header : True
  4052. // Footer : False
  4053. // Separator : True
  4054. string v = RepeatInfoUser.DoTest (0, 2, RepeatDirection.Vertical, RepeatLayout.Table, false, true, false, true);
  4055. string exp = @"<table class=""mainstyle"" border=""0"">
  4056. <tr>
  4057. <td class=""Header-1"">(0,Header,-1)</td>
  4058. </tr><tr>
  4059. <td class=""Item0"">(1,Item,0)</td>
  4060. </tr><tr>
  4061. <td class=""Separator0"">(2,Separator,0)</td>
  4062. </tr><tr>
  4063. <td class=""Item1"">(3,Item,1)</td>
  4064. </tr>
  4065. </table>";
  4066. HtmlDiff.AssertAreEqual (exp, v, "#212");
  4067. }
  4068. [Test]
  4069. public void RepeatInfo_0cols_5itms_vert_tbl_hdr_sep ()
  4070. {
  4071. // cols : 0
  4072. // cnt : 5
  4073. // RepeatDirection : Vertical
  4074. // RepeatLayout : Table
  4075. // OuterTableImplied : False
  4076. // Header : True
  4077. // Footer : False
  4078. // Separator : True
  4079. string v = RepeatInfoUser.DoTest (0, 5, RepeatDirection.Vertical, RepeatLayout.Table, false, true, false, true);
  4080. string exp = @"<table class=""mainstyle"" border=""0"">
  4081. <tr>
  4082. <td class=""Header-1"">(0,Header,-1)</td>
  4083. </tr><tr>
  4084. <td class=""Item0"">(1,Item,0)</td>
  4085. </tr><tr>
  4086. <td class=""Separator0"">(2,Separator,0)</td>
  4087. </tr><tr>
  4088. <td class=""Item1"">(3,Item,1)</td>
  4089. </tr><tr>
  4090. <td class=""Separator1"">(4,Separator,1)</td>
  4091. </tr><tr>
  4092. <td class=""Item2"">(5,Item,2)</td>
  4093. </tr><tr>
  4094. <td class=""Separator2"">(6,Separator,2)</td>
  4095. </tr><tr>
  4096. <td class=""Item3"">(7,Item,3)</td>
  4097. </tr><tr>
  4098. <td class=""Separator3"">(8,Separator,3)</td>
  4099. </tr><tr>
  4100. <td class=""Item4"">(9,Item,4)</td>
  4101. </tr>
  4102. </table>";
  4103. HtmlDiff.AssertAreEqual (exp, v, "#213");
  4104. }
  4105. [Test]
  4106. public void RepeatInfo_1cols_0itms_vert_tbl_hdr_sep ()
  4107. {
  4108. // cols : 1
  4109. // cnt : 0
  4110. // RepeatDirection : Vertical
  4111. // RepeatLayout : Table
  4112. // OuterTableImplied : False
  4113. // Header : True
  4114. // Footer : False
  4115. // Separator : True
  4116. string v = RepeatInfoUser.DoTest (1, 0, RepeatDirection.Vertical, RepeatLayout.Table, false, true, false, true);
  4117. string exp = @"<table class=""mainstyle"" border=""0"">
  4118. <tr>
  4119. <td class=""Header-1"">(0,Header,-1)</td>
  4120. </tr>
  4121. </table>";
  4122. HtmlDiff.AssertAreEqual (exp, v, "#214");
  4123. }
  4124. [Test]
  4125. public void RepeatInfo_1cols_5itms_vert_tbl_hdr_sep ()
  4126. {
  4127. // cols : 1
  4128. // cnt : 5
  4129. // RepeatDirection : Vertical
  4130. // RepeatLayout : Table
  4131. // OuterTableImplied : False
  4132. // Header : True
  4133. // Footer : False
  4134. // Separator : True
  4135. string v = RepeatInfoUser.DoTest (1, 5, RepeatDirection.Vertical, RepeatLayout.Table, false, true, false, true);
  4136. string exp = @"<table class=""mainstyle"" border=""0"">
  4137. <tr>
  4138. <td class=""Header-1"">(0,Header,-1)</td>
  4139. </tr><tr>
  4140. <td class=""Item0"">(1,Item,0)</td>
  4141. </tr><tr>
  4142. <td class=""Separator0"">(2,Separator,0)</td>
  4143. </tr><tr>
  4144. <td class=""Item1"">(3,Item,1)</td>
  4145. </tr><tr>
  4146. <td class=""Separator1"">(4,Separator,1)</td>
  4147. </tr><tr>
  4148. <td class=""Item2"">(5,Item,2)</td>
  4149. </tr><tr>
  4150. <td class=""Separator2"">(6,Separator,2)</td>
  4151. </tr><tr>
  4152. <td class=""Item3"">(7,Item,3)</td>
  4153. </tr><tr>
  4154. <td class=""Separator3"">(8,Separator,3)</td>
  4155. </tr><tr>
  4156. <td class=""Item4"">(9,Item,4)</td>
  4157. </tr>
  4158. </table>";
  4159. HtmlDiff.AssertAreEqual (exp, v, "#215");
  4160. }
  4161. [Test]
  4162. public void RepeatInfo_2cols_4itms_vert_tbl_hdr_sep ()
  4163. {
  4164. // cols : 2
  4165. // cnt : 4
  4166. // RepeatDirection : Vertical
  4167. // RepeatLayout : Table
  4168. // OuterTableImplied : False
  4169. // Header : True
  4170. // Footer : False
  4171. // Separator : True
  4172. string v = RepeatInfoUser.DoTest (2, 4, RepeatDirection.Vertical, RepeatLayout.Table, false, true, false, true);
  4173. string exp = @"<table class=""mainstyle"" border=""0"">
  4174. <tr>
  4175. <td colspan=""4"" class=""Header-1"">(0,Header,-1)</td>
  4176. </tr><tr>
  4177. <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>
  4178. </tr><tr>
  4179. <td class=""Item1"">(5,Item,1)</td><td class=""Separator1"">(6,Separator,1)</td><td class=""Item3"">(7,Item,3)</td><td></td>
  4180. </tr>
  4181. </table>";
  4182. HtmlDiff.AssertAreEqual (exp, v, "#216");
  4183. }
  4184. [Test]
  4185. public void RepeatInfo_2cols_7itms_vert_tbl_hdr_sep ()
  4186. {
  4187. // cols : 2
  4188. // cnt : 7
  4189. // RepeatDirection : Vertical
  4190. // RepeatLayout : Table
  4191. // OuterTableImplied : False
  4192. // Header : True
  4193. // Footer : False
  4194. // Separator : True
  4195. string v = RepeatInfoUser.DoTest (2, 7, RepeatDirection.Vertical, RepeatLayout.Table, false, true, false, true);
  4196. string exp = @"<table class=""mainstyle"" border=""0"">
  4197. <tr>
  4198. <td colspan=""4"" class=""Header-1"">(0,Header,-1)</td>
  4199. </tr><tr>
  4200. <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>
  4201. </tr><tr>
  4202. <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>
  4203. </tr><tr>
  4204. <td class=""Item2"">(9,Item,2)</td><td class=""Separator2"">(10,Separator,2)</td><td class=""Item6"">(11,Item,6)</td><td></td>
  4205. </tr><tr>
  4206. <td class=""Item3"">(12,Item,3)</td><td class=""Separator3"">(13,Separator,3)</td><td></td><td></td>
  4207. </tr>
  4208. </table>";
  4209. HtmlDiff.AssertAreEqual (exp, v, "#217");
  4210. }
  4211. [Test]
  4212. public void RepeatInfo_3cols_9itms_vert_tbl_hdr_sep ()
  4213. {
  4214. // cols : 3
  4215. // cnt : 9
  4216. // RepeatDirection : Vertical
  4217. // RepeatLayout : Table
  4218. // OuterTableImplied : False
  4219. // Header : True
  4220. // Footer : False
  4221. // Separator : True
  4222. string v = RepeatInfoUser.DoTest (3, 9, RepeatDirection.Vertical, RepeatLayout.Table, false, true, false, true);
  4223. string exp = @"<table border=""0"">
  4224. <tr>
  4225. <td colspan=""6"" class=""Header-1"">(0,Header,-1)</td>
  4226. </tr><tr>
  4227. <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>
  4228. </tr><tr>
  4229. <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>
  4230. </tr><tr>
  4231. <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>
  4232. </tr>
  4233. </table>";
  4234. HtmlDiff.AssertAreEqual (exp, v, "#218");
  4235. }
  4236. [Test]
  4237. public void RepeatInfo_3cols_7itms_vert_tbl_hdr_sep ()
  4238. {
  4239. // cols : 3
  4240. // cnt : 7
  4241. // RepeatDirection : Vertical
  4242. // RepeatLayout : Table
  4243. // OuterTableImplied : False
  4244. // Header : True
  4245. // Footer : False
  4246. // Separator : True
  4247. string v = RepeatInfoUser.DoTest (3, 7, RepeatDirection.Vertical, RepeatLayout.Table, false, true, false, true);
  4248. string exp = @"<table border=""0"">
  4249. <tr>
  4250. <td colspan=""6"" class=""Header-1"">(0,Header,-1)</td>
  4251. </tr><tr>
  4252. <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>
  4253. </tr><tr>
  4254. <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>
  4255. </tr><tr>
  4256. <td class=""Item2"">(12,Item,2)</td><td class=""Separator2"">(13,Separator,2)</td><td></td><td></td><td></td><td></td>
  4257. </tr>
  4258. </table>";
  4259. HtmlDiff.AssertAreEqual (exp, v, "#219");
  4260. }
  4261. [Test]
  4262. public void RepeatInfo_0cols_0itms_horiz_flow_hdr_sep ()
  4263. {
  4264. // cols : 0
  4265. // cnt : 0
  4266. // RepeatDirection : Horizontal
  4267. // RepeatLayout : Flow
  4268. // OuterTableImplied : False
  4269. // Header : True
  4270. // Footer : False
  4271. // Separator : True
  4272. string v = RepeatInfoUser.DoTest (0, 0, RepeatDirection.Horizontal, RepeatLayout.Flow, false, true, false, true);
  4273. string exp = @"<span class=""mainstyle"">(0,Header,-1)</span>";
  4274. HtmlDiff.AssertAreEqual (exp, v, "#220");
  4275. }
  4276. [Test]
  4277. public void RepeatInfo_0cols_1itms_horiz_flow_hdr_sep ()
  4278. {
  4279. // cols : 0
  4280. // cnt : 1
  4281. // RepeatDirection : Horizontal
  4282. // RepeatLayout : Flow
  4283. // OuterTableImplied : False
  4284. // Header : True
  4285. // Footer : False
  4286. // Separator : True
  4287. string v = RepeatInfoUser.DoTest (0, 1, RepeatDirection.Horizontal, RepeatLayout.Flow, false, true, false, true);
  4288. string exp = @"<span class=""mainstyle"">(0,Header,-1)(1,Item,0)</span>";
  4289. HtmlDiff.AssertAreEqual (exp, v, "#221");
  4290. }
  4291. [Test]
  4292. public void RepeatInfo_0cols_2itms_horiz_flow_hdr_sep ()
  4293. {
  4294. // cols : 0
  4295. // cnt : 2
  4296. // RepeatDirection : Horizontal
  4297. // RepeatLayout : Flow
  4298. // OuterTableImplied : False
  4299. // Header : True
  4300. // Footer : False
  4301. // Separator : True
  4302. string v = RepeatInfoUser.DoTest (0, 2, RepeatDirection.Horizontal, RepeatLayout.Flow, false, true, false, true);
  4303. string exp = @"<span class=""mainstyle"">(0,Header,-1)(1,Item,0)(2,Separator,0)(3,Item,1)</span>";
  4304. HtmlDiff.AssertAreEqual (exp, v, "#222");
  4305. }
  4306. [Test]
  4307. public void RepeatInfo_0cols_5itms_horiz_flow_hdr_sep ()
  4308. {
  4309. // cols : 0
  4310. // cnt : 5
  4311. // RepeatDirection : Horizontal
  4312. // RepeatLayout : Flow
  4313. // OuterTableImplied : False
  4314. // Header : True
  4315. // Footer : False
  4316. // Separator : True
  4317. string v = RepeatInfoUser.DoTest (0, 5, RepeatDirection.Horizontal, RepeatLayout.Flow, false, true, false, true);
  4318. 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>";
  4319. HtmlDiff.AssertAreEqual (exp, v, "#223");
  4320. }
  4321. [Test]
  4322. public void RepeatInfo_1cols_0itms_horiz_flow_hdr_sep ()
  4323. {
  4324. // cols : 1
  4325. // cnt : 0
  4326. // RepeatDirection : Horizontal
  4327. // RepeatLayout : Flow
  4328. // OuterTableImplied : False
  4329. // Header : True
  4330. // Footer : False
  4331. // Separator : True
  4332. string v = RepeatInfoUser.DoTest (1, 0, RepeatDirection.Horizontal, RepeatLayout.Flow, false, true, false, true);
  4333. string exp = @"<span class=""mainstyle"">(0,Header,-1)</span>";
  4334. HtmlDiff.AssertAreEqual (exp, v, "#224");
  4335. }
  4336. [Test]
  4337. public void RepeatInfo_1cols_5itms_horiz_flow_hdr_sep ()
  4338. {
  4339. // cols : 1
  4340. // cnt : 5
  4341. // RepeatDirection : Horizontal
  4342. // RepeatLayout : Flow
  4343. // OuterTableImplied : False
  4344. // Header : True
  4345. // Footer : False
  4346. // Separator : True
  4347. string v = RepeatInfoUser.DoTest (1, 5, RepeatDirection.Horizontal, RepeatLayout.Flow, false, true, false, true);
  4348. 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>";
  4349. HtmlDiff.AssertAreEqual (exp, v, "#225");
  4350. }
  4351. [Test]
  4352. public void RepeatInfo_2cols_4itms_horiz_flow_hdr_sep ()
  4353. {
  4354. // cols : 2
  4355. // cnt : 4
  4356. // RepeatDirection : Horizontal
  4357. // RepeatLayout : Flow
  4358. // OuterTableImplied : False
  4359. // Header : True
  4360. // Footer : False
  4361. // Separator : True
  4362. string v = RepeatInfoUser.DoTest (2, 4, RepeatDirection.Horizontal, RepeatLayout.Flow, false, true, false, true);
  4363. 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>";
  4364. HtmlDiff.AssertAreEqual (exp, v, "#226");
  4365. }
  4366. [Test]
  4367. public void RepeatInfo_2cols_7itms_horiz_flow_hdr_sep ()
  4368. {
  4369. // cols : 2
  4370. // cnt : 7
  4371. // RepeatDirection : Horizontal
  4372. // RepeatLayout : Flow
  4373. // OuterTableImplied : False
  4374. // Header : True
  4375. // Footer : False
  4376. // Separator : True
  4377. string v = RepeatInfoUser.DoTest (2, 7, RepeatDirection.Horizontal, RepeatLayout.Flow, false, true, false, true);
  4378. 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>";
  4379. HtmlDiff.AssertAreEqual (exp, v, "#227");
  4380. }
  4381. [Test]
  4382. public void RepeatInfo_3cols_9itms_horiz_flow_hdr_sep ()
  4383. {
  4384. // cols : 3
  4385. // cnt : 9
  4386. // RepeatDirection : Horizontal
  4387. // RepeatLayout : Flow
  4388. // OuterTableImplied : False
  4389. // Header : True
  4390. // Footer : False
  4391. // Separator : True
  4392. string v = RepeatInfoUser.DoTest (3, 9, RepeatDirection.Horizontal, RepeatLayout.Flow, false, true, false, true);
  4393. 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>";
  4394. HtmlDiff.AssertAreEqual (exp, v, "#228");
  4395. }
  4396. [Test]
  4397. public void RepeatInfo_3cols_7itms_horiz_flow_hdr_sep ()
  4398. {
  4399. // cols : 3
  4400. // cnt : 7
  4401. // RepeatDirection : Horizontal
  4402. // RepeatLayout : Flow
  4403. // OuterTableImplied : False
  4404. // Header : True
  4405. // Footer : False
  4406. // Separator : True
  4407. string v = RepeatInfoUser.DoTest (3, 7, RepeatDirection.Horizontal, RepeatLayout.Flow, false, true, false, true);
  4408. 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>";
  4409. HtmlDiff.AssertAreEqual (exp, v, "#229");
  4410. }
  4411. [Test]
  4412. public void RepeatInfo_0cols_0itms_vert_flow_hdr_sep ()
  4413. {
  4414. // cols : 0
  4415. // cnt : 0
  4416. // RepeatDirection : Vertical
  4417. // RepeatLayout : Flow
  4418. // OuterTableImplied : False
  4419. // Header : True
  4420. // Footer : False
  4421. // Separator : True
  4422. string v = RepeatInfoUser.DoTest (0, 0, RepeatDirection.Vertical, RepeatLayout.Flow, false, true, false, true);
  4423. string exp = @"<span class=""mainstyle"">(0,Header,-1)<br /></span>";
  4424. HtmlDiff.AssertAreEqual (exp, v, "#230");
  4425. }
  4426. [Test]
  4427. public void RepeatInfo_0cols_1itms_vert_flow_hdr_sep ()
  4428. {
  4429. // cols : 0
  4430. // cnt : 1
  4431. // RepeatDirection : Vertical
  4432. // RepeatLayout : Flow
  4433. // OuterTableImplied : False
  4434. // Header : True
  4435. // Footer : False
  4436. // Separator : True
  4437. string v = RepeatInfoUser.DoTest (0, 1, RepeatDirection.Vertical, RepeatLayout.Flow, false, true, false, true);
  4438. string exp = @"<span class=""mainstyle"">(0,Header,-1)<br />(1,Item,0)</span>";
  4439. HtmlDiff.AssertAreEqual (exp, v, "#231");
  4440. }
  4441. [Test]
  4442. public void RepeatInfo_0cols_2itms_vert_flow_hdr_sep ()
  4443. {
  4444. // cols : 0
  4445. // cnt : 2
  4446. // RepeatDirection : Vertical
  4447. // RepeatLayout : Flow
  4448. // OuterTableImplied : False
  4449. // Header : True
  4450. // Footer : False
  4451. // Separator : True
  4452. string v = RepeatInfoUser.DoTest (0, 2, RepeatDirection.Vertical, RepeatLayout.Flow, false, true, false, true);
  4453. string exp = @"<span class=""mainstyle"">(0,Header,-1)<br />(1,Item,0)<br />(2,Separator,0)<br />(3,Item,1)</span>";
  4454. HtmlDiff.AssertAreEqual (exp, v, "#232");
  4455. }
  4456. [Test]
  4457. public void RepeatInfo_0cols_5itms_vert_flow_hdr_sep ()
  4458. {
  4459. // cols : 0
  4460. // cnt : 5
  4461. // RepeatDirection : Vertical
  4462. // RepeatLayout : Flow
  4463. // OuterTableImplied : False
  4464. // Header : True
  4465. // Footer : False
  4466. // Separator : True
  4467. string v = RepeatInfoUser.DoTest (0, 5, RepeatDirection.Vertical, RepeatLayout.Flow, false, true, false, true);
  4468. 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>";
  4469. HtmlDiff.AssertAreEqual (exp, v, "#233");
  4470. }
  4471. [Test]
  4472. public void RepeatInfo_1cols_0itms_vert_flow_hdr_sep ()
  4473. {
  4474. // cols : 1
  4475. // cnt : 0
  4476. // RepeatDirection : Vertical
  4477. // RepeatLayout : Flow
  4478. // OuterTableImplied : False
  4479. // Header : True
  4480. // Footer : False
  4481. // Separator : True
  4482. string v = RepeatInfoUser.DoTest (1, 0, RepeatDirection.Vertical, RepeatLayout.Flow, false, true, false, true);
  4483. string exp = @"<span class=""mainstyle"">(0,Header,-1)<br /></span>";
  4484. HtmlDiff.AssertAreEqual (exp, v, "#234");
  4485. }
  4486. [Test]
  4487. public void RepeatInfo_1cols_5itms_vert_flow_hdr_sep ()
  4488. {
  4489. // cols : 1
  4490. // cnt : 5
  4491. // RepeatDirection : Vertical
  4492. // RepeatLayout : Flow
  4493. // OuterTableImplied : False
  4494. // Header : True
  4495. // Footer : False
  4496. // Separator : True
  4497. string v = RepeatInfoUser.DoTest (1, 5, RepeatDirection.Vertical, RepeatLayout.Flow, false, true, false, true);
  4498. 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>";
  4499. HtmlDiff.AssertAreEqual (exp, v, "#235");
  4500. }
  4501. [Test]
  4502. public void RepeatInfo_2cols_4itms_vert_flow_hdr_sep ()
  4503. {
  4504. // cols : 2
  4505. // cnt : 4
  4506. // RepeatDirection : Vertical
  4507. // RepeatLayout : Flow
  4508. // OuterTableImplied : False
  4509. // Header : True
  4510. // Footer : False
  4511. // Separator : True
  4512. string v = RepeatInfoUser.DoTest (2, 4, RepeatDirection.Vertical, RepeatLayout.Flow, false, true, false, true);
  4513. 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>";
  4514. HtmlDiff.AssertAreEqual (exp, v, "#236");
  4515. }
  4516. [Test]
  4517. public void RepeatInfo_2cols_7itms_vert_flow_hdr_sep ()
  4518. {
  4519. // cols : 2
  4520. // cnt : 7
  4521. // RepeatDirection : Vertical
  4522. // RepeatLayout : Flow
  4523. // OuterTableImplied : False
  4524. // Header : True
  4525. // Footer : False
  4526. // Separator : True
  4527. string v = RepeatInfoUser.DoTest (2, 7, RepeatDirection.Vertical, RepeatLayout.Flow, false, true, false, true);
  4528. 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>";
  4529. HtmlDiff.AssertAreEqual (exp, v, "#237");
  4530. }
  4531. [Test]
  4532. public void RepeatInfo_3cols_9itms_vert_flow_hdr_sep ()
  4533. {
  4534. // cols : 3
  4535. // cnt : 9
  4536. // RepeatDirection : Vertical
  4537. // RepeatLayout : Flow
  4538. // OuterTableImplied : False
  4539. // Header : True
  4540. // Footer : False
  4541. // Separator : True
  4542. string v = RepeatInfoUser.DoTest (3, 9, RepeatDirection.Vertical, RepeatLayout.Flow, false, true, false, true);
  4543. 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>";
  4544. HtmlDiff.AssertAreEqual (exp, v, "#238");
  4545. }
  4546. [Test]
  4547. public void RepeatInfo_3cols_7itms_vert_flow_hdr_sep ()
  4548. {
  4549. // cols : 3
  4550. // cnt : 7
  4551. // RepeatDirection : Vertical
  4552. // RepeatLayout : Flow
  4553. // OuterTableImplied : False
  4554. // Header : True
  4555. // Footer : False
  4556. // Separator : True
  4557. string v = RepeatInfoUser.DoTest (3, 7, RepeatDirection.Vertical, RepeatLayout.Flow, false, true, false, true);
  4558. 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>";
  4559. HtmlDiff.AssertAreEqual (exp, v, "#239");
  4560. }
  4561. [Test]
  4562. public void RepeatInfo_0cols_0itms_horiz_tbl_otrtblimp_sep ()
  4563. {
  4564. // cols : 0
  4565. // cnt : 0
  4566. // RepeatDirection : Horizontal
  4567. // RepeatLayout : Table
  4568. // OuterTableImplied : True
  4569. // Header : False
  4570. // Footer : False
  4571. // Separator : True
  4572. string v = RepeatInfoUser.DoTest (0, 0, RepeatDirection.Horizontal, RepeatLayout.Table, true, false, false, true);
  4573. string exp = @"<table class=""mainstyle"" border=""0"">
  4574. </table>";
  4575. HtmlDiff.AssertAreEqual (exp, v, "#240");
  4576. }
  4577. [Test]
  4578. public void RepeatInfo_0cols_1itms_horiz_tbl_otrtblimp_sep ()
  4579. {
  4580. // cols : 0
  4581. // cnt : 1
  4582. // RepeatDirection : Horizontal
  4583. // RepeatLayout : Table
  4584. // OuterTableImplied : True
  4585. // Header : False
  4586. // Footer : False
  4587. // Separator : True
  4588. string v = RepeatInfoUser.DoTest (0, 1, RepeatDirection.Horizontal, RepeatLayout.Table, true, false, false, true);
  4589. string exp = @"<table class=""mainstyle"" border=""0"">
  4590. <tr>
  4591. <td class=""Item0"">(0,Item,0)</td><td></td>
  4592. </tr>
  4593. </table>";
  4594. HtmlDiff.AssertAreEqual (exp, v, "#241");
  4595. }
  4596. [Test]
  4597. public void RepeatInfo_0cols_2itms_horiz_tbl_otrtblimp_sep ()
  4598. {
  4599. // cols : 0
  4600. // cnt : 2
  4601. // RepeatDirection : Horizontal
  4602. // RepeatLayout : Table
  4603. // OuterTableImplied : True
  4604. // Header : False
  4605. // Footer : False
  4606. // Separator : True
  4607. string v = RepeatInfoUser.DoTest (0, 2, RepeatDirection.Horizontal, RepeatLayout.Table, true, false, false, true);
  4608. string exp = @"<table class=""mainstyle"" border=""0"">
  4609. <tr>
  4610. <td class=""Item0"">(0,Item,0)</td><td class=""Separator0"">(1,Separator,0)</td><td class=""Item1"">(2,Item,1)</td><td></td>
  4611. </tr>
  4612. </table>";
  4613. HtmlDiff.AssertAreEqual (exp, v, "#242");
  4614. }
  4615. [Test]
  4616. public void RepeatInfo_0cols_5itms_horiz_tbl_otrtblimp_sep ()
  4617. {
  4618. // cols : 0
  4619. // cnt : 5
  4620. // RepeatDirection : Horizontal
  4621. // RepeatLayout : Table
  4622. // OuterTableImplied : True
  4623. // Header : False
  4624. // Footer : False
  4625. // Separator : True
  4626. string v = RepeatInfoUser.DoTest (0, 5, RepeatDirection.Horizontal, RepeatLayout.Table, true, false, false, true);
  4627. string exp = @"<table class=""mainstyle"" border=""0"">
  4628. <tr>
  4629. <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>
  4630. </tr>
  4631. </table>";
  4632. HtmlDiff.AssertAreEqual (exp, v, "#243");
  4633. }
  4634. [Test]
  4635. public void RepeatInfo_1cols_0itms_horiz_tbl_otrtblimp_sep ()
  4636. {
  4637. // cols : 1
  4638. // cnt : 0
  4639. // RepeatDirection : Horizontal
  4640. // RepeatLayout : Table
  4641. // OuterTableImplied : True
  4642. // Header : False
  4643. // Footer : False
  4644. // Separator : True
  4645. string v = RepeatInfoUser.DoTest (1, 0, RepeatDirection.Horizontal, RepeatLayout.Table, true, false, false, true);
  4646. string exp = @"<table class=""mainstyle"" border=""0"">
  4647. </table>";
  4648. HtmlDiff.AssertAreEqual (exp, v, "#244");
  4649. }
  4650. [Test]
  4651. public void RepeatInfo_1cols_5itms_horiz_tbl_otrtblimp_sep ()
  4652. {
  4653. // cols : 1
  4654. // cnt : 5
  4655. // RepeatDirection : Horizontal
  4656. // RepeatLayout : Table
  4657. // OuterTableImplied : True
  4658. // Header : False
  4659. // Footer : False
  4660. // Separator : True
  4661. string v = RepeatInfoUser.DoTest (1, 5, RepeatDirection.Horizontal, RepeatLayout.Table, true, false, false, true);
  4662. string exp = @"<table class=""mainstyle"" border=""0"">
  4663. <tr>
  4664. <td class=""Item0"">(0,Item,0)</td><td class=""Separator0"">(1,Separator,0)</td>
  4665. </tr><tr>
  4666. <td class=""Item1"">(2,Item,1)</td><td class=""Separator1"">(3,Separator,1)</td>
  4667. </tr><tr>
  4668. <td class=""Item2"">(4,Item,2)</td><td class=""Separator2"">(5,Separator,2)</td>
  4669. </tr><tr>
  4670. <td class=""Item3"">(6,Item,3)</td><td class=""Separator3"">(7,Separator,3)</td>
  4671. </tr><tr>
  4672. <td class=""Item4"">(8,Item,4)</td><td></td>
  4673. </tr>
  4674. </table>";
  4675. HtmlDiff.AssertAreEqual (exp, v, "#245");
  4676. }
  4677. [Test]
  4678. public void RepeatInfo_2cols_4itms_horiz_tbl_otrtblimp_sep ()
  4679. {
  4680. // cols : 2
  4681. // cnt : 4
  4682. // RepeatDirection : Horizontal
  4683. // RepeatLayout : Table
  4684. // OuterTableImplied : True
  4685. // Header : False
  4686. // Footer : False
  4687. // Separator : True
  4688. string v = RepeatInfoUser.DoTest (2, 4, RepeatDirection.Horizontal, RepeatLayout.Table, true, false, false, true);
  4689. string exp = @"<table class=""mainstyle"" border=""0"">
  4690. <tr>
  4691. <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>
  4692. </tr><tr>
  4693. <td class=""Item2"">(4,Item,2)</td><td class=""Separator2"">(5,Separator,2)</td><td class=""Item3"">(6,Item,3)</td><td></td>
  4694. </tr>
  4695. </table>";
  4696. HtmlDiff.AssertAreEqual (exp, v, "#246");
  4697. }
  4698. [Test]
  4699. public void RepeatInfo_2cols_7itms_horiz_tbl_otrtblimp_sep ()
  4700. {
  4701. // cols : 2
  4702. // cnt : 7
  4703. // RepeatDirection : Horizontal
  4704. // RepeatLayout : Table
  4705. // OuterTableImplied : True
  4706. // Header : False
  4707. // Footer : False
  4708. // Separator : True
  4709. string v = RepeatInfoUser.DoTest (2, 7, RepeatDirection.Horizontal, RepeatLayout.Table, true, false, false, true);
  4710. string exp = @"<table class=""mainstyle"" border=""0"">
  4711. <tr>
  4712. <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>
  4713. </tr><tr>
  4714. <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>
  4715. </tr><tr>
  4716. <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>
  4717. </tr><tr>
  4718. <td class=""Item6"">(12,Item,6)</td><td></td><td></td><td></td>
  4719. </tr>
  4720. </table>";
  4721. HtmlDiff.AssertAreEqual (exp, v, "#247");
  4722. }
  4723. [Test]
  4724. public void RepeatInfo_3cols_9itms_horiz_tbl_otrtblimp_sep ()
  4725. {
  4726. // cols : 3
  4727. // cnt : 9
  4728. // RepeatDirection : Horizontal
  4729. // RepeatLayout : Table
  4730. // OuterTableImplied : True
  4731. // Header : False
  4732. // Footer : False
  4733. // Separator : True
  4734. string v = RepeatInfoUser.DoTest (3, 9, RepeatDirection.Horizontal, RepeatLayout.Table, true, false, false, true);
  4735. string exp = @"<table border=""0"">
  4736. <tr>
  4737. <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>
  4738. </tr><tr>
  4739. <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>
  4740. </tr><tr>
  4741. <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>
  4742. </tr>
  4743. </table>";
  4744. HtmlDiff.AssertAreEqual (exp, v, "#248");
  4745. }
  4746. [Test]
  4747. public void RepeatInfo_3cols_7itms_horiz_tbl_otrtblimp_sep ()
  4748. {
  4749. // cols : 3
  4750. // cnt : 7
  4751. // RepeatDirection : Horizontal
  4752. // RepeatLayout : Table
  4753. // OuterTableImplied : True
  4754. // Header : False
  4755. // Footer : False
  4756. // Separator : True
  4757. string v = RepeatInfoUser.DoTest (3, 7, RepeatDirection.Horizontal, RepeatLayout.Table, true, false, false, true);
  4758. string exp = @"<table border=""0"">
  4759. <tr>
  4760. <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>
  4761. </tr><tr>
  4762. <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>
  4763. </tr><tr>
  4764. <td class=""Item6"">(12,Item,6)</td><td></td><td></td><td></td><td></td><td></td>
  4765. </tr>
  4766. </table>";
  4767. HtmlDiff.AssertAreEqual (exp, v, "#249");
  4768. }
  4769. [Test]
  4770. public void RepeatInfo_0cols_0itms_vert_tbl_otrtblimp_sep ()
  4771. {
  4772. // cols : 0
  4773. // cnt : 0
  4774. // RepeatDirection : Vertical
  4775. // RepeatLayout : Table
  4776. // OuterTableImplied : True
  4777. // Header : False
  4778. // Footer : False
  4779. // Separator : True
  4780. string v = RepeatInfoUser.DoTest (0, 0, RepeatDirection.Vertical, RepeatLayout.Table, true, false, false, true);
  4781. string exp = @"";
  4782. HtmlDiff.AssertAreEqual (exp, v, "#250");
  4783. }
  4784. [Test]
  4785. public void RepeatInfo_0cols_1itms_vert_tbl_otrtblimp_sep ()
  4786. {
  4787. // cols : 0
  4788. // cnt : 1
  4789. // RepeatDirection : Vertical
  4790. // RepeatLayout : Table
  4791. // OuterTableImplied : True
  4792. // Header : False
  4793. // Footer : False
  4794. // Separator : True
  4795. string v = RepeatInfoUser.DoTest (0, 1, RepeatDirection.Vertical, RepeatLayout.Table, true, false, false, true);
  4796. string exp = @"(0,Item,0)";
  4797. HtmlDiff.AssertAreEqual (exp, v, "#251");
  4798. }
  4799. [Test]
  4800. public void RepeatInfo_0cols_2itms_vert_tbl_otrtblimp_sep ()
  4801. {
  4802. // cols : 0
  4803. // cnt : 2
  4804. // RepeatDirection : Vertical
  4805. // RepeatLayout : Table
  4806. // OuterTableImplied : True
  4807. // Header : False
  4808. // Footer : False
  4809. // Separator : True
  4810. string v = RepeatInfoUser.DoTest (0, 2, RepeatDirection.Vertical, RepeatLayout.Table, true, false, false, true);
  4811. string exp = @"(0,Item,0)(1,Separator,0)(2,Item,1)";
  4812. HtmlDiff.AssertAreEqual (exp, v, "#252");
  4813. }
  4814. [Test]
  4815. public void RepeatInfo_0cols_5itms_vert_tbl_otrtblimp_sep ()
  4816. {
  4817. // cols : 0
  4818. // cnt : 5
  4819. // RepeatDirection : Vertical
  4820. // RepeatLayout : Table
  4821. // OuterTableImplied : True
  4822. // Header : False
  4823. // Footer : False
  4824. // Separator : True
  4825. string v = RepeatInfoUser.DoTest (0, 5, RepeatDirection.Vertical, RepeatLayout.Table, true, false, false, true);
  4826. 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)";
  4827. HtmlDiff.AssertAreEqual (exp, v, "#253");
  4828. }
  4829. [Test]
  4830. public void RepeatInfo_1cols_0itms_vert_tbl_otrtblimp_sep ()
  4831. {
  4832. // cols : 1
  4833. // cnt : 0
  4834. // RepeatDirection : Vertical
  4835. // RepeatLayout : Table
  4836. // OuterTableImplied : True
  4837. // Header : False
  4838. // Footer : False
  4839. // Separator : True
  4840. string v = RepeatInfoUser.DoTest (1, 0, RepeatDirection.Vertical, RepeatLayout.Table, true, false, false, true);
  4841. string exp = @"";
  4842. HtmlDiff.AssertAreEqual (exp, v, "#254");
  4843. }
  4844. [Test]
  4845. public void RepeatInfo_1cols_5itms_vert_tbl_otrtblimp_sep ()
  4846. {
  4847. // cols : 1
  4848. // cnt : 5
  4849. // RepeatDirection : Vertical
  4850. // RepeatLayout : Table
  4851. // OuterTableImplied : True
  4852. // Header : False
  4853. // Footer : False
  4854. // Separator : True
  4855. string v = RepeatInfoUser.DoTest (1, 5, RepeatDirection.Vertical, RepeatLayout.Table, true, false, false, true);
  4856. 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)";
  4857. HtmlDiff.AssertAreEqual (exp, v, "#255");
  4858. }
  4859. [Test]
  4860. public void RepeatInfo_2cols_4itms_vert_tbl_otrtblimp_sep ()
  4861. {
  4862. // cols : 2
  4863. // cnt : 4
  4864. // RepeatDirection : Vertical
  4865. // RepeatLayout : Table
  4866. // OuterTableImplied : True
  4867. // Header : False
  4868. // Footer : False
  4869. // Separator : True
  4870. string v = RepeatInfoUser.DoTest (2, 4, RepeatDirection.Vertical, RepeatLayout.Table, true, false, false, true);
  4871. string exp = @"(0,Item,0)(1,Separator,0)(2,Item,2)(3,Separator,2)(4,Item,1)(5,Separator,1)(6,Item,3)";
  4872. HtmlDiff.AssertAreEqual (exp, v, "#256");
  4873. }
  4874. [Test]
  4875. public void RepeatInfo_2cols_7itms_vert_tbl_otrtblimp_sep ()
  4876. {
  4877. // cols : 2
  4878. // cnt : 7
  4879. // RepeatDirection : Vertical
  4880. // RepeatLayout : Table
  4881. // OuterTableImplied : True
  4882. // Header : False
  4883. // Footer : False
  4884. // Separator : True
  4885. string v = RepeatInfoUser.DoTest (2, 7, RepeatDirection.Vertical, RepeatLayout.Table, true, false, false, true);
  4886. 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)";
  4887. HtmlDiff.AssertAreEqual (exp, v, "#257");
  4888. }
  4889. [Test]
  4890. public void RepeatInfo_3cols_9itms_vert_tbl_otrtblimp_sep ()
  4891. {
  4892. // cols : 3
  4893. // cnt : 9
  4894. // RepeatDirection : Vertical
  4895. // RepeatLayout : Table
  4896. // OuterTableImplied : True
  4897. // Header : False
  4898. // Footer : False
  4899. // Separator : True
  4900. string v = RepeatInfoUser.DoTest (3, 9, RepeatDirection.Vertical, RepeatLayout.Table, true, false, false, true);
  4901. 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)";
  4902. HtmlDiff.AssertAreEqual (exp, v, "#258");
  4903. }
  4904. [Test]
  4905. public void RepeatInfo_3cols_7itms_vert_tbl_otrtblimp_sep ()
  4906. {
  4907. // cols : 3
  4908. // cnt : 7
  4909. // RepeatDirection : Vertical
  4910. // RepeatLayout : Table
  4911. // OuterTableImplied : True
  4912. // Header : False
  4913. // Footer : False
  4914. // Separator : True
  4915. string v = RepeatInfoUser.DoTest (3, 7, RepeatDirection.Vertical, RepeatLayout.Table, true, false, false, true);
  4916. 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)";
  4917. HtmlDiff.AssertAreEqual (exp, v, "#259");
  4918. }
  4919. [Test]
  4920. public void RepeatInfo_0cols_0itms_horiz_flow_otrtblimp_sep ()
  4921. {
  4922. // cols : 0
  4923. // cnt : 0
  4924. // RepeatDirection : Horizontal
  4925. // RepeatLayout : Flow
  4926. // OuterTableImplied : True
  4927. // Header : False
  4928. // Footer : False
  4929. // Separator : True
  4930. string v = RepeatInfoUser.DoTest (0, 0, RepeatDirection.Horizontal, RepeatLayout.Flow, true, false, false, true);
  4931. string exp = @"<span class=""mainstyle""></span>";
  4932. HtmlDiff.AssertAreEqual (exp, v, "#260");
  4933. }
  4934. [Test]
  4935. public void RepeatInfo_0cols_1itms_horiz_flow_otrtblimp_sep ()
  4936. {
  4937. // cols : 0
  4938. // cnt : 1
  4939. // RepeatDirection : Horizontal
  4940. // RepeatLayout : Flow
  4941. // OuterTableImplied : True
  4942. // Header : False
  4943. // Footer : False
  4944. // Separator : True
  4945. string v = RepeatInfoUser.DoTest (0, 1, RepeatDirection.Horizontal, RepeatLayout.Flow, true, false, false, true);
  4946. string exp = @"<span class=""mainstyle"">(0,Item,0)</span>";
  4947. HtmlDiff.AssertAreEqual (exp, v, "#261");
  4948. }
  4949. [Test]
  4950. public void RepeatInfo_0cols_2itms_horiz_flow_otrtblimp_sep ()
  4951. {
  4952. // cols : 0
  4953. // cnt : 2
  4954. // RepeatDirection : Horizontal
  4955. // RepeatLayout : Flow
  4956. // OuterTableImplied : True
  4957. // Header : False
  4958. // Footer : False
  4959. // Separator : True
  4960. string v = RepeatInfoUser.DoTest (0, 2, RepeatDirection.Horizontal, RepeatLayout.Flow, true, false, false, true);
  4961. string exp = @"<span class=""mainstyle"">(0,Item,0)(1,Separator,0)(2,Item,1)</span>";
  4962. HtmlDiff.AssertAreEqual (exp, v, "#262");
  4963. }
  4964. [Test]
  4965. public void RepeatInfo_0cols_5itms_horiz_flow_otrtblimp_sep ()
  4966. {
  4967. // cols : 0
  4968. // cnt : 5
  4969. // RepeatDirection : Horizontal
  4970. // RepeatLayout : Flow
  4971. // OuterTableImplied : True
  4972. // Header : False
  4973. // Footer : False
  4974. // Separator : True
  4975. string v = RepeatInfoUser.DoTest (0, 5, RepeatDirection.Horizontal, RepeatLayout.Flow, true, false, false, true);
  4976. 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>";
  4977. HtmlDiff.AssertAreEqual (exp, v, "#263");
  4978. }
  4979. [Test]
  4980. public void RepeatInfo_1cols_0itms_horiz_flow_otrtblimp_sep ()
  4981. {
  4982. // cols : 1
  4983. // cnt : 0
  4984. // RepeatDirection : Horizontal
  4985. // RepeatLayout : Flow
  4986. // OuterTableImplied : True
  4987. // Header : False
  4988. // Footer : False
  4989. // Separator : True
  4990. string v = RepeatInfoUser.DoTest (1, 0, RepeatDirection.Horizontal, RepeatLayout.Flow, true, false, false, true);
  4991. string exp = @"<span class=""mainstyle""></span>";
  4992. HtmlDiff.AssertAreEqual (exp, v, "#264");
  4993. }
  4994. [Test]
  4995. public void RepeatInfo_1cols_5itms_horiz_flow_otrtblimp_sep ()
  4996. {
  4997. // cols : 1
  4998. // cnt : 5
  4999. // RepeatDirection : Horizontal
  5000. // RepeatLayout : Flow
  5001. // OuterTableImplied : True
  5002. // Header : False
  5003. // Footer : False
  5004. // Separator : True
  5005. string v = RepeatInfoUser.DoTest (1, 5, RepeatDirection.Horizontal, RepeatLayout.Flow, true, false, false, true);
  5006. 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>";
  5007. HtmlDiff.AssertAreEqual (exp, v, "#265");
  5008. }
  5009. [Test]
  5010. public void RepeatInfo_2cols_4itms_horiz_flow_otrtblimp_sep ()
  5011. {
  5012. // cols : 2
  5013. // cnt : 4
  5014. // RepeatDirection : Horizontal
  5015. // RepeatLayout : Flow
  5016. // OuterTableImplied : True
  5017. // Header : False
  5018. // Footer : False
  5019. // Separator : True
  5020. string v = RepeatInfoUser.DoTest (2, 4, RepeatDirection.Horizontal, RepeatLayout.Flow, true, false, false, true);
  5021. 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>";
  5022. HtmlDiff.AssertAreEqual (exp, v, "#266");
  5023. }
  5024. [Test]
  5025. public void RepeatInfo_2cols_7itms_horiz_flow_otrtblimp_sep ()
  5026. {
  5027. // cols : 2
  5028. // cnt : 7
  5029. // RepeatDirection : Horizontal
  5030. // RepeatLayout : Flow
  5031. // OuterTableImplied : True
  5032. // Header : False
  5033. // Footer : False
  5034. // Separator : True
  5035. string v = RepeatInfoUser.DoTest (2, 7, RepeatDirection.Horizontal, RepeatLayout.Flow, true, false, false, true);
  5036. 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>";
  5037. HtmlDiff.AssertAreEqual (exp, v, "#267");
  5038. }
  5039. [Test]
  5040. public void RepeatInfo_3cols_9itms_horiz_flow_otrtblimp_sep ()
  5041. {
  5042. // cols : 3
  5043. // cnt : 9
  5044. // RepeatDirection : Horizontal
  5045. // RepeatLayout : Flow
  5046. // OuterTableImplied : True
  5047. // Header : False
  5048. // Footer : False
  5049. // Separator : True
  5050. string v = RepeatInfoUser.DoTest (3, 9, RepeatDirection.Horizontal, RepeatLayout.Flow, true, false, false, true);
  5051. 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>";
  5052. HtmlDiff.AssertAreEqual (exp, v, "#268");
  5053. }
  5054. [Test]
  5055. public void RepeatInfo_3cols_7itms_horiz_flow_otrtblimp_sep ()
  5056. {
  5057. // cols : 3
  5058. // cnt : 7
  5059. // RepeatDirection : Horizontal
  5060. // RepeatLayout : Flow
  5061. // OuterTableImplied : True
  5062. // Header : False
  5063. // Footer : False
  5064. // Separator : True
  5065. string v = RepeatInfoUser.DoTest (3, 7, RepeatDirection.Horizontal, RepeatLayout.Flow, true, false, false, true);
  5066. 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>";
  5067. HtmlDiff.AssertAreEqual (exp, v, "#269");
  5068. }
  5069. [Test]
  5070. public void RepeatInfo_0cols_0itms_vert_flow_otrtblimp_sep ()
  5071. {
  5072. // cols : 0
  5073. // cnt : 0
  5074. // RepeatDirection : Vertical
  5075. // RepeatLayout : Flow
  5076. // OuterTableImplied : True
  5077. // Header : False
  5078. // Footer : False
  5079. // Separator : True
  5080. string v = RepeatInfoUser.DoTest (0, 0, RepeatDirection.Vertical, RepeatLayout.Flow, true, false, false, true);
  5081. string exp = @"";
  5082. HtmlDiff.AssertAreEqual (exp, v, "#270");
  5083. }
  5084. [Test]
  5085. public void RepeatInfo_0cols_1itms_vert_flow_otrtblimp_sep ()
  5086. {
  5087. // cols : 0
  5088. // cnt : 1
  5089. // RepeatDirection : Vertical
  5090. // RepeatLayout : Flow
  5091. // OuterTableImplied : True
  5092. // Header : False
  5093. // Footer : False
  5094. // Separator : True
  5095. string v = RepeatInfoUser.DoTest (0, 1, RepeatDirection.Vertical, RepeatLayout.Flow, true, false, false, true);
  5096. string exp = @"(0,Item,0)";
  5097. HtmlDiff.AssertAreEqual (exp, v, "#271");
  5098. }
  5099. [Test]
  5100. public void RepeatInfo_0cols_2itms_vert_flow_otrtblimp_sep ()
  5101. {
  5102. // cols : 0
  5103. // cnt : 2
  5104. // RepeatDirection : Vertical
  5105. // RepeatLayout : Flow
  5106. // OuterTableImplied : True
  5107. // Header : False
  5108. // Footer : False
  5109. // Separator : True
  5110. string v = RepeatInfoUser.DoTest (0, 2, RepeatDirection.Vertical, RepeatLayout.Flow, true, false, false, true);
  5111. string exp = @"(0,Item,0)(1,Separator,0)(2,Item,1)";
  5112. HtmlDiff.AssertAreEqual (exp, v, "#272");
  5113. }
  5114. [Test]
  5115. public void RepeatInfo_0cols_5itms_vert_flow_otrtblimp_sep ()
  5116. {
  5117. // cols : 0
  5118. // cnt : 5
  5119. // RepeatDirection : Vertical
  5120. // RepeatLayout : Flow
  5121. // OuterTableImplied : True
  5122. // Header : False
  5123. // Footer : False
  5124. // Separator : True
  5125. string v = RepeatInfoUser.DoTest (0, 5, RepeatDirection.Vertical, RepeatLayout.Flow, true, false, false, true);
  5126. 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)";
  5127. HtmlDiff.AssertAreEqual (exp, v, "#273");
  5128. }
  5129. [Test]
  5130. public void RepeatInfo_1cols_0itms_vert_flow_otrtblimp_sep ()
  5131. {
  5132. // cols : 1
  5133. // cnt : 0
  5134. // RepeatDirection : Vertical
  5135. // RepeatLayout : Flow
  5136. // OuterTableImplied : True
  5137. // Header : False
  5138. // Footer : False
  5139. // Separator : True
  5140. string v = RepeatInfoUser.DoTest (1, 0, RepeatDirection.Vertical, RepeatLayout.Flow, true, false, false, true);
  5141. string exp = @"";
  5142. HtmlDiff.AssertAreEqual (exp, v, "#274");
  5143. }
  5144. [Test]
  5145. public void RepeatInfo_1cols_5itms_vert_flow_otrtblimp_sep ()
  5146. {
  5147. // cols : 1
  5148. // cnt : 5
  5149. // RepeatDirection : Vertical
  5150. // RepeatLayout : Flow
  5151. // OuterTableImplied : True
  5152. // Header : False
  5153. // Footer : False
  5154. // Separator : True
  5155. string v = RepeatInfoUser.DoTest (1, 5, RepeatDirection.Vertical, RepeatLayout.Flow, true, false, false, true);
  5156. 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)";
  5157. HtmlDiff.AssertAreEqual (exp, v, "#275");
  5158. }
  5159. [Test]
  5160. public void RepeatInfo_2cols_4itms_vert_flow_otrtblimp_sep ()
  5161. {
  5162. // cols : 2
  5163. // cnt : 4
  5164. // RepeatDirection : Vertical
  5165. // RepeatLayout : Flow
  5166. // OuterTableImplied : True
  5167. // Header : False
  5168. // Footer : False
  5169. // Separator : True
  5170. string v = RepeatInfoUser.DoTest (2, 4, RepeatDirection.Vertical, RepeatLayout.Flow, true, false, false, true);
  5171. string exp = @"(0,Item,0)(1,Separator,0)(2,Item,2)(3,Separator,2)(4,Item,1)(5,Separator,1)(6,Item,3)";
  5172. HtmlDiff.AssertAreEqual (exp, v, "#276");
  5173. }
  5174. [Test]
  5175. public void RepeatInfo_2cols_7itms_vert_flow_otrtblimp_sep ()
  5176. {
  5177. // cols : 2
  5178. // cnt : 7
  5179. // RepeatDirection : Vertical
  5180. // RepeatLayout : Flow
  5181. // OuterTableImplied : True
  5182. // Header : False
  5183. // Footer : False
  5184. // Separator : True
  5185. string v = RepeatInfoUser.DoTest (2, 7, RepeatDirection.Vertical, RepeatLayout.Flow, true, false, false, true);
  5186. 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)";
  5187. HtmlDiff.AssertAreEqual (exp, v, "#277");
  5188. }
  5189. [Test]
  5190. public void RepeatInfo_3cols_9itms_vert_flow_otrtblimp_sep ()
  5191. {
  5192. // cols : 3
  5193. // cnt : 9
  5194. // RepeatDirection : Vertical
  5195. // RepeatLayout : Flow
  5196. // OuterTableImplied : True
  5197. // Header : False
  5198. // Footer : False
  5199. // Separator : True
  5200. string v = RepeatInfoUser.DoTest (3, 9, RepeatDirection.Vertical, RepeatLayout.Flow, true, false, false, true);
  5201. 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)";
  5202. HtmlDiff.AssertAreEqual (exp, v, "#278");
  5203. }
  5204. [Test]
  5205. public void RepeatInfo_3cols_7itms_vert_flow_otrtblimp_sep ()
  5206. {
  5207. // cols : 3
  5208. // cnt : 7
  5209. // RepeatDirection : Vertical
  5210. // RepeatLayout : Flow
  5211. // OuterTableImplied : True
  5212. // Header : False
  5213. // Footer : False
  5214. // Separator : True
  5215. string v = RepeatInfoUser.DoTest (3, 7, RepeatDirection.Vertical, RepeatLayout.Flow, true, false, false, true);
  5216. 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)";
  5217. HtmlDiff.AssertAreEqual (exp, v, "#279");
  5218. }
  5219. [Test]
  5220. public void RepeatInfo_0cols_0itms_horiz_tbl_sep ()
  5221. {
  5222. // cols : 0
  5223. // cnt : 0
  5224. // RepeatDirection : Horizontal
  5225. // RepeatLayout : Table
  5226. // OuterTableImplied : False
  5227. // Header : False
  5228. // Footer : False
  5229. // Separator : True
  5230. string v = RepeatInfoUser.DoTest (0, 0, RepeatDirection.Horizontal, RepeatLayout.Table, false, false, false, true);
  5231. string exp = @"<table class=""mainstyle"" border=""0"">
  5232. </table>";
  5233. HtmlDiff.AssertAreEqual (exp, v, "#280");
  5234. }
  5235. [Test]
  5236. public void RepeatInfo_0cols_1itms_horiz_tbl_sep ()
  5237. {
  5238. // cols : 0
  5239. // cnt : 1
  5240. // RepeatDirection : Horizontal
  5241. // RepeatLayout : Table
  5242. // OuterTableImplied : False
  5243. // Header : False
  5244. // Footer : False
  5245. // Separator : True
  5246. string v = RepeatInfoUser.DoTest (0, 1, RepeatDirection.Horizontal, RepeatLayout.Table, false, false, false, true);
  5247. string exp = @"<table class=""mainstyle"" border=""0"">
  5248. <tr>
  5249. <td class=""Item0"">(0,Item,0)</td><td></td>
  5250. </tr>
  5251. </table>";
  5252. HtmlDiff.AssertAreEqual (exp, v, "#281");
  5253. }
  5254. [Test]
  5255. public void RepeatInfo_0cols_2itms_horiz_tbl_sep ()
  5256. {
  5257. // cols : 0
  5258. // cnt : 2
  5259. // RepeatDirection : Horizontal
  5260. // RepeatLayout : Table
  5261. // OuterTableImplied : False
  5262. // Header : False
  5263. // Footer : False
  5264. // Separator : True
  5265. string v = RepeatInfoUser.DoTest (0, 2, RepeatDirection.Horizontal, RepeatLayout.Table, false, false, false, true);
  5266. string exp = @"<table class=""mainstyle"" border=""0"">
  5267. <tr>
  5268. <td class=""Item0"">(0,Item,0)</td><td class=""Separator0"">(1,Separator,0)</td><td class=""Item1"">(2,Item,1)</td><td></td>
  5269. </tr>
  5270. </table>";
  5271. HtmlDiff.AssertAreEqual (exp, v, "#282");
  5272. }
  5273. [Test]
  5274. public void RepeatInfo_0cols_5itms_horiz_tbl_sep ()
  5275. {
  5276. // cols : 0
  5277. // cnt : 5
  5278. // RepeatDirection : Horizontal
  5279. // RepeatLayout : Table
  5280. // OuterTableImplied : False
  5281. // Header : False
  5282. // Footer : False
  5283. // Separator : True
  5284. string v = RepeatInfoUser.DoTest (0, 5, RepeatDirection.Horizontal, RepeatLayout.Table, false, false, false, true);
  5285. string exp = @"<table class=""mainstyle"" border=""0"">
  5286. <tr>
  5287. <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>
  5288. </tr>
  5289. </table>";
  5290. HtmlDiff.AssertAreEqual (exp, v, "#283");
  5291. }
  5292. [Test]
  5293. public void RepeatInfo_1cols_0itms_horiz_tbl_sep ()
  5294. {
  5295. // cols : 1
  5296. // cnt : 0
  5297. // RepeatDirection : Horizontal
  5298. // RepeatLayout : Table
  5299. // OuterTableImplied : False
  5300. // Header : False
  5301. // Footer : False
  5302. // Separator : True
  5303. string v = RepeatInfoUser.DoTest (1, 0, RepeatDirection.Horizontal, RepeatLayout.Table, false, false, false, true);
  5304. string exp = @"<table class=""mainstyle"" border=""0"">
  5305. </table>";
  5306. HtmlDiff.AssertAreEqual (exp, v, "#284");
  5307. }
  5308. [Test]
  5309. public void RepeatInfo_1cols_5itms_horiz_tbl_sep ()
  5310. {
  5311. // cols : 1
  5312. // cnt : 5
  5313. // RepeatDirection : Horizontal
  5314. // RepeatLayout : Table
  5315. // OuterTableImplied : False
  5316. // Header : False
  5317. // Footer : False
  5318. // Separator : True
  5319. string v = RepeatInfoUser.DoTest (1, 5, RepeatDirection.Horizontal, RepeatLayout.Table, false, false, false, true);
  5320. string exp = @"<table class=""mainstyle"" border=""0"">
  5321. <tr>
  5322. <td class=""Item0"">(0,Item,0)</td><td class=""Separator0"">(1,Separator,0)</td>
  5323. </tr><tr>
  5324. <td class=""Item1"">(2,Item,1)</td><td class=""Separator1"">(3,Separator,1)</td>
  5325. </tr><tr>
  5326. <td class=""Item2"">(4,Item,2)</td><td class=""Separator2"">(5,Separator,2)</td>
  5327. </tr><tr>
  5328. <td class=""Item3"">(6,Item,3)</td><td class=""Separator3"">(7,Separator,3)</td>
  5329. </tr><tr>
  5330. <td class=""Item4"">(8,Item,4)</td><td></td>
  5331. </tr>
  5332. </table>";
  5333. HtmlDiff.AssertAreEqual (exp, v, "#285");
  5334. }
  5335. [Test]
  5336. public void RepeatInfo_2cols_4itms_horiz_tbl_sep ()
  5337. {
  5338. // cols : 2
  5339. // cnt : 4
  5340. // RepeatDirection : Horizontal
  5341. // RepeatLayout : Table
  5342. // OuterTableImplied : False
  5343. // Header : False
  5344. // Footer : False
  5345. // Separator : True
  5346. string v = RepeatInfoUser.DoTest (2, 4, RepeatDirection.Horizontal, RepeatLayout.Table, false, false, false, true);
  5347. string exp = @"<table class=""mainstyle"" border=""0"">
  5348. <tr>
  5349. <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>
  5350. </tr><tr>
  5351. <td class=""Item2"">(4,Item,2)</td><td class=""Separator2"">(5,Separator,2)</td><td class=""Item3"">(6,Item,3)</td><td></td>
  5352. </tr>
  5353. </table>";
  5354. HtmlDiff.AssertAreEqual (exp, v, "#286");
  5355. }
  5356. [Test]
  5357. public void RepeatInfo_2cols_7itms_horiz_tbl_sep ()
  5358. {
  5359. // cols : 2
  5360. // cnt : 7
  5361. // RepeatDirection : Horizontal
  5362. // RepeatLayout : Table
  5363. // OuterTableImplied : False
  5364. // Header : False
  5365. // Footer : False
  5366. // Separator : True
  5367. string v = RepeatInfoUser.DoTest (2, 7, RepeatDirection.Horizontal, RepeatLayout.Table, false, false, false, true);
  5368. string exp = @"<table class=""mainstyle"" border=""0"">
  5369. <tr>
  5370. <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>
  5371. </tr><tr>
  5372. <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>
  5373. </tr><tr>
  5374. <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>
  5375. </tr><tr>
  5376. <td class=""Item6"">(12,Item,6)</td><td></td><td></td><td></td>
  5377. </tr>
  5378. </table>";
  5379. HtmlDiff.AssertAreEqual (exp, v, "#287");
  5380. }
  5381. [Test]
  5382. public void RepeatInfo_3cols_9itms_horiz_tbl_sep ()
  5383. {
  5384. // cols : 3
  5385. // cnt : 9
  5386. // RepeatDirection : Horizontal
  5387. // RepeatLayout : Table
  5388. // OuterTableImplied : False
  5389. // Header : False
  5390. // Footer : False
  5391. // Separator : True
  5392. string v = RepeatInfoUser.DoTest (3, 9, RepeatDirection.Horizontal, RepeatLayout.Table, false, false, false, true);
  5393. string exp = @"<table border=""0"">
  5394. <tr>
  5395. <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>
  5396. </tr><tr>
  5397. <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>
  5398. </tr><tr>
  5399. <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>
  5400. </tr>
  5401. </table>";
  5402. HtmlDiff.AssertAreEqual (exp, v, "#288");
  5403. }
  5404. [Test]
  5405. public void RepeatInfo_3cols_7itms_horiz_tbl_sep ()
  5406. {
  5407. // cols : 3
  5408. // cnt : 7
  5409. // RepeatDirection : Horizontal
  5410. // RepeatLayout : Table
  5411. // OuterTableImplied : False
  5412. // Header : False
  5413. // Footer : False
  5414. // Separator : True
  5415. string v = RepeatInfoUser.DoTest (3, 7, RepeatDirection.Horizontal, RepeatLayout.Table, false, false, false, true);
  5416. string exp = @"<table border=""0"">
  5417. <tr>
  5418. <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>
  5419. </tr><tr>
  5420. <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>
  5421. </tr><tr>
  5422. <td class=""Item6"">(12,Item,6)</td><td></td><td></td><td></td><td></td><td></td>
  5423. </tr>
  5424. </table>";
  5425. HtmlDiff.AssertAreEqual (exp, v, "#289");
  5426. }
  5427. [Test]
  5428. public void RepeatInfo_0cols_0itms_vert_tbl_sep ()
  5429. {
  5430. // cols : 0
  5431. // cnt : 0
  5432. // RepeatDirection : Vertical
  5433. // RepeatLayout : Table
  5434. // OuterTableImplied : False
  5435. // Header : False
  5436. // Footer : False
  5437. // Separator : True
  5438. string v = RepeatInfoUser.DoTest (0, 0, RepeatDirection.Vertical, RepeatLayout.Table, false, false, false, true);
  5439. string exp = @"<table class=""mainstyle"" border=""0"">
  5440. </table>";
  5441. HtmlDiff.AssertAreEqual (exp, v, "#290");
  5442. }
  5443. [Test]
  5444. public void RepeatInfo_0cols_1itms_vert_tbl_sep ()
  5445. {
  5446. // cols : 0
  5447. // cnt : 1
  5448. // RepeatDirection : Vertical
  5449. // RepeatLayout : Table
  5450. // OuterTableImplied : False
  5451. // Header : False
  5452. // Footer : False
  5453. // Separator : True
  5454. string v = RepeatInfoUser.DoTest (0, 1, RepeatDirection.Vertical, RepeatLayout.Table, false, false, false, true);
  5455. string exp = @"<table class=""mainstyle"" border=""0"">
  5456. <tr>
  5457. <td class=""Item0"">(0,Item,0)</td>
  5458. </tr>
  5459. </table>";
  5460. HtmlDiff.AssertAreEqual (exp, v, "#291");
  5461. }
  5462. [Test]
  5463. public void RepeatInfo_0cols_2itms_vert_tbl_sep ()
  5464. {
  5465. // cols : 0
  5466. // cnt : 2
  5467. // RepeatDirection : Vertical
  5468. // RepeatLayout : Table
  5469. // OuterTableImplied : False
  5470. // Header : False
  5471. // Footer : False
  5472. // Separator : True
  5473. string v = RepeatInfoUser.DoTest (0, 2, RepeatDirection.Vertical, RepeatLayout.Table, false, false, false, true);
  5474. string exp = @"<table class=""mainstyle"" border=""0"">
  5475. <tr>
  5476. <td class=""Item0"">(0,Item,0)</td>
  5477. </tr><tr>
  5478. <td class=""Separator0"">(1,Separator,0)</td>
  5479. </tr><tr>
  5480. <td class=""Item1"">(2,Item,1)</td>
  5481. </tr>
  5482. </table>";
  5483. HtmlDiff.AssertAreEqual (exp, v, "#292");
  5484. }
  5485. [Test]
  5486. public void RepeatInfo_0cols_5itms_vert_tbl_sep ()
  5487. {
  5488. // cols : 0
  5489. // cnt : 5
  5490. // RepeatDirection : Vertical
  5491. // RepeatLayout : Table
  5492. // OuterTableImplied : False
  5493. // Header : False
  5494. // Footer : False
  5495. // Separator : True
  5496. string v = RepeatInfoUser.DoTest (0, 5, RepeatDirection.Vertical, RepeatLayout.Table, false, false, false, true);
  5497. string exp = @"<table class=""mainstyle"" border=""0"">
  5498. <tr>
  5499. <td class=""Item0"">(0,Item,0)</td>
  5500. </tr><tr>
  5501. <td class=""Separator0"">(1,Separator,0)</td>
  5502. </tr><tr>
  5503. <td class=""Item1"">(2,Item,1)</td>
  5504. </tr><tr>
  5505. <td class=""Separator1"">(3,Separator,1)</td>
  5506. </tr><tr>
  5507. <td class=""Item2"">(4,Item,2)</td>
  5508. </tr><tr>
  5509. <td class=""Separator2"">(5,Separator,2)</td>
  5510. </tr><tr>
  5511. <td class=""Item3"">(6,Item,3)</td>
  5512. </tr><tr>
  5513. <td class=""Separator3"">(7,Separator,3)</td>
  5514. </tr><tr>
  5515. <td class=""Item4"">(8,Item,4)</td>
  5516. </tr>
  5517. </table>";
  5518. HtmlDiff.AssertAreEqual (exp, v, "#293");
  5519. }
  5520. [Test]
  5521. public void RepeatInfo_1cols_0itms_vert_tbl_sep ()
  5522. {
  5523. // cols : 1
  5524. // cnt : 0
  5525. // RepeatDirection : Vertical
  5526. // RepeatLayout : Table
  5527. // OuterTableImplied : False
  5528. // Header : False
  5529. // Footer : False
  5530. // Separator : True
  5531. string v = RepeatInfoUser.DoTest (1, 0, RepeatDirection.Vertical, RepeatLayout.Table, false, false, false, true);
  5532. string exp = @"<table class=""mainstyle"" border=""0"">
  5533. </table>";
  5534. HtmlDiff.AssertAreEqual (exp, v, "#294");
  5535. }
  5536. [Test]
  5537. public void RepeatInfo_1cols_5itms_vert_tbl_sep ()
  5538. {
  5539. // cols : 1
  5540. // cnt : 5
  5541. // RepeatDirection : Vertical
  5542. // RepeatLayout : Table
  5543. // OuterTableImplied : False
  5544. // Header : False
  5545. // Footer : False
  5546. // Separator : True
  5547. string v = RepeatInfoUser.DoTest (1, 5, RepeatDirection.Vertical, RepeatLayout.Table, false, false, false, true);
  5548. string exp = @"<table class=""mainstyle"" border=""0"">
  5549. <tr>
  5550. <td class=""Item0"">(0,Item,0)</td>
  5551. </tr><tr>
  5552. <td class=""Separator0"">(1,Separator,0)</td>
  5553. </tr><tr>
  5554. <td class=""Item1"">(2,Item,1)</td>
  5555. </tr><tr>
  5556. <td class=""Separator1"">(3,Separator,1)</td>
  5557. </tr><tr>
  5558. <td class=""Item2"">(4,Item,2)</td>
  5559. </tr><tr>
  5560. <td class=""Separator2"">(5,Separator,2)</td>
  5561. </tr><tr>
  5562. <td class=""Item3"">(6,Item,3)</td>
  5563. </tr><tr>
  5564. <td class=""Separator3"">(7,Separator,3)</td>
  5565. </tr><tr>
  5566. <td class=""Item4"">(8,Item,4)</td>
  5567. </tr>
  5568. </table>";
  5569. HtmlDiff.AssertAreEqual (exp, v, "#295");
  5570. }
  5571. [Test]
  5572. public void RepeatInfo_2cols_4itms_vert_tbl_sep ()
  5573. {
  5574. // cols : 2
  5575. // cnt : 4
  5576. // RepeatDirection : Vertical
  5577. // RepeatLayout : Table
  5578. // OuterTableImplied : False
  5579. // Header : False
  5580. // Footer : False
  5581. // Separator : True
  5582. string v = RepeatInfoUser.DoTest (2, 4, RepeatDirection.Vertical, RepeatLayout.Table, false, false, false, true);
  5583. string exp = @"<table class=""mainstyle"" border=""0"">
  5584. <tr>
  5585. <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>
  5586. </tr><tr>
  5587. <td class=""Item1"">(4,Item,1)</td><td class=""Separator1"">(5,Separator,1)</td><td class=""Item3"">(6,Item,3)</td><td></td>
  5588. </tr>
  5589. </table>";
  5590. HtmlDiff.AssertAreEqual (exp, v, "#296");
  5591. }
  5592. [Test]
  5593. public void RepeatInfo_2cols_7itms_vert_tbl_sep ()
  5594. {
  5595. // cols : 2
  5596. // cnt : 7
  5597. // RepeatDirection : Vertical
  5598. // RepeatLayout : Table
  5599. // OuterTableImplied : False
  5600. // Header : False
  5601. // Footer : False
  5602. // Separator : True
  5603. string v = RepeatInfoUser.DoTest (2, 7, RepeatDirection.Vertical, RepeatLayout.Table, false, false, false, true);
  5604. string exp = @"<table class=""mainstyle"" border=""0"">
  5605. <tr>
  5606. <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>
  5607. </tr><tr>
  5608. <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>
  5609. </tr><tr>
  5610. <td class=""Item2"">(8,Item,2)</td><td class=""Separator2"">(9,Separator,2)</td><td class=""Item6"">(10,Item,6)</td><td></td>
  5611. </tr><tr>
  5612. <td class=""Item3"">(11,Item,3)</td><td class=""Separator3"">(12,Separator,3)</td><td></td><td></td>
  5613. </tr>
  5614. </table>";
  5615. HtmlDiff.AssertAreEqual (exp, v, "#297");
  5616. }
  5617. [Test]
  5618. public void RepeatInfo_3cols_9itms_vert_tbl_sep ()
  5619. {
  5620. // cols : 3
  5621. // cnt : 9
  5622. // RepeatDirection : Vertical
  5623. // RepeatLayout : Table
  5624. // OuterTableImplied : False
  5625. // Header : False
  5626. // Footer : False
  5627. // Separator : True
  5628. string v = RepeatInfoUser.DoTest (3, 9, RepeatDirection.Vertical, RepeatLayout.Table, false, false, false, true);
  5629. string exp = @"<table border=""0"">
  5630. <tr>
  5631. <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>
  5632. </tr><tr>
  5633. <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>
  5634. </tr><tr>
  5635. <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>
  5636. </tr>
  5637. </table>";
  5638. HtmlDiff.AssertAreEqual (exp, v, "#298");
  5639. }
  5640. [Test]
  5641. public void RepeatInfo_3cols_7itms_vert_tbl_sep ()
  5642. {
  5643. // cols : 3
  5644. // cnt : 7
  5645. // RepeatDirection : Vertical
  5646. // RepeatLayout : Table
  5647. // OuterTableImplied : False
  5648. // Header : False
  5649. // Footer : False
  5650. // Separator : True
  5651. string v = RepeatInfoUser.DoTest (3, 7, RepeatDirection.Vertical, RepeatLayout.Table, false, false, false, true);
  5652. string exp = @"<table border=""0"">
  5653. <tr>
  5654. <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>
  5655. </tr><tr>
  5656. <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>
  5657. </tr><tr>
  5658. <td class=""Item2"">(11,Item,2)</td><td class=""Separator2"">(12,Separator,2)</td><td></td><td></td><td></td><td></td>
  5659. </tr>
  5660. </table>";
  5661. HtmlDiff.AssertAreEqual (exp, v, "#299");
  5662. }
  5663. [Test]
  5664. public void RepeatInfo_0cols_0itms_horiz_flow_sep ()
  5665. {
  5666. // cols : 0
  5667. // cnt : 0
  5668. // RepeatDirection : Horizontal
  5669. // RepeatLayout : Flow
  5670. // OuterTableImplied : False
  5671. // Header : False
  5672. // Footer : False
  5673. // Separator : True
  5674. string v = RepeatInfoUser.DoTest (0, 0, RepeatDirection.Horizontal, RepeatLayout.Flow, false, false, false, true);
  5675. string exp = @"<span class=""mainstyle""></span>";
  5676. HtmlDiff.AssertAreEqual (exp, v, "#300");
  5677. }
  5678. [Test]
  5679. public void RepeatInfo_0cols_1itms_horiz_flow_sep ()
  5680. {
  5681. // cols : 0
  5682. // cnt : 1
  5683. // RepeatDirection : Horizontal
  5684. // RepeatLayout : Flow
  5685. // OuterTableImplied : False
  5686. // Header : False
  5687. // Footer : False
  5688. // Separator : True
  5689. string v = RepeatInfoUser.DoTest (0, 1, RepeatDirection.Horizontal, RepeatLayout.Flow, false, false, false, true);
  5690. string exp = @"<span class=""mainstyle"">(0,Item,0)</span>";
  5691. HtmlDiff.AssertAreEqual (exp, v, "#301");
  5692. }
  5693. [Test]
  5694. public void RepeatInfo_0cols_2itms_horiz_flow_sep ()
  5695. {
  5696. // cols : 0
  5697. // cnt : 2
  5698. // RepeatDirection : Horizontal
  5699. // RepeatLayout : Flow
  5700. // OuterTableImplied : False
  5701. // Header : False
  5702. // Footer : False
  5703. // Separator : True
  5704. string v = RepeatInfoUser.DoTest (0, 2, RepeatDirection.Horizontal, RepeatLayout.Flow, false, false, false, true);
  5705. string exp = @"<span class=""mainstyle"">(0,Item,0)(1,Separator,0)(2,Item,1)</span>";
  5706. HtmlDiff.AssertAreEqual (exp, v, "#302");
  5707. }
  5708. [Test]
  5709. public void RepeatInfo_0cols_5itms_horiz_flow_sep ()
  5710. {
  5711. // cols : 0
  5712. // cnt : 5
  5713. // RepeatDirection : Horizontal
  5714. // RepeatLayout : Flow
  5715. // OuterTableImplied : False
  5716. // Header : False
  5717. // Footer : False
  5718. // Separator : True
  5719. string v = RepeatInfoUser.DoTest (0, 5, RepeatDirection.Horizontal, RepeatLayout.Flow, false, false, false, true);
  5720. 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>";
  5721. HtmlDiff.AssertAreEqual (exp, v, "#303");
  5722. }
  5723. [Test]
  5724. public void RepeatInfo_1cols_0itms_horiz_flow_sep ()
  5725. {
  5726. // cols : 1
  5727. // cnt : 0
  5728. // RepeatDirection : Horizontal
  5729. // RepeatLayout : Flow
  5730. // OuterTableImplied : False
  5731. // Header : False
  5732. // Footer : False
  5733. // Separator : True
  5734. string v = RepeatInfoUser.DoTest (1, 0, RepeatDirection.Horizontal, RepeatLayout.Flow, false, false, false, true);
  5735. string exp = @"<span class=""mainstyle""></span>";
  5736. HtmlDiff.AssertAreEqual (exp, v, "#304");
  5737. }
  5738. [Test]
  5739. public void RepeatInfo_1cols_5itms_horiz_flow_sep ()
  5740. {
  5741. // cols : 1
  5742. // cnt : 5
  5743. // RepeatDirection : Horizontal
  5744. // RepeatLayout : Flow
  5745. // OuterTableImplied : False
  5746. // Header : False
  5747. // Footer : False
  5748. // Separator : True
  5749. string v = RepeatInfoUser.DoTest (1, 5, RepeatDirection.Horizontal, RepeatLayout.Flow, false, false, false, true);
  5750. 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>";
  5751. HtmlDiff.AssertAreEqual (exp, v, "#305");
  5752. }
  5753. [Test]
  5754. public void RepeatInfo_2cols_4itms_horiz_flow_sep ()
  5755. {
  5756. // cols : 2
  5757. // cnt : 4
  5758. // RepeatDirection : Horizontal
  5759. // RepeatLayout : Flow
  5760. // OuterTableImplied : False
  5761. // Header : False
  5762. // Footer : False
  5763. // Separator : True
  5764. string v = RepeatInfoUser.DoTest (2, 4, RepeatDirection.Horizontal, RepeatLayout.Flow, false, false, false, true);
  5765. 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>";
  5766. HtmlDiff.AssertAreEqual (exp, v, "#306");
  5767. }
  5768. [Test]
  5769. public void RepeatInfo_2cols_7itms_horiz_flow_sep ()
  5770. {
  5771. // cols : 2
  5772. // cnt : 7
  5773. // RepeatDirection : Horizontal
  5774. // RepeatLayout : Flow
  5775. // OuterTableImplied : False
  5776. // Header : False
  5777. // Footer : False
  5778. // Separator : True
  5779. string v = RepeatInfoUser.DoTest (2, 7, RepeatDirection.Horizontal, RepeatLayout.Flow, false, false, false, true);
  5780. 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>";
  5781. HtmlDiff.AssertAreEqual (exp, v, "#307");
  5782. }
  5783. [Test]
  5784. public void RepeatInfo_3cols_9itms_horiz_flow_sep ()
  5785. {
  5786. // cols : 3
  5787. // cnt : 9
  5788. // RepeatDirection : Horizontal
  5789. // RepeatLayout : Flow
  5790. // OuterTableImplied : False
  5791. // Header : False
  5792. // Footer : False
  5793. // Separator : True
  5794. string v = RepeatInfoUser.DoTest (3, 9, RepeatDirection.Horizontal, RepeatLayout.Flow, false, false, false, true);
  5795. 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>";
  5796. HtmlDiff.AssertAreEqual (exp, v, "#308");
  5797. }
  5798. [Test]
  5799. public void RepeatInfo_3cols_7itms_horiz_flow_sep ()
  5800. {
  5801. // cols : 3
  5802. // cnt : 7
  5803. // RepeatDirection : Horizontal
  5804. // RepeatLayout : Flow
  5805. // OuterTableImplied : False
  5806. // Header : False
  5807. // Footer : False
  5808. // Separator : True
  5809. string v = RepeatInfoUser.DoTest (3, 7, RepeatDirection.Horizontal, RepeatLayout.Flow, false, false, false, true);
  5810. 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>";
  5811. HtmlDiff.AssertAreEqual (exp, v, "#309");
  5812. }
  5813. [Test]
  5814. public void RepeatInfo_0cols_0itms_vert_flow_sep ()
  5815. {
  5816. // cols : 0
  5817. // cnt : 0
  5818. // RepeatDirection : Vertical
  5819. // RepeatLayout : Flow
  5820. // OuterTableImplied : False
  5821. // Header : False
  5822. // Footer : False
  5823. // Separator : True
  5824. string v = RepeatInfoUser.DoTest (0, 0, RepeatDirection.Vertical, RepeatLayout.Flow, false, false, false, true);
  5825. string exp = @"<span class=""mainstyle""></span>";
  5826. HtmlDiff.AssertAreEqual (exp, v, "#310");
  5827. }
  5828. [Test]
  5829. public void RepeatInfo_0cols_1itms_vert_flow_sep ()
  5830. {
  5831. // cols : 0
  5832. // cnt : 1
  5833. // RepeatDirection : Vertical
  5834. // RepeatLayout : Flow
  5835. // OuterTableImplied : False
  5836. // Header : False
  5837. // Footer : False
  5838. // Separator : True
  5839. string v = RepeatInfoUser.DoTest (0, 1, RepeatDirection.Vertical, RepeatLayout.Flow, false, false, false, true);
  5840. string exp = @"<span class=""mainstyle"">(0,Item,0)</span>";
  5841. HtmlDiff.AssertAreEqual (exp, v, "#311");
  5842. }
  5843. [Test]
  5844. public void RepeatInfo_0cols_2itms_vert_flow_sep ()
  5845. {
  5846. // cols : 0
  5847. // cnt : 2
  5848. // RepeatDirection : Vertical
  5849. // RepeatLayout : Flow
  5850. // OuterTableImplied : False
  5851. // Header : False
  5852. // Footer : False
  5853. // Separator : True
  5854. string v = RepeatInfoUser.DoTest (0, 2, RepeatDirection.Vertical, RepeatLayout.Flow, false, false, false, true);
  5855. string exp = @"<span class=""mainstyle"">(0,Item,0)<br />(1,Separator,0)<br />(2,Item,1)</span>";
  5856. HtmlDiff.AssertAreEqual (exp, v, "#312");
  5857. }
  5858. [Test]
  5859. public void RepeatInfo_0cols_5itms_vert_flow_sep ()
  5860. {
  5861. // cols : 0
  5862. // cnt : 5
  5863. // RepeatDirection : Vertical
  5864. // RepeatLayout : Flow
  5865. // OuterTableImplied : False
  5866. // Header : False
  5867. // Footer : False
  5868. // Separator : True
  5869. string v = RepeatInfoUser.DoTest (0, 5, RepeatDirection.Vertical, RepeatLayout.Flow, false, false, false, true);
  5870. 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>";
  5871. HtmlDiff.AssertAreEqual (exp, v, "#313");
  5872. }
  5873. [Test]
  5874. public void RepeatInfo_1cols_0itms_vert_flow_sep ()
  5875. {
  5876. // cols : 1
  5877. // cnt : 0
  5878. // RepeatDirection : Vertical
  5879. // RepeatLayout : Flow
  5880. // OuterTableImplied : False
  5881. // Header : False
  5882. // Footer : False
  5883. // Separator : True
  5884. string v = RepeatInfoUser.DoTest (1, 0, RepeatDirection.Vertical, RepeatLayout.Flow, false, false, false, true);
  5885. string exp = @"<span class=""mainstyle""></span>";
  5886. HtmlDiff.AssertAreEqual (exp, v, "#314");
  5887. }
  5888. [Test]
  5889. public void RepeatInfo_1cols_5itms_vert_flow_sep ()
  5890. {
  5891. // cols : 1
  5892. // cnt : 5
  5893. // RepeatDirection : Vertical
  5894. // RepeatLayout : Flow
  5895. // OuterTableImplied : False
  5896. // Header : False
  5897. // Footer : False
  5898. // Separator : True
  5899. string v = RepeatInfoUser.DoTest (1, 5, RepeatDirection.Vertical, RepeatLayout.Flow, false, false, false, true);
  5900. 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>";
  5901. HtmlDiff.AssertAreEqual (exp, v, "#315");
  5902. }
  5903. [Test]
  5904. public void RepeatInfo_2cols_4itms_vert_flow_sep ()
  5905. {
  5906. // cols : 2
  5907. // cnt : 4
  5908. // RepeatDirection : Vertical
  5909. // RepeatLayout : Flow
  5910. // OuterTableImplied : False
  5911. // Header : False
  5912. // Footer : False
  5913. // Separator : True
  5914. string v = RepeatInfoUser.DoTest (2, 4, RepeatDirection.Vertical, RepeatLayout.Flow, false, false, false, true);
  5915. 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>";
  5916. HtmlDiff.AssertAreEqual (exp, v, "#316");
  5917. }
  5918. [Test]
  5919. public void RepeatInfo_2cols_7itms_vert_flow_sep ()
  5920. {
  5921. // cols : 2
  5922. // cnt : 7
  5923. // RepeatDirection : Vertical
  5924. // RepeatLayout : Flow
  5925. // OuterTableImplied : False
  5926. // Header : False
  5927. // Footer : False
  5928. // Separator : True
  5929. string v = RepeatInfoUser.DoTest (2, 7, RepeatDirection.Vertical, RepeatLayout.Flow, false, false, false, true);
  5930. 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>";
  5931. HtmlDiff.AssertAreEqual (exp, v, "#317");
  5932. }
  5933. [Test]
  5934. public void RepeatInfo_3cols_9itms_vert_flow_sep ()
  5935. {
  5936. // cols : 3
  5937. // cnt : 9
  5938. // RepeatDirection : Vertical
  5939. // RepeatLayout : Flow
  5940. // OuterTableImplied : False
  5941. // Header : False
  5942. // Footer : False
  5943. // Separator : True
  5944. string v = RepeatInfoUser.DoTest (3, 9, RepeatDirection.Vertical, RepeatLayout.Flow, false, false, false, true);
  5945. 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>";
  5946. HtmlDiff.AssertAreEqual (exp, v, "#318");
  5947. }
  5948. [Test]
  5949. public void RepeatInfo_3cols_7itms_vert_flow_sep ()
  5950. {
  5951. // cols : 3
  5952. // cnt : 7
  5953. // RepeatDirection : Vertical
  5954. // RepeatLayout : Flow
  5955. // OuterTableImplied : False
  5956. // Header : False
  5957. // Footer : False
  5958. // Separator : True
  5959. string v = RepeatInfoUser.DoTest (3, 7, RepeatDirection.Vertical, RepeatLayout.Flow, false, false, false, true);
  5960. 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>";
  5961. HtmlDiff.AssertAreEqual (exp, v, "#319");
  5962. }
  5963. [Test]
  5964. public void RepeatInfo_0cols_0itms_horiz_tbl_otrtblimp_hdr_ftr ()
  5965. {
  5966. // cols : 0
  5967. // cnt : 0
  5968. // RepeatDirection : Horizontal
  5969. // RepeatLayout : Table
  5970. // OuterTableImplied : True
  5971. // Header : True
  5972. // Footer : True
  5973. // Separator : False
  5974. string v = RepeatInfoUser.DoTest (0, 0, RepeatDirection.Horizontal, RepeatLayout.Table, true, true, true, false);
  5975. string exp = @"<table class=""mainstyle"" border=""0"">
  5976. <tr>
  5977. <td colspan=""0"" class=""Header-1"">(0,Header,-1)</td>
  5978. </tr><tr>
  5979. <td colspan=""0"" class=""Footer-1"">(1,Footer,-1)</td>
  5980. </tr>
  5981. </table>";
  5982. HtmlDiff.AssertAreEqual (exp, v, "#320");
  5983. }
  5984. [Test]
  5985. public void RepeatInfo_0cols_1itms_horiz_tbl_otrtblimp_hdr_ftr ()
  5986. {
  5987. // cols : 0
  5988. // cnt : 1
  5989. // RepeatDirection : Horizontal
  5990. // RepeatLayout : Table
  5991. // OuterTableImplied : True
  5992. // Header : True
  5993. // Footer : True
  5994. // Separator : False
  5995. string v = RepeatInfoUser.DoTest (0, 1, RepeatDirection.Horizontal, RepeatLayout.Table, true, true, true, false);
  5996. string exp = @"<table class=""mainstyle"" border=""0"">
  5997. <tr>
  5998. <td class=""Header-1"">(0,Header,-1)</td>
  5999. </tr><tr>
  6000. <td class=""Item0"">(1,Item,0)</td>
  6001. </tr><tr>
  6002. <td class=""Footer-1"">(2,Footer,-1)</td>
  6003. </tr>
  6004. </table>";
  6005. HtmlDiff.AssertAreEqual (exp, v, "#321");
  6006. }
  6007. [Test]
  6008. public void RepeatInfo_0cols_2itms_horiz_tbl_otrtblimp_hdr_ftr ()
  6009. {
  6010. // cols : 0
  6011. // cnt : 2
  6012. // RepeatDirection : Horizontal
  6013. // RepeatLayout : Table
  6014. // OuterTableImplied : True
  6015. // Header : True
  6016. // Footer : True
  6017. // Separator : False
  6018. string v = RepeatInfoUser.DoTest (0, 2, RepeatDirection.Horizontal, RepeatLayout.Table, true, true, true, false);
  6019. string exp = @"<table class=""mainstyle"" border=""0"">
  6020. <tr>
  6021. <td colspan=""2"" class=""Header-1"">(0,Header,-1)</td>
  6022. </tr><tr>
  6023. <td class=""Item0"">(1,Item,0)</td><td class=""Item1"">(2,Item,1)</td>
  6024. </tr><tr>
  6025. <td colspan=""2"" class=""Footer-1"">(3,Footer,-1)</td>
  6026. </tr>
  6027. </table>";
  6028. HtmlDiff.AssertAreEqual (exp, v, "#322");
  6029. }
  6030. [Test]
  6031. public void RepeatInfo_0cols_5itms_horiz_tbl_otrtblimp_hdr_ftr ()
  6032. {
  6033. // cols : 0
  6034. // cnt : 5
  6035. // RepeatDirection : Horizontal
  6036. // RepeatLayout : Table
  6037. // OuterTableImplied : True
  6038. // Header : True
  6039. // Footer : True
  6040. // Separator : False
  6041. string v = RepeatInfoUser.DoTest (0, 5, RepeatDirection.Horizontal, RepeatLayout.Table, true, true, true, false);
  6042. string exp = @"<table class=""mainstyle"" border=""0"">
  6043. <tr>
  6044. <td colspan=""5"" class=""Header-1"">(0,Header,-1)</td>
  6045. </tr><tr>
  6046. <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>
  6047. </tr><tr>
  6048. <td colspan=""5"" class=""Footer-1"">(6,Footer,-1)</td>
  6049. </tr>
  6050. </table>";
  6051. HtmlDiff.AssertAreEqual (exp, v, "#323");
  6052. }
  6053. [Test]
  6054. public void RepeatInfo_1cols_0itms_horiz_tbl_otrtblimp_hdr_ftr ()
  6055. {
  6056. // cols : 1
  6057. // cnt : 0
  6058. // RepeatDirection : Horizontal
  6059. // RepeatLayout : Table
  6060. // OuterTableImplied : True
  6061. // Header : True
  6062. // Footer : True
  6063. // Separator : False
  6064. string v = RepeatInfoUser.DoTest (1, 0, RepeatDirection.Horizontal, RepeatLayout.Table, true, true, true, false);
  6065. string exp = @"<table class=""mainstyle"" border=""0"">
  6066. <tr>
  6067. <td class=""Header-1"">(0,Header,-1)</td>
  6068. </tr><tr>
  6069. <td class=""Footer-1"">(1,Footer,-1)</td>
  6070. </tr>
  6071. </table>";
  6072. HtmlDiff.AssertAreEqual (exp, v, "#324");
  6073. }
  6074. [Test]
  6075. public void RepeatInfo_1cols_5itms_horiz_tbl_otrtblimp_hdr_ftr ()
  6076. {
  6077. // cols : 1
  6078. // cnt : 5
  6079. // RepeatDirection : Horizontal
  6080. // RepeatLayout : Table
  6081. // OuterTableImplied : True
  6082. // Header : True
  6083. // Footer : True
  6084. // Separator : False
  6085. string v = RepeatInfoUser.DoTest (1, 5, RepeatDirection.Horizontal, RepeatLayout.Table, true, true, true, false);
  6086. string exp = @"<table class=""mainstyle"" border=""0"">
  6087. <tr>
  6088. <td class=""Header-1"">(0,Header,-1)</td>
  6089. </tr><tr>
  6090. <td class=""Item0"">(1,Item,0)</td>
  6091. </tr><tr>
  6092. <td class=""Item1"">(2,Item,1)</td>
  6093. </tr><tr>
  6094. <td class=""Item2"">(3,Item,2)</td>
  6095. </tr><tr>
  6096. <td class=""Item3"">(4,Item,3)</td>
  6097. </tr><tr>
  6098. <td class=""Item4"">(5,Item,4)</td>
  6099. </tr><tr>
  6100. <td class=""Footer-1"">(6,Footer,-1)</td>
  6101. </tr>
  6102. </table>";
  6103. HtmlDiff.AssertAreEqual (exp, v, "#325");
  6104. }
  6105. [Test]
  6106. public void RepeatInfo_2cols_4itms_horiz_tbl_otrtblimp_hdr_ftr ()
  6107. {
  6108. // cols : 2
  6109. // cnt : 4
  6110. // RepeatDirection : Horizontal
  6111. // RepeatLayout : Table
  6112. // OuterTableImplied : True
  6113. // Header : True
  6114. // Footer : True
  6115. // Separator : False
  6116. string v = RepeatInfoUser.DoTest (2, 4, RepeatDirection.Horizontal, RepeatLayout.Table, true, true, true, false);
  6117. string exp = @"<table class=""mainstyle"" border=""0"">
  6118. <tr>
  6119. <td colspan=""2"" class=""Header-1"">(0,Header,-1)</td>
  6120. </tr><tr>
  6121. <td class=""Item0"">(1,Item,0)</td><td class=""Item1"">(2,Item,1)</td>
  6122. </tr><tr>
  6123. <td class=""Item2"">(3,Item,2)</td><td class=""Item3"">(4,Item,3)</td>
  6124. </tr><tr>
  6125. <td colspan=""2"" class=""Footer-1"">(5,Footer,-1)</td>
  6126. </tr>
  6127. </table>";
  6128. HtmlDiff.AssertAreEqual (exp, v, "#326");
  6129. }
  6130. [Test]
  6131. public void RepeatInfo_2cols_7itms_horiz_tbl_otrtblimp_hdr_ftr ()
  6132. {
  6133. // cols : 2
  6134. // cnt : 7
  6135. // RepeatDirection : Horizontal
  6136. // RepeatLayout : Table
  6137. // OuterTableImplied : True
  6138. // Header : True
  6139. // Footer : True
  6140. // Separator : False
  6141. string v = RepeatInfoUser.DoTest (2, 7, RepeatDirection.Horizontal, RepeatLayout.Table, true, true, true, false);
  6142. string exp = @"<table class=""mainstyle"" border=""0"">
  6143. <tr>
  6144. <td colspan=""2"" class=""Header-1"">(0,Header,-1)</td>
  6145. </tr><tr>
  6146. <td class=""Item0"">(1,Item,0)</td><td class=""Item1"">(2,Item,1)</td>
  6147. </tr><tr>
  6148. <td class=""Item2"">(3,Item,2)</td><td class=""Item3"">(4,Item,3)</td>
  6149. </tr><tr>
  6150. <td class=""Item4"">(5,Item,4)</td><td class=""Item5"">(6,Item,5)</td>
  6151. </tr><tr>
  6152. <td class=""Item6"">(7,Item,6)</td><td></td>
  6153. </tr><tr>
  6154. <td colspan=""2"" class=""Footer-1"">(8,Footer,-1)</td>
  6155. </tr>
  6156. </table>";
  6157. HtmlDiff.AssertAreEqual (exp, v, "#327");
  6158. }
  6159. [Test]
  6160. public void RepeatInfo_3cols_9itms_horiz_tbl_otrtblimp_hdr_ftr ()
  6161. {
  6162. // cols : 3
  6163. // cnt : 9
  6164. // RepeatDirection : Horizontal
  6165. // RepeatLayout : Table
  6166. // OuterTableImplied : True
  6167. // Header : True
  6168. // Footer : True
  6169. // Separator : False
  6170. string v = RepeatInfoUser.DoTest (3, 9, RepeatDirection.Horizontal, RepeatLayout.Table, true, true, true, false);
  6171. string exp = @"<table border=""0"">
  6172. <tr>
  6173. <td colspan=""3"" class=""Header-1"">(0,Header,-1)</td>
  6174. </tr><tr>
  6175. <td class=""Item0"">(1,Item,0)</td><td class=""Item1"">(2,Item,1)</td><td class=""Item2"">(3,Item,2)</td>
  6176. </tr><tr>
  6177. <td class=""Item3"">(4,Item,3)</td><td class=""Item4"">(5,Item,4)</td><td class=""Item5"">(6,Item,5)</td>
  6178. </tr><tr>
  6179. <td class=""Item6"">(7,Item,6)</td><td class=""Item7"">(8,Item,7)</td><td class=""Item8"">(9,Item,8)</td>
  6180. </tr><tr>
  6181. <td colspan=""3"" class=""Footer-1"">(10,Footer,-1)</td>
  6182. </tr>
  6183. </table>";
  6184. HtmlDiff.AssertAreEqual (exp, v, "#328");
  6185. }
  6186. [Test]
  6187. public void RepeatInfo_3cols_7itms_horiz_tbl_otrtblimp_hdr_ftr ()
  6188. {
  6189. // cols : 3
  6190. // cnt : 7
  6191. // RepeatDirection : Horizontal
  6192. // RepeatLayout : Table
  6193. // OuterTableImplied : True
  6194. // Header : True
  6195. // Footer : True
  6196. // Separator : False
  6197. string v = RepeatInfoUser.DoTest (3, 7, RepeatDirection.Horizontal, RepeatLayout.Table, true, true, true, false);
  6198. string exp = @"<table border=""0"">
  6199. <tr>
  6200. <td colspan=""3"" class=""Header-1"">(0,Header,-1)</td>
  6201. </tr><tr>
  6202. <td class=""Item0"">(1,Item,0)</td><td class=""Item1"">(2,Item,1)</td><td class=""Item2"">(3,Item,2)</td>
  6203. </tr><tr>
  6204. <td class=""Item3"">(4,Item,3)</td><td class=""Item4"">(5,Item,4)</td><td class=""Item5"">(6,Item,5)</td>
  6205. </tr><tr>
  6206. <td class=""Item6"">(7,Item,6)</td><td></td><td></td>
  6207. </tr><tr>
  6208. <td colspan=""3"" class=""Footer-1"">(8,Footer,-1)</td>
  6209. </tr>
  6210. </table>";
  6211. HtmlDiff.AssertAreEqual (exp, v, "#329");
  6212. }
  6213. [Test]
  6214. public void RepeatInfo_0cols_0itms_vert_tbl_otrtblimp_hdr_ftr ()
  6215. {
  6216. // cols : 0
  6217. // cnt : 0
  6218. // RepeatDirection : Vertical
  6219. // RepeatLayout : Table
  6220. // OuterTableImplied : True
  6221. // Header : True
  6222. // Footer : True
  6223. // Separator : False
  6224. string v = RepeatInfoUser.DoTest (0, 0, RepeatDirection.Vertical, RepeatLayout.Table, true, true, true, false);
  6225. string exp = @"(0,Header,-1)(1,Footer,-1)";
  6226. HtmlDiff.AssertAreEqual (exp, v, "#330");
  6227. }
  6228. [Test]
  6229. public void RepeatInfo_0cols_1itms_vert_tbl_otrtblimp_hdr_ftr ()
  6230. {
  6231. // cols : 0
  6232. // cnt : 1
  6233. // RepeatDirection : Vertical
  6234. // RepeatLayout : Table
  6235. // OuterTableImplied : True
  6236. // Header : True
  6237. // Footer : True
  6238. // Separator : False
  6239. string v = RepeatInfoUser.DoTest (0, 1, RepeatDirection.Vertical, RepeatLayout.Table, true, true, true, false);
  6240. string exp = @"(0,Header,-1)(1,Item,0)(2,Footer,-1)";
  6241. HtmlDiff.AssertAreEqual (exp, v, "#331");
  6242. }
  6243. [Test]
  6244. public void RepeatInfo_0cols_2itms_vert_tbl_otrtblimp_hdr_ftr ()
  6245. {
  6246. // cols : 0
  6247. // cnt : 2
  6248. // RepeatDirection : Vertical
  6249. // RepeatLayout : Table
  6250. // OuterTableImplied : True
  6251. // Header : True
  6252. // Footer : True
  6253. // Separator : False
  6254. string v = RepeatInfoUser.DoTest (0, 2, RepeatDirection.Vertical, RepeatLayout.Table, true, true, true, false);
  6255. string exp = @"(0,Header,-1)(1,Item,0)(2,Item,1)(3,Footer,-1)";
  6256. HtmlDiff.AssertAreEqual (exp, v, "#332");
  6257. }
  6258. [Test]
  6259. public void RepeatInfo_0cols_5itms_vert_tbl_otrtblimp_hdr_ftr ()
  6260. {
  6261. // cols : 0
  6262. // cnt : 5
  6263. // RepeatDirection : Vertical
  6264. // RepeatLayout : Table
  6265. // OuterTableImplied : True
  6266. // Header : True
  6267. // Footer : True
  6268. // Separator : False
  6269. string v = RepeatInfoUser.DoTest (0, 5, RepeatDirection.Vertical, RepeatLayout.Table, true, true, true, false);
  6270. string exp = @"(0,Header,-1)(1,Item,0)(2,Item,1)(3,Item,2)(4,Item,3)(5,Item,4)(6,Footer,-1)";
  6271. HtmlDiff.AssertAreEqual (exp, v, "#333");
  6272. }
  6273. [Test]
  6274. public void RepeatInfo_1cols_0itms_vert_tbl_otrtblimp_hdr_ftr ()
  6275. {
  6276. // cols : 1
  6277. // cnt : 0
  6278. // RepeatDirection : Vertical
  6279. // RepeatLayout : Table
  6280. // OuterTableImplied : True
  6281. // Header : True
  6282. // Footer : True
  6283. // Separator : False
  6284. string v = RepeatInfoUser.DoTest (1, 0, RepeatDirection.Vertical, RepeatLayout.Table, true, true, true, false);
  6285. string exp = @"(0,Header,-1)(1,Footer,-1)";
  6286. HtmlDiff.AssertAreEqual (exp, v, "#334");
  6287. }
  6288. [Test]
  6289. public void RepeatInfo_1cols_5itms_vert_tbl_otrtblimp_hdr_ftr ()
  6290. {
  6291. // cols : 1
  6292. // cnt : 5
  6293. // RepeatDirection : Vertical
  6294. // RepeatLayout : Table
  6295. // OuterTableImplied : True
  6296. // Header : True
  6297. // Footer : True
  6298. // Separator : False
  6299. string v = RepeatInfoUser.DoTest (1, 5, RepeatDirection.Vertical, RepeatLayout.Table, true, true, true, false);
  6300. string exp = @"(0,Header,-1)(1,Item,0)(2,Item,1)(3,Item,2)(4,Item,3)(5,Item,4)(6,Footer,-1)";
  6301. HtmlDiff.AssertAreEqual (exp, v, "#335");
  6302. }
  6303. [Test]
  6304. public void RepeatInfo_2cols_4itms_vert_tbl_otrtblimp_hdr_ftr ()
  6305. {
  6306. // cols : 2
  6307. // cnt : 4
  6308. // RepeatDirection : Vertical
  6309. // RepeatLayout : Table
  6310. // OuterTableImplied : True
  6311. // Header : True
  6312. // Footer : True
  6313. // Separator : False
  6314. string v = RepeatInfoUser.DoTest (2, 4, RepeatDirection.Vertical, RepeatLayout.Table, true, true, true, false);
  6315. string exp = @"(0,Header,-1)(1,Item,0)(2,Item,2)(3,Item,1)(4,Item,3)(5,Footer,-1)";
  6316. HtmlDiff.AssertAreEqual (exp, v, "#336");
  6317. }
  6318. [Test]
  6319. public void RepeatInfo_2cols_7itms_vert_tbl_otrtblimp_hdr_ftr ()
  6320. {
  6321. // cols : 2
  6322. // cnt : 7
  6323. // RepeatDirection : Vertical
  6324. // RepeatLayout : Table
  6325. // OuterTableImplied : True
  6326. // Header : True
  6327. // Footer : True
  6328. // Separator : False
  6329. string v = RepeatInfoUser.DoTest (2, 7, RepeatDirection.Vertical, RepeatLayout.Table, true, true, true, false);
  6330. 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)";
  6331. HtmlDiff.AssertAreEqual (exp, v, "#337");
  6332. }
  6333. [Test]
  6334. public void RepeatInfo_3cols_9itms_vert_tbl_otrtblimp_hdr_ftr ()
  6335. {
  6336. // cols : 3
  6337. // cnt : 9
  6338. // RepeatDirection : Vertical
  6339. // RepeatLayout : Table
  6340. // OuterTableImplied : True
  6341. // Header : True
  6342. // Footer : True
  6343. // Separator : False
  6344. string v = RepeatInfoUser.DoTest (3, 9, RepeatDirection.Vertical, RepeatLayout.Table, true, true, true, false);
  6345. 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)";
  6346. HtmlDiff.AssertAreEqual (exp, v, "#338");
  6347. }
  6348. [Test]
  6349. public void RepeatInfo_3cols_7itms_vert_tbl_otrtblimp_hdr_ftr ()
  6350. {
  6351. // cols : 3
  6352. // cnt : 7
  6353. // RepeatDirection : Vertical
  6354. // RepeatLayout : Table
  6355. // OuterTableImplied : True
  6356. // Header : True
  6357. // Footer : True
  6358. // Separator : False
  6359. string v = RepeatInfoUser.DoTest (3, 7, RepeatDirection.Vertical, RepeatLayout.Table, true, true, true, false);
  6360. 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)";
  6361. HtmlDiff.AssertAreEqual (exp, v, "#339");
  6362. }
  6363. [Test]
  6364. public void RepeatInfo_0cols_0itms_horiz_flow_otrtblimp_hdr_ftr ()
  6365. {
  6366. // cols : 0
  6367. // cnt : 0
  6368. // RepeatDirection : Horizontal
  6369. // RepeatLayout : Flow
  6370. // OuterTableImplied : True
  6371. // Header : True
  6372. // Footer : True
  6373. // Separator : False
  6374. string v = RepeatInfoUser.DoTest (0, 0, RepeatDirection.Horizontal, RepeatLayout.Flow, true, true, true, false);
  6375. string exp = @"<span class=""mainstyle"">(0,Header,-1)(1,Footer,-1)</span>";
  6376. HtmlDiff.AssertAreEqual (exp, v, "#340");
  6377. }
  6378. [Test]
  6379. public void RepeatInfo_0cols_1itms_horiz_flow_otrtblimp_hdr_ftr ()
  6380. {
  6381. // cols : 0
  6382. // cnt : 1
  6383. // RepeatDirection : Horizontal
  6384. // RepeatLayout : Flow
  6385. // OuterTableImplied : True
  6386. // Header : True
  6387. // Footer : True
  6388. // Separator : False
  6389. string v = RepeatInfoUser.DoTest (0, 1, RepeatDirection.Horizontal, RepeatLayout.Flow, true, true, true, false);
  6390. string exp = @"<span class=""mainstyle"">(0,Header,-1)(1,Item,0)(2,Footer,-1)</span>";
  6391. HtmlDiff.AssertAreEqual (exp, v, "#341");
  6392. }
  6393. [Test]
  6394. public void RepeatInfo_0cols_2itms_horiz_flow_otrtblimp_hdr_ftr ()
  6395. {
  6396. // cols : 0
  6397. // cnt : 2
  6398. // RepeatDirection : Horizontal
  6399. // RepeatLayout : Flow
  6400. // OuterTableImplied : True
  6401. // Header : True
  6402. // Footer : True
  6403. // Separator : False
  6404. string v = RepeatInfoUser.DoTest (0, 2, RepeatDirection.Horizontal, RepeatLayout.Flow, true, true, true, false);
  6405. string exp = @"<span class=""mainstyle"">(0,Header,-1)(1,Item,0)(2,Item,1)(3,Footer,-1)</span>";
  6406. HtmlDiff.AssertAreEqual (exp, v, "#342");
  6407. }
  6408. [Test]
  6409. public void RepeatInfo_0cols_5itms_horiz_flow_otrtblimp_hdr_ftr ()
  6410. {
  6411. // cols : 0
  6412. // cnt : 5
  6413. // RepeatDirection : Horizontal
  6414. // RepeatLayout : Flow
  6415. // OuterTableImplied : True
  6416. // Header : True
  6417. // Footer : True
  6418. // Separator : False
  6419. string v = RepeatInfoUser.DoTest (0, 5, RepeatDirection.Horizontal, RepeatLayout.Flow, true, true, true, false);
  6420. 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>";
  6421. HtmlDiff.AssertAreEqual (exp, v, "#343");
  6422. }
  6423. [Test]
  6424. public void RepeatInfo_1cols_0itms_horiz_flow_otrtblimp_hdr_ftr ()
  6425. {
  6426. // cols : 1
  6427. // cnt : 0
  6428. // RepeatDirection : Horizontal
  6429. // RepeatLayout : Flow
  6430. // OuterTableImplied : True
  6431. // Header : True
  6432. // Footer : True
  6433. // Separator : False
  6434. string v = RepeatInfoUser.DoTest (1, 0, RepeatDirection.Horizontal, RepeatLayout.Flow, true, true, true, false);
  6435. string exp = @"<span class=""mainstyle"">(0,Header,-1)(1,Footer,-1)</span>";
  6436. HtmlDiff.AssertAreEqual (exp, v, "#344");
  6437. }
  6438. [Test]
  6439. public void RepeatInfo_1cols_5itms_horiz_flow_otrtblimp_hdr_ftr ()
  6440. {
  6441. // cols : 1
  6442. // cnt : 5
  6443. // RepeatDirection : Horizontal
  6444. // RepeatLayout : Flow
  6445. // OuterTableImplied : True
  6446. // Header : True
  6447. // Footer : True
  6448. // Separator : False
  6449. string v = RepeatInfoUser.DoTest (1, 5, RepeatDirection.Horizontal, RepeatLayout.Flow, true, true, true, false);
  6450. 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>";
  6451. HtmlDiff.AssertAreEqual (exp, v, "#345");
  6452. }
  6453. [Test]
  6454. public void RepeatInfo_2cols_4itms_horiz_flow_otrtblimp_hdr_ftr ()
  6455. {
  6456. // cols : 2
  6457. // cnt : 4
  6458. // RepeatDirection : Horizontal
  6459. // RepeatLayout : Flow
  6460. // OuterTableImplied : True
  6461. // Header : True
  6462. // Footer : True
  6463. // Separator : False
  6464. string v = RepeatInfoUser.DoTest (2, 4, RepeatDirection.Horizontal, RepeatLayout.Flow, true, true, true, false);
  6465. 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>";
  6466. HtmlDiff.AssertAreEqual (exp, v, "#346");
  6467. }
  6468. [Test]
  6469. public void RepeatInfo_2cols_7itms_horiz_flow_otrtblimp_hdr_ftr ()
  6470. {
  6471. // cols : 2
  6472. // cnt : 7
  6473. // RepeatDirection : Horizontal
  6474. // RepeatLayout : Flow
  6475. // OuterTableImplied : True
  6476. // Header : True
  6477. // Footer : True
  6478. // Separator : False
  6479. string v = RepeatInfoUser.DoTest (2, 7, RepeatDirection.Horizontal, RepeatLayout.Flow, true, true, true, false);
  6480. 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>";
  6481. HtmlDiff.AssertAreEqual (exp, v, "#347");
  6482. }
  6483. [Test]
  6484. public void RepeatInfo_3cols_9itms_horiz_flow_otrtblimp_hdr_ftr ()
  6485. {
  6486. // cols : 3
  6487. // cnt : 9
  6488. // RepeatDirection : Horizontal
  6489. // RepeatLayout : Flow
  6490. // OuterTableImplied : True
  6491. // Header : True
  6492. // Footer : True
  6493. // Separator : False
  6494. string v = RepeatInfoUser.DoTest (3, 9, RepeatDirection.Horizontal, RepeatLayout.Flow, true, true, true, false);
  6495. 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>";
  6496. HtmlDiff.AssertAreEqual (exp, v, "#348");
  6497. }
  6498. [Test]
  6499. public void RepeatInfo_3cols_7itms_horiz_flow_otrtblimp_hdr_ftr ()
  6500. {
  6501. // cols : 3
  6502. // cnt : 7
  6503. // RepeatDirection : Horizontal
  6504. // RepeatLayout : Flow
  6505. // OuterTableImplied : True
  6506. // Header : True
  6507. // Footer : True
  6508. // Separator : False
  6509. string v = RepeatInfoUser.DoTest (3, 7, RepeatDirection.Horizontal, RepeatLayout.Flow, true, true, true, false);
  6510. 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>";
  6511. HtmlDiff.AssertAreEqual (exp, v, "#349");
  6512. }
  6513. [Test]
  6514. public void RepeatInfo_0cols_0itms_vert_flow_otrtblimp_hdr_ftr ()
  6515. {
  6516. // cols : 0
  6517. // cnt : 0
  6518. // RepeatDirection : Vertical
  6519. // RepeatLayout : Flow
  6520. // OuterTableImplied : True
  6521. // Header : True
  6522. // Footer : True
  6523. // Separator : False
  6524. string v = RepeatInfoUser.DoTest (0, 0, RepeatDirection.Vertical, RepeatLayout.Flow, true, true, true, false);
  6525. string exp = @"(0,Header,-1)(1,Footer,-1)";
  6526. HtmlDiff.AssertAreEqual (exp, v, "#350");
  6527. }
  6528. [Test]
  6529. public void RepeatInfo_0cols_1itms_vert_flow_otrtblimp_hdr_ftr ()
  6530. {
  6531. // cols : 0
  6532. // cnt : 1
  6533. // RepeatDirection : Vertical
  6534. // RepeatLayout : Flow
  6535. // OuterTableImplied : True
  6536. // Header : True
  6537. // Footer : True
  6538. // Separator : False
  6539. string v = RepeatInfoUser.DoTest (0, 1, RepeatDirection.Vertical, RepeatLayout.Flow, true, true, true, false);
  6540. string exp = @"(0,Header,-1)(1,Item,0)(2,Footer,-1)";
  6541. HtmlDiff.AssertAreEqual (exp, v, "#351");
  6542. }
  6543. [Test]
  6544. public void RepeatInfo_0cols_2itms_vert_flow_otrtblimp_hdr_ftr ()
  6545. {
  6546. // cols : 0
  6547. // cnt : 2
  6548. // RepeatDirection : Vertical
  6549. // RepeatLayout : Flow
  6550. // OuterTableImplied : True
  6551. // Header : True
  6552. // Footer : True
  6553. // Separator : False
  6554. string v = RepeatInfoUser.DoTest (0, 2, RepeatDirection.Vertical, RepeatLayout.Flow, true, true, true, false);
  6555. string exp = @"(0,Header,-1)(1,Item,0)(2,Item,1)(3,Footer,-1)";
  6556. HtmlDiff.AssertAreEqual (exp, v, "#352");
  6557. }
  6558. [Test]
  6559. public void RepeatInfo_0cols_5itms_vert_flow_otrtblimp_hdr_ftr ()
  6560. {
  6561. // cols : 0
  6562. // cnt : 5
  6563. // RepeatDirection : Vertical
  6564. // RepeatLayout : Flow
  6565. // OuterTableImplied : True
  6566. // Header : True
  6567. // Footer : True
  6568. // Separator : False
  6569. string v = RepeatInfoUser.DoTest (0, 5, RepeatDirection.Vertical, RepeatLayout.Flow, true, true, true, false);
  6570. string exp = @"(0,Header,-1)(1,Item,0)(2,Item,1)(3,Item,2)(4,Item,3)(5,Item,4)(6,Footer,-1)";
  6571. HtmlDiff.AssertAreEqual (exp, v, "#353");
  6572. }
  6573. [Test]
  6574. public void RepeatInfo_1cols_0itms_vert_flow_otrtblimp_hdr_ftr ()
  6575. {
  6576. // cols : 1
  6577. // cnt : 0
  6578. // RepeatDirection : Vertical
  6579. // RepeatLayout : Flow
  6580. // OuterTableImplied : True
  6581. // Header : True
  6582. // Footer : True
  6583. // Separator : False
  6584. string v = RepeatInfoUser.DoTest (1, 0, RepeatDirection.Vertical, RepeatLayout.Flow, true, true, true, false);
  6585. string exp = @"(0,Header,-1)(1,Footer,-1)";
  6586. HtmlDiff.AssertAreEqual (exp, v, "#354");
  6587. }
  6588. [Test]
  6589. public void RepeatInfo_1cols_5itms_vert_flow_otrtblimp_hdr_ftr ()
  6590. {
  6591. // cols : 1
  6592. // cnt : 5
  6593. // RepeatDirection : Vertical
  6594. // RepeatLayout : Flow
  6595. // OuterTableImplied : True
  6596. // Header : True
  6597. // Footer : True
  6598. // Separator : False
  6599. string v = RepeatInfoUser.DoTest (1, 5, RepeatDirection.Vertical, RepeatLayout.Flow, true, true, true, false);
  6600. string exp = @"(0,Header,-1)(1,Item,0)(2,Item,1)(3,Item,2)(4,Item,3)(5,Item,4)(6,Footer,-1)";
  6601. HtmlDiff.AssertAreEqual (exp, v, "#355");
  6602. }
  6603. [Test]
  6604. public void RepeatInfo_2cols_4itms_vert_flow_otrtblimp_hdr_ftr ()
  6605. {
  6606. // cols : 2
  6607. // cnt : 4
  6608. // RepeatDirection : Vertical
  6609. // RepeatLayout : Flow
  6610. // OuterTableImplied : True
  6611. // Header : True
  6612. // Footer : True
  6613. // Separator : False
  6614. string v = RepeatInfoUser.DoTest (2, 4, RepeatDirection.Vertical, RepeatLayout.Flow, true, true, true, false);
  6615. string exp = @"(0,Header,-1)(1,Item,0)(2,Item,2)(3,Item,1)(4,Item,3)(5,Footer,-1)";
  6616. HtmlDiff.AssertAreEqual (exp, v, "#356");
  6617. }
  6618. [Test]
  6619. public void RepeatInfo_2cols_7itms_vert_flow_otrtblimp_hdr_ftr ()
  6620. {
  6621. // cols : 2
  6622. // cnt : 7
  6623. // RepeatDirection : Vertical
  6624. // RepeatLayout : Flow
  6625. // OuterTableImplied : True
  6626. // Header : True
  6627. // Footer : True
  6628. // Separator : False
  6629. string v = RepeatInfoUser.DoTest (2, 7, RepeatDirection.Vertical, RepeatLayout.Flow, true, true, true, false);
  6630. 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)";
  6631. HtmlDiff.AssertAreEqual (exp, v, "#357");
  6632. }
  6633. [Test]
  6634. public void RepeatInfo_3cols_9itms_vert_flow_otrtblimp_hdr_ftr ()
  6635. {
  6636. // cols : 3
  6637. // cnt : 9
  6638. // RepeatDirection : Vertical
  6639. // RepeatLayout : Flow
  6640. // OuterTableImplied : True
  6641. // Header : True
  6642. // Footer : True
  6643. // Separator : False
  6644. string v = RepeatInfoUser.DoTest (3, 9, RepeatDirection.Vertical, RepeatLayout.Flow, true, true, true, false);
  6645. 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)";
  6646. HtmlDiff.AssertAreEqual (exp, v, "#358");
  6647. }
  6648. [Test]
  6649. public void RepeatInfo_3cols_7itms_vert_flow_otrtblimp_hdr_ftr ()
  6650. {
  6651. // cols : 3
  6652. // cnt : 7
  6653. // RepeatDirection : Vertical
  6654. // RepeatLayout : Flow
  6655. // OuterTableImplied : True
  6656. // Header : True
  6657. // Footer : True
  6658. // Separator : False
  6659. string v = RepeatInfoUser.DoTest (3, 7, RepeatDirection.Vertical, RepeatLayout.Flow, true, true, true, false);
  6660. 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)";
  6661. HtmlDiff.AssertAreEqual (exp, v, "#359");
  6662. }
  6663. [Test]
  6664. public void RepeatInfo_0cols_0itms_horiz_tbl_hdr_ftr ()
  6665. {
  6666. // cols : 0
  6667. // cnt : 0
  6668. // RepeatDirection : Horizontal
  6669. // RepeatLayout : Table
  6670. // OuterTableImplied : False
  6671. // Header : True
  6672. // Footer : True
  6673. // Separator : False
  6674. string v = RepeatInfoUser.DoTest (0, 0, RepeatDirection.Horizontal, RepeatLayout.Table, false, true, true, false);
  6675. string exp = @"<table class=""mainstyle"" border=""0"">
  6676. <tr>
  6677. <td colspan=""0"" class=""Header-1"">(0,Header,-1)</td>
  6678. </tr><tr>
  6679. <td colspan=""0"" class=""Footer-1"">(1,Footer,-1)</td>
  6680. </tr>
  6681. </table>";
  6682. HtmlDiff.AssertAreEqual (exp, v, "#360");
  6683. }
  6684. [Test]
  6685. public void RepeatInfo_0cols_1itms_horiz_tbl_hdr_ftr ()
  6686. {
  6687. // cols : 0
  6688. // cnt : 1
  6689. // RepeatDirection : Horizontal
  6690. // RepeatLayout : Table
  6691. // OuterTableImplied : False
  6692. // Header : True
  6693. // Footer : True
  6694. // Separator : False
  6695. string v = RepeatInfoUser.DoTest (0, 1, RepeatDirection.Horizontal, RepeatLayout.Table, false, true, true, false);
  6696. string exp = @"<table class=""mainstyle"" border=""0"">
  6697. <tr>
  6698. <td class=""Header-1"">(0,Header,-1)</td>
  6699. </tr><tr>
  6700. <td class=""Item0"">(1,Item,0)</td>
  6701. </tr><tr>
  6702. <td class=""Footer-1"">(2,Footer,-1)</td>
  6703. </tr>
  6704. </table>";
  6705. HtmlDiff.AssertAreEqual (exp, v, "#361");
  6706. }
  6707. [Test]
  6708. public void RepeatInfo_0cols_2itms_horiz_tbl_hdr_ftr ()
  6709. {
  6710. // cols : 0
  6711. // cnt : 2
  6712. // RepeatDirection : Horizontal
  6713. // RepeatLayout : Table
  6714. // OuterTableImplied : False
  6715. // Header : True
  6716. // Footer : True
  6717. // Separator : False
  6718. string v = RepeatInfoUser.DoTest (0, 2, RepeatDirection.Horizontal, RepeatLayout.Table, false, true, true, false);
  6719. string exp = @"<table class=""mainstyle"" border=""0"">
  6720. <tr>
  6721. <td colspan=""2"" class=""Header-1"">(0,Header,-1)</td>
  6722. </tr><tr>
  6723. <td class=""Item0"">(1,Item,0)</td><td class=""Item1"">(2,Item,1)</td>
  6724. </tr><tr>
  6725. <td colspan=""2"" class=""Footer-1"">(3,Footer,-1)</td>
  6726. </tr>
  6727. </table>";
  6728. HtmlDiff.AssertAreEqual (exp, v, "#362");
  6729. }
  6730. [Test]
  6731. public void RepeatInfo_0cols_5itms_horiz_tbl_hdr_ftr ()
  6732. {
  6733. // cols : 0
  6734. // cnt : 5
  6735. // RepeatDirection : Horizontal
  6736. // RepeatLayout : Table
  6737. // OuterTableImplied : False
  6738. // Header : True
  6739. // Footer : True
  6740. // Separator : False
  6741. string v = RepeatInfoUser.DoTest (0, 5, RepeatDirection.Horizontal, RepeatLayout.Table, false, true, true, false);
  6742. string exp = @"<table class=""mainstyle"" border=""0"">
  6743. <tr>
  6744. <td colspan=""5"" class=""Header-1"">(0,Header,-1)</td>
  6745. </tr><tr>
  6746. <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>
  6747. </tr><tr>
  6748. <td colspan=""5"" class=""Footer-1"">(6,Footer,-1)</td>
  6749. </tr>
  6750. </table>";
  6751. HtmlDiff.AssertAreEqual (exp, v, "#363");
  6752. }
  6753. [Test]
  6754. public void RepeatInfo_1cols_0itms_horiz_tbl_hdr_ftr ()
  6755. {
  6756. // cols : 1
  6757. // cnt : 0
  6758. // RepeatDirection : Horizontal
  6759. // RepeatLayout : Table
  6760. // OuterTableImplied : False
  6761. // Header : True
  6762. // Footer : True
  6763. // Separator : False
  6764. string v = RepeatInfoUser.DoTest (1, 0, RepeatDirection.Horizontal, RepeatLayout.Table, false, true, true, false);
  6765. string exp = @"<table class=""mainstyle"" border=""0"">
  6766. <tr>
  6767. <td class=""Header-1"">(0,Header,-1)</td>
  6768. </tr><tr>
  6769. <td class=""Footer-1"">(1,Footer,-1)</td>
  6770. </tr>
  6771. </table>";
  6772. HtmlDiff.AssertAreEqual (exp, v, "#364");
  6773. }
  6774. [Test]
  6775. public void RepeatInfo_1cols_5itms_horiz_tbl_hdr_ftr ()
  6776. {
  6777. // cols : 1
  6778. // cnt : 5
  6779. // RepeatDirection : Horizontal
  6780. // RepeatLayout : Table
  6781. // OuterTableImplied : False
  6782. // Header : True
  6783. // Footer : True
  6784. // Separator : False
  6785. string v = RepeatInfoUser.DoTest (1, 5, RepeatDirection.Horizontal, RepeatLayout.Table, false, true, true, false);
  6786. string exp = @"<table class=""mainstyle"" border=""0"">
  6787. <tr>
  6788. <td class=""Header-1"">(0,Header,-1)</td>
  6789. </tr><tr>
  6790. <td class=""Item0"">(1,Item,0)</td>
  6791. </tr><tr>
  6792. <td class=""Item1"">(2,Item,1)</td>
  6793. </tr><tr>
  6794. <td class=""Item2"">(3,Item,2)</td>
  6795. </tr><tr>
  6796. <td class=""Item3"">(4,Item,3)</td>
  6797. </tr><tr>
  6798. <td class=""Item4"">(5,Item,4)</td>
  6799. </tr><tr>
  6800. <td class=""Footer-1"">(6,Footer,-1)</td>
  6801. </tr>
  6802. </table>";
  6803. HtmlDiff.AssertAreEqual (exp, v, "#365");
  6804. }
  6805. [Test]
  6806. public void RepeatInfo_2cols_4itms_horiz_tbl_hdr_ftr ()
  6807. {
  6808. // cols : 2
  6809. // cnt : 4
  6810. // RepeatDirection : Horizontal
  6811. // RepeatLayout : Table
  6812. // OuterTableImplied : False
  6813. // Header : True
  6814. // Footer : True
  6815. // Separator : False
  6816. string v = RepeatInfoUser.DoTest (2, 4, RepeatDirection.Horizontal, RepeatLayout.Table, false, true, true, false);
  6817. string exp = @"<table class=""mainstyle"" border=""0"">
  6818. <tr>
  6819. <td colspan=""2"" class=""Header-1"">(0,Header,-1)</td>
  6820. </tr><tr>
  6821. <td class=""Item0"">(1,Item,0)</td><td class=""Item1"">(2,Item,1)</td>
  6822. </tr><tr>
  6823. <td class=""Item2"">(3,Item,2)</td><td class=""Item3"">(4,Item,3)</td>
  6824. </tr><tr>
  6825. <td colspan=""2"" class=""Footer-1"">(5,Footer,-1)</td>
  6826. </tr>
  6827. </table>";
  6828. HtmlDiff.AssertAreEqual (exp, v, "#366");
  6829. }
  6830. [Test]
  6831. public void RepeatInfo_2cols_7itms_horiz_tbl_hdr_ftr ()
  6832. {
  6833. // cols : 2
  6834. // cnt : 7
  6835. // RepeatDirection : Horizontal
  6836. // RepeatLayout : Table
  6837. // OuterTableImplied : False
  6838. // Header : True
  6839. // Footer : True
  6840. // Separator : False
  6841. string v = RepeatInfoUser.DoTest (2, 7, RepeatDirection.Horizontal, RepeatLayout.Table, false, true, true, false);
  6842. string exp = @"<table class=""mainstyle"" border=""0"">
  6843. <tr>
  6844. <td colspan=""2"" class=""Header-1"">(0,Header,-1)</td>
  6845. </tr><tr>
  6846. <td class=""Item0"">(1,Item,0)</td><td class=""Item1"">(2,Item,1)</td>
  6847. </tr><tr>
  6848. <td class=""Item2"">(3,Item,2)</td><td class=""Item3"">(4,Item,3)</td>
  6849. </tr><tr>
  6850. <td class=""Item4"">(5,Item,4)</td><td class=""Item5"">(6,Item,5)</td>
  6851. </tr><tr>
  6852. <td class=""Item6"">(7,Item,6)</td><td></td>
  6853. </tr><tr>
  6854. <td colspan=""2"" class=""Footer-1"">(8,Footer,-1)</td>
  6855. </tr>
  6856. </table>";
  6857. HtmlDiff.AssertAreEqual (exp, v, "#367");
  6858. }
  6859. [Test]
  6860. public void RepeatInfo_3cols_9itms_horiz_tbl_hdr_ftr ()
  6861. {
  6862. // cols : 3
  6863. // cnt : 9
  6864. // RepeatDirection : Horizontal
  6865. // RepeatLayout : Table
  6866. // OuterTableImplied : False
  6867. // Header : True
  6868. // Footer : True
  6869. // Separator : False
  6870. string v = RepeatInfoUser.DoTest (3, 9, RepeatDirection.Horizontal, RepeatLayout.Table, false, true, true, false);
  6871. string exp = @"<table border=""0"">
  6872. <tr>
  6873. <td colspan=""3"" class=""Header-1"">(0,Header,-1)</td>
  6874. </tr><tr>
  6875. <td class=""Item0"">(1,Item,0)</td><td class=""Item1"">(2,Item,1)</td><td class=""Item2"">(3,Item,2)</td>
  6876. </tr><tr>
  6877. <td class=""Item3"">(4,Item,3)</td><td class=""Item4"">(5,Item,4)</td><td class=""Item5"">(6,Item,5)</td>
  6878. </tr><tr>
  6879. <td class=""Item6"">(7,Item,6)</td><td class=""Item7"">(8,Item,7)</td><td class=""Item8"">(9,Item,8)</td>
  6880. </tr><tr>
  6881. <td colspan=""3"" class=""Footer-1"">(10,Footer,-1)</td>
  6882. </tr>
  6883. </table>";
  6884. HtmlDiff.AssertAreEqual (exp, v, "#368");
  6885. }
  6886. [Test]
  6887. public void RepeatInfo_3cols_7itms_horiz_tbl_hdr_ftr ()
  6888. {
  6889. // cols : 3
  6890. // cnt : 7
  6891. // RepeatDirection : Horizontal
  6892. // RepeatLayout : Table
  6893. // OuterTableImplied : False
  6894. // Header : True
  6895. // Footer : True
  6896. // Separator : False
  6897. string v = RepeatInfoUser.DoTest (3, 7, RepeatDirection.Horizontal, RepeatLayout.Table, false, true, true, false);
  6898. string exp = @"<table border=""0"">
  6899. <tr>
  6900. <td colspan=""3"" class=""Header-1"">(0,Header,-1)</td>
  6901. </tr><tr>
  6902. <td class=""Item0"">(1,Item,0)</td><td class=""Item1"">(2,Item,1)</td><td class=""Item2"">(3,Item,2)</td>
  6903. </tr><tr>
  6904. <td class=""Item3"">(4,Item,3)</td><td class=""Item4"">(5,Item,4)</td><td class=""Item5"">(6,Item,5)</td>
  6905. </tr><tr>
  6906. <td class=""Item6"">(7,Item,6)</td><td></td><td></td>
  6907. </tr><tr>
  6908. <td colspan=""3"" class=""Footer-1"">(8,Footer,-1)</td>
  6909. </tr>
  6910. </table>";
  6911. HtmlDiff.AssertAreEqual (exp, v, "#369");
  6912. }
  6913. [Test]
  6914. public void RepeatInfo_0cols_0itms_vert_tbl_hdr_ftr ()
  6915. {
  6916. // cols : 0
  6917. // cnt : 0
  6918. // RepeatDirection : Vertical
  6919. // RepeatLayout : Table
  6920. // OuterTableImplied : False
  6921. // Header : True
  6922. // Footer : True
  6923. // Separator : False
  6924. string v = RepeatInfoUser.DoTest (0, 0, RepeatDirection.Vertical, RepeatLayout.Table, false, true, true, false);
  6925. string exp = @"<table class=""mainstyle"" border=""0"">
  6926. <tr>
  6927. <td class=""Header-1"">(0,Header,-1)</td>
  6928. </tr><tr>
  6929. <td class=""Footer-1"">(1,Footer,-1)</td>
  6930. </tr>
  6931. </table>";
  6932. HtmlDiff.AssertAreEqual (exp, v, "#370");
  6933. }
  6934. [Test]
  6935. public void RepeatInfo_0cols_1itms_vert_tbl_hdr_ftr ()
  6936. {
  6937. // cols : 0
  6938. // cnt : 1
  6939. // RepeatDirection : Vertical
  6940. // RepeatLayout : Table
  6941. // OuterTableImplied : False
  6942. // Header : True
  6943. // Footer : True
  6944. // Separator : False
  6945. string v = RepeatInfoUser.DoTest (0, 1, RepeatDirection.Vertical, RepeatLayout.Table, false, true, true, false);
  6946. string exp = @"<table class=""mainstyle"" border=""0"">
  6947. <tr>
  6948. <td class=""Header-1"">(0,Header,-1)</td>
  6949. </tr><tr>
  6950. <td class=""Item0"">(1,Item,0)</td>
  6951. </tr><tr>
  6952. <td class=""Footer-1"">(2,Footer,-1)</td>
  6953. </tr>
  6954. </table>";
  6955. HtmlDiff.AssertAreEqual (exp, v, "#371");
  6956. }
  6957. [Test]
  6958. public void RepeatInfo_0cols_2itms_vert_tbl_hdr_ftr ()
  6959. {
  6960. // cols : 0
  6961. // cnt : 2
  6962. // RepeatDirection : Vertical
  6963. // RepeatLayout : Table
  6964. // OuterTableImplied : False
  6965. // Header : True
  6966. // Footer : True
  6967. // Separator : False
  6968. string v = RepeatInfoUser.DoTest (0, 2, RepeatDirection.Vertical, RepeatLayout.Table, false, true, true, false);
  6969. string exp = @"<table class=""mainstyle"" border=""0"">
  6970. <tr>
  6971. <td class=""Header-1"">(0,Header,-1)</td>
  6972. </tr><tr>
  6973. <td class=""Item0"">(1,Item,0)</td>
  6974. </tr><tr>
  6975. <td class=""Item1"">(2,Item,1)</td>
  6976. </tr><tr>
  6977. <td class=""Footer-1"">(3,Footer,-1)</td>
  6978. </tr>
  6979. </table>";
  6980. HtmlDiff.AssertAreEqual (exp, v, "#372");
  6981. }
  6982. [Test]
  6983. public void RepeatInfo_0cols_5itms_vert_tbl_hdr_ftr ()
  6984. {
  6985. // cols : 0
  6986. // cnt : 5
  6987. // RepeatDirection : Vertical
  6988. // RepeatLayout : Table
  6989. // OuterTableImplied : False
  6990. // Header : True
  6991. // Footer : True
  6992. // Separator : False
  6993. string v = RepeatInfoUser.DoTest (0, 5, RepeatDirection.Vertical, RepeatLayout.Table, false, true, true, false);
  6994. string exp = @"<table class=""mainstyle"" border=""0"">
  6995. <tr>
  6996. <td class=""Header-1"">(0,Header,-1)</td>
  6997. </tr><tr>
  6998. <td class=""Item0"">(1,Item,0)</td>
  6999. </tr><tr>
  7000. <td class=""Item1"">(2,Item,1)</td>
  7001. </tr><tr>
  7002. <td class=""Item2"">(3,Item,2)</td>
  7003. </tr><tr>
  7004. <td class=""Item3"">(4,Item,3)</td>
  7005. </tr><tr>
  7006. <td class=""Item4"">(5,Item,4)</td>
  7007. </tr><tr>
  7008. <td class=""Footer-1"">(6,Footer,-1)</td>
  7009. </tr>
  7010. </table>";
  7011. HtmlDiff.AssertAreEqual (exp, v, "#373");
  7012. }
  7013. [Test]
  7014. public void RepeatInfo_1cols_0itms_vert_tbl_hdr_ftr ()
  7015. {
  7016. // cols : 1
  7017. // cnt : 0
  7018. // RepeatDirection : Vertical
  7019. // RepeatLayout : Table
  7020. // OuterTableImplied : False
  7021. // Header : True
  7022. // Footer : True
  7023. // Separator : False
  7024. string v = RepeatInfoUser.DoTest (1, 0, RepeatDirection.Vertical, RepeatLayout.Table, false, true, true, false);
  7025. string exp = @"<table class=""mainstyle"" border=""0"">
  7026. <tr>
  7027. <td class=""Header-1"">(0,Header,-1)</td>
  7028. </tr><tr>
  7029. <td class=""Footer-1"">(1,Footer,-1)</td>
  7030. </tr>
  7031. </table>";
  7032. HtmlDiff.AssertAreEqual (exp, v, "#374");
  7033. }
  7034. [Test]
  7035. public void RepeatInfo_1cols_5itms_vert_tbl_hdr_ftr ()
  7036. {
  7037. // cols : 1
  7038. // cnt : 5
  7039. // RepeatDirection : Vertical
  7040. // RepeatLayout : Table
  7041. // OuterTableImplied : False
  7042. // Header : True
  7043. // Footer : True
  7044. // Separator : False
  7045. string v = RepeatInfoUser.DoTest (1, 5, RepeatDirection.Vertical, RepeatLayout.Table, false, true, true, false);
  7046. string exp = @"<table class=""mainstyle"" border=""0"">
  7047. <tr>
  7048. <td class=""Header-1"">(0,Header,-1)</td>
  7049. </tr><tr>
  7050. <td class=""Item0"">(1,Item,0)</td>
  7051. </tr><tr>
  7052. <td class=""Item1"">(2,Item,1)</td>
  7053. </tr><tr>
  7054. <td class=""Item2"">(3,Item,2)</td>
  7055. </tr><tr>
  7056. <td class=""Item3"">(4,Item,3)</td>
  7057. </tr><tr>
  7058. <td class=""Item4"">(5,Item,4)</td>
  7059. </tr><tr>
  7060. <td class=""Footer-1"">(6,Footer,-1)</td>
  7061. </tr>
  7062. </table>";
  7063. HtmlDiff.AssertAreEqual (exp, v, "#375");
  7064. }
  7065. [Test]
  7066. public void RepeatInfo_2cols_4itms_vert_tbl_hdr_ftr ()
  7067. {
  7068. // cols : 2
  7069. // cnt : 4
  7070. // RepeatDirection : Vertical
  7071. // RepeatLayout : Table
  7072. // OuterTableImplied : False
  7073. // Header : True
  7074. // Footer : True
  7075. // Separator : False
  7076. string v = RepeatInfoUser.DoTest (2, 4, RepeatDirection.Vertical, RepeatLayout.Table, false, true, true, false);
  7077. string exp = @"<table class=""mainstyle"" border=""0"">
  7078. <tr>
  7079. <td colspan=""2"" class=""Header-1"">(0,Header,-1)</td>
  7080. </tr><tr>
  7081. <td class=""Item0"">(1,Item,0)</td><td class=""Item2"">(2,Item,2)</td>
  7082. </tr><tr>
  7083. <td class=""Item1"">(3,Item,1)</td><td class=""Item3"">(4,Item,3)</td>
  7084. </tr><tr>
  7085. <td colspan=""2"" class=""Footer-1"">(5,Footer,-1)</td>
  7086. </tr>
  7087. </table>";
  7088. HtmlDiff.AssertAreEqual (exp, v, "#376");
  7089. }
  7090. [Test]
  7091. public void RepeatInfo_2cols_7itms_vert_tbl_hdr_ftr ()
  7092. {
  7093. // cols : 2
  7094. // cnt : 7
  7095. // RepeatDirection : Vertical
  7096. // RepeatLayout : Table
  7097. // OuterTableImplied : False
  7098. // Header : True
  7099. // Footer : True
  7100. // Separator : False
  7101. string v = RepeatInfoUser.DoTest (2, 7, RepeatDirection.Vertical, RepeatLayout.Table, false, true, true, false);
  7102. string exp = @"<table class=""mainstyle"" border=""0"">
  7103. <tr>
  7104. <td colspan=""2"" class=""Header-1"">(0,Header,-1)</td>
  7105. </tr><tr>
  7106. <td class=""Item0"">(1,Item,0)</td><td class=""Item4"">(2,Item,4)</td>
  7107. </tr><tr>
  7108. <td class=""Item1"">(3,Item,1)</td><td class=""Item5"">(4,Item,5)</td>
  7109. </tr><tr>
  7110. <td class=""Item2"">(5,Item,2)</td><td class=""Item6"">(6,Item,6)</td>
  7111. </tr><tr>
  7112. <td class=""Item3"">(7,Item,3)</td><td></td>
  7113. </tr><tr>
  7114. <td colspan=""2"" class=""Footer-1"">(8,Footer,-1)</td>
  7115. </tr>
  7116. </table>";
  7117. HtmlDiff.AssertAreEqual (exp, v, "#377");
  7118. }
  7119. [Test]
  7120. public void RepeatInfo_3cols_9itms_vert_tbl_hdr_ftr ()
  7121. {
  7122. // cols : 3
  7123. // cnt : 9
  7124. // RepeatDirection : Vertical
  7125. // RepeatLayout : Table
  7126. // OuterTableImplied : False
  7127. // Header : True
  7128. // Footer : True
  7129. // Separator : False
  7130. string v = RepeatInfoUser.DoTest (3, 9, RepeatDirection.Vertical, RepeatLayout.Table, false, true, true, false);
  7131. string exp = @"<table border=""0"">
  7132. <tr>
  7133. <td colspan=""3"" class=""Header-1"">(0,Header,-1)</td>
  7134. </tr><tr>
  7135. <td class=""Item0"">(1,Item,0)</td><td class=""Item3"">(2,Item,3)</td><td class=""Item6"">(3,Item,6)</td>
  7136. </tr><tr>
  7137. <td class=""Item1"">(4,Item,1)</td><td class=""Item4"">(5,Item,4)</td><td class=""Item7"">(6,Item,7)</td>
  7138. </tr><tr>
  7139. <td class=""Item2"">(7,Item,2)</td><td class=""Item5"">(8,Item,5)</td><td class=""Item8"">(9,Item,8)</td>
  7140. </tr><tr>
  7141. <td colspan=""3"" class=""Footer-1"">(10,Footer,-1)</td>
  7142. </tr>
  7143. </table>";
  7144. HtmlDiff.AssertAreEqual (exp, v, "#378");
  7145. }
  7146. [Test]
  7147. public void RepeatInfo_3cols_7itms_vert_tbl_hdr_ftr ()
  7148. {
  7149. // cols : 3
  7150. // cnt : 7
  7151. // RepeatDirection : Vertical
  7152. // RepeatLayout : Table
  7153. // OuterTableImplied : False
  7154. // Header : True
  7155. // Footer : True
  7156. // Separator : False
  7157. string v = RepeatInfoUser.DoTest (3, 7, RepeatDirection.Vertical, RepeatLayout.Table, false, true, true, false);
  7158. string exp = @"<table border=""0"">
  7159. <tr>
  7160. <td colspan=""3"" class=""Header-1"">(0,Header,-1)</td>
  7161. </tr><tr>
  7162. <td class=""Item0"">(1,Item,0)</td><td class=""Item3"">(2,Item,3)</td><td class=""Item5"">(3,Item,5)</td>
  7163. </tr><tr>
  7164. <td class=""Item1"">(4,Item,1)</td><td class=""Item4"">(5,Item,4)</td><td class=""Item6"">(6,Item,6)</td>
  7165. </tr><tr>
  7166. <td class=""Item2"">(7,Item,2)</td><td></td><td></td>
  7167. </tr><tr>
  7168. <td colspan=""3"" class=""Footer-1"">(8,Footer,-1)</td>
  7169. </tr>
  7170. </table>";
  7171. HtmlDiff.AssertAreEqual (exp, v, "#379");
  7172. }
  7173. [Test]
  7174. public void RepeatInfo_0cols_0itms_horiz_flow_hdr_ftr ()
  7175. {
  7176. // cols : 0
  7177. // cnt : 0
  7178. // RepeatDirection : Horizontal
  7179. // RepeatLayout : Flow
  7180. // OuterTableImplied : False
  7181. // Header : True
  7182. // Footer : True
  7183. // Separator : False
  7184. string v = RepeatInfoUser.DoTest (0, 0, RepeatDirection.Horizontal, RepeatLayout.Flow, false, true, true, false);
  7185. string exp = @"<span class=""mainstyle"">(0,Header,-1)(1,Footer,-1)</span>";
  7186. HtmlDiff.AssertAreEqual (exp, v, "#380");
  7187. }
  7188. [Test]
  7189. public void RepeatInfo_0cols_1itms_horiz_flow_hdr_ftr ()
  7190. {
  7191. // cols : 0
  7192. // cnt : 1
  7193. // RepeatDirection : Horizontal
  7194. // RepeatLayout : Flow
  7195. // OuterTableImplied : False
  7196. // Header : True
  7197. // Footer : True
  7198. // Separator : False
  7199. string v = RepeatInfoUser.DoTest (0, 1, RepeatDirection.Horizontal, RepeatLayout.Flow, false, true, true, false);
  7200. string exp = @"<span class=""mainstyle"">(0,Header,-1)(1,Item,0)(2,Footer,-1)</span>";
  7201. HtmlDiff.AssertAreEqual (exp, v, "#381");
  7202. }
  7203. [Test]
  7204. public void RepeatInfo_0cols_2itms_horiz_flow_hdr_ftr ()
  7205. {
  7206. // cols : 0
  7207. // cnt : 2
  7208. // RepeatDirection : Horizontal
  7209. // RepeatLayout : Flow
  7210. // OuterTableImplied : False
  7211. // Header : True
  7212. // Footer : True
  7213. // Separator : False
  7214. string v = RepeatInfoUser.DoTest (0, 2, RepeatDirection.Horizontal, RepeatLayout.Flow, false, true, true, false);
  7215. string exp = @"<span class=""mainstyle"">(0,Header,-1)(1,Item,0)(2,Item,1)(3,Footer,-1)</span>";
  7216. HtmlDiff.AssertAreEqual (exp, v, "#382");
  7217. }
  7218. [Test]
  7219. public void RepeatInfo_0cols_5itms_horiz_flow_hdr_ftr ()
  7220. {
  7221. // cols : 0
  7222. // cnt : 5
  7223. // RepeatDirection : Horizontal
  7224. // RepeatLayout : Flow
  7225. // OuterTableImplied : False
  7226. // Header : True
  7227. // Footer : True
  7228. // Separator : False
  7229. string v = RepeatInfoUser.DoTest (0, 5, RepeatDirection.Horizontal, RepeatLayout.Flow, false, true, true, false);
  7230. 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>";
  7231. HtmlDiff.AssertAreEqual (exp, v, "#383");
  7232. }
  7233. [Test]
  7234. public void RepeatInfo_1cols_0itms_horiz_flow_hdr_ftr ()
  7235. {
  7236. // cols : 1
  7237. // cnt : 0
  7238. // RepeatDirection : Horizontal
  7239. // RepeatLayout : Flow
  7240. // OuterTableImplied : False
  7241. // Header : True
  7242. // Footer : True
  7243. // Separator : False
  7244. string v = RepeatInfoUser.DoTest (1, 0, RepeatDirection.Horizontal, RepeatLayout.Flow, false, true, true, false);
  7245. string exp = @"<span class=""mainstyle"">(0,Header,-1)(1,Footer,-1)</span>";
  7246. HtmlDiff.AssertAreEqual (exp, v, "#384");
  7247. }
  7248. [Test]
  7249. public void RepeatInfo_1cols_5itms_horiz_flow_hdr_ftr ()
  7250. {
  7251. // cols : 1
  7252. // cnt : 5
  7253. // RepeatDirection : Horizontal
  7254. // RepeatLayout : Flow
  7255. // OuterTableImplied : False
  7256. // Header : True
  7257. // Footer : True
  7258. // Separator : False
  7259. string v = RepeatInfoUser.DoTest (1, 5, RepeatDirection.Horizontal, RepeatLayout.Flow, false, true, true, false);
  7260. 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>";
  7261. HtmlDiff.AssertAreEqual (exp, v, "#385");
  7262. }
  7263. [Test]
  7264. public void RepeatInfo_2cols_4itms_horiz_flow_hdr_ftr ()
  7265. {
  7266. // cols : 2
  7267. // cnt : 4
  7268. // RepeatDirection : Horizontal
  7269. // RepeatLayout : Flow
  7270. // OuterTableImplied : False
  7271. // Header : True
  7272. // Footer : True
  7273. // Separator : False
  7274. string v = RepeatInfoUser.DoTest (2, 4, RepeatDirection.Horizontal, RepeatLayout.Flow, false, true, true, false);
  7275. 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>";
  7276. HtmlDiff.AssertAreEqual (exp, v, "#386");
  7277. }
  7278. [Test]
  7279. public void RepeatInfo_2cols_7itms_horiz_flow_hdr_ftr ()
  7280. {
  7281. // cols : 2
  7282. // cnt : 7
  7283. // RepeatDirection : Horizontal
  7284. // RepeatLayout : Flow
  7285. // OuterTableImplied : False
  7286. // Header : True
  7287. // Footer : True
  7288. // Separator : False
  7289. string v = RepeatInfoUser.DoTest (2, 7, RepeatDirection.Horizontal, RepeatLayout.Flow, false, true, true, false);
  7290. 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>";
  7291. HtmlDiff.AssertAreEqual (exp, v, "#387");
  7292. }
  7293. [Test]
  7294. public void RepeatInfo_3cols_9itms_horiz_flow_hdr_ftr ()
  7295. {
  7296. // cols : 3
  7297. // cnt : 9
  7298. // RepeatDirection : Horizontal
  7299. // RepeatLayout : Flow
  7300. // OuterTableImplied : False
  7301. // Header : True
  7302. // Footer : True
  7303. // Separator : False
  7304. string v = RepeatInfoUser.DoTest (3, 9, RepeatDirection.Horizontal, RepeatLayout.Flow, false, true, true, false);
  7305. 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>";
  7306. HtmlDiff.AssertAreEqual (exp, v, "#388");
  7307. }
  7308. [Test]
  7309. public void RepeatInfo_3cols_7itms_horiz_flow_hdr_ftr ()
  7310. {
  7311. // cols : 3
  7312. // cnt : 7
  7313. // RepeatDirection : Horizontal
  7314. // RepeatLayout : Flow
  7315. // OuterTableImplied : False
  7316. // Header : True
  7317. // Footer : True
  7318. // Separator : False
  7319. string v = RepeatInfoUser.DoTest (3, 7, RepeatDirection.Horizontal, RepeatLayout.Flow, false, true, true, false);
  7320. 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>";
  7321. HtmlDiff.AssertAreEqual (exp, v, "#389");
  7322. }
  7323. [Test]
  7324. public void RepeatInfo_0cols_0itms_vert_flow_hdr_ftr ()
  7325. {
  7326. // cols : 0
  7327. // cnt : 0
  7328. // RepeatDirection : Vertical
  7329. // RepeatLayout : Flow
  7330. // OuterTableImplied : False
  7331. // Header : True
  7332. // Footer : True
  7333. // Separator : False
  7334. string v = RepeatInfoUser.DoTest (0, 0, RepeatDirection.Vertical, RepeatLayout.Flow, false, true, true, false);
  7335. string exp = @"<span class=""mainstyle"">(0,Header,-1)<br />(1,Footer,-1)</span>";
  7336. HtmlDiff.AssertAreEqual (exp, v, "#390");
  7337. }
  7338. [Test]
  7339. public void RepeatInfo_0cols_1itms_vert_flow_hdr_ftr ()
  7340. {
  7341. // cols : 0
  7342. // cnt : 1
  7343. // RepeatDirection : Vertical
  7344. // RepeatLayout : Flow
  7345. // OuterTableImplied : False
  7346. // Header : True
  7347. // Footer : True
  7348. // Separator : False
  7349. string v = RepeatInfoUser.DoTest (0, 1, RepeatDirection.Vertical, RepeatLayout.Flow, false, true, true, false);
  7350. string exp = @"<span class=""mainstyle"">(0,Header,-1)<br />(1,Item,0)<br />(2,Footer,-1)</span>";
  7351. HtmlDiff.AssertAreEqual (exp, v, "#391");
  7352. }
  7353. [Test]
  7354. public void RepeatInfo_0cols_2itms_vert_flow_hdr_ftr ()
  7355. {
  7356. // cols : 0
  7357. // cnt : 2
  7358. // RepeatDirection : Vertical
  7359. // RepeatLayout : Flow
  7360. // OuterTableImplied : False
  7361. // Header : True
  7362. // Footer : True
  7363. // Separator : False
  7364. string v = RepeatInfoUser.DoTest (0, 2, RepeatDirection.Vertical, RepeatLayout.Flow, false, true, true, false);
  7365. string exp = @"<span class=""mainstyle"">(0,Header,-1)<br />(1,Item,0)<br />(2,Item,1)<br />(3,Footer,-1)</span>";
  7366. HtmlDiff.AssertAreEqual (exp, v, "#392");
  7367. }
  7368. [Test]
  7369. public void RepeatInfo_0cols_5itms_vert_flow_hdr_ftr ()
  7370. {
  7371. // cols : 0
  7372. // cnt : 5
  7373. // RepeatDirection : Vertical
  7374. // RepeatLayout : Flow
  7375. // OuterTableImplied : False
  7376. // Header : True
  7377. // Footer : True
  7378. // Separator : False
  7379. string v = RepeatInfoUser.DoTest (0, 5, RepeatDirection.Vertical, RepeatLayout.Flow, false, true, true, false);
  7380. 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>";
  7381. HtmlDiff.AssertAreEqual (exp, v, "#393");
  7382. }
  7383. [Test]
  7384. public void RepeatInfo_1cols_0itms_vert_flow_hdr_ftr ()
  7385. {
  7386. // cols : 1
  7387. // cnt : 0
  7388. // RepeatDirection : Vertical
  7389. // RepeatLayout : Flow
  7390. // OuterTableImplied : False
  7391. // Header : True
  7392. // Footer : True
  7393. // Separator : False
  7394. string v = RepeatInfoUser.DoTest (1, 0, RepeatDirection.Vertical, RepeatLayout.Flow, false, true, true, false);
  7395. string exp = @"<span class=""mainstyle"">(0,Header,-1)<br />(1,Footer,-1)</span>";
  7396. HtmlDiff.AssertAreEqual (exp, v, "#394");
  7397. }
  7398. [Test]
  7399. public void RepeatInfo_1cols_5itms_vert_flow_hdr_ftr ()
  7400. {
  7401. // cols : 1
  7402. // cnt : 5
  7403. // RepeatDirection : Vertical
  7404. // RepeatLayout : Flow
  7405. // OuterTableImplied : False
  7406. // Header : True
  7407. // Footer : True
  7408. // Separator : False
  7409. string v = RepeatInfoUser.DoTest (1, 5, RepeatDirection.Vertical, RepeatLayout.Flow, false, true, true, false);
  7410. 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>";
  7411. HtmlDiff.AssertAreEqual (exp, v, "#395");
  7412. }
  7413. [Test]
  7414. public void RepeatInfo_2cols_4itms_vert_flow_hdr_ftr ()
  7415. {
  7416. // cols : 2
  7417. // cnt : 4
  7418. // RepeatDirection : Vertical
  7419. // RepeatLayout : Flow
  7420. // OuterTableImplied : False
  7421. // Header : True
  7422. // Footer : True
  7423. // Separator : False
  7424. string v = RepeatInfoUser.DoTest (2, 4, RepeatDirection.Vertical, RepeatLayout.Flow, false, true, true, false);
  7425. 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>";
  7426. HtmlDiff.AssertAreEqual (exp, v, "#396");
  7427. }
  7428. [Test]
  7429. public void RepeatInfo_2cols_7itms_vert_flow_hdr_ftr ()
  7430. {
  7431. // cols : 2
  7432. // cnt : 7
  7433. // RepeatDirection : Vertical
  7434. // RepeatLayout : Flow
  7435. // OuterTableImplied : False
  7436. // Header : True
  7437. // Footer : True
  7438. // Separator : False
  7439. string v = RepeatInfoUser.DoTest (2, 7, RepeatDirection.Vertical, RepeatLayout.Flow, false, true, true, false);
  7440. 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>";
  7441. HtmlDiff.AssertAreEqual (exp, v, "#397");
  7442. }
  7443. [Test]
  7444. public void RepeatInfo_3cols_9itms_vert_flow_hdr_ftr ()
  7445. {
  7446. // cols : 3
  7447. // cnt : 9
  7448. // RepeatDirection : Vertical
  7449. // RepeatLayout : Flow
  7450. // OuterTableImplied : False
  7451. // Header : True
  7452. // Footer : True
  7453. // Separator : False
  7454. string v = RepeatInfoUser.DoTest (3, 9, RepeatDirection.Vertical, RepeatLayout.Flow, false, true, true, false);
  7455. 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>";
  7456. HtmlDiff.AssertAreEqual (exp, v, "#398");
  7457. }
  7458. [Test]
  7459. public void RepeatInfo_3cols_7itms_vert_flow_hdr_ftr ()
  7460. {
  7461. // cols : 3
  7462. // cnt : 7
  7463. // RepeatDirection : Vertical
  7464. // RepeatLayout : Flow
  7465. // OuterTableImplied : False
  7466. // Header : True
  7467. // Footer : True
  7468. // Separator : False
  7469. string v = RepeatInfoUser.DoTest (3, 7, RepeatDirection.Vertical, RepeatLayout.Flow, false, true, true, false);
  7470. 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>";
  7471. HtmlDiff.AssertAreEqual (exp, v, "#399");
  7472. }
  7473. [Test]
  7474. public void RepeatInfo_0cols_0itms_horiz_tbl_otrtblimp_ftr ()
  7475. {
  7476. // cols : 0
  7477. // cnt : 0
  7478. // RepeatDirection : Horizontal
  7479. // RepeatLayout : Table
  7480. // OuterTableImplied : True
  7481. // Header : False
  7482. // Footer : True
  7483. // Separator : False
  7484. string v = RepeatInfoUser.DoTest (0, 0, RepeatDirection.Horizontal, RepeatLayout.Table, true, false, true, false);
  7485. string exp = @"<table class=""mainstyle"" border=""0"">
  7486. <tr>
  7487. <td colspan=""0"" class=""Footer-1"">(0,Footer,-1)</td>
  7488. </tr>
  7489. </table>";
  7490. HtmlDiff.AssertAreEqual (exp, v, "#400");
  7491. }
  7492. [Test]
  7493. public void RepeatInfo_0cols_1itms_horiz_tbl_otrtblimp_ftr ()
  7494. {
  7495. // cols : 0
  7496. // cnt : 1
  7497. // RepeatDirection : Horizontal
  7498. // RepeatLayout : Table
  7499. // OuterTableImplied : True
  7500. // Header : False
  7501. // Footer : True
  7502. // Separator : False
  7503. string v = RepeatInfoUser.DoTest (0, 1, RepeatDirection.Horizontal, RepeatLayout.Table, true, false, true, false);
  7504. string exp = @"<table class=""mainstyle"" border=""0"">
  7505. <tr>
  7506. <td class=""Item0"">(0,Item,0)</td>
  7507. </tr><tr>
  7508. <td class=""Footer-1"">(1,Footer,-1)</td>
  7509. </tr>
  7510. </table>";
  7511. HtmlDiff.AssertAreEqual (exp, v, "#401");
  7512. }
  7513. [Test]
  7514. public void RepeatInfo_0cols_2itms_horiz_tbl_otrtblimp_ftr ()
  7515. {
  7516. // cols : 0
  7517. // cnt : 2
  7518. // RepeatDirection : Horizontal
  7519. // RepeatLayout : Table
  7520. // OuterTableImplied : True
  7521. // Header : False
  7522. // Footer : True
  7523. // Separator : False
  7524. string v = RepeatInfoUser.DoTest (0, 2, RepeatDirection.Horizontal, RepeatLayout.Table, true, false, true, false);
  7525. string exp = @"<table class=""mainstyle"" border=""0"">
  7526. <tr>
  7527. <td class=""Item0"">(0,Item,0)</td><td class=""Item1"">(1,Item,1)</td>
  7528. </tr><tr>
  7529. <td colspan=""2"" class=""Footer-1"">(2,Footer,-1)</td>
  7530. </tr>
  7531. </table>";
  7532. HtmlDiff.AssertAreEqual (exp, v, "#402");
  7533. }
  7534. [Test]
  7535. public void RepeatInfo_0cols_5itms_horiz_tbl_otrtblimp_ftr ()
  7536. {
  7537. // cols : 0
  7538. // cnt : 5
  7539. // RepeatDirection : Horizontal
  7540. // RepeatLayout : Table
  7541. // OuterTableImplied : True
  7542. // Header : False
  7543. // Footer : True
  7544. // Separator : False
  7545. string v = RepeatInfoUser.DoTest (0, 5, RepeatDirection.Horizontal, RepeatLayout.Table, true, false, true, false);
  7546. string exp = @"<table class=""mainstyle"" border=""0"">
  7547. <tr>
  7548. <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>
  7549. </tr><tr>
  7550. <td colspan=""5"" class=""Footer-1"">(5,Footer,-1)</td>
  7551. </tr>
  7552. </table>";
  7553. HtmlDiff.AssertAreEqual (exp, v, "#403");
  7554. }
  7555. [Test]
  7556. public void RepeatInfo_1cols_0itms_horiz_tbl_otrtblimp_ftr ()
  7557. {
  7558. // cols : 1
  7559. // cnt : 0
  7560. // RepeatDirection : Horizontal
  7561. // RepeatLayout : Table
  7562. // OuterTableImplied : True
  7563. // Header : False
  7564. // Footer : True
  7565. // Separator : False
  7566. string v = RepeatInfoUser.DoTest (1, 0, RepeatDirection.Horizontal, RepeatLayout.Table, true, false, true, false);
  7567. string exp = @"<table class=""mainstyle"" border=""0"">
  7568. <tr>
  7569. <td class=""Footer-1"">(0,Footer,-1)</td>
  7570. </tr>
  7571. </table>";
  7572. HtmlDiff.AssertAreEqual (exp, v, "#404");
  7573. }
  7574. [Test]
  7575. public void RepeatInfo_1cols_5itms_horiz_tbl_otrtblimp_ftr ()
  7576. {
  7577. // cols : 1
  7578. // cnt : 5
  7579. // RepeatDirection : Horizontal
  7580. // RepeatLayout : Table
  7581. // OuterTableImplied : True
  7582. // Header : False
  7583. // Footer : True
  7584. // Separator : False
  7585. string v = RepeatInfoUser.DoTest (1, 5, RepeatDirection.Horizontal, RepeatLayout.Table, true, false, true, false);
  7586. string exp = @"<table class=""mainstyle"" border=""0"">
  7587. <tr>
  7588. <td class=""Item0"">(0,Item,0)</td>
  7589. </tr><tr>
  7590. <td class=""Item1"">(1,Item,1)</td>
  7591. </tr><tr>
  7592. <td class=""Item2"">(2,Item,2)</td>
  7593. </tr><tr>
  7594. <td class=""Item3"">(3,Item,3)</td>
  7595. </tr><tr>
  7596. <td class=""Item4"">(4,Item,4)</td>
  7597. </tr><tr>
  7598. <td class=""Footer-1"">(5,Footer,-1)</td>
  7599. </tr>
  7600. </table>";
  7601. HtmlDiff.AssertAreEqual (exp, v, "#405");
  7602. }
  7603. [Test]
  7604. public void RepeatInfo_2cols_4itms_horiz_tbl_otrtblimp_ftr ()
  7605. {
  7606. // cols : 2
  7607. // cnt : 4
  7608. // RepeatDirection : Horizontal
  7609. // RepeatLayout : Table
  7610. // OuterTableImplied : True
  7611. // Header : False
  7612. // Footer : True
  7613. // Separator : False
  7614. string v = RepeatInfoUser.DoTest (2, 4, RepeatDirection.Horizontal, RepeatLayout.Table, true, false, true, false);
  7615. string exp = @"<table class=""mainstyle"" border=""0"">
  7616. <tr>
  7617. <td class=""Item0"">(0,Item,0)</td><td class=""Item1"">(1,Item,1)</td>
  7618. </tr><tr>
  7619. <td class=""Item2"">(2,Item,2)</td><td class=""Item3"">(3,Item,3)</td>
  7620. </tr><tr>
  7621. <td colspan=""2"" class=""Footer-1"">(4,Footer,-1)</td>
  7622. </tr>
  7623. </table>";
  7624. HtmlDiff.AssertAreEqual (exp, v, "#406");
  7625. }
  7626. [Test]
  7627. public void RepeatInfo_2cols_7itms_horiz_tbl_otrtblimp_ftr ()
  7628. {
  7629. // cols : 2
  7630. // cnt : 7
  7631. // RepeatDirection : Horizontal
  7632. // RepeatLayout : Table
  7633. // OuterTableImplied : True
  7634. // Header : False
  7635. // Footer : True
  7636. // Separator : False
  7637. string v = RepeatInfoUser.DoTest (2, 7, RepeatDirection.Horizontal, RepeatLayout.Table, true, false, true, false);
  7638. string exp = @"<table class=""mainstyle"" border=""0"">
  7639. <tr>
  7640. <td class=""Item0"">(0,Item,0)</td><td class=""Item1"">(1,Item,1)</td>
  7641. </tr><tr>
  7642. <td class=""Item2"">(2,Item,2)</td><td class=""Item3"">(3,Item,3)</td>
  7643. </tr><tr>
  7644. <td class=""Item4"">(4,Item,4)</td><td class=""Item5"">(5,Item,5)</td>
  7645. </tr><tr>
  7646. <td class=""Item6"">(6,Item,6)</td><td></td>
  7647. </tr><tr>
  7648. <td colspan=""2"" class=""Footer-1"">(7,Footer,-1)</td>
  7649. </tr>
  7650. </table>";
  7651. HtmlDiff.AssertAreEqual (exp, v, "#407");
  7652. }
  7653. [Test]
  7654. public void RepeatInfo_3cols_9itms_horiz_tbl_otrtblimp_ftr ()
  7655. {
  7656. // cols : 3
  7657. // cnt : 9
  7658. // RepeatDirection : Horizontal
  7659. // RepeatLayout : Table
  7660. // OuterTableImplied : True
  7661. // Header : False
  7662. // Footer : True
  7663. // Separator : False
  7664. string v = RepeatInfoUser.DoTest (3, 9, RepeatDirection.Horizontal, RepeatLayout.Table, true, false, true, false);
  7665. string exp = @"<table border=""0"">
  7666. <tr>
  7667. <td class=""Item0"">(0,Item,0)</td><td class=""Item1"">(1,Item,1)</td><td class=""Item2"">(2,Item,2)</td>
  7668. </tr><tr>
  7669. <td class=""Item3"">(3,Item,3)</td><td class=""Item4"">(4,Item,4)</td><td class=""Item5"">(5,Item,5)</td>
  7670. </tr><tr>
  7671. <td class=""Item6"">(6,Item,6)</td><td class=""Item7"">(7,Item,7)</td><td class=""Item8"">(8,Item,8)</td>
  7672. </tr><tr>
  7673. <td colspan=""3"" class=""Footer-1"">(9,Footer,-1)</td>
  7674. </tr>
  7675. </table>";
  7676. HtmlDiff.AssertAreEqual (exp, v, "#408");
  7677. }
  7678. [Test]
  7679. public void RepeatInfo_3cols_7itms_horiz_tbl_otrtblimp_ftr ()
  7680. {
  7681. // cols : 3
  7682. // cnt : 7
  7683. // RepeatDirection : Horizontal
  7684. // RepeatLayout : Table
  7685. // OuterTableImplied : True
  7686. // Header : False
  7687. // Footer : True
  7688. // Separator : False
  7689. string v = RepeatInfoUser.DoTest (3, 7, RepeatDirection.Horizontal, RepeatLayout.Table, true, false, true, false);
  7690. string exp = @"<table border=""0"">
  7691. <tr>
  7692. <td class=""Item0"">(0,Item,0)</td><td class=""Item1"">(1,Item,1)</td><td class=""Item2"">(2,Item,2)</td>
  7693. </tr><tr>
  7694. <td class=""Item3"">(3,Item,3)</td><td class=""Item4"">(4,Item,4)</td><td class=""Item5"">(5,Item,5)</td>
  7695. </tr><tr>
  7696. <td class=""Item6"">(6,Item,6)</td><td></td><td></td>
  7697. </tr><tr>
  7698. <td colspan=""3"" class=""Footer-1"">(7,Footer,-1)</td>
  7699. </tr>
  7700. </table>";
  7701. HtmlDiff.AssertAreEqual (exp, v, "#409");
  7702. }
  7703. [Test]
  7704. public void RepeatInfo_0cols_0itms_vert_tbl_otrtblimp_ftr ()
  7705. {
  7706. // cols : 0
  7707. // cnt : 0
  7708. // RepeatDirection : Vertical
  7709. // RepeatLayout : Table
  7710. // OuterTableImplied : True
  7711. // Header : False
  7712. // Footer : True
  7713. // Separator : False
  7714. string v = RepeatInfoUser.DoTest (0, 0, RepeatDirection.Vertical, RepeatLayout.Table, true, false, true, false);
  7715. string exp = @"(0,Footer,-1)";
  7716. HtmlDiff.AssertAreEqual (exp, v, "#410");
  7717. }
  7718. [Test]
  7719. public void RepeatInfo_0cols_1itms_vert_tbl_otrtblimp_ftr ()
  7720. {
  7721. // cols : 0
  7722. // cnt : 1
  7723. // RepeatDirection : Vertical
  7724. // RepeatLayout : Table
  7725. // OuterTableImplied : True
  7726. // Header : False
  7727. // Footer : True
  7728. // Separator : False
  7729. string v = RepeatInfoUser.DoTest (0, 1, RepeatDirection.Vertical, RepeatLayout.Table, true, false, true, false);
  7730. string exp = @"(0,Item,0)(1,Footer,-1)";
  7731. HtmlDiff.AssertAreEqual (exp, v, "#411");
  7732. }
  7733. [Test]
  7734. public void RepeatInfo_0cols_2itms_vert_tbl_otrtblimp_ftr ()
  7735. {
  7736. // cols : 0
  7737. // cnt : 2
  7738. // RepeatDirection : Vertical
  7739. // RepeatLayout : Table
  7740. // OuterTableImplied : True
  7741. // Header : False
  7742. // Footer : True
  7743. // Separator : False
  7744. string v = RepeatInfoUser.DoTest (0, 2, RepeatDirection.Vertical, RepeatLayout.Table, true, false, true, false);
  7745. string exp = @"(0,Item,0)(1,Item,1)(2,Footer,-1)";
  7746. HtmlDiff.AssertAreEqual (exp, v, "#412");
  7747. }
  7748. [Test]
  7749. public void RepeatInfo_0cols_5itms_vert_tbl_otrtblimp_ftr ()
  7750. {
  7751. // cols : 0
  7752. // cnt : 5
  7753. // RepeatDirection : Vertical
  7754. // RepeatLayout : Table
  7755. // OuterTableImplied : True
  7756. // Header : False
  7757. // Footer : True
  7758. // Separator : False
  7759. string v = RepeatInfoUser.DoTest (0, 5, RepeatDirection.Vertical, RepeatLayout.Table, true, false, true, false);
  7760. string exp = @"(0,Item,0)(1,Item,1)(2,Item,2)(3,Item,3)(4,Item,4)(5,Footer,-1)";
  7761. HtmlDiff.AssertAreEqual (exp, v, "#413");
  7762. }
  7763. [Test]
  7764. public void RepeatInfo_1cols_0itms_vert_tbl_otrtblimp_ftr ()
  7765. {
  7766. // cols : 1
  7767. // cnt : 0
  7768. // RepeatDirection : Vertical
  7769. // RepeatLayout : Table
  7770. // OuterTableImplied : True
  7771. // Header : False
  7772. // Footer : True
  7773. // Separator : False
  7774. string v = RepeatInfoUser.DoTest (1, 0, RepeatDirection.Vertical, RepeatLayout.Table, true, false, true, false);
  7775. string exp = @"(0,Footer,-1)";
  7776. HtmlDiff.AssertAreEqual (exp, v, "#414");
  7777. }
  7778. [Test]
  7779. public void RepeatInfo_1cols_5itms_vert_tbl_otrtblimp_ftr ()
  7780. {
  7781. // cols : 1
  7782. // cnt : 5
  7783. // RepeatDirection : Vertical
  7784. // RepeatLayout : Table
  7785. // OuterTableImplied : True
  7786. // Header : False
  7787. // Footer : True
  7788. // Separator : False
  7789. string v = RepeatInfoUser.DoTest (1, 5, RepeatDirection.Vertical, RepeatLayout.Table, true, false, true, false);
  7790. string exp = @"(0,Item,0)(1,Item,1)(2,Item,2)(3,Item,3)(4,Item,4)(5,Footer,-1)";
  7791. HtmlDiff.AssertAreEqual (exp, v, "#415");
  7792. }
  7793. [Test]
  7794. public void RepeatInfo_2cols_4itms_vert_tbl_otrtblimp_ftr ()
  7795. {
  7796. // cols : 2
  7797. // cnt : 4
  7798. // RepeatDirection : Vertical
  7799. // RepeatLayout : Table
  7800. // OuterTableImplied : True
  7801. // Header : False
  7802. // Footer : True
  7803. // Separator : False
  7804. string v = RepeatInfoUser.DoTest (2, 4, RepeatDirection.Vertical, RepeatLayout.Table, true, false, true, false);
  7805. string exp = @"(0,Item,0)(1,Item,2)(2,Item,1)(3,Item,3)(4,Footer,-1)";
  7806. HtmlDiff.AssertAreEqual (exp, v, "#416");
  7807. }
  7808. [Test]
  7809. public void RepeatInfo_2cols_7itms_vert_tbl_otrtblimp_ftr ()
  7810. {
  7811. // cols : 2
  7812. // cnt : 7
  7813. // RepeatDirection : Vertical
  7814. // RepeatLayout : Table
  7815. // OuterTableImplied : True
  7816. // Header : False
  7817. // Footer : True
  7818. // Separator : False
  7819. string v = RepeatInfoUser.DoTest (2, 7, RepeatDirection.Vertical, RepeatLayout.Table, true, false, true, false);
  7820. 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)";
  7821. HtmlDiff.AssertAreEqual (exp, v, "#417");
  7822. }
  7823. [Test]
  7824. public void RepeatInfo_3cols_9itms_vert_tbl_otrtblimp_ftr ()
  7825. {
  7826. // cols : 3
  7827. // cnt : 9
  7828. // RepeatDirection : Vertical
  7829. // RepeatLayout : Table
  7830. // OuterTableImplied : True
  7831. // Header : False
  7832. // Footer : True
  7833. // Separator : False
  7834. string v = RepeatInfoUser.DoTest (3, 9, RepeatDirection.Vertical, RepeatLayout.Table, true, false, true, false);
  7835. 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)";
  7836. HtmlDiff.AssertAreEqual (exp, v, "#418");
  7837. }
  7838. [Test]
  7839. public void RepeatInfo_3cols_7itms_vert_tbl_otrtblimp_ftr ()
  7840. {
  7841. // cols : 3
  7842. // cnt : 7
  7843. // RepeatDirection : Vertical
  7844. // RepeatLayout : Table
  7845. // OuterTableImplied : True
  7846. // Header : False
  7847. // Footer : True
  7848. // Separator : False
  7849. string v = RepeatInfoUser.DoTest (3, 7, RepeatDirection.Vertical, RepeatLayout.Table, true, false, true, false);
  7850. 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)";
  7851. HtmlDiff.AssertAreEqual (exp, v, "#419");
  7852. }
  7853. [Test]
  7854. public void RepeatInfo_0cols_0itms_horiz_flow_otrtblimp_ftr ()
  7855. {
  7856. // cols : 0
  7857. // cnt : 0
  7858. // RepeatDirection : Horizontal
  7859. // RepeatLayout : Flow
  7860. // OuterTableImplied : True
  7861. // Header : False
  7862. // Footer : True
  7863. // Separator : False
  7864. string v = RepeatInfoUser.DoTest (0, 0, RepeatDirection.Horizontal, RepeatLayout.Flow, true, false, true, false);
  7865. string exp = @"<span class=""mainstyle"">(0,Footer,-1)</span>";
  7866. HtmlDiff.AssertAreEqual (exp, v, "#420");
  7867. }
  7868. [Test]
  7869. public void RepeatInfo_0cols_1itms_horiz_flow_otrtblimp_ftr ()
  7870. {
  7871. // cols : 0
  7872. // cnt : 1
  7873. // RepeatDirection : Horizontal
  7874. // RepeatLayout : Flow
  7875. // OuterTableImplied : True
  7876. // Header : False
  7877. // Footer : True
  7878. // Separator : False
  7879. string v = RepeatInfoUser.DoTest (0, 1, RepeatDirection.Horizontal, RepeatLayout.Flow, true, false, true, false);
  7880. string exp = @"<span class=""mainstyle"">(0,Item,0)(1,Footer,-1)</span>";
  7881. HtmlDiff.AssertAreEqual (exp, v, "#421");
  7882. }
  7883. [Test]
  7884. public void RepeatInfo_0cols_2itms_horiz_flow_otrtblimp_ftr ()
  7885. {
  7886. // cols : 0
  7887. // cnt : 2
  7888. // RepeatDirection : Horizontal
  7889. // RepeatLayout : Flow
  7890. // OuterTableImplied : True
  7891. // Header : False
  7892. // Footer : True
  7893. // Separator : False
  7894. string v = RepeatInfoUser.DoTest (0, 2, RepeatDirection.Horizontal, RepeatLayout.Flow, true, false, true, false);
  7895. string exp = @"<span class=""mainstyle"">(0,Item,0)(1,Item,1)(2,Footer,-1)</span>";
  7896. HtmlDiff.AssertAreEqual (exp, v, "#422");
  7897. }
  7898. [Test]
  7899. public void RepeatInfo_0cols_5itms_horiz_flow_otrtblimp_ftr ()
  7900. {
  7901. // cols : 0
  7902. // cnt : 5
  7903. // RepeatDirection : Horizontal
  7904. // RepeatLayout : Flow
  7905. // OuterTableImplied : True
  7906. // Header : False
  7907. // Footer : True
  7908. // Separator : False
  7909. string v = RepeatInfoUser.DoTest (0, 5, RepeatDirection.Horizontal, RepeatLayout.Flow, true, false, true, false);
  7910. string exp = @"<span class=""mainstyle"">(0,Item,0)(1,Item,1)(2,Item,2)(3,Item,3)(4,Item,4)(5,Footer,-1)</span>";
  7911. HtmlDiff.AssertAreEqual (exp, v, "#423");
  7912. }
  7913. [Test]
  7914. public void RepeatInfo_1cols_0itms_horiz_flow_otrtblimp_ftr ()
  7915. {
  7916. // cols : 1
  7917. // cnt : 0
  7918. // RepeatDirection : Horizontal
  7919. // RepeatLayout : Flow
  7920. // OuterTableImplied : True
  7921. // Header : False
  7922. // Footer : True
  7923. // Separator : False
  7924. string v = RepeatInfoUser.DoTest (1, 0, RepeatDirection.Horizontal, RepeatLayout.Flow, true, false, true, false);
  7925. string exp = @"<span class=""mainstyle"">(0,Footer,-1)</span>";
  7926. HtmlDiff.AssertAreEqual (exp, v, "#424");
  7927. }
  7928. [Test]
  7929. public void RepeatInfo_1cols_5itms_horiz_flow_otrtblimp_ftr ()
  7930. {
  7931. // cols : 1
  7932. // cnt : 5
  7933. // RepeatDirection : Horizontal
  7934. // RepeatLayout : Flow
  7935. // OuterTableImplied : True
  7936. // Header : False
  7937. // Footer : True
  7938. // Separator : False
  7939. string v = RepeatInfoUser.DoTest (1, 5, RepeatDirection.Horizontal, RepeatLayout.Flow, true, false, true, false);
  7940. 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>";
  7941. HtmlDiff.AssertAreEqual (exp, v, "#425");
  7942. }
  7943. [Test]
  7944. public void RepeatInfo_2cols_4itms_horiz_flow_otrtblimp_ftr ()
  7945. {
  7946. // cols : 2
  7947. // cnt : 4
  7948. // RepeatDirection : Horizontal
  7949. // RepeatLayout : Flow
  7950. // OuterTableImplied : True
  7951. // Header : False
  7952. // Footer : True
  7953. // Separator : False
  7954. string v = RepeatInfoUser.DoTest (2, 4, RepeatDirection.Horizontal, RepeatLayout.Flow, true, false, true, false);
  7955. string exp = @"<span class=""mainstyle"">(0,Item,0)(1,Item,1)<br />(2,Item,2)(3,Item,3)<br />(4,Footer,-1)</span>";
  7956. HtmlDiff.AssertAreEqual (exp, v, "#426");
  7957. }
  7958. [Test]
  7959. public void RepeatInfo_2cols_7itms_horiz_flow_otrtblimp_ftr ()
  7960. {
  7961. // cols : 2
  7962. // cnt : 7
  7963. // RepeatDirection : Horizontal
  7964. // RepeatLayout : Flow
  7965. // OuterTableImplied : True
  7966. // Header : False
  7967. // Footer : True
  7968. // Separator : False
  7969. string v = RepeatInfoUser.DoTest (2, 7, RepeatDirection.Horizontal, RepeatLayout.Flow, true, false, true, false);
  7970. 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>";
  7971. HtmlDiff.AssertAreEqual (exp, v, "#427");
  7972. }
  7973. [Test]
  7974. public void RepeatInfo_3cols_9itms_horiz_flow_otrtblimp_ftr ()
  7975. {
  7976. // cols : 3
  7977. // cnt : 9
  7978. // RepeatDirection : Horizontal
  7979. // RepeatLayout : Flow
  7980. // OuterTableImplied : True
  7981. // Header : False
  7982. // Footer : True
  7983. // Separator : False
  7984. string v = RepeatInfoUser.DoTest (3, 9, RepeatDirection.Horizontal, RepeatLayout.Flow, true, false, true, false);
  7985. 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>";
  7986. HtmlDiff.AssertAreEqual (exp, v, "#428");
  7987. }
  7988. [Test]
  7989. public void RepeatInfo_3cols_7itms_horiz_flow_otrtblimp_ftr ()
  7990. {
  7991. // cols : 3
  7992. // cnt : 7
  7993. // RepeatDirection : Horizontal
  7994. // RepeatLayout : Flow
  7995. // OuterTableImplied : True
  7996. // Header : False
  7997. // Footer : True
  7998. // Separator : False
  7999. string v = RepeatInfoUser.DoTest (3, 7, RepeatDirection.Horizontal, RepeatLayout.Flow, true, false, true, false);
  8000. 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>";
  8001. HtmlDiff.AssertAreEqual (exp, v, "#429");
  8002. }
  8003. [Test]
  8004. public void RepeatInfo_0cols_0itms_vert_flow_otrtblimp_ftr ()
  8005. {
  8006. // cols : 0
  8007. // cnt : 0
  8008. // RepeatDirection : Vertical
  8009. // RepeatLayout : Flow
  8010. // OuterTableImplied : True
  8011. // Header : False
  8012. // Footer : True
  8013. // Separator : False
  8014. string v = RepeatInfoUser.DoTest (0, 0, RepeatDirection.Vertical, RepeatLayout.Flow, true, false, true, false);
  8015. string exp = @"(0,Footer,-1)";
  8016. HtmlDiff.AssertAreEqual (exp, v, "#430");
  8017. }
  8018. [Test]
  8019. public void RepeatInfo_0cols_1itms_vert_flow_otrtblimp_ftr ()
  8020. {
  8021. // cols : 0
  8022. // cnt : 1
  8023. // RepeatDirection : Vertical
  8024. // RepeatLayout : Flow
  8025. // OuterTableImplied : True
  8026. // Header : False
  8027. // Footer : True
  8028. // Separator : False
  8029. string v = RepeatInfoUser.DoTest (0, 1, RepeatDirection.Vertical, RepeatLayout.Flow, true, false, true, false);
  8030. string exp = @"(0,Item,0)(1,Footer,-1)";
  8031. HtmlDiff.AssertAreEqual (exp, v, "#431");
  8032. }
  8033. [Test]
  8034. public void RepeatInfo_0cols_2itms_vert_flow_otrtblimp_ftr ()
  8035. {
  8036. // cols : 0
  8037. // cnt : 2
  8038. // RepeatDirection : Vertical
  8039. // RepeatLayout : Flow
  8040. // OuterTableImplied : True
  8041. // Header : False
  8042. // Footer : True
  8043. // Separator : False
  8044. string v = RepeatInfoUser.DoTest (0, 2, RepeatDirection.Vertical, RepeatLayout.Flow, true, false, true, false);
  8045. string exp = @"(0,Item,0)(1,Item,1)(2,Footer,-1)";
  8046. HtmlDiff.AssertAreEqual (exp, v, "#432");
  8047. }
  8048. [Test]
  8049. public void RepeatInfo_0cols_5itms_vert_flow_otrtblimp_ftr ()
  8050. {
  8051. // cols : 0
  8052. // cnt : 5
  8053. // RepeatDirection : Vertical
  8054. // RepeatLayout : Flow
  8055. // OuterTableImplied : True
  8056. // Header : False
  8057. // Footer : True
  8058. // Separator : False
  8059. string v = RepeatInfoUser.DoTest (0, 5, RepeatDirection.Vertical, RepeatLayout.Flow, true, false, true, false);
  8060. string exp = @"(0,Item,0)(1,Item,1)(2,Item,2)(3,Item,3)(4,Item,4)(5,Footer,-1)";
  8061. HtmlDiff.AssertAreEqual (exp, v, "#433");
  8062. }
  8063. [Test]
  8064. public void RepeatInfo_1cols_0itms_vert_flow_otrtblimp_ftr ()
  8065. {
  8066. // cols : 1
  8067. // cnt : 0
  8068. // RepeatDirection : Vertical
  8069. // RepeatLayout : Flow
  8070. // OuterTableImplied : True
  8071. // Header : False
  8072. // Footer : True
  8073. // Separator : False
  8074. string v = RepeatInfoUser.DoTest (1, 0, RepeatDirection.Vertical, RepeatLayout.Flow, true, false, true, false);
  8075. string exp = @"(0,Footer,-1)";
  8076. HtmlDiff.AssertAreEqual (exp, v, "#434");
  8077. }
  8078. [Test]
  8079. public void RepeatInfo_1cols_5itms_vert_flow_otrtblimp_ftr ()
  8080. {
  8081. // cols : 1
  8082. // cnt : 5
  8083. // RepeatDirection : Vertical
  8084. // RepeatLayout : Flow
  8085. // OuterTableImplied : True
  8086. // Header : False
  8087. // Footer : True
  8088. // Separator : False
  8089. string v = RepeatInfoUser.DoTest (1, 5, RepeatDirection.Vertical, RepeatLayout.Flow, true, false, true, false);
  8090. string exp = @"(0,Item,0)(1,Item,1)(2,Item,2)(3,Item,3)(4,Item,4)(5,Footer,-1)";
  8091. HtmlDiff.AssertAreEqual (exp, v, "#435");
  8092. }
  8093. [Test]
  8094. public void RepeatInfo_2cols_4itms_vert_flow_otrtblimp_ftr ()
  8095. {
  8096. // cols : 2
  8097. // cnt : 4
  8098. // RepeatDirection : Vertical
  8099. // RepeatLayout : Flow
  8100. // OuterTableImplied : True
  8101. // Header : False
  8102. // Footer : True
  8103. // Separator : False
  8104. string v = RepeatInfoUser.DoTest (2, 4, RepeatDirection.Vertical, RepeatLayout.Flow, true, false, true, false);
  8105. string exp = @"(0,Item,0)(1,Item,2)(2,Item,1)(3,Item,3)(4,Footer,-1)";
  8106. HtmlDiff.AssertAreEqual (exp, v, "#436");
  8107. }
  8108. [Test]
  8109. public void RepeatInfo_2cols_7itms_vert_flow_otrtblimp_ftr ()
  8110. {
  8111. // cols : 2
  8112. // cnt : 7
  8113. // RepeatDirection : Vertical
  8114. // RepeatLayout : Flow
  8115. // OuterTableImplied : True
  8116. // Header : False
  8117. // Footer : True
  8118. // Separator : False
  8119. string v = RepeatInfoUser.DoTest (2, 7, RepeatDirection.Vertical, RepeatLayout.Flow, true, false, true, false);
  8120. 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)";
  8121. HtmlDiff.AssertAreEqual (exp, v, "#437");
  8122. }
  8123. [Test]
  8124. public void RepeatInfo_3cols_9itms_vert_flow_otrtblimp_ftr ()
  8125. {
  8126. // cols : 3
  8127. // cnt : 9
  8128. // RepeatDirection : Vertical
  8129. // RepeatLayout : Flow
  8130. // OuterTableImplied : True
  8131. // Header : False
  8132. // Footer : True
  8133. // Separator : False
  8134. string v = RepeatInfoUser.DoTest (3, 9, RepeatDirection.Vertical, RepeatLayout.Flow, true, false, true, false);
  8135. 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)";
  8136. HtmlDiff.AssertAreEqual (exp, v, "#438");
  8137. }
  8138. [Test]
  8139. public void RepeatInfo_3cols_7itms_vert_flow_otrtblimp_ftr ()
  8140. {
  8141. // cols : 3
  8142. // cnt : 7
  8143. // RepeatDirection : Vertical
  8144. // RepeatLayout : Flow
  8145. // OuterTableImplied : True
  8146. // Header : False
  8147. // Footer : True
  8148. // Separator : False
  8149. string v = RepeatInfoUser.DoTest (3, 7, RepeatDirection.Vertical, RepeatLayout.Flow, true, false, true, false);
  8150. 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)";
  8151. HtmlDiff.AssertAreEqual (exp, v, "#439");
  8152. }
  8153. [Test]
  8154. public void RepeatInfo_0cols_0itms_horiz_tbl_ftr ()
  8155. {
  8156. // cols : 0
  8157. // cnt : 0
  8158. // RepeatDirection : Horizontal
  8159. // RepeatLayout : Table
  8160. // OuterTableImplied : False
  8161. // Header : False
  8162. // Footer : True
  8163. // Separator : False
  8164. string v = RepeatInfoUser.DoTest (0, 0, RepeatDirection.Horizontal, RepeatLayout.Table, false, false, true, false);
  8165. string exp = @"<table class=""mainstyle"" border=""0"">
  8166. <tr>
  8167. <td colspan=""0"" class=""Footer-1"">(0,Footer,-1)</td>
  8168. </tr>
  8169. </table>";
  8170. HtmlDiff.AssertAreEqual (exp, v, "#440");
  8171. }
  8172. [Test]
  8173. public void RepeatInfo_0cols_1itms_horiz_tbl_ftr ()
  8174. {
  8175. // cols : 0
  8176. // cnt : 1
  8177. // RepeatDirection : Horizontal
  8178. // RepeatLayout : Table
  8179. // OuterTableImplied : False
  8180. // Header : False
  8181. // Footer : True
  8182. // Separator : False
  8183. string v = RepeatInfoUser.DoTest (0, 1, RepeatDirection.Horizontal, RepeatLayout.Table, false, false, true, false);
  8184. string exp = @"<table class=""mainstyle"" border=""0"">
  8185. <tr>
  8186. <td class=""Item0"">(0,Item,0)</td>
  8187. </tr><tr>
  8188. <td class=""Footer-1"">(1,Footer,-1)</td>
  8189. </tr>
  8190. </table>";
  8191. HtmlDiff.AssertAreEqual (exp, v, "#441");
  8192. }
  8193. [Test]
  8194. public void RepeatInfo_0cols_2itms_horiz_tbl_ftr ()
  8195. {
  8196. // cols : 0
  8197. // cnt : 2
  8198. // RepeatDirection : Horizontal
  8199. // RepeatLayout : Table
  8200. // OuterTableImplied : False
  8201. // Header : False
  8202. // Footer : True
  8203. // Separator : False
  8204. string v = RepeatInfoUser.DoTest (0, 2, RepeatDirection.Horizontal, RepeatLayout.Table, false, false, true, false);
  8205. string exp = @"<table class=""mainstyle"" border=""0"">
  8206. <tr>
  8207. <td class=""Item0"">(0,Item,0)</td><td class=""Item1"">(1,Item,1)</td>
  8208. </tr><tr>
  8209. <td colspan=""2"" class=""Footer-1"">(2,Footer,-1)</td>
  8210. </tr>
  8211. </table>";
  8212. HtmlDiff.AssertAreEqual (exp, v, "#442");
  8213. }
  8214. [Test]
  8215. public void RepeatInfo_0cols_5itms_horiz_tbl_ftr ()
  8216. {
  8217. // cols : 0
  8218. // cnt : 5
  8219. // RepeatDirection : Horizontal
  8220. // RepeatLayout : Table
  8221. // OuterTableImplied : False
  8222. // Header : False
  8223. // Footer : True
  8224. // Separator : False
  8225. string v = RepeatInfoUser.DoTest (0, 5, RepeatDirection.Horizontal, RepeatLayout.Table, false, false, true, false);
  8226. string exp = @"<table class=""mainstyle"" border=""0"">
  8227. <tr>
  8228. <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>
  8229. </tr><tr>
  8230. <td colspan=""5"" class=""Footer-1"">(5,Footer,-1)</td>
  8231. </tr>
  8232. </table>";
  8233. HtmlDiff.AssertAreEqual (exp, v, "#443");
  8234. }
  8235. [Test]
  8236. public void RepeatInfo_1cols_0itms_horiz_tbl_ftr ()
  8237. {
  8238. // cols : 1
  8239. // cnt : 0
  8240. // RepeatDirection : Horizontal
  8241. // RepeatLayout : Table
  8242. // OuterTableImplied : False
  8243. // Header : False
  8244. // Footer : True
  8245. // Separator : False
  8246. string v = RepeatInfoUser.DoTest (1, 0, RepeatDirection.Horizontal, RepeatLayout.Table, false, false, true, false);
  8247. string exp = @"<table class=""mainstyle"" border=""0"">
  8248. <tr>
  8249. <td class=""Footer-1"">(0,Footer,-1)</td>
  8250. </tr>
  8251. </table>";
  8252. HtmlDiff.AssertAreEqual (exp, v, "#444");
  8253. }
  8254. [Test]
  8255. public void RepeatInfo_1cols_5itms_horiz_tbl_ftr ()
  8256. {
  8257. // cols : 1
  8258. // cnt : 5
  8259. // RepeatDirection : Horizontal
  8260. // RepeatLayout : Table
  8261. // OuterTableImplied : False
  8262. // Header : False
  8263. // Footer : True
  8264. // Separator : False
  8265. string v = RepeatInfoUser.DoTest (1, 5, RepeatDirection.Horizontal, RepeatLayout.Table, false, false, true, false);
  8266. string exp = @"<table class=""mainstyle"" border=""0"">
  8267. <tr>
  8268. <td class=""Item0"">(0,Item,0)</td>
  8269. </tr><tr>
  8270. <td class=""Item1"">(1,Item,1)</td>
  8271. </tr><tr>
  8272. <td class=""Item2"">(2,Item,2)</td>
  8273. </tr><tr>
  8274. <td class=""Item3"">(3,Item,3)</td>
  8275. </tr><tr>
  8276. <td class=""Item4"">(4,Item,4)</td>
  8277. </tr><tr>
  8278. <td class=""Footer-1"">(5,Footer,-1)</td>
  8279. </tr>
  8280. </table>";
  8281. HtmlDiff.AssertAreEqual (exp, v, "#445");
  8282. }
  8283. [Test]
  8284. public void RepeatInfo_2cols_4itms_horiz_tbl_ftr ()
  8285. {
  8286. // cols : 2
  8287. // cnt : 4
  8288. // RepeatDirection : Horizontal
  8289. // RepeatLayout : Table
  8290. // OuterTableImplied : False
  8291. // Header : False
  8292. // Footer : True
  8293. // Separator : False
  8294. string v = RepeatInfoUser.DoTest (2, 4, RepeatDirection.Horizontal, RepeatLayout.Table, false, false, true, false);
  8295. string exp = @"<table class=""mainstyle"" border=""0"">
  8296. <tr>
  8297. <td class=""Item0"">(0,Item,0)</td><td class=""Item1"">(1,Item,1)</td>
  8298. </tr><tr>
  8299. <td class=""Item2"">(2,Item,2)</td><td class=""Item3"">(3,Item,3)</td>
  8300. </tr><tr>
  8301. <td colspan=""2"" class=""Footer-1"">(4,Footer,-1)</td>
  8302. </tr>
  8303. </table>";
  8304. HtmlDiff.AssertAreEqual (exp, v, "#446");
  8305. }
  8306. [Test]
  8307. public void RepeatInfo_2cols_7itms_horiz_tbl_ftr ()
  8308. {
  8309. // cols : 2
  8310. // cnt : 7
  8311. // RepeatDirection : Horizontal
  8312. // RepeatLayout : Table
  8313. // OuterTableImplied : False
  8314. // Header : False
  8315. // Footer : True
  8316. // Separator : False
  8317. string v = RepeatInfoUser.DoTest (2, 7, RepeatDirection.Horizontal, RepeatLayout.Table, false, false, true, false);
  8318. string exp = @"<table class=""mainstyle"" border=""0"">
  8319. <tr>
  8320. <td class=""Item0"">(0,Item,0)</td><td class=""Item1"">(1,Item,1)</td>
  8321. </tr><tr>
  8322. <td class=""Item2"">(2,Item,2)</td><td class=""Item3"">(3,Item,3)</td>
  8323. </tr><tr>
  8324. <td class=""Item4"">(4,Item,4)</td><td class=""Item5"">(5,Item,5)</td>
  8325. </tr><tr>
  8326. <td class=""Item6"">(6,Item,6)</td><td></td>
  8327. </tr><tr>
  8328. <td colspan=""2"" class=""Footer-1"">(7,Footer,-1)</td>
  8329. </tr>
  8330. </table>";
  8331. HtmlDiff.AssertAreEqual (exp, v, "#447");
  8332. }
  8333. [Test]
  8334. public void RepeatInfo_3cols_9itms_horiz_tbl_ftr ()
  8335. {
  8336. // cols : 3
  8337. // cnt : 9
  8338. // RepeatDirection : Horizontal
  8339. // RepeatLayout : Table
  8340. // OuterTableImplied : False
  8341. // Header : False
  8342. // Footer : True
  8343. // Separator : False
  8344. string v = RepeatInfoUser.DoTest (3, 9, RepeatDirection.Horizontal, RepeatLayout.Table, false, false, true, false);
  8345. string exp = @"<table border=""0"">
  8346. <tr>
  8347. <td class=""Item0"">(0,Item,0)</td><td class=""Item1"">(1,Item,1)</td><td class=""Item2"">(2,Item,2)</td>
  8348. </tr><tr>
  8349. <td class=""Item3"">(3,Item,3)</td><td class=""Item4"">(4,Item,4)</td><td class=""Item5"">(5,Item,5)</td>
  8350. </tr><tr>
  8351. <td class=""Item6"">(6,Item,6)</td><td class=""Item7"">(7,Item,7)</td><td class=""Item8"">(8,Item,8)</td>
  8352. </tr><tr>
  8353. <td colspan=""3"" class=""Footer-1"">(9,Footer,-1)</td>
  8354. </tr>
  8355. </table>";
  8356. HtmlDiff.AssertAreEqual (exp, v, "#448");
  8357. }
  8358. [Test]
  8359. public void RepeatInfo_3cols_7itms_horiz_tbl_ftr ()
  8360. {
  8361. // cols : 3
  8362. // cnt : 7
  8363. // RepeatDirection : Horizontal
  8364. // RepeatLayout : Table
  8365. // OuterTableImplied : False
  8366. // Header : False
  8367. // Footer : True
  8368. // Separator : False
  8369. string v = RepeatInfoUser.DoTest (3, 7, RepeatDirection.Horizontal, RepeatLayout.Table, false, false, true, false);
  8370. string exp = @"<table border=""0"">
  8371. <tr>
  8372. <td class=""Item0"">(0,Item,0)</td><td class=""Item1"">(1,Item,1)</td><td class=""Item2"">(2,Item,2)</td>
  8373. </tr><tr>
  8374. <td class=""Item3"">(3,Item,3)</td><td class=""Item4"">(4,Item,4)</td><td class=""Item5"">(5,Item,5)</td>
  8375. </tr><tr>
  8376. <td class=""Item6"">(6,Item,6)</td><td></td><td></td>
  8377. </tr><tr>
  8378. <td colspan=""3"" class=""Footer-1"">(7,Footer,-1)</td>
  8379. </tr>
  8380. </table>";
  8381. HtmlDiff.AssertAreEqual (exp, v, "#449");
  8382. }
  8383. [Test]
  8384. public void RepeatInfo_0cols_0itms_vert_tbl_ftr ()
  8385. {
  8386. // cols : 0
  8387. // cnt : 0
  8388. // RepeatDirection : Vertical
  8389. // RepeatLayout : Table
  8390. // OuterTableImplied : False
  8391. // Header : False
  8392. // Footer : True
  8393. // Separator : False
  8394. string v = RepeatInfoUser.DoTest (0, 0, RepeatDirection.Vertical, RepeatLayout.Table, false, false, true, false);
  8395. string exp = @"<table class=""mainstyle"" border=""0"">
  8396. <tr>
  8397. <td class=""Footer-1"">(0,Footer,-1)</td>
  8398. </tr>
  8399. </table>";
  8400. HtmlDiff.AssertAreEqual (exp, v, "#450");
  8401. }
  8402. [Test]
  8403. public void RepeatInfo_0cols_1itms_vert_tbl_ftr ()
  8404. {
  8405. // cols : 0
  8406. // cnt : 1
  8407. // RepeatDirection : Vertical
  8408. // RepeatLayout : Table
  8409. // OuterTableImplied : False
  8410. // Header : False
  8411. // Footer : True
  8412. // Separator : False
  8413. string v = RepeatInfoUser.DoTest (0, 1, RepeatDirection.Vertical, RepeatLayout.Table, false, false, true, false);
  8414. string exp = @"<table class=""mainstyle"" border=""0"">
  8415. <tr>
  8416. <td class=""Item0"">(0,Item,0)</td>
  8417. </tr><tr>
  8418. <td class=""Footer-1"">(1,Footer,-1)</td>
  8419. </tr>
  8420. </table>";
  8421. HtmlDiff.AssertAreEqual (exp, v, "#451");
  8422. }
  8423. [Test]
  8424. public void RepeatInfo_0cols_2itms_vert_tbl_ftr ()
  8425. {
  8426. // cols : 0
  8427. // cnt : 2
  8428. // RepeatDirection : Vertical
  8429. // RepeatLayout : Table
  8430. // OuterTableImplied : False
  8431. // Header : False
  8432. // Footer : True
  8433. // Separator : False
  8434. string v = RepeatInfoUser.DoTest (0, 2, RepeatDirection.Vertical, RepeatLayout.Table, false, false, true, false);
  8435. string exp = @"<table class=""mainstyle"" border=""0"">
  8436. <tr>
  8437. <td class=""Item0"">(0,Item,0)</td>
  8438. </tr><tr>
  8439. <td class=""Item1"">(1,Item,1)</td>
  8440. </tr><tr>
  8441. <td class=""Footer-1"">(2,Footer,-1)</td>
  8442. </tr>
  8443. </table>";
  8444. HtmlDiff.AssertAreEqual (exp, v, "#452");
  8445. }
  8446. [Test]
  8447. public void RepeatInfo_0cols_5itms_vert_tbl_ftr ()
  8448. {
  8449. // cols : 0
  8450. // cnt : 5
  8451. // RepeatDirection : Vertical
  8452. // RepeatLayout : Table
  8453. // OuterTableImplied : False
  8454. // Header : False
  8455. // Footer : True
  8456. // Separator : False
  8457. string v = RepeatInfoUser.DoTest (0, 5, RepeatDirection.Vertical, RepeatLayout.Table, false, false, true, false);
  8458. string exp = @"<table class=""mainstyle"" border=""0"">
  8459. <tr>
  8460. <td class=""Item0"">(0,Item,0)</td>
  8461. </tr><tr>
  8462. <td class=""Item1"">(1,Item,1)</td>
  8463. </tr><tr>
  8464. <td class=""Item2"">(2,Item,2)</td>
  8465. </tr><tr>
  8466. <td class=""Item3"">(3,Item,3)</td>
  8467. </tr><tr>
  8468. <td class=""Item4"">(4,Item,4)</td>
  8469. </tr><tr>
  8470. <td class=""Footer-1"">(5,Footer,-1)</td>
  8471. </tr>
  8472. </table>";
  8473. HtmlDiff.AssertAreEqual (exp, v, "#453");
  8474. }
  8475. [Test]
  8476. public void RepeatInfo_1cols_0itms_vert_tbl_ftr ()
  8477. {
  8478. // cols : 1
  8479. // cnt : 0
  8480. // RepeatDirection : Vertical
  8481. // RepeatLayout : Table
  8482. // OuterTableImplied : False
  8483. // Header : False
  8484. // Footer : True
  8485. // Separator : False
  8486. string v = RepeatInfoUser.DoTest (1, 0, RepeatDirection.Vertical, RepeatLayout.Table, false, false, true, false);
  8487. string exp = @"<table class=""mainstyle"" border=""0"">
  8488. <tr>
  8489. <td class=""Footer-1"">(0,Footer,-1)</td>
  8490. </tr>
  8491. </table>";
  8492. HtmlDiff.AssertAreEqual (exp, v, "#454");
  8493. }
  8494. [Test]
  8495. public void RepeatInfo_1cols_5itms_vert_tbl_ftr ()
  8496. {
  8497. // cols : 1
  8498. // cnt : 5
  8499. // RepeatDirection : Vertical
  8500. // RepeatLayout : Table
  8501. // OuterTableImplied : False
  8502. // Header : False
  8503. // Footer : True
  8504. // Separator : False
  8505. string v = RepeatInfoUser.DoTest (1, 5, RepeatDirection.Vertical, RepeatLayout.Table, false, false, true, false);
  8506. string exp = @"<table class=""mainstyle"" border=""0"">
  8507. <tr>
  8508. <td class=""Item0"">(0,Item,0)</td>
  8509. </tr><tr>
  8510. <td class=""Item1"">(1,Item,1)</td>
  8511. </tr><tr>
  8512. <td class=""Item2"">(2,Item,2)</td>
  8513. </tr><tr>
  8514. <td class=""Item3"">(3,Item,3)</td>
  8515. </tr><tr>
  8516. <td class=""Item4"">(4,Item,4)</td>
  8517. </tr><tr>
  8518. <td class=""Footer-1"">(5,Footer,-1)</td>
  8519. </tr>
  8520. </table>";
  8521. HtmlDiff.AssertAreEqual (exp, v, "#455");
  8522. }
  8523. [Test]
  8524. public void RepeatInfo_2cols_4itms_vert_tbl_ftr ()
  8525. {
  8526. // cols : 2
  8527. // cnt : 4
  8528. // RepeatDirection : Vertical
  8529. // RepeatLayout : Table
  8530. // OuterTableImplied : False
  8531. // Header : False
  8532. // Footer : True
  8533. // Separator : False
  8534. string v = RepeatInfoUser.DoTest (2, 4, RepeatDirection.Vertical, RepeatLayout.Table, false, false, true, false);
  8535. string exp = @"<table class=""mainstyle"" border=""0"">
  8536. <tr>
  8537. <td class=""Item0"">(0,Item,0)</td><td class=""Item2"">(1,Item,2)</td>
  8538. </tr><tr>
  8539. <td class=""Item1"">(2,Item,1)</td><td class=""Item3"">(3,Item,3)</td>
  8540. </tr><tr>
  8541. <td colspan=""2"" class=""Footer-1"">(4,Footer,-1)</td>
  8542. </tr>
  8543. </table>";
  8544. HtmlDiff.AssertAreEqual (exp, v, "#456");
  8545. }
  8546. [Test]
  8547. public void RepeatInfo_2cols_7itms_vert_tbl_ftr ()
  8548. {
  8549. // cols : 2
  8550. // cnt : 7
  8551. // RepeatDirection : Vertical
  8552. // RepeatLayout : Table
  8553. // OuterTableImplied : False
  8554. // Header : False
  8555. // Footer : True
  8556. // Separator : False
  8557. string v = RepeatInfoUser.DoTest (2, 7, RepeatDirection.Vertical, RepeatLayout.Table, false, false, true, false);
  8558. string exp = @"<table class=""mainstyle"" border=""0"">
  8559. <tr>
  8560. <td class=""Item0"">(0,Item,0)</td><td class=""Item4"">(1,Item,4)</td>
  8561. </tr><tr>
  8562. <td class=""Item1"">(2,Item,1)</td><td class=""Item5"">(3,Item,5)</td>
  8563. </tr><tr>
  8564. <td class=""Item2"">(4,Item,2)</td><td class=""Item6"">(5,Item,6)</td>
  8565. </tr><tr>
  8566. <td class=""Item3"">(6,Item,3)</td><td></td>
  8567. </tr><tr>
  8568. <td colspan=""2"" class=""Footer-1"">(7,Footer,-1)</td>
  8569. </tr>
  8570. </table>";
  8571. HtmlDiff.AssertAreEqual (exp, v, "#457");
  8572. }
  8573. [Test]
  8574. public void RepeatInfo_3cols_9itms_vert_tbl_ftr ()
  8575. {
  8576. // cols : 3
  8577. // cnt : 9
  8578. // RepeatDirection : Vertical
  8579. // RepeatLayout : Table
  8580. // OuterTableImplied : False
  8581. // Header : False
  8582. // Footer : True
  8583. // Separator : False
  8584. string v = RepeatInfoUser.DoTest (3, 9, RepeatDirection.Vertical, RepeatLayout.Table, false, false, true, false);
  8585. string exp = @"<table border=""0"">
  8586. <tr>
  8587. <td class=""Item0"">(0,Item,0)</td><td class=""Item3"">(1,Item,3)</td><td class=""Item6"">(2,Item,6)</td>
  8588. </tr><tr>
  8589. <td class=""Item1"">(3,Item,1)</td><td class=""Item4"">(4,Item,4)</td><td class=""Item7"">(5,Item,7)</td>
  8590. </tr><tr>
  8591. <td class=""Item2"">(6,Item,2)</td><td class=""Item5"">(7,Item,5)</td><td class=""Item8"">(8,Item,8)</td>
  8592. </tr><tr>
  8593. <td colspan=""3"" class=""Footer-1"">(9,Footer,-1)</td>
  8594. </tr>
  8595. </table>";
  8596. HtmlDiff.AssertAreEqual (exp, v, "#458");
  8597. }
  8598. [Test]
  8599. public void RepeatInfo_3cols_7itms_vert_tbl_ftr ()
  8600. {
  8601. // cols : 3
  8602. // cnt : 7
  8603. // RepeatDirection : Vertical
  8604. // RepeatLayout : Table
  8605. // OuterTableImplied : False
  8606. // Header : False
  8607. // Footer : True
  8608. // Separator : False
  8609. string v = RepeatInfoUser.DoTest (3, 7, RepeatDirection.Vertical, RepeatLayout.Table, false, false, true, false);
  8610. string exp = @"<table border=""0"">
  8611. <tr>
  8612. <td class=""Item0"">(0,Item,0)</td><td class=""Item3"">(1,Item,3)</td><td class=""Item5"">(2,Item,5)</td>
  8613. </tr><tr>
  8614. <td class=""Item1"">(3,Item,1)</td><td class=""Item4"">(4,Item,4)</td><td class=""Item6"">(5,Item,6)</td>
  8615. </tr><tr>
  8616. <td class=""Item2"">(6,Item,2)</td><td></td><td></td>
  8617. </tr><tr>
  8618. <td colspan=""3"" class=""Footer-1"">(7,Footer,-1)</td>
  8619. </tr>
  8620. </table>";
  8621. HtmlDiff.AssertAreEqual (exp, v, "#459");
  8622. }
  8623. [Test]
  8624. public void RepeatInfo_0cols_0itms_horiz_flow_ftr ()
  8625. {
  8626. // cols : 0
  8627. // cnt : 0
  8628. // RepeatDirection : Horizontal
  8629. // RepeatLayout : Flow
  8630. // OuterTableImplied : False
  8631. // Header : False
  8632. // Footer : True
  8633. // Separator : False
  8634. string v = RepeatInfoUser.DoTest (0, 0, RepeatDirection.Horizontal, RepeatLayout.Flow, false, false, true, false);
  8635. string exp = @"<span class=""mainstyle"">(0,Footer,-1)</span>";
  8636. HtmlDiff.AssertAreEqual (exp, v, "#460");
  8637. }
  8638. [Test]
  8639. public void RepeatInfo_0cols_1itms_horiz_flow_ftr ()
  8640. {
  8641. // cols : 0
  8642. // cnt : 1
  8643. // RepeatDirection : Horizontal
  8644. // RepeatLayout : Flow
  8645. // OuterTableImplied : False
  8646. // Header : False
  8647. // Footer : True
  8648. // Separator : False
  8649. string v = RepeatInfoUser.DoTest (0, 1, RepeatDirection.Horizontal, RepeatLayout.Flow, false, false, true, false);
  8650. string exp = @"<span class=""mainstyle"">(0,Item,0)(1,Footer,-1)</span>";
  8651. HtmlDiff.AssertAreEqual (exp, v, "#461");
  8652. }
  8653. [Test]
  8654. public void RepeatInfo_0cols_2itms_horiz_flow_ftr ()
  8655. {
  8656. // cols : 0
  8657. // cnt : 2
  8658. // RepeatDirection : Horizontal
  8659. // RepeatLayout : Flow
  8660. // OuterTableImplied : False
  8661. // Header : False
  8662. // Footer : True
  8663. // Separator : False
  8664. string v = RepeatInfoUser.DoTest (0, 2, RepeatDirection.Horizontal, RepeatLayout.Flow, false, false, true, false);
  8665. string exp = @"<span class=""mainstyle"">(0,Item,0)(1,Item,1)(2,Footer,-1)</span>";
  8666. HtmlDiff.AssertAreEqual (exp, v, "#462");
  8667. }
  8668. [Test]
  8669. public void RepeatInfo_0cols_5itms_horiz_flow_ftr ()
  8670. {
  8671. // cols : 0
  8672. // cnt : 5
  8673. // RepeatDirection : Horizontal
  8674. // RepeatLayout : Flow
  8675. // OuterTableImplied : False
  8676. // Header : False
  8677. // Footer : True
  8678. // Separator : False
  8679. string v = RepeatInfoUser.DoTest (0, 5, RepeatDirection.Horizontal, RepeatLayout.Flow, false, false, true, false);
  8680. string exp = @"<span class=""mainstyle"">(0,Item,0)(1,Item,1)(2,Item,2)(3,Item,3)(4,Item,4)(5,Footer,-1)</span>";
  8681. HtmlDiff.AssertAreEqual (exp, v, "#463");
  8682. }
  8683. [Test]
  8684. public void RepeatInfo_1cols_0itms_horiz_flow_ftr ()
  8685. {
  8686. // cols : 1
  8687. // cnt : 0
  8688. // RepeatDirection : Horizontal
  8689. // RepeatLayout : Flow
  8690. // OuterTableImplied : False
  8691. // Header : False
  8692. // Footer : True
  8693. // Separator : False
  8694. string v = RepeatInfoUser.DoTest (1, 0, RepeatDirection.Horizontal, RepeatLayout.Flow, false, false, true, false);
  8695. string exp = @"<span class=""mainstyle"">(0,Footer,-1)</span>";
  8696. HtmlDiff.AssertAreEqual (exp, v, "#464");
  8697. }
  8698. [Test]
  8699. public void RepeatInfo_1cols_5itms_horiz_flow_ftr ()
  8700. {
  8701. // cols : 1
  8702. // cnt : 5
  8703. // RepeatDirection : Horizontal
  8704. // RepeatLayout : Flow
  8705. // OuterTableImplied : False
  8706. // Header : False
  8707. // Footer : True
  8708. // Separator : False
  8709. string v = RepeatInfoUser.DoTest (1, 5, RepeatDirection.Horizontal, RepeatLayout.Flow, false, false, true, false);
  8710. 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>";
  8711. HtmlDiff.AssertAreEqual (exp, v, "#465");
  8712. }
  8713. [Test]
  8714. public void RepeatInfo_2cols_4itms_horiz_flow_ftr ()
  8715. {
  8716. // cols : 2
  8717. // cnt : 4
  8718. // RepeatDirection : Horizontal
  8719. // RepeatLayout : Flow
  8720. // OuterTableImplied : False
  8721. // Header : False
  8722. // Footer : True
  8723. // Separator : False
  8724. string v = RepeatInfoUser.DoTest (2, 4, RepeatDirection.Horizontal, RepeatLayout.Flow, false, false, true, false);
  8725. string exp = @"<span class=""mainstyle"">(0,Item,0)(1,Item,1)<br />(2,Item,2)(3,Item,3)<br />(4,Footer,-1)</span>";
  8726. HtmlDiff.AssertAreEqual (exp, v, "#466");
  8727. }
  8728. [Test]
  8729. public void RepeatInfo_2cols_7itms_horiz_flow_ftr ()
  8730. {
  8731. // cols : 2
  8732. // cnt : 7
  8733. // RepeatDirection : Horizontal
  8734. // RepeatLayout : Flow
  8735. // OuterTableImplied : False
  8736. // Header : False
  8737. // Footer : True
  8738. // Separator : False
  8739. string v = RepeatInfoUser.DoTest (2, 7, RepeatDirection.Horizontal, RepeatLayout.Flow, false, false, true, false);
  8740. 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>";
  8741. HtmlDiff.AssertAreEqual (exp, v, "#467");
  8742. }
  8743. [Test]
  8744. public void RepeatInfo_3cols_9itms_horiz_flow_ftr ()
  8745. {
  8746. // cols : 3
  8747. // cnt : 9
  8748. // RepeatDirection : Horizontal
  8749. // RepeatLayout : Flow
  8750. // OuterTableImplied : False
  8751. // Header : False
  8752. // Footer : True
  8753. // Separator : False
  8754. string v = RepeatInfoUser.DoTest (3, 9, RepeatDirection.Horizontal, RepeatLayout.Flow, false, false, true, false);
  8755. 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>";
  8756. HtmlDiff.AssertAreEqual (exp, v, "#468");
  8757. }
  8758. [Test]
  8759. public void RepeatInfo_3cols_7itms_horiz_flow_ftr ()
  8760. {
  8761. // cols : 3
  8762. // cnt : 7
  8763. // RepeatDirection : Horizontal
  8764. // RepeatLayout : Flow
  8765. // OuterTableImplied : False
  8766. // Header : False
  8767. // Footer : True
  8768. // Separator : False
  8769. string v = RepeatInfoUser.DoTest (3, 7, RepeatDirection.Horizontal, RepeatLayout.Flow, false, false, true, false);
  8770. 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>";
  8771. HtmlDiff.AssertAreEqual (exp, v, "#469");
  8772. }
  8773. [Test]
  8774. public void RepeatInfo_0cols_0itms_vert_flow_ftr ()
  8775. {
  8776. // cols : 0
  8777. // cnt : 0
  8778. // RepeatDirection : Vertical
  8779. // RepeatLayout : Flow
  8780. // OuterTableImplied : False
  8781. // Header : False
  8782. // Footer : True
  8783. // Separator : False
  8784. string v = RepeatInfoUser.DoTest (0, 0, RepeatDirection.Vertical, RepeatLayout.Flow, false, false, true, false);
  8785. string exp = @"<span class=""mainstyle"">(0,Footer,-1)</span>";
  8786. HtmlDiff.AssertAreEqual (exp, v, "#470");
  8787. }
  8788. [Test]
  8789. public void RepeatInfo_0cols_1itms_vert_flow_ftr ()
  8790. {
  8791. // cols : 0
  8792. // cnt : 1
  8793. // RepeatDirection : Vertical
  8794. // RepeatLayout : Flow
  8795. // OuterTableImplied : False
  8796. // Header : False
  8797. // Footer : True
  8798. // Separator : False
  8799. string v = RepeatInfoUser.DoTest (0, 1, RepeatDirection.Vertical, RepeatLayout.Flow, false, false, true, false);
  8800. string exp = @"<span class=""mainstyle"">(0,Item,0)<br />(1,Footer,-1)</span>";
  8801. HtmlDiff.AssertAreEqual (exp, v, "#471");
  8802. }
  8803. [Test]
  8804. public void RepeatInfo_0cols_2itms_vert_flow_ftr ()
  8805. {
  8806. // cols : 0
  8807. // cnt : 2
  8808. // RepeatDirection : Vertical
  8809. // RepeatLayout : Flow
  8810. // OuterTableImplied : False
  8811. // Header : False
  8812. // Footer : True
  8813. // Separator : False
  8814. string v = RepeatInfoUser.DoTest (0, 2, RepeatDirection.Vertical, RepeatLayout.Flow, false, false, true, false);
  8815. string exp = @"<span class=""mainstyle"">(0,Item,0)<br />(1,Item,1)<br />(2,Footer,-1)</span>";
  8816. HtmlDiff.AssertAreEqual (exp, v, "#472");
  8817. }
  8818. [Test]
  8819. public void RepeatInfo_0cols_5itms_vert_flow_ftr ()
  8820. {
  8821. // cols : 0
  8822. // cnt : 5
  8823. // RepeatDirection : Vertical
  8824. // RepeatLayout : Flow
  8825. // OuterTableImplied : False
  8826. // Header : False
  8827. // Footer : True
  8828. // Separator : False
  8829. string v = RepeatInfoUser.DoTest (0, 5, RepeatDirection.Vertical, RepeatLayout.Flow, false, false, true, false);
  8830. 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>";
  8831. HtmlDiff.AssertAreEqual (exp, v, "#473");
  8832. }
  8833. [Test]
  8834. public void RepeatInfo_1cols_0itms_vert_flow_ftr ()
  8835. {
  8836. // cols : 1
  8837. // cnt : 0
  8838. // RepeatDirection : Vertical
  8839. // RepeatLayout : Flow
  8840. // OuterTableImplied : False
  8841. // Header : False
  8842. // Footer : True
  8843. // Separator : False
  8844. string v = RepeatInfoUser.DoTest (1, 0, RepeatDirection.Vertical, RepeatLayout.Flow, false, false, true, false);
  8845. string exp = @"<span class=""mainstyle"">(0,Footer,-1)</span>";
  8846. HtmlDiff.AssertAreEqual (exp, v, "#474");
  8847. }
  8848. [Test]
  8849. public void RepeatInfo_1cols_5itms_vert_flow_ftr ()
  8850. {
  8851. // cols : 1
  8852. // cnt : 5
  8853. // RepeatDirection : Vertical
  8854. // RepeatLayout : Flow
  8855. // OuterTableImplied : False
  8856. // Header : False
  8857. // Footer : True
  8858. // Separator : False
  8859. string v = RepeatInfoUser.DoTest (1, 5, RepeatDirection.Vertical, RepeatLayout.Flow, false, false, true, false);
  8860. 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>";
  8861. HtmlDiff.AssertAreEqual (exp, v, "#475");
  8862. }
  8863. [Test]
  8864. public void RepeatInfo_2cols_4itms_vert_flow_ftr ()
  8865. {
  8866. // cols : 2
  8867. // cnt : 4
  8868. // RepeatDirection : Vertical
  8869. // RepeatLayout : Flow
  8870. // OuterTableImplied : False
  8871. // Header : False
  8872. // Footer : True
  8873. // Separator : False
  8874. string v = RepeatInfoUser.DoTest (2, 4, RepeatDirection.Vertical, RepeatLayout.Flow, false, false, true, false);
  8875. string exp = @"<span class=""mainstyle"">(0,Item,0)(1,Item,2)<br />(2,Item,1)(3,Item,3)<br />(4,Footer,-1)</span>";
  8876. HtmlDiff.AssertAreEqual (exp, v, "#476");
  8877. }
  8878. [Test]
  8879. public void RepeatInfo_2cols_7itms_vert_flow_ftr ()
  8880. {
  8881. // cols : 2
  8882. // cnt : 7
  8883. // RepeatDirection : Vertical
  8884. // RepeatLayout : Flow
  8885. // OuterTableImplied : False
  8886. // Header : False
  8887. // Footer : True
  8888. // Separator : False
  8889. string v = RepeatInfoUser.DoTest (2, 7, RepeatDirection.Vertical, RepeatLayout.Flow, false, false, true, false);
  8890. 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>";
  8891. HtmlDiff.AssertAreEqual (exp, v, "#477");
  8892. }
  8893. [Test]
  8894. public void RepeatInfo_3cols_9itms_vert_flow_ftr ()
  8895. {
  8896. // cols : 3
  8897. // cnt : 9
  8898. // RepeatDirection : Vertical
  8899. // RepeatLayout : Flow
  8900. // OuterTableImplied : False
  8901. // Header : False
  8902. // Footer : True
  8903. // Separator : False
  8904. string v = RepeatInfoUser.DoTest (3, 9, RepeatDirection.Vertical, RepeatLayout.Flow, false, false, true, false);
  8905. 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>";
  8906. HtmlDiff.AssertAreEqual (exp, v, "#478");
  8907. }
  8908. [Test]
  8909. public void RepeatInfo_3cols_7itms_vert_flow_ftr ()
  8910. {
  8911. // cols : 3
  8912. // cnt : 7
  8913. // RepeatDirection : Vertical
  8914. // RepeatLayout : Flow
  8915. // OuterTableImplied : False
  8916. // Header : False
  8917. // Footer : True
  8918. // Separator : False
  8919. string v = RepeatInfoUser.DoTest (3, 7, RepeatDirection.Vertical, RepeatLayout.Flow, false, false, true, false);
  8920. 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>";
  8921. HtmlDiff.AssertAreEqual (exp, v, "#479");
  8922. }
  8923. [Test]
  8924. public void RepeatInfo_0cols_0itms_horiz_tbl_otrtblimp_hdr ()
  8925. {
  8926. // cols : 0
  8927. // cnt : 0
  8928. // RepeatDirection : Horizontal
  8929. // RepeatLayout : Table
  8930. // OuterTableImplied : True
  8931. // Header : True
  8932. // Footer : False
  8933. // Separator : False
  8934. string v = RepeatInfoUser.DoTest (0, 0, RepeatDirection.Horizontal, RepeatLayout.Table, true, true, false, false);
  8935. string exp = @"<table class=""mainstyle"" border=""0"">
  8936. <tr>
  8937. <td colspan=""0"" class=""Header-1"">(0,Header,-1)</td>
  8938. </tr>
  8939. </table>";
  8940. HtmlDiff.AssertAreEqual (exp, v, "#480");
  8941. }
  8942. [Test]
  8943. public void RepeatInfo_0cols_1itms_horiz_tbl_otrtblimp_hdr ()
  8944. {
  8945. // cols : 0
  8946. // cnt : 1
  8947. // RepeatDirection : Horizontal
  8948. // RepeatLayout : Table
  8949. // OuterTableImplied : True
  8950. // Header : True
  8951. // Footer : False
  8952. // Separator : False
  8953. string v = RepeatInfoUser.DoTest (0, 1, RepeatDirection.Horizontal, RepeatLayout.Table, true, true, false, false);
  8954. string exp = @"<table class=""mainstyle"" border=""0"">
  8955. <tr>
  8956. <td class=""Header-1"">(0,Header,-1)</td>
  8957. </tr><tr>
  8958. <td class=""Item0"">(1,Item,0)</td>
  8959. </tr>
  8960. </table>";
  8961. HtmlDiff.AssertAreEqual (exp, v, "#481");
  8962. }
  8963. [Test]
  8964. public void RepeatInfo_0cols_2itms_horiz_tbl_otrtblimp_hdr ()
  8965. {
  8966. // cols : 0
  8967. // cnt : 2
  8968. // RepeatDirection : Horizontal
  8969. // RepeatLayout : Table
  8970. // OuterTableImplied : True
  8971. // Header : True
  8972. // Footer : False
  8973. // Separator : False
  8974. string v = RepeatInfoUser.DoTest (0, 2, RepeatDirection.Horizontal, RepeatLayout.Table, true, true, false, false);
  8975. string exp = @"<table class=""mainstyle"" border=""0"">
  8976. <tr>
  8977. <td colspan=""2"" class=""Header-1"">(0,Header,-1)</td>
  8978. </tr><tr>
  8979. <td class=""Item0"">(1,Item,0)</td><td class=""Item1"">(2,Item,1)</td>
  8980. </tr>
  8981. </table>";
  8982. HtmlDiff.AssertAreEqual (exp, v, "#482");
  8983. }
  8984. [Test]
  8985. public void RepeatInfo_0cols_5itms_horiz_tbl_otrtblimp_hdr ()
  8986. {
  8987. // cols : 0
  8988. // cnt : 5
  8989. // RepeatDirection : Horizontal
  8990. // RepeatLayout : Table
  8991. // OuterTableImplied : True
  8992. // Header : True
  8993. // Footer : False
  8994. // Separator : False
  8995. string v = RepeatInfoUser.DoTest (0, 5, RepeatDirection.Horizontal, RepeatLayout.Table, true, true, false, false);
  8996. string exp = @"<table class=""mainstyle"" border=""0"">
  8997. <tr>
  8998. <td colspan=""5"" class=""Header-1"">(0,Header,-1)</td>
  8999. </tr><tr>
  9000. <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>
  9001. </tr>
  9002. </table>";
  9003. HtmlDiff.AssertAreEqual (exp, v, "#483");
  9004. }
  9005. [Test]
  9006. public void RepeatInfo_1cols_0itms_horiz_tbl_otrtblimp_hdr ()
  9007. {
  9008. // cols : 1
  9009. // cnt : 0
  9010. // RepeatDirection : Horizontal
  9011. // RepeatLayout : Table
  9012. // OuterTableImplied : True
  9013. // Header : True
  9014. // Footer : False
  9015. // Separator : False
  9016. string v = RepeatInfoUser.DoTest (1, 0, RepeatDirection.Horizontal, RepeatLayout.Table, true, true, false, false);
  9017. string exp = @"<table class=""mainstyle"" border=""0"">
  9018. <tr>
  9019. <td class=""Header-1"">(0,Header,-1)</td>
  9020. </tr>
  9021. </table>";
  9022. HtmlDiff.AssertAreEqual (exp, v, "#484");
  9023. }
  9024. [Test]
  9025. public void RepeatInfo_1cols_5itms_horiz_tbl_otrtblimp_hdr ()
  9026. {
  9027. // cols : 1
  9028. // cnt : 5
  9029. // RepeatDirection : Horizontal
  9030. // RepeatLayout : Table
  9031. // OuterTableImplied : True
  9032. // Header : True
  9033. // Footer : False
  9034. // Separator : False
  9035. string v = RepeatInfoUser.DoTest (1, 5, RepeatDirection.Horizontal, RepeatLayout.Table, true, true, false, false);
  9036. string exp = @"<table class=""mainstyle"" border=""0"">
  9037. <tr>
  9038. <td class=""Header-1"">(0,Header,-1)</td>
  9039. </tr><tr>
  9040. <td class=""Item0"">(1,Item,0)</td>
  9041. </tr><tr>
  9042. <td class=""Item1"">(2,Item,1)</td>
  9043. </tr><tr>
  9044. <td class=""Item2"">(3,Item,2)</td>
  9045. </tr><tr>
  9046. <td class=""Item3"">(4,Item,3)</td>
  9047. </tr><tr>
  9048. <td class=""Item4"">(5,Item,4)</td>
  9049. </tr>
  9050. </table>";
  9051. HtmlDiff.AssertAreEqual (exp, v, "#485");
  9052. }
  9053. [Test]
  9054. public void RepeatInfo_2cols_4itms_horiz_tbl_otrtblimp_hdr ()
  9055. {
  9056. // cols : 2
  9057. // cnt : 4
  9058. // RepeatDirection : Horizontal
  9059. // RepeatLayout : Table
  9060. // OuterTableImplied : True
  9061. // Header : True
  9062. // Footer : False
  9063. // Separator : False
  9064. string v = RepeatInfoUser.DoTest (2, 4, RepeatDirection.Horizontal, RepeatLayout.Table, true, true, false, false);
  9065. string exp = @"<table class=""mainstyle"" border=""0"">
  9066. <tr>
  9067. <td colspan=""2"" class=""Header-1"">(0,Header,-1)</td>
  9068. </tr><tr>
  9069. <td class=""Item0"">(1,Item,0)</td><td class=""Item1"">(2,Item,1)</td>
  9070. </tr><tr>
  9071. <td class=""Item2"">(3,Item,2)</td><td class=""Item3"">(4,Item,3)</td>
  9072. </tr>
  9073. </table>";
  9074. HtmlDiff.AssertAreEqual (exp, v, "#486");
  9075. }
  9076. [Test]
  9077. public void RepeatInfo_2cols_7itms_horiz_tbl_otrtblimp_hdr ()
  9078. {
  9079. // cols : 2
  9080. // cnt : 7
  9081. // RepeatDirection : Horizontal
  9082. // RepeatLayout : Table
  9083. // OuterTableImplied : True
  9084. // Header : True
  9085. // Footer : False
  9086. // Separator : False
  9087. string v = RepeatInfoUser.DoTest (2, 7, RepeatDirection.Horizontal, RepeatLayout.Table, true, true, false, false);
  9088. string exp = @"<table class=""mainstyle"" border=""0"">
  9089. <tr>
  9090. <td colspan=""2"" class=""Header-1"">(0,Header,-1)</td>
  9091. </tr><tr>
  9092. <td class=""Item0"">(1,Item,0)</td><td class=""Item1"">(2,Item,1)</td>
  9093. </tr><tr>
  9094. <td class=""Item2"">(3,Item,2)</td><td class=""Item3"">(4,Item,3)</td>
  9095. </tr><tr>
  9096. <td class=""Item4"">(5,Item,4)</td><td class=""Item5"">(6,Item,5)</td>
  9097. </tr><tr>
  9098. <td class=""Item6"">(7,Item,6)</td><td></td>
  9099. </tr>
  9100. </table>";
  9101. HtmlDiff.AssertAreEqual (exp, v, "#487");
  9102. }
  9103. [Test]
  9104. public void RepeatInfo_3cols_9itms_horiz_tbl_otrtblimp_hdr ()
  9105. {
  9106. // cols : 3
  9107. // cnt : 9
  9108. // RepeatDirection : Horizontal
  9109. // RepeatLayout : Table
  9110. // OuterTableImplied : True
  9111. // Header : True
  9112. // Footer : False
  9113. // Separator : False
  9114. string v = RepeatInfoUser.DoTest (3, 9, RepeatDirection.Horizontal, RepeatLayout.Table, true, true, false, false);
  9115. string exp = @"<table border=""0"">
  9116. <tr>
  9117. <td colspan=""3"" class=""Header-1"">(0,Header,-1)</td>
  9118. </tr><tr>
  9119. <td class=""Item0"">(1,Item,0)</td><td class=""Item1"">(2,Item,1)</td><td class=""Item2"">(3,Item,2)</td>
  9120. </tr><tr>
  9121. <td class=""Item3"">(4,Item,3)</td><td class=""Item4"">(5,Item,4)</td><td class=""Item5"">(6,Item,5)</td>
  9122. </tr><tr>
  9123. <td class=""Item6"">(7,Item,6)</td><td class=""Item7"">(8,Item,7)</td><td class=""Item8"">(9,Item,8)</td>
  9124. </tr>
  9125. </table>";
  9126. HtmlDiff.AssertAreEqual (exp, v, "#488");
  9127. }
  9128. [Test]
  9129. public void RepeatInfo_3cols_7itms_horiz_tbl_otrtblimp_hdr ()
  9130. {
  9131. // cols : 3
  9132. // cnt : 7
  9133. // RepeatDirection : Horizontal
  9134. // RepeatLayout : Table
  9135. // OuterTableImplied : True
  9136. // Header : True
  9137. // Footer : False
  9138. // Separator : False
  9139. string v = RepeatInfoUser.DoTest (3, 7, RepeatDirection.Horizontal, RepeatLayout.Table, true, true, false, false);
  9140. string exp = @"<table border=""0"">
  9141. <tr>
  9142. <td colspan=""3"" class=""Header-1"">(0,Header,-1)</td>
  9143. </tr><tr>
  9144. <td class=""Item0"">(1,Item,0)</td><td class=""Item1"">(2,Item,1)</td><td class=""Item2"">(3,Item,2)</td>
  9145. </tr><tr>
  9146. <td class=""Item3"">(4,Item,3)</td><td class=""Item4"">(5,Item,4)</td><td class=""Item5"">(6,Item,5)</td>
  9147. </tr><tr>
  9148. <td class=""Item6"">(7,Item,6)</td><td></td><td></td>
  9149. </tr>
  9150. </table>";
  9151. HtmlDiff.AssertAreEqual (exp, v, "#489");
  9152. }
  9153. [Test]
  9154. public void RepeatInfo_0cols_0itms_vert_tbl_otrtblimp_hdr ()
  9155. {
  9156. // cols : 0
  9157. // cnt : 0
  9158. // RepeatDirection : Vertical
  9159. // RepeatLayout : Table
  9160. // OuterTableImplied : True
  9161. // Header : True
  9162. // Footer : False
  9163. // Separator : False
  9164. string v = RepeatInfoUser.DoTest (0, 0, RepeatDirection.Vertical, RepeatLayout.Table, true, true, false, false);
  9165. string exp = @"(0,Header,-1)";
  9166. HtmlDiff.AssertAreEqual (exp, v, "#490");
  9167. }
  9168. [Test]
  9169. public void RepeatInfo_0cols_1itms_vert_tbl_otrtblimp_hdr ()
  9170. {
  9171. // cols : 0
  9172. // cnt : 1
  9173. // RepeatDirection : Vertical
  9174. // RepeatLayout : Table
  9175. // OuterTableImplied : True
  9176. // Header : True
  9177. // Footer : False
  9178. // Separator : False
  9179. string v = RepeatInfoUser.DoTest (0, 1, RepeatDirection.Vertical, RepeatLayout.Table, true, true, false, false);
  9180. string exp = @"(0,Header,-1)(1,Item,0)";
  9181. HtmlDiff.AssertAreEqual (exp, v, "#491");
  9182. }
  9183. [Test]
  9184. public void RepeatInfo_0cols_2itms_vert_tbl_otrtblimp_hdr ()
  9185. {
  9186. // cols : 0
  9187. // cnt : 2
  9188. // RepeatDirection : Vertical
  9189. // RepeatLayout : Table
  9190. // OuterTableImplied : True
  9191. // Header : True
  9192. // Footer : False
  9193. // Separator : False
  9194. string v = RepeatInfoUser.DoTest (0, 2, RepeatDirection.Vertical, RepeatLayout.Table, true, true, false, false);
  9195. string exp = @"(0,Header,-1)(1,Item,0)(2,Item,1)";
  9196. HtmlDiff.AssertAreEqual (exp, v, "#492");
  9197. }
  9198. [Test]
  9199. public void RepeatInfo_0cols_5itms_vert_tbl_otrtblimp_hdr ()
  9200. {
  9201. // cols : 0
  9202. // cnt : 5
  9203. // RepeatDirection : Vertical
  9204. // RepeatLayout : Table
  9205. // OuterTableImplied : True
  9206. // Header : True
  9207. // Footer : False
  9208. // Separator : False
  9209. string v = RepeatInfoUser.DoTest (0, 5, RepeatDirection.Vertical, RepeatLayout.Table, true, true, false, false);
  9210. string exp = @"(0,Header,-1)(1,Item,0)(2,Item,1)(3,Item,2)(4,Item,3)(5,Item,4)";
  9211. HtmlDiff.AssertAreEqual (exp, v, "#493");
  9212. }
  9213. [Test]
  9214. public void RepeatInfo_1cols_0itms_vert_tbl_otrtblimp_hdr ()
  9215. {
  9216. // cols : 1
  9217. // cnt : 0
  9218. // RepeatDirection : Vertical
  9219. // RepeatLayout : Table
  9220. // OuterTableImplied : True
  9221. // Header : True
  9222. // Footer : False
  9223. // Separator : False
  9224. string v = RepeatInfoUser.DoTest (1, 0, RepeatDirection.Vertical, RepeatLayout.Table, true, true, false, false);
  9225. string exp = @"(0,Header,-1)";
  9226. HtmlDiff.AssertAreEqual (exp, v, "#494");
  9227. }
  9228. [Test]
  9229. public void RepeatInfo_1cols_5itms_vert_tbl_otrtblimp_hdr ()
  9230. {
  9231. // cols : 1
  9232. // cnt : 5
  9233. // RepeatDirection : Vertical
  9234. // RepeatLayout : Table
  9235. // OuterTableImplied : True
  9236. // Header : True
  9237. // Footer : False
  9238. // Separator : False
  9239. string v = RepeatInfoUser.DoTest (1, 5, RepeatDirection.Vertical, RepeatLayout.Table, true, true, false, false);
  9240. string exp = @"(0,Header,-1)(1,Item,0)(2,Item,1)(3,Item,2)(4,Item,3)(5,Item,4)";
  9241. HtmlDiff.AssertAreEqual (exp, v, "#495");
  9242. }
  9243. [Test]
  9244. public void RepeatInfo_2cols_4itms_vert_tbl_otrtblimp_hdr ()
  9245. {
  9246. // cols : 2
  9247. // cnt : 4
  9248. // RepeatDirection : Vertical
  9249. // RepeatLayout : Table
  9250. // OuterTableImplied : True
  9251. // Header : True
  9252. // Footer : False
  9253. // Separator : False
  9254. string v = RepeatInfoUser.DoTest (2, 4, RepeatDirection.Vertical, RepeatLayout.Table, true, true, false, false);
  9255. string exp = @"(0,Header,-1)(1,Item,0)(2,Item,2)(3,Item,1)(4,Item,3)";
  9256. HtmlDiff.AssertAreEqual (exp, v, "#496");
  9257. }
  9258. [Test]
  9259. public void RepeatInfo_2cols_7itms_vert_tbl_otrtblimp_hdr ()
  9260. {
  9261. // cols : 2
  9262. // cnt : 7
  9263. // RepeatDirection : Vertical
  9264. // RepeatLayout : Table
  9265. // OuterTableImplied : True
  9266. // Header : True
  9267. // Footer : False
  9268. // Separator : False
  9269. string v = RepeatInfoUser.DoTest (2, 7, RepeatDirection.Vertical, RepeatLayout.Table, true, true, false, false);
  9270. 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)";
  9271. HtmlDiff.AssertAreEqual (exp, v, "#497");
  9272. }
  9273. [Test]
  9274. public void RepeatInfo_3cols_9itms_vert_tbl_otrtblimp_hdr ()
  9275. {
  9276. // cols : 3
  9277. // cnt : 9
  9278. // RepeatDirection : Vertical
  9279. // RepeatLayout : Table
  9280. // OuterTableImplied : True
  9281. // Header : True
  9282. // Footer : False
  9283. // Separator : False
  9284. string v = RepeatInfoUser.DoTest (3, 9, RepeatDirection.Vertical, RepeatLayout.Table, true, true, false, false);
  9285. 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)";
  9286. HtmlDiff.AssertAreEqual (exp, v, "#498");
  9287. }
  9288. [Test]
  9289. public void RepeatInfo_3cols_7itms_vert_tbl_otrtblimp_hdr ()
  9290. {
  9291. // cols : 3
  9292. // cnt : 7
  9293. // RepeatDirection : Vertical
  9294. // RepeatLayout : Table
  9295. // OuterTableImplied : True
  9296. // Header : True
  9297. // Footer : False
  9298. // Separator : False
  9299. string v = RepeatInfoUser.DoTest (3, 7, RepeatDirection.Vertical, RepeatLayout.Table, true, true, false, false);
  9300. 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)";
  9301. HtmlDiff.AssertAreEqual (exp, v, "#499");
  9302. }
  9303. [Test]
  9304. public void RepeatInfo_0cols_0itms_horiz_flow_otrtblimp_hdr ()
  9305. {
  9306. // cols : 0
  9307. // cnt : 0
  9308. // RepeatDirection : Horizontal
  9309. // RepeatLayout : Flow
  9310. // OuterTableImplied : True
  9311. // Header : True
  9312. // Footer : False
  9313. // Separator : False
  9314. string v = RepeatInfoUser.DoTest (0, 0, RepeatDirection.Horizontal, RepeatLayout.Flow, true, true, false, false);
  9315. string exp = @"<span class=""mainstyle"">(0,Header,-1)</span>";
  9316. HtmlDiff.AssertAreEqual (exp, v, "#500");
  9317. }
  9318. [Test]
  9319. public void RepeatInfo_0cols_1itms_horiz_flow_otrtblimp_hdr ()
  9320. {
  9321. // cols : 0
  9322. // cnt : 1
  9323. // RepeatDirection : Horizontal
  9324. // RepeatLayout : Flow
  9325. // OuterTableImplied : True
  9326. // Header : True
  9327. // Footer : False
  9328. // Separator : False
  9329. string v = RepeatInfoUser.DoTest (0, 1, RepeatDirection.Horizontal, RepeatLayout.Flow, true, true, false, false);
  9330. string exp = @"<span class=""mainstyle"">(0,Header,-1)(1,Item,0)</span>";
  9331. HtmlDiff.AssertAreEqual (exp, v, "#501");
  9332. }
  9333. [Test]
  9334. public void RepeatInfo_0cols_2itms_horiz_flow_otrtblimp_hdr ()
  9335. {
  9336. // cols : 0
  9337. // cnt : 2
  9338. // RepeatDirection : Horizontal
  9339. // RepeatLayout : Flow
  9340. // OuterTableImplied : True
  9341. // Header : True
  9342. // Footer : False
  9343. // Separator : False
  9344. string v = RepeatInfoUser.DoTest (0, 2, RepeatDirection.Horizontal, RepeatLayout.Flow, true, true, false, false);
  9345. string exp = @"<span class=""mainstyle"">(0,Header,-1)(1,Item,0)(2,Item,1)</span>";
  9346. HtmlDiff.AssertAreEqual (exp, v, "#502");
  9347. }
  9348. [Test]
  9349. public void RepeatInfo_0cols_5itms_horiz_flow_otrtblimp_hdr ()
  9350. {
  9351. // cols : 0
  9352. // cnt : 5
  9353. // RepeatDirection : Horizontal
  9354. // RepeatLayout : Flow
  9355. // OuterTableImplied : True
  9356. // Header : True
  9357. // Footer : False
  9358. // Separator : False
  9359. string v = RepeatInfoUser.DoTest (0, 5, RepeatDirection.Horizontal, RepeatLayout.Flow, true, true, false, false);
  9360. string exp = @"<span class=""mainstyle"">(0,Header,-1)(1,Item,0)(2,Item,1)(3,Item,2)(4,Item,3)(5,Item,4)</span>";
  9361. HtmlDiff.AssertAreEqual (exp, v, "#503");
  9362. }
  9363. [Test]
  9364. public void RepeatInfo_1cols_0itms_horiz_flow_otrtblimp_hdr ()
  9365. {
  9366. // cols : 1
  9367. // cnt : 0
  9368. // RepeatDirection : Horizontal
  9369. // RepeatLayout : Flow
  9370. // OuterTableImplied : True
  9371. // Header : True
  9372. // Footer : False
  9373. // Separator : False
  9374. string v = RepeatInfoUser.DoTest (1, 0, RepeatDirection.Horizontal, RepeatLayout.Flow, true, true, false, false);
  9375. string exp = @"<span class=""mainstyle"">(0,Header,-1)</span>";
  9376. HtmlDiff.AssertAreEqual (exp, v, "#504");
  9377. }
  9378. [Test]
  9379. public void RepeatInfo_1cols_5itms_horiz_flow_otrtblimp_hdr ()
  9380. {
  9381. // cols : 1
  9382. // cnt : 5
  9383. // RepeatDirection : Horizontal
  9384. // RepeatLayout : Flow
  9385. // OuterTableImplied : True
  9386. // Header : True
  9387. // Footer : False
  9388. // Separator : False
  9389. string v = RepeatInfoUser.DoTest (1, 5, RepeatDirection.Horizontal, RepeatLayout.Flow, true, true, false, false);
  9390. 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>";
  9391. HtmlDiff.AssertAreEqual (exp, v, "#505");
  9392. }
  9393. [Test]
  9394. public void RepeatInfo_2cols_4itms_horiz_flow_otrtblimp_hdr ()
  9395. {
  9396. // cols : 2
  9397. // cnt : 4
  9398. // RepeatDirection : Horizontal
  9399. // RepeatLayout : Flow
  9400. // OuterTableImplied : True
  9401. // Header : True
  9402. // Footer : False
  9403. // Separator : False
  9404. string v = RepeatInfoUser.DoTest (2, 4, RepeatDirection.Horizontal, RepeatLayout.Flow, true, true, false, false);
  9405. string exp = @"<span class=""mainstyle"">(0,Header,-1)<br />(1,Item,0)(2,Item,1)<br />(3,Item,2)(4,Item,3)<br /></span>";
  9406. HtmlDiff.AssertAreEqual (exp, v, "#506");
  9407. }
  9408. [Test]
  9409. public void RepeatInfo_2cols_7itms_horiz_flow_otrtblimp_hdr ()
  9410. {
  9411. // cols : 2
  9412. // cnt : 7
  9413. // RepeatDirection : Horizontal
  9414. // RepeatLayout : Flow
  9415. // OuterTableImplied : True
  9416. // Header : True
  9417. // Footer : False
  9418. // Separator : False
  9419. string v = RepeatInfoUser.DoTest (2, 7, RepeatDirection.Horizontal, RepeatLayout.Flow, true, true, false, false);
  9420. 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>";
  9421. HtmlDiff.AssertAreEqual (exp, v, "#507");
  9422. }
  9423. [Test]
  9424. public void RepeatInfo_3cols_9itms_horiz_flow_otrtblimp_hdr ()
  9425. {
  9426. // cols : 3
  9427. // cnt : 9
  9428. // RepeatDirection : Horizontal
  9429. // RepeatLayout : Flow
  9430. // OuterTableImplied : True
  9431. // Header : True
  9432. // Footer : False
  9433. // Separator : False
  9434. string v = RepeatInfoUser.DoTest (3, 9, RepeatDirection.Horizontal, RepeatLayout.Flow, true, true, false, false);
  9435. 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>";
  9436. HtmlDiff.AssertAreEqual (exp, v, "#508");
  9437. }
  9438. [Test]
  9439. public void RepeatInfo_3cols_7itms_horiz_flow_otrtblimp_hdr ()
  9440. {
  9441. // cols : 3
  9442. // cnt : 7
  9443. // RepeatDirection : Horizontal
  9444. // RepeatLayout : Flow
  9445. // OuterTableImplied : True
  9446. // Header : True
  9447. // Footer : False
  9448. // Separator : False
  9449. string v = RepeatInfoUser.DoTest (3, 7, RepeatDirection.Horizontal, RepeatLayout.Flow, true, true, false, false);
  9450. 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>";
  9451. HtmlDiff.AssertAreEqual (exp, v, "#509");
  9452. }
  9453. [Test]
  9454. public void RepeatInfo_0cols_0itms_vert_flow_otrtblimp_hdr ()
  9455. {
  9456. // cols : 0
  9457. // cnt : 0
  9458. // RepeatDirection : Vertical
  9459. // RepeatLayout : Flow
  9460. // OuterTableImplied : True
  9461. // Header : True
  9462. // Footer : False
  9463. // Separator : False
  9464. string v = RepeatInfoUser.DoTest (0, 0, RepeatDirection.Vertical, RepeatLayout.Flow, true, true, false, false);
  9465. string exp = @"(0,Header,-1)";
  9466. HtmlDiff.AssertAreEqual (exp, v, "#510");
  9467. }
  9468. [Test]
  9469. public void RepeatInfo_0cols_1itms_vert_flow_otrtblimp_hdr ()
  9470. {
  9471. // cols : 0
  9472. // cnt : 1
  9473. // RepeatDirection : Vertical
  9474. // RepeatLayout : Flow
  9475. // OuterTableImplied : True
  9476. // Header : True
  9477. // Footer : False
  9478. // Separator : False
  9479. string v = RepeatInfoUser.DoTest (0, 1, RepeatDirection.Vertical, RepeatLayout.Flow, true, true, false, false);
  9480. string exp = @"(0,Header,-1)(1,Item,0)";
  9481. HtmlDiff.AssertAreEqual (exp, v, "#511");
  9482. }
  9483. [Test]
  9484. public void RepeatInfo_0cols_2itms_vert_flow_otrtblimp_hdr ()
  9485. {
  9486. // cols : 0
  9487. // cnt : 2
  9488. // RepeatDirection : Vertical
  9489. // RepeatLayout : Flow
  9490. // OuterTableImplied : True
  9491. // Header : True
  9492. // Footer : False
  9493. // Separator : False
  9494. string v = RepeatInfoUser.DoTest (0, 2, RepeatDirection.Vertical, RepeatLayout.Flow, true, true, false, false);
  9495. string exp = @"(0,Header,-1)(1,Item,0)(2,Item,1)";
  9496. HtmlDiff.AssertAreEqual (exp, v, "#512");
  9497. }
  9498. [Test]
  9499. public void RepeatInfo_0cols_5itms_vert_flow_otrtblimp_hdr ()
  9500. {
  9501. // cols : 0
  9502. // cnt : 5
  9503. // RepeatDirection : Vertical
  9504. // RepeatLayout : Flow
  9505. // OuterTableImplied : True
  9506. // Header : True
  9507. // Footer : False
  9508. // Separator : False
  9509. string v = RepeatInfoUser.DoTest (0, 5, RepeatDirection.Vertical, RepeatLayout.Flow, true, true, false, false);
  9510. string exp = @"(0,Header,-1)(1,Item,0)(2,Item,1)(3,Item,2)(4,Item,3)(5,Item,4)";
  9511. HtmlDiff.AssertAreEqual (exp, v, "#513");
  9512. }
  9513. [Test]
  9514. public void RepeatInfo_1cols_0itms_vert_flow_otrtblimp_hdr ()
  9515. {
  9516. // cols : 1
  9517. // cnt : 0
  9518. // RepeatDirection : Vertical
  9519. // RepeatLayout : Flow
  9520. // OuterTableImplied : True
  9521. // Header : True
  9522. // Footer : False
  9523. // Separator : False
  9524. string v = RepeatInfoUser.DoTest (1, 0, RepeatDirection.Vertical, RepeatLayout.Flow, true, true, false, false);
  9525. string exp = @"(0,Header,-1)";
  9526. HtmlDiff.AssertAreEqual (exp, v, "#514");
  9527. }
  9528. [Test]
  9529. public void RepeatInfo_1cols_5itms_vert_flow_otrtblimp_hdr ()
  9530. {
  9531. // cols : 1
  9532. // cnt : 5
  9533. // RepeatDirection : Vertical
  9534. // RepeatLayout : Flow
  9535. // OuterTableImplied : True
  9536. // Header : True
  9537. // Footer : False
  9538. // Separator : False
  9539. string v = RepeatInfoUser.DoTest (1, 5, RepeatDirection.Vertical, RepeatLayout.Flow, true, true, false, false);
  9540. string exp = @"(0,Header,-1)(1,Item,0)(2,Item,1)(3,Item,2)(4,Item,3)(5,Item,4)";
  9541. HtmlDiff.AssertAreEqual (exp, v, "#515");
  9542. }
  9543. [Test]
  9544. public void RepeatInfo_2cols_4itms_vert_flow_otrtblimp_hdr ()
  9545. {
  9546. // cols : 2
  9547. // cnt : 4
  9548. // RepeatDirection : Vertical
  9549. // RepeatLayout : Flow
  9550. // OuterTableImplied : True
  9551. // Header : True
  9552. // Footer : False
  9553. // Separator : False
  9554. string v = RepeatInfoUser.DoTest (2, 4, RepeatDirection.Vertical, RepeatLayout.Flow, true, true, false, false);
  9555. string exp = @"(0,Header,-1)(1,Item,0)(2,Item,2)(3,Item,1)(4,Item,3)";
  9556. HtmlDiff.AssertAreEqual (exp, v, "#516");
  9557. }
  9558. [Test]
  9559. public void RepeatInfo_2cols_7itms_vert_flow_otrtblimp_hdr ()
  9560. {
  9561. // cols : 2
  9562. // cnt : 7
  9563. // RepeatDirection : Vertical
  9564. // RepeatLayout : Flow
  9565. // OuterTableImplied : True
  9566. // Header : True
  9567. // Footer : False
  9568. // Separator : False
  9569. string v = RepeatInfoUser.DoTest (2, 7, RepeatDirection.Vertical, RepeatLayout.Flow, true, true, false, false);
  9570. 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)";
  9571. HtmlDiff.AssertAreEqual (exp, v, "#517");
  9572. }
  9573. [Test]
  9574. public void RepeatInfo_3cols_9itms_vert_flow_otrtblimp_hdr ()
  9575. {
  9576. // cols : 3
  9577. // cnt : 9
  9578. // RepeatDirection : Vertical
  9579. // RepeatLayout : Flow
  9580. // OuterTableImplied : True
  9581. // Header : True
  9582. // Footer : False
  9583. // Separator : False
  9584. string v = RepeatInfoUser.DoTest (3, 9, RepeatDirection.Vertical, RepeatLayout.Flow, true, true, false, false);
  9585. 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)";
  9586. HtmlDiff.AssertAreEqual (exp, v, "#518");
  9587. }
  9588. [Test]
  9589. public void RepeatInfo_3cols_7itms_vert_flow_otrtblimp_hdr ()
  9590. {
  9591. // cols : 3
  9592. // cnt : 7
  9593. // RepeatDirection : Vertical
  9594. // RepeatLayout : Flow
  9595. // OuterTableImplied : True
  9596. // Header : True
  9597. // Footer : False
  9598. // Separator : False
  9599. string v = RepeatInfoUser.DoTest (3, 7, RepeatDirection.Vertical, RepeatLayout.Flow, true, true, false, false);
  9600. 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)";
  9601. HtmlDiff.AssertAreEqual (exp, v, "#519");
  9602. }
  9603. [Test]
  9604. public void RepeatInfo_0cols_0itms_horiz_tbl_hdr ()
  9605. {
  9606. // cols : 0
  9607. // cnt : 0
  9608. // RepeatDirection : Horizontal
  9609. // RepeatLayout : Table
  9610. // OuterTableImplied : False
  9611. // Header : True
  9612. // Footer : False
  9613. // Separator : False
  9614. string v = RepeatInfoUser.DoTest (0, 0, RepeatDirection.Horizontal, RepeatLayout.Table, false, true, false, false);
  9615. string exp = @"<table class=""mainstyle"" border=""0"">
  9616. <tr>
  9617. <td colspan=""0"" class=""Header-1"">(0,Header,-1)</td>
  9618. </tr>
  9619. </table>";
  9620. HtmlDiff.AssertAreEqual (exp, v, "#520");
  9621. }
  9622. [Test]
  9623. public void RepeatInfo_0cols_1itms_horiz_tbl_hdr ()
  9624. {
  9625. // cols : 0
  9626. // cnt : 1
  9627. // RepeatDirection : Horizontal
  9628. // RepeatLayout : Table
  9629. // OuterTableImplied : False
  9630. // Header : True
  9631. // Footer : False
  9632. // Separator : False
  9633. string v = RepeatInfoUser.DoTest (0, 1, RepeatDirection.Horizontal, RepeatLayout.Table, false, true, false, false);
  9634. string exp = @"<table class=""mainstyle"" border=""0"">
  9635. <tr>
  9636. <td class=""Header-1"">(0,Header,-1)</td>
  9637. </tr><tr>
  9638. <td class=""Item0"">(1,Item,0)</td>
  9639. </tr>
  9640. </table>";
  9641. HtmlDiff.AssertAreEqual (exp, v, "#521");
  9642. }
  9643. [Test]
  9644. public void RepeatInfo_0cols_2itms_horiz_tbl_hdr ()
  9645. {
  9646. // cols : 0
  9647. // cnt : 2
  9648. // RepeatDirection : Horizontal
  9649. // RepeatLayout : Table
  9650. // OuterTableImplied : False
  9651. // Header : True
  9652. // Footer : False
  9653. // Separator : False
  9654. string v = RepeatInfoUser.DoTest (0, 2, RepeatDirection.Horizontal, RepeatLayout.Table, false, true, false, false);
  9655. string exp = @"<table class=""mainstyle"" border=""0"">
  9656. <tr>
  9657. <td colspan=""2"" class=""Header-1"">(0,Header,-1)</td>
  9658. </tr><tr>
  9659. <td class=""Item0"">(1,Item,0)</td><td class=""Item1"">(2,Item,1)</td>
  9660. </tr>
  9661. </table>";
  9662. HtmlDiff.AssertAreEqual (exp, v, "#522");
  9663. }
  9664. [Test]
  9665. public void RepeatInfo_0cols_5itms_horiz_tbl_hdr ()
  9666. {
  9667. // cols : 0
  9668. // cnt : 5
  9669. // RepeatDirection : Horizontal
  9670. // RepeatLayout : Table
  9671. // OuterTableImplied : False
  9672. // Header : True
  9673. // Footer : False
  9674. // Separator : False
  9675. string v = RepeatInfoUser.DoTest (0, 5, RepeatDirection.Horizontal, RepeatLayout.Table, false, true, false, false);
  9676. string exp = @"<table class=""mainstyle"" border=""0"">
  9677. <tr>
  9678. <td colspan=""5"" class=""Header-1"">(0,Header,-1)</td>
  9679. </tr><tr>
  9680. <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>
  9681. </tr>
  9682. </table>";
  9683. HtmlDiff.AssertAreEqual (exp, v, "#523");
  9684. }
  9685. [Test]
  9686. public void RepeatInfo_1cols_0itms_horiz_tbl_hdr ()
  9687. {
  9688. // cols : 1
  9689. // cnt : 0
  9690. // RepeatDirection : Horizontal
  9691. // RepeatLayout : Table
  9692. // OuterTableImplied : False
  9693. // Header : True
  9694. // Footer : False
  9695. // Separator : False
  9696. string v = RepeatInfoUser.DoTest (1, 0, RepeatDirection.Horizontal, RepeatLayout.Table, false, true, false, false);
  9697. string exp = @"<table class=""mainstyle"" border=""0"">
  9698. <tr>
  9699. <td class=""Header-1"">(0,Header,-1)</td>
  9700. </tr>
  9701. </table>";
  9702. HtmlDiff.AssertAreEqual (exp, v, "#524");
  9703. }
  9704. [Test]
  9705. public void RepeatInfo_1cols_5itms_horiz_tbl_hdr ()
  9706. {
  9707. // cols : 1
  9708. // cnt : 5
  9709. // RepeatDirection : Horizontal
  9710. // RepeatLayout : Table
  9711. // OuterTableImplied : False
  9712. // Header : True
  9713. // Footer : False
  9714. // Separator : False
  9715. string v = RepeatInfoUser.DoTest (1, 5, RepeatDirection.Horizontal, RepeatLayout.Table, false, true, false, false);
  9716. string exp = @"<table class=""mainstyle"" border=""0"">
  9717. <tr>
  9718. <td class=""Header-1"">(0,Header,-1)</td>
  9719. </tr><tr>
  9720. <td class=""Item0"">(1,Item,0)</td>
  9721. </tr><tr>
  9722. <td class=""Item1"">(2,Item,1)</td>
  9723. </tr><tr>
  9724. <td class=""Item2"">(3,Item,2)</td>
  9725. </tr><tr>
  9726. <td class=""Item3"">(4,Item,3)</td>
  9727. </tr><tr>
  9728. <td class=""Item4"">(5,Item,4)</td>
  9729. </tr>
  9730. </table>";
  9731. HtmlDiff.AssertAreEqual (exp, v, "#525");
  9732. }
  9733. [Test]
  9734. public void RepeatInfo_2cols_4itms_horiz_tbl_hdr ()
  9735. {
  9736. // cols : 2
  9737. // cnt : 4
  9738. // RepeatDirection : Horizontal
  9739. // RepeatLayout : Table
  9740. // OuterTableImplied : False
  9741. // Header : True
  9742. // Footer : False
  9743. // Separator : False
  9744. string v = RepeatInfoUser.DoTest (2, 4, RepeatDirection.Horizontal, RepeatLayout.Table, false, true, false, false);
  9745. string exp = @"<table class=""mainstyle"" border=""0"">
  9746. <tr>
  9747. <td colspan=""2"" class=""Header-1"">(0,Header,-1)</td>
  9748. </tr><tr>
  9749. <td class=""Item0"">(1,Item,0)</td><td class=""Item1"">(2,Item,1)</td>
  9750. </tr><tr>
  9751. <td class=""Item2"">(3,Item,2)</td><td class=""Item3"">(4,Item,3)</td>
  9752. </tr>
  9753. </table>";
  9754. HtmlDiff.AssertAreEqual (exp, v, "#526");
  9755. }
  9756. [Test]
  9757. public void RepeatInfo_2cols_7itms_horiz_tbl_hdr ()
  9758. {
  9759. // cols : 2
  9760. // cnt : 7
  9761. // RepeatDirection : Horizontal
  9762. // RepeatLayout : Table
  9763. // OuterTableImplied : False
  9764. // Header : True
  9765. // Footer : False
  9766. // Separator : False
  9767. string v = RepeatInfoUser.DoTest (2, 7, RepeatDirection.Horizontal, RepeatLayout.Table, false, true, false, false);
  9768. string exp = @"<table class=""mainstyle"" border=""0"">
  9769. <tr>
  9770. <td colspan=""2"" class=""Header-1"">(0,Header,-1)</td>
  9771. </tr><tr>
  9772. <td class=""Item0"">(1,Item,0)</td><td class=""Item1"">(2,Item,1)</td>
  9773. </tr><tr>
  9774. <td class=""Item2"">(3,Item,2)</td><td class=""Item3"">(4,Item,3)</td>
  9775. </tr><tr>
  9776. <td class=""Item4"">(5,Item,4)</td><td class=""Item5"">(6,Item,5)</td>
  9777. </tr><tr>
  9778. <td class=""Item6"">(7,Item,6)</td><td></td>
  9779. </tr>
  9780. </table>";
  9781. HtmlDiff.AssertAreEqual (exp, v, "#527");
  9782. }
  9783. [Test]
  9784. public void RepeatInfo_3cols_9itms_horiz_tbl_hdr ()
  9785. {
  9786. // cols : 3
  9787. // cnt : 9
  9788. // RepeatDirection : Horizontal
  9789. // RepeatLayout : Table
  9790. // OuterTableImplied : False
  9791. // Header : True
  9792. // Footer : False
  9793. // Separator : False
  9794. string v = RepeatInfoUser.DoTest (3, 9, RepeatDirection.Horizontal, RepeatLayout.Table, false, true, false, false);
  9795. string exp = @"<table border=""0"">
  9796. <tr>
  9797. <td colspan=""3"" class=""Header-1"">(0,Header,-1)</td>
  9798. </tr><tr>
  9799. <td class=""Item0"">(1,Item,0)</td><td class=""Item1"">(2,Item,1)</td><td class=""Item2"">(3,Item,2)</td>
  9800. </tr><tr>
  9801. <td class=""Item3"">(4,Item,3)</td><td class=""Item4"">(5,Item,4)</td><td class=""Item5"">(6,Item,5)</td>
  9802. </tr><tr>
  9803. <td class=""Item6"">(7,Item,6)</td><td class=""Item7"">(8,Item,7)</td><td class=""Item8"">(9,Item,8)</td>
  9804. </tr>
  9805. </table>";
  9806. HtmlDiff.AssertAreEqual (exp, v, "#528");
  9807. }
  9808. [Test]
  9809. public void RepeatInfo_3cols_7itms_horiz_tbl_hdr ()
  9810. {
  9811. // cols : 3
  9812. // cnt : 7
  9813. // RepeatDirection : Horizontal
  9814. // RepeatLayout : Table
  9815. // OuterTableImplied : False
  9816. // Header : True
  9817. // Footer : False
  9818. // Separator : False
  9819. string v = RepeatInfoUser.DoTest (3, 7, RepeatDirection.Horizontal, RepeatLayout.Table, false, true, false, false);
  9820. string exp = @"<table border=""0"">
  9821. <tr>
  9822. <td colspan=""3"" class=""Header-1"">(0,Header,-1)</td>
  9823. </tr><tr>
  9824. <td class=""Item0"">(1,Item,0)</td><td class=""Item1"">(2,Item,1)</td><td class=""Item2"">(3,Item,2)</td>
  9825. </tr><tr>
  9826. <td class=""Item3"">(4,Item,3)</td><td class=""Item4"">(5,Item,4)</td><td class=""Item5"">(6,Item,5)</td>
  9827. </tr><tr>
  9828. <td class=""Item6"">(7,Item,6)</td><td></td><td></td>
  9829. </tr>
  9830. </table>";
  9831. HtmlDiff.AssertAreEqual (exp, v, "#529");
  9832. }
  9833. [Test]
  9834. public void RepeatInfo_0cols_0itms_vert_tbl_hdr ()
  9835. {
  9836. // cols : 0
  9837. // cnt : 0
  9838. // RepeatDirection : Vertical
  9839. // RepeatLayout : Table
  9840. // OuterTableImplied : False
  9841. // Header : True
  9842. // Footer : False
  9843. // Separator : False
  9844. string v = RepeatInfoUser.DoTest (0, 0, RepeatDirection.Vertical, RepeatLayout.Table, false, true, false, false);
  9845. string exp = @"<table class=""mainstyle"" border=""0"">
  9846. <tr>
  9847. <td class=""Header-1"">(0,Header,-1)</td>
  9848. </tr>
  9849. </table>";
  9850. HtmlDiff.AssertAreEqual (exp, v, "#530");
  9851. }
  9852. [Test]
  9853. public void RepeatInfo_0cols_1itms_vert_tbl_hdr ()
  9854. {
  9855. // cols : 0
  9856. // cnt : 1
  9857. // RepeatDirection : Vertical
  9858. // RepeatLayout : Table
  9859. // OuterTableImplied : False
  9860. // Header : True
  9861. // Footer : False
  9862. // Separator : False
  9863. string v = RepeatInfoUser.DoTest (0, 1, RepeatDirection.Vertical, RepeatLayout.Table, false, true, false, false);
  9864. string exp = @"<table class=""mainstyle"" border=""0"">
  9865. <tr>
  9866. <td class=""Header-1"">(0,Header,-1)</td>
  9867. </tr><tr>
  9868. <td class=""Item0"">(1,Item,0)</td>
  9869. </tr>
  9870. </table>";
  9871. HtmlDiff.AssertAreEqual (exp, v, "#531");
  9872. }
  9873. [Test]
  9874. public void RepeatInfo_0cols_2itms_vert_tbl_hdr ()
  9875. {
  9876. // cols : 0
  9877. // cnt : 2
  9878. // RepeatDirection : Vertical
  9879. // RepeatLayout : Table
  9880. // OuterTableImplied : False
  9881. // Header : True
  9882. // Footer : False
  9883. // Separator : False
  9884. string v = RepeatInfoUser.DoTest (0, 2, RepeatDirection.Vertical, RepeatLayout.Table, false, true, false, false);
  9885. string exp = @"<table class=""mainstyle"" border=""0"">
  9886. <tr>
  9887. <td class=""Header-1"">(0,Header,-1)</td>
  9888. </tr><tr>
  9889. <td class=""Item0"">(1,Item,0)</td>
  9890. </tr><tr>
  9891. <td class=""Item1"">(2,Item,1)</td>
  9892. </tr>
  9893. </table>";
  9894. HtmlDiff.AssertAreEqual (exp, v, "#532");
  9895. }
  9896. [Test]
  9897. public void RepeatInfo_0cols_5itms_vert_tbl_hdr ()
  9898. {
  9899. // cols : 0
  9900. // cnt : 5
  9901. // RepeatDirection : Vertical
  9902. // RepeatLayout : Table
  9903. // OuterTableImplied : False
  9904. // Header : True
  9905. // Footer : False
  9906. // Separator : False
  9907. string v = RepeatInfoUser.DoTest (0, 5, RepeatDirection.Vertical, RepeatLayout.Table, false, true, false, false);
  9908. string exp = @"<table class=""mainstyle"" border=""0"">
  9909. <tr>
  9910. <td class=""Header-1"">(0,Header,-1)</td>
  9911. </tr><tr>
  9912. <td class=""Item0"">(1,Item,0)</td>
  9913. </tr><tr>
  9914. <td class=""Item1"">(2,Item,1)</td>
  9915. </tr><tr>
  9916. <td class=""Item2"">(3,Item,2)</td>
  9917. </tr><tr>
  9918. <td class=""Item3"">(4,Item,3)</td>
  9919. </tr><tr>
  9920. <td class=""Item4"">(5,Item,4)</td>
  9921. </tr>
  9922. </table>";
  9923. HtmlDiff.AssertAreEqual (exp, v, "#533");
  9924. }
  9925. [Test]
  9926. public void RepeatInfo_1cols_0itms_vert_tbl_hdr ()
  9927. {
  9928. // cols : 1
  9929. // cnt : 0
  9930. // RepeatDirection : Vertical
  9931. // RepeatLayout : Table
  9932. // OuterTableImplied : False
  9933. // Header : True
  9934. // Footer : False
  9935. // Separator : False
  9936. string v = RepeatInfoUser.DoTest (1, 0, RepeatDirection.Vertical, RepeatLayout.Table, false, true, false, false);
  9937. string exp = @"<table class=""mainstyle"" border=""0"">
  9938. <tr>
  9939. <td class=""Header-1"">(0,Header,-1)</td>
  9940. </tr>
  9941. </table>";
  9942. HtmlDiff.AssertAreEqual (exp, v, "#534");
  9943. }
  9944. [Test]
  9945. public void RepeatInfo_1cols_5itms_vert_tbl_hdr ()
  9946. {
  9947. // cols : 1
  9948. // cnt : 5
  9949. // RepeatDirection : Vertical
  9950. // RepeatLayout : Table
  9951. // OuterTableImplied : False
  9952. // Header : True
  9953. // Footer : False
  9954. // Separator : False
  9955. string v = RepeatInfoUser.DoTest (1, 5, RepeatDirection.Vertical, RepeatLayout.Table, false, true, false, false);
  9956. string exp = @"<table class=""mainstyle"" border=""0"">
  9957. <tr>
  9958. <td class=""Header-1"">(0,Header,-1)</td>
  9959. </tr><tr>
  9960. <td class=""Item0"">(1,Item,0)</td>
  9961. </tr><tr>
  9962. <td class=""Item1"">(2,Item,1)</td>
  9963. </tr><tr>
  9964. <td class=""Item2"">(3,Item,2)</td>
  9965. </tr><tr>
  9966. <td class=""Item3"">(4,Item,3)</td>
  9967. </tr><tr>
  9968. <td class=""Item4"">(5,Item,4)</td>
  9969. </tr>
  9970. </table>";
  9971. HtmlDiff.AssertAreEqual (exp, v, "#535");
  9972. }
  9973. [Test]
  9974. public void RepeatInfo_2cols_4itms_vert_tbl_hdr ()
  9975. {
  9976. // cols : 2
  9977. // cnt : 4
  9978. // RepeatDirection : Vertical
  9979. // RepeatLayout : Table
  9980. // OuterTableImplied : False
  9981. // Header : True
  9982. // Footer : False
  9983. // Separator : False
  9984. string v = RepeatInfoUser.DoTest (2, 4, RepeatDirection.Vertical, RepeatLayout.Table, false, true, false, false);
  9985. string exp = @"<table class=""mainstyle"" border=""0"">
  9986. <tr>
  9987. <td colspan=""2"" class=""Header-1"">(0,Header,-1)</td>
  9988. </tr><tr>
  9989. <td class=""Item0"">(1,Item,0)</td><td class=""Item2"">(2,Item,2)</td>
  9990. </tr><tr>
  9991. <td class=""Item1"">(3,Item,1)</td><td class=""Item3"">(4,Item,3)</td>
  9992. </tr>
  9993. </table>";
  9994. HtmlDiff.AssertAreEqual (exp, v, "#536");
  9995. }
  9996. [Test]
  9997. public void RepeatInfo_2cols_7itms_vert_tbl_hdr ()
  9998. {
  9999. // cols : 2
  10000. // cnt : 7
  10001. // RepeatDirection : Vertical
  10002. // RepeatLayout : Table
  10003. // OuterTableImplied : False
  10004. // Header : True
  10005. // Footer : False
  10006. // Separator : False
  10007. string v = RepeatInfoUser.DoTest (2, 7, RepeatDirection.Vertical, RepeatLayout.Table, false, true, false, false);
  10008. string exp = @"<table class=""mainstyle"" border=""0"">
  10009. <tr>
  10010. <td colspan=""2"" class=""Header-1"">(0,Header,-1)</td>
  10011. </tr><tr>
  10012. <td class=""Item0"">(1,Item,0)</td><td class=""Item4"">(2,Item,4)</td>
  10013. </tr><tr>
  10014. <td class=""Item1"">(3,Item,1)</td><td class=""Item5"">(4,Item,5)</td>
  10015. </tr><tr>
  10016. <td class=""Item2"">(5,Item,2)</td><td class=""Item6"">(6,Item,6)</td>
  10017. </tr><tr>
  10018. <td class=""Item3"">(7,Item,3)</td><td></td>
  10019. </tr>
  10020. </table>";
  10021. HtmlDiff.AssertAreEqual (exp, v, "#537");
  10022. }
  10023. [Test]
  10024. public void RepeatInfo_3cols_9itms_vert_tbl_hdr ()
  10025. {
  10026. // cols : 3
  10027. // cnt : 9
  10028. // RepeatDirection : Vertical
  10029. // RepeatLayout : Table
  10030. // OuterTableImplied : False
  10031. // Header : True
  10032. // Footer : False
  10033. // Separator : False
  10034. string v = RepeatInfoUser.DoTest (3, 9, RepeatDirection.Vertical, RepeatLayout.Table, false, true, false, false);
  10035. string exp = @"<table border=""0"">
  10036. <tr>
  10037. <td colspan=""3"" class=""Header-1"">(0,Header,-1)</td>
  10038. </tr><tr>
  10039. <td class=""Item0"">(1,Item,0)</td><td class=""Item3"">(2,Item,3)</td><td class=""Item6"">(3,Item,6)</td>
  10040. </tr><tr>
  10041. <td class=""Item1"">(4,Item,1)</td><td class=""Item4"">(5,Item,4)</td><td class=""Item7"">(6,Item,7)</td>
  10042. </tr><tr>
  10043. <td class=""Item2"">(7,Item,2)</td><td class=""Item5"">(8,Item,5)</td><td class=""Item8"">(9,Item,8)</td>
  10044. </tr>
  10045. </table>";
  10046. HtmlDiff.AssertAreEqual (exp, v, "#538");
  10047. }
  10048. [Test]
  10049. public void RepeatInfo_3cols_7itms_vert_tbl_hdr ()
  10050. {
  10051. // cols : 3
  10052. // cnt : 7
  10053. // RepeatDirection : Vertical
  10054. // RepeatLayout : Table
  10055. // OuterTableImplied : False
  10056. // Header : True
  10057. // Footer : False
  10058. // Separator : False
  10059. string v = RepeatInfoUser.DoTest (3, 7, RepeatDirection.Vertical, RepeatLayout.Table, false, true, false, false);
  10060. string exp = @"<table border=""0"">
  10061. <tr>
  10062. <td colspan=""3"" class=""Header-1"">(0,Header,-1)</td>
  10063. </tr><tr>
  10064. <td class=""Item0"">(1,Item,0)</td><td class=""Item3"">(2,Item,3)</td><td class=""Item5"">(3,Item,5)</td>
  10065. </tr><tr>
  10066. <td class=""Item1"">(4,Item,1)</td><td class=""Item4"">(5,Item,4)</td><td class=""Item6"">(6,Item,6)</td>
  10067. </tr><tr>
  10068. <td class=""Item2"">(7,Item,2)</td><td></td><td></td>
  10069. </tr>
  10070. </table>";
  10071. HtmlDiff.AssertAreEqual (exp, v, "#539");
  10072. }
  10073. [Test]
  10074. public void RepeatInfo_0cols_0itms_horiz_flow_hdr ()
  10075. {
  10076. // cols : 0
  10077. // cnt : 0
  10078. // RepeatDirection : Horizontal
  10079. // RepeatLayout : Flow
  10080. // OuterTableImplied : False
  10081. // Header : True
  10082. // Footer : False
  10083. // Separator : False
  10084. string v = RepeatInfoUser.DoTest (0, 0, RepeatDirection.Horizontal, RepeatLayout.Flow, false, true, false, false);
  10085. string exp = @"<span class=""mainstyle"">(0,Header,-1)</span>";
  10086. HtmlDiff.AssertAreEqual (exp, v, "#540");
  10087. }
  10088. [Test]
  10089. public void RepeatInfo_0cols_1itms_horiz_flow_hdr ()
  10090. {
  10091. // cols : 0
  10092. // cnt : 1
  10093. // RepeatDirection : Horizontal
  10094. // RepeatLayout : Flow
  10095. // OuterTableImplied : False
  10096. // Header : True
  10097. // Footer : False
  10098. // Separator : False
  10099. string v = RepeatInfoUser.DoTest (0, 1, RepeatDirection.Horizontal, RepeatLayout.Flow, false, true, false, false);
  10100. string exp = @"<span class=""mainstyle"">(0,Header,-1)(1,Item,0)</span>";
  10101. HtmlDiff.AssertAreEqual (exp, v, "#541");
  10102. }
  10103. [Test]
  10104. public void RepeatInfo_0cols_2itms_horiz_flow_hdr ()
  10105. {
  10106. // cols : 0
  10107. // cnt : 2
  10108. // RepeatDirection : Horizontal
  10109. // RepeatLayout : Flow
  10110. // OuterTableImplied : False
  10111. // Header : True
  10112. // Footer : False
  10113. // Separator : False
  10114. string v = RepeatInfoUser.DoTest (0, 2, RepeatDirection.Horizontal, RepeatLayout.Flow, false, true, false, false);
  10115. string exp = @"<span class=""mainstyle"">(0,Header,-1)(1,Item,0)(2,Item,1)</span>";
  10116. HtmlDiff.AssertAreEqual (exp, v, "#542");
  10117. }
  10118. [Test]
  10119. public void RepeatInfo_0cols_5itms_horiz_flow_hdr ()
  10120. {
  10121. // cols : 0
  10122. // cnt : 5
  10123. // RepeatDirection : Horizontal
  10124. // RepeatLayout : Flow
  10125. // OuterTableImplied : False
  10126. // Header : True
  10127. // Footer : False
  10128. // Separator : False
  10129. string v = RepeatInfoUser.DoTest (0, 5, RepeatDirection.Horizontal, RepeatLayout.Flow, false, true, false, false);
  10130. string exp = @"<span class=""mainstyle"">(0,Header,-1)(1,Item,0)(2,Item,1)(3,Item,2)(4,Item,3)(5,Item,4)</span>";
  10131. HtmlDiff.AssertAreEqual (exp, v, "#543");
  10132. }
  10133. [Test]
  10134. public void RepeatInfo_1cols_0itms_horiz_flow_hdr ()
  10135. {
  10136. // cols : 1
  10137. // cnt : 0
  10138. // RepeatDirection : Horizontal
  10139. // RepeatLayout : Flow
  10140. // OuterTableImplied : False
  10141. // Header : True
  10142. // Footer : False
  10143. // Separator : False
  10144. string v = RepeatInfoUser.DoTest (1, 0, RepeatDirection.Horizontal, RepeatLayout.Flow, false, true, false, false);
  10145. string exp = @"<span class=""mainstyle"">(0,Header,-1)</span>";
  10146. HtmlDiff.AssertAreEqual (exp, v, "#544");
  10147. }
  10148. [Test]
  10149. public void RepeatInfo_1cols_5itms_horiz_flow_hdr ()
  10150. {
  10151. // cols : 1
  10152. // cnt : 5
  10153. // RepeatDirection : Horizontal
  10154. // RepeatLayout : Flow
  10155. // OuterTableImplied : False
  10156. // Header : True
  10157. // Footer : False
  10158. // Separator : False
  10159. string v = RepeatInfoUser.DoTest (1, 5, RepeatDirection.Horizontal, RepeatLayout.Flow, false, true, false, false);
  10160. 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>";
  10161. HtmlDiff.AssertAreEqual (exp, v, "#545");
  10162. }
  10163. [Test]
  10164. public void RepeatInfo_2cols_4itms_horiz_flow_hdr ()
  10165. {
  10166. // cols : 2
  10167. // cnt : 4
  10168. // RepeatDirection : Horizontal
  10169. // RepeatLayout : Flow
  10170. // OuterTableImplied : False
  10171. // Header : True
  10172. // Footer : False
  10173. // Separator : False
  10174. string v = RepeatInfoUser.DoTest (2, 4, RepeatDirection.Horizontal, RepeatLayout.Flow, false, true, false, false);
  10175. string exp = @"<span class=""mainstyle"">(0,Header,-1)<br />(1,Item,0)(2,Item,1)<br />(3,Item,2)(4,Item,3)<br /></span>";
  10176. HtmlDiff.AssertAreEqual (exp, v, "#546");
  10177. }
  10178. [Test]
  10179. public void RepeatInfo_2cols_7itms_horiz_flow_hdr ()
  10180. {
  10181. // cols : 2
  10182. // cnt : 7
  10183. // RepeatDirection : Horizontal
  10184. // RepeatLayout : Flow
  10185. // OuterTableImplied : False
  10186. // Header : True
  10187. // Footer : False
  10188. // Separator : False
  10189. string v = RepeatInfoUser.DoTest (2, 7, RepeatDirection.Horizontal, RepeatLayout.Flow, false, true, false, false);
  10190. 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>";
  10191. HtmlDiff.AssertAreEqual (exp, v, "#547");
  10192. }
  10193. [Test]
  10194. public void RepeatInfo_3cols_9itms_horiz_flow_hdr ()
  10195. {
  10196. // cols : 3
  10197. // cnt : 9
  10198. // RepeatDirection : Horizontal
  10199. // RepeatLayout : Flow
  10200. // OuterTableImplied : False
  10201. // Header : True
  10202. // Footer : False
  10203. // Separator : False
  10204. string v = RepeatInfoUser.DoTest (3, 9, RepeatDirection.Horizontal, RepeatLayout.Flow, false, true, false, false);
  10205. 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>";
  10206. HtmlDiff.AssertAreEqual (exp, v, "#548");
  10207. }
  10208. [Test]
  10209. public void RepeatInfo_3cols_7itms_horiz_flow_hdr ()
  10210. {
  10211. // cols : 3
  10212. // cnt : 7
  10213. // RepeatDirection : Horizontal
  10214. // RepeatLayout : Flow
  10215. // OuterTableImplied : False
  10216. // Header : True
  10217. // Footer : False
  10218. // Separator : False
  10219. string v = RepeatInfoUser.DoTest (3, 7, RepeatDirection.Horizontal, RepeatLayout.Flow, false, true, false, false);
  10220. 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>";
  10221. HtmlDiff.AssertAreEqual (exp, v, "#549");
  10222. }
  10223. [Test]
  10224. public void RepeatInfo_0cols_0itms_vert_flow_hdr ()
  10225. {
  10226. // cols : 0
  10227. // cnt : 0
  10228. // RepeatDirection : Vertical
  10229. // RepeatLayout : Flow
  10230. // OuterTableImplied : False
  10231. // Header : True
  10232. // Footer : False
  10233. // Separator : False
  10234. string v = RepeatInfoUser.DoTest (0, 0, RepeatDirection.Vertical, RepeatLayout.Flow, false, true, false, false);
  10235. string exp = @"<span class=""mainstyle"">(0,Header,-1)<br /></span>";
  10236. HtmlDiff.AssertAreEqual (exp, v, "#550");
  10237. }
  10238. [Test]
  10239. public void RepeatInfo_0cols_1itms_vert_flow_hdr ()
  10240. {
  10241. // cols : 0
  10242. // cnt : 1
  10243. // RepeatDirection : Vertical
  10244. // RepeatLayout : Flow
  10245. // OuterTableImplied : False
  10246. // Header : True
  10247. // Footer : False
  10248. // Separator : False
  10249. string v = RepeatInfoUser.DoTest (0, 1, RepeatDirection.Vertical, RepeatLayout.Flow, false, true, false, false);
  10250. string exp = @"<span class=""mainstyle"">(0,Header,-1)<br />(1,Item,0)</span>";
  10251. HtmlDiff.AssertAreEqual (exp, v, "#551");
  10252. }
  10253. [Test]
  10254. public void RepeatInfo_0cols_2itms_vert_flow_hdr ()
  10255. {
  10256. // cols : 0
  10257. // cnt : 2
  10258. // RepeatDirection : Vertical
  10259. // RepeatLayout : Flow
  10260. // OuterTableImplied : False
  10261. // Header : True
  10262. // Footer : False
  10263. // Separator : False
  10264. string v = RepeatInfoUser.DoTest (0, 2, RepeatDirection.Vertical, RepeatLayout.Flow, false, true, false, false);
  10265. string exp = @"<span class=""mainstyle"">(0,Header,-1)<br />(1,Item,0)<br />(2,Item,1)</span>";
  10266. HtmlDiff.AssertAreEqual (exp, v, "#552");
  10267. }
  10268. [Test]
  10269. public void RepeatInfo_0cols_5itms_vert_flow_hdr ()
  10270. {
  10271. // cols : 0
  10272. // cnt : 5
  10273. // RepeatDirection : Vertical
  10274. // RepeatLayout : Flow
  10275. // OuterTableImplied : False
  10276. // Header : True
  10277. // Footer : False
  10278. // Separator : False
  10279. string v = RepeatInfoUser.DoTest (0, 5, RepeatDirection.Vertical, RepeatLayout.Flow, false, true, false, false);
  10280. 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>";
  10281. HtmlDiff.AssertAreEqual (exp, v, "#553");
  10282. }
  10283. [Test]
  10284. public void RepeatInfo_1cols_0itms_vert_flow_hdr ()
  10285. {
  10286. // cols : 1
  10287. // cnt : 0
  10288. // RepeatDirection : Vertical
  10289. // RepeatLayout : Flow
  10290. // OuterTableImplied : False
  10291. // Header : True
  10292. // Footer : False
  10293. // Separator : False
  10294. string v = RepeatInfoUser.DoTest (1, 0, RepeatDirection.Vertical, RepeatLayout.Flow, false, true, false, false);
  10295. string exp = @"<span class=""mainstyle"">(0,Header,-1)<br /></span>";
  10296. HtmlDiff.AssertAreEqual (exp, v, "#554");
  10297. }
  10298. [Test]
  10299. public void RepeatInfo_1cols_5itms_vert_flow_hdr ()
  10300. {
  10301. // cols : 1
  10302. // cnt : 5
  10303. // RepeatDirection : Vertical
  10304. // RepeatLayout : Flow
  10305. // OuterTableImplied : False
  10306. // Header : True
  10307. // Footer : False
  10308. // Separator : False
  10309. string v = RepeatInfoUser.DoTest (1, 5, RepeatDirection.Vertical, RepeatLayout.Flow, false, true, false, false);
  10310. 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>";
  10311. HtmlDiff.AssertAreEqual (exp, v, "#555");
  10312. }
  10313. [Test]
  10314. public void RepeatInfo_2cols_4itms_vert_flow_hdr ()
  10315. {
  10316. // cols : 2
  10317. // cnt : 4
  10318. // RepeatDirection : Vertical
  10319. // RepeatLayout : Flow
  10320. // OuterTableImplied : False
  10321. // Header : True
  10322. // Footer : False
  10323. // Separator : False
  10324. string v = RepeatInfoUser.DoTest (2, 4, RepeatDirection.Vertical, RepeatLayout.Flow, false, true, false, false);
  10325. string exp = @"<span class=""mainstyle"">(0,Header,-1)<br />(1,Item,0)(2,Item,2)<br />(3,Item,1)(4,Item,3)</span>";
  10326. HtmlDiff.AssertAreEqual (exp, v, "#556");
  10327. }
  10328. [Test]
  10329. public void RepeatInfo_2cols_7itms_vert_flow_hdr ()
  10330. {
  10331. // cols : 2
  10332. // cnt : 7
  10333. // RepeatDirection : Vertical
  10334. // RepeatLayout : Flow
  10335. // OuterTableImplied : False
  10336. // Header : True
  10337. // Footer : False
  10338. // Separator : False
  10339. string v = RepeatInfoUser.DoTest (2, 7, RepeatDirection.Vertical, RepeatLayout.Flow, false, true, false, false);
  10340. 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>";
  10341. HtmlDiff.AssertAreEqual (exp, v, "#557");
  10342. }
  10343. [Test]
  10344. public void RepeatInfo_3cols_9itms_vert_flow_hdr ()
  10345. {
  10346. // cols : 3
  10347. // cnt : 9
  10348. // RepeatDirection : Vertical
  10349. // RepeatLayout : Flow
  10350. // OuterTableImplied : False
  10351. // Header : True
  10352. // Footer : False
  10353. // Separator : False
  10354. string v = RepeatInfoUser.DoTest (3, 9, RepeatDirection.Vertical, RepeatLayout.Flow, false, true, false, false);
  10355. 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>";
  10356. HtmlDiff.AssertAreEqual (exp, v, "#558");
  10357. }
  10358. [Test]
  10359. public void RepeatInfo_3cols_7itms_vert_flow_hdr ()
  10360. {
  10361. // cols : 3
  10362. // cnt : 7
  10363. // RepeatDirection : Vertical
  10364. // RepeatLayout : Flow
  10365. // OuterTableImplied : False
  10366. // Header : True
  10367. // Footer : False
  10368. // Separator : False
  10369. string v = RepeatInfoUser.DoTest (3, 7, RepeatDirection.Vertical, RepeatLayout.Flow, false, true, false, false);
  10370. 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>";
  10371. HtmlDiff.AssertAreEqual (exp, v, "#559");
  10372. }
  10373. [Test]
  10374. public void RepeatInfo_0cols_0itms_horiz_tbl_otrtblimp ()
  10375. {
  10376. // cols : 0
  10377. // cnt : 0
  10378. // RepeatDirection : Horizontal
  10379. // RepeatLayout : Table
  10380. // OuterTableImplied : True
  10381. // Header : False
  10382. // Footer : False
  10383. // Separator : False
  10384. string v = RepeatInfoUser.DoTest (0, 0, RepeatDirection.Horizontal, RepeatLayout.Table, true, false, false, false);
  10385. string exp = @"<table class=""mainstyle"" border=""0"">
  10386. </table>";
  10387. HtmlDiff.AssertAreEqual (exp, v, "#560");
  10388. }
  10389. [Test]
  10390. public void RepeatInfo_0cols_1itms_horiz_tbl_otrtblimp ()
  10391. {
  10392. // cols : 0
  10393. // cnt : 1
  10394. // RepeatDirection : Horizontal
  10395. // RepeatLayout : Table
  10396. // OuterTableImplied : True
  10397. // Header : False
  10398. // Footer : False
  10399. // Separator : False
  10400. string v = RepeatInfoUser.DoTest (0, 1, RepeatDirection.Horizontal, RepeatLayout.Table, true, false, false, false);
  10401. string exp = @"<table class=""mainstyle"" border=""0"">
  10402. <tr>
  10403. <td class=""Item0"">(0,Item,0)</td>
  10404. </tr>
  10405. </table>";
  10406. HtmlDiff.AssertAreEqual (exp, v, "#561");
  10407. }
  10408. [Test]
  10409. public void RepeatInfo_0cols_2itms_horiz_tbl_otrtblimp ()
  10410. {
  10411. // cols : 0
  10412. // cnt : 2
  10413. // RepeatDirection : Horizontal
  10414. // RepeatLayout : Table
  10415. // OuterTableImplied : True
  10416. // Header : False
  10417. // Footer : False
  10418. // Separator : False
  10419. string v = RepeatInfoUser.DoTest (0, 2, RepeatDirection.Horizontal, RepeatLayout.Table, true, false, false, false);
  10420. string exp = @"<table class=""mainstyle"" border=""0"">
  10421. <tr>
  10422. <td class=""Item0"">(0,Item,0)</td><td class=""Item1"">(1,Item,1)</td>
  10423. </tr>
  10424. </table>";
  10425. HtmlDiff.AssertAreEqual (exp, v, "#562");
  10426. }
  10427. [Test]
  10428. public void RepeatInfo_0cols_5itms_horiz_tbl_otrtblimp ()
  10429. {
  10430. // cols : 0
  10431. // cnt : 5
  10432. // RepeatDirection : Horizontal
  10433. // RepeatLayout : Table
  10434. // OuterTableImplied : True
  10435. // Header : False
  10436. // Footer : False
  10437. // Separator : False
  10438. string v = RepeatInfoUser.DoTest (0, 5, RepeatDirection.Horizontal, RepeatLayout.Table, true, false, false, false);
  10439. string exp = @"<table class=""mainstyle"" border=""0"">
  10440. <tr>
  10441. <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>
  10442. </tr>
  10443. </table>";
  10444. HtmlDiff.AssertAreEqual (exp, v, "#563");
  10445. }
  10446. [Test]
  10447. public void RepeatInfo_1cols_0itms_horiz_tbl_otrtblimp ()
  10448. {
  10449. // cols : 1
  10450. // cnt : 0
  10451. // RepeatDirection : Horizontal
  10452. // RepeatLayout : Table
  10453. // OuterTableImplied : True
  10454. // Header : False
  10455. // Footer : False
  10456. // Separator : False
  10457. string v = RepeatInfoUser.DoTest (1, 0, RepeatDirection.Horizontal, RepeatLayout.Table, true, false, false, false);
  10458. string exp = @"<table class=""mainstyle"" border=""0"">
  10459. </table>";
  10460. HtmlDiff.AssertAreEqual (exp, v, "#564");
  10461. }
  10462. [Test]
  10463. public void RepeatInfo_1cols_5itms_horiz_tbl_otrtblimp ()
  10464. {
  10465. // cols : 1
  10466. // cnt : 5
  10467. // RepeatDirection : Horizontal
  10468. // RepeatLayout : Table
  10469. // OuterTableImplied : True
  10470. // Header : False
  10471. // Footer : False
  10472. // Separator : False
  10473. string v = RepeatInfoUser.DoTest (1, 5, RepeatDirection.Horizontal, RepeatLayout.Table, true, false, false, false);
  10474. string exp = @"<table class=""mainstyle"" border=""0"">
  10475. <tr>
  10476. <td class=""Item0"">(0,Item,0)</td>
  10477. </tr><tr>
  10478. <td class=""Item1"">(1,Item,1)</td>
  10479. </tr><tr>
  10480. <td class=""Item2"">(2,Item,2)</td>
  10481. </tr><tr>
  10482. <td class=""Item3"">(3,Item,3)</td>
  10483. </tr><tr>
  10484. <td class=""Item4"">(4,Item,4)</td>
  10485. </tr>
  10486. </table>";
  10487. HtmlDiff.AssertAreEqual (exp, v, "#565");
  10488. }
  10489. [Test]
  10490. public void RepeatInfo_2cols_4itms_horiz_tbl_otrtblimp ()
  10491. {
  10492. // cols : 2
  10493. // cnt : 4
  10494. // RepeatDirection : Horizontal
  10495. // RepeatLayout : Table
  10496. // OuterTableImplied : True
  10497. // Header : False
  10498. // Footer : False
  10499. // Separator : False
  10500. string v = RepeatInfoUser.DoTest (2, 4, RepeatDirection.Horizontal, RepeatLayout.Table, true, false, false, false);
  10501. string exp = @"<table class=""mainstyle"" border=""0"">
  10502. <tr>
  10503. <td class=""Item0"">(0,Item,0)</td><td class=""Item1"">(1,Item,1)</td>
  10504. </tr><tr>
  10505. <td class=""Item2"">(2,Item,2)</td><td class=""Item3"">(3,Item,3)</td>
  10506. </tr>
  10507. </table>";
  10508. HtmlDiff.AssertAreEqual (exp, v, "#566");
  10509. }
  10510. [Test]
  10511. public void RepeatInfo_2cols_7itms_horiz_tbl_otrtblimp ()
  10512. {
  10513. // cols : 2
  10514. // cnt : 7
  10515. // RepeatDirection : Horizontal
  10516. // RepeatLayout : Table
  10517. // OuterTableImplied : True
  10518. // Header : False
  10519. // Footer : False
  10520. // Separator : False
  10521. string v = RepeatInfoUser.DoTest (2, 7, RepeatDirection.Horizontal, RepeatLayout.Table, true, false, false, false);
  10522. string exp = @"<table class=""mainstyle"" border=""0"">
  10523. <tr>
  10524. <td class=""Item0"">(0,Item,0)</td><td class=""Item1"">(1,Item,1)</td>
  10525. </tr><tr>
  10526. <td class=""Item2"">(2,Item,2)</td><td class=""Item3"">(3,Item,3)</td>
  10527. </tr><tr>
  10528. <td class=""Item4"">(4,Item,4)</td><td class=""Item5"">(5,Item,5)</td>
  10529. </tr><tr>
  10530. <td class=""Item6"">(6,Item,6)</td><td></td>
  10531. </tr>
  10532. </table>";
  10533. HtmlDiff.AssertAreEqual (exp, v, "#567");
  10534. }
  10535. [Test]
  10536. public void RepeatInfo_3cols_9itms_horiz_tbl_otrtblimp ()
  10537. {
  10538. // cols : 3
  10539. // cnt : 9
  10540. // RepeatDirection : Horizontal
  10541. // RepeatLayout : Table
  10542. // OuterTableImplied : True
  10543. // Header : False
  10544. // Footer : False
  10545. // Separator : False
  10546. string v = RepeatInfoUser.DoTest (3, 9, RepeatDirection.Horizontal, RepeatLayout.Table, true, false, false, false);
  10547. string exp = @"<table border=""0"">
  10548. <tr>
  10549. <td class=""Item0"">(0,Item,0)</td><td class=""Item1"">(1,Item,1)</td><td class=""Item2"">(2,Item,2)</td>
  10550. </tr><tr>
  10551. <td class=""Item3"">(3,Item,3)</td><td class=""Item4"">(4,Item,4)</td><td class=""Item5"">(5,Item,5)</td>
  10552. </tr><tr>
  10553. <td class=""Item6"">(6,Item,6)</td><td class=""Item7"">(7,Item,7)</td><td class=""Item8"">(8,Item,8)</td>
  10554. </tr>
  10555. </table>";
  10556. HtmlDiff.AssertAreEqual (exp, v, "#568");
  10557. }
  10558. [Test]
  10559. public void RepeatInfo_3cols_7itms_horiz_tbl_otrtblimp ()
  10560. {
  10561. // cols : 3
  10562. // cnt : 7
  10563. // RepeatDirection : Horizontal
  10564. // RepeatLayout : Table
  10565. // OuterTableImplied : True
  10566. // Header : False
  10567. // Footer : False
  10568. // Separator : False
  10569. string v = RepeatInfoUser.DoTest (3, 7, RepeatDirection.Horizontal, RepeatLayout.Table, true, false, false, false);
  10570. string exp = @"<table border=""0"">
  10571. <tr>
  10572. <td class=""Item0"">(0,Item,0)</td><td class=""Item1"">(1,Item,1)</td><td class=""Item2"">(2,Item,2)</td>
  10573. </tr><tr>
  10574. <td class=""Item3"">(3,Item,3)</td><td class=""Item4"">(4,Item,4)</td><td class=""Item5"">(5,Item,5)</td>
  10575. </tr><tr>
  10576. <td class=""Item6"">(6,Item,6)</td><td></td><td></td>
  10577. </tr>
  10578. </table>";
  10579. HtmlDiff.AssertAreEqual (exp, v, "#569");
  10580. }
  10581. [Test]
  10582. public void RepeatInfo_0cols_0itms_vert_tbl_otrtblimp ()
  10583. {
  10584. // cols : 0
  10585. // cnt : 0
  10586. // RepeatDirection : Vertical
  10587. // RepeatLayout : Table
  10588. // OuterTableImplied : True
  10589. // Header : False
  10590. // Footer : False
  10591. // Separator : False
  10592. string v = RepeatInfoUser.DoTest (0, 0, RepeatDirection.Vertical, RepeatLayout.Table, true, false, false, false);
  10593. string exp = @"";
  10594. HtmlDiff.AssertAreEqual (exp, v, "#570");
  10595. }
  10596. [Test]
  10597. public void RepeatInfo_0cols_1itms_vert_tbl_otrtblimp ()
  10598. {
  10599. // cols : 0
  10600. // cnt : 1
  10601. // RepeatDirection : Vertical
  10602. // RepeatLayout : Table
  10603. // OuterTableImplied : True
  10604. // Header : False
  10605. // Footer : False
  10606. // Separator : False
  10607. string v = RepeatInfoUser.DoTest (0, 1, RepeatDirection.Vertical, RepeatLayout.Table, true, false, false, false);
  10608. string exp = @"(0,Item,0)";
  10609. HtmlDiff.AssertAreEqual (exp, v, "#571");
  10610. }
  10611. [Test]
  10612. public void RepeatInfo_0cols_2itms_vert_tbl_otrtblimp ()
  10613. {
  10614. // cols : 0
  10615. // cnt : 2
  10616. // RepeatDirection : Vertical
  10617. // RepeatLayout : Table
  10618. // OuterTableImplied : True
  10619. // Header : False
  10620. // Footer : False
  10621. // Separator : False
  10622. string v = RepeatInfoUser.DoTest (0, 2, RepeatDirection.Vertical, RepeatLayout.Table, true, false, false, false);
  10623. string exp = @"(0,Item,0)(1,Item,1)";
  10624. HtmlDiff.AssertAreEqual (exp, v, "#572");
  10625. }
  10626. [Test]
  10627. public void RepeatInfo_0cols_5itms_vert_tbl_otrtblimp ()
  10628. {
  10629. // cols : 0
  10630. // cnt : 5
  10631. // RepeatDirection : Vertical
  10632. // RepeatLayout : Table
  10633. // OuterTableImplied : True
  10634. // Header : False
  10635. // Footer : False
  10636. // Separator : False
  10637. string v = RepeatInfoUser.DoTest (0, 5, RepeatDirection.Vertical, RepeatLayout.Table, true, false, false, false);
  10638. string exp = @"(0,Item,0)(1,Item,1)(2,Item,2)(3,Item,3)(4,Item,4)";
  10639. HtmlDiff.AssertAreEqual (exp, v, "#573");
  10640. }
  10641. [Test]
  10642. public void RepeatInfo_1cols_0itms_vert_tbl_otrtblimp ()
  10643. {
  10644. // cols : 1
  10645. // cnt : 0
  10646. // RepeatDirection : Vertical
  10647. // RepeatLayout : Table
  10648. // OuterTableImplied : True
  10649. // Header : False
  10650. // Footer : False
  10651. // Separator : False
  10652. string v = RepeatInfoUser.DoTest (1, 0, RepeatDirection.Vertical, RepeatLayout.Table, true, false, false, false);
  10653. string exp = @"";
  10654. HtmlDiff.AssertAreEqual (exp, v, "#574");
  10655. }
  10656. [Test]
  10657. public void RepeatInfo_1cols_5itms_vert_tbl_otrtblimp ()
  10658. {
  10659. // cols : 1
  10660. // cnt : 5
  10661. // RepeatDirection : Vertical
  10662. // RepeatLayout : Table
  10663. // OuterTableImplied : True
  10664. // Header : False
  10665. // Footer : False
  10666. // Separator : False
  10667. string v = RepeatInfoUser.DoTest (1, 5, RepeatDirection.Vertical, RepeatLayout.Table, true, false, false, false);
  10668. string exp = @"(0,Item,0)(1,Item,1)(2,Item,2)(3,Item,3)(4,Item,4)";
  10669. HtmlDiff.AssertAreEqual (exp, v, "#575");
  10670. }
  10671. [Test]
  10672. public void RepeatInfo_2cols_4itms_vert_tbl_otrtblimp ()
  10673. {
  10674. // cols : 2
  10675. // cnt : 4
  10676. // RepeatDirection : Vertical
  10677. // RepeatLayout : Table
  10678. // OuterTableImplied : True
  10679. // Header : False
  10680. // Footer : False
  10681. // Separator : False
  10682. string v = RepeatInfoUser.DoTest (2, 4, RepeatDirection.Vertical, RepeatLayout.Table, true, false, false, false);
  10683. string exp = @"(0,Item,0)(1,Item,2)(2,Item,1)(3,Item,3)";
  10684. HtmlDiff.AssertAreEqual (exp, v, "#576");
  10685. }
  10686. [Test]
  10687. public void RepeatInfo_2cols_7itms_vert_tbl_otrtblimp ()
  10688. {
  10689. // cols : 2
  10690. // cnt : 7
  10691. // RepeatDirection : Vertical
  10692. // RepeatLayout : Table
  10693. // OuterTableImplied : True
  10694. // Header : False
  10695. // Footer : False
  10696. // Separator : False
  10697. string v = RepeatInfoUser.DoTest (2, 7, RepeatDirection.Vertical, RepeatLayout.Table, true, false, false, false);
  10698. string exp = @"(0,Item,0)(1,Item,4)(2,Item,1)(3,Item,5)(4,Item,2)(5,Item,6)(6,Item,3)";
  10699. HtmlDiff.AssertAreEqual (exp, v, "#577");
  10700. }
  10701. [Test]
  10702. public void RepeatInfo_3cols_9itms_vert_tbl_otrtblimp ()
  10703. {
  10704. // cols : 3
  10705. // cnt : 9
  10706. // RepeatDirection : Vertical
  10707. // RepeatLayout : Table
  10708. // OuterTableImplied : True
  10709. // Header : False
  10710. // Footer : False
  10711. // Separator : False
  10712. string v = RepeatInfoUser.DoTest (3, 9, RepeatDirection.Vertical, RepeatLayout.Table, true, false, false, false);
  10713. 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)";
  10714. HtmlDiff.AssertAreEqual (exp, v, "#578");
  10715. }
  10716. [Test]
  10717. public void RepeatInfo_3cols_7itms_vert_tbl_otrtblimp ()
  10718. {
  10719. // cols : 3
  10720. // cnt : 7
  10721. // RepeatDirection : Vertical
  10722. // RepeatLayout : Table
  10723. // OuterTableImplied : True
  10724. // Header : False
  10725. // Footer : False
  10726. // Separator : False
  10727. string v = RepeatInfoUser.DoTest (3, 7, RepeatDirection.Vertical, RepeatLayout.Table, true, false, false, false);
  10728. string exp = @"(0,Item,0)(1,Item,3)(2,Item,5)(3,Item,1)(4,Item,4)(5,Item,6)(6,Item,2)";
  10729. HtmlDiff.AssertAreEqual (exp, v, "#579");
  10730. }
  10731. [Test]
  10732. public void RepeatInfo_0cols_0itms_horiz_flow_otrtblimp ()
  10733. {
  10734. // cols : 0
  10735. // cnt : 0
  10736. // RepeatDirection : Horizontal
  10737. // RepeatLayout : Flow
  10738. // OuterTableImplied : True
  10739. // Header : False
  10740. // Footer : False
  10741. // Separator : False
  10742. string v = RepeatInfoUser.DoTest (0, 0, RepeatDirection.Horizontal, RepeatLayout.Flow, true, false, false, false);
  10743. string exp = @"<span class=""mainstyle""></span>";
  10744. HtmlDiff.AssertAreEqual (exp, v, "#580");
  10745. }
  10746. [Test]
  10747. public void RepeatInfo_0cols_1itms_horiz_flow_otrtblimp ()
  10748. {
  10749. // cols : 0
  10750. // cnt : 1
  10751. // RepeatDirection : Horizontal
  10752. // RepeatLayout : Flow
  10753. // OuterTableImplied : True
  10754. // Header : False
  10755. // Footer : False
  10756. // Separator : False
  10757. string v = RepeatInfoUser.DoTest (0, 1, RepeatDirection.Horizontal, RepeatLayout.Flow, true, false, false, false);
  10758. string exp = @"<span class=""mainstyle"">(0,Item,0)</span>";
  10759. HtmlDiff.AssertAreEqual (exp, v, "#581");
  10760. }
  10761. [Test]
  10762. public void RepeatInfo_0cols_2itms_horiz_flow_otrtblimp ()
  10763. {
  10764. // cols : 0
  10765. // cnt : 2
  10766. // RepeatDirection : Horizontal
  10767. // RepeatLayout : Flow
  10768. // OuterTableImplied : True
  10769. // Header : False
  10770. // Footer : False
  10771. // Separator : False
  10772. string v = RepeatInfoUser.DoTest (0, 2, RepeatDirection.Horizontal, RepeatLayout.Flow, true, false, false, false);
  10773. string exp = @"<span class=""mainstyle"">(0,Item,0)(1,Item,1)</span>";
  10774. HtmlDiff.AssertAreEqual (exp, v, "#582");
  10775. }
  10776. [Test]
  10777. public void RepeatInfo_0cols_5itms_horiz_flow_otrtblimp ()
  10778. {
  10779. // cols : 0
  10780. // cnt : 5
  10781. // RepeatDirection : Horizontal
  10782. // RepeatLayout : Flow
  10783. // OuterTableImplied : True
  10784. // Header : False
  10785. // Footer : False
  10786. // Separator : False
  10787. string v = RepeatInfoUser.DoTest (0, 5, RepeatDirection.Horizontal, RepeatLayout.Flow, true, false, false, false);
  10788. string exp = @"<span class=""mainstyle"">(0,Item,0)(1,Item,1)(2,Item,2)(3,Item,3)(4,Item,4)</span>";
  10789. HtmlDiff.AssertAreEqual (exp, v, "#583");
  10790. }
  10791. [Test]
  10792. public void RepeatInfo_1cols_0itms_horiz_flow_otrtblimp ()
  10793. {
  10794. // cols : 1
  10795. // cnt : 0
  10796. // RepeatDirection : Horizontal
  10797. // RepeatLayout : Flow
  10798. // OuterTableImplied : True
  10799. // Header : False
  10800. // Footer : False
  10801. // Separator : False
  10802. string v = RepeatInfoUser.DoTest (1, 0, RepeatDirection.Horizontal, RepeatLayout.Flow, true, false, false, false);
  10803. string exp = @"<span class=""mainstyle""></span>";
  10804. HtmlDiff.AssertAreEqual (exp, v, "#584");
  10805. }
  10806. [Test]
  10807. public void RepeatInfo_1cols_5itms_horiz_flow_otrtblimp ()
  10808. {
  10809. // cols : 1
  10810. // cnt : 5
  10811. // RepeatDirection : Horizontal
  10812. // RepeatLayout : Flow
  10813. // OuterTableImplied : True
  10814. // Header : False
  10815. // Footer : False
  10816. // Separator : False
  10817. string v = RepeatInfoUser.DoTest (1, 5, RepeatDirection.Horizontal, RepeatLayout.Flow, true, false, false, false);
  10818. 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>";
  10819. HtmlDiff.AssertAreEqual (exp, v, "#585");
  10820. }
  10821. [Test]
  10822. public void RepeatInfo_2cols_4itms_horiz_flow_otrtblimp ()
  10823. {
  10824. // cols : 2
  10825. // cnt : 4
  10826. // RepeatDirection : Horizontal
  10827. // RepeatLayout : Flow
  10828. // OuterTableImplied : True
  10829. // Header : False
  10830. // Footer : False
  10831. // Separator : False
  10832. string v = RepeatInfoUser.DoTest (2, 4, RepeatDirection.Horizontal, RepeatLayout.Flow, true, false, false, false);
  10833. string exp = @"<span class=""mainstyle"">(0,Item,0)(1,Item,1)<br />(2,Item,2)(3,Item,3)<br /></span>";
  10834. HtmlDiff.AssertAreEqual (exp, v, "#586");
  10835. }
  10836. [Test]
  10837. public void RepeatInfo_2cols_7itms_horiz_flow_otrtblimp ()
  10838. {
  10839. // cols : 2
  10840. // cnt : 7
  10841. // RepeatDirection : Horizontal
  10842. // RepeatLayout : Flow
  10843. // OuterTableImplied : True
  10844. // Header : False
  10845. // Footer : False
  10846. // Separator : False
  10847. string v = RepeatInfoUser.DoTest (2, 7, RepeatDirection.Horizontal, RepeatLayout.Flow, true, false, false, false);
  10848. 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>";
  10849. HtmlDiff.AssertAreEqual (exp, v, "#587");
  10850. }
  10851. [Test]
  10852. public void RepeatInfo_3cols_9itms_horiz_flow_otrtblimp ()
  10853. {
  10854. // cols : 3
  10855. // cnt : 9
  10856. // RepeatDirection : Horizontal
  10857. // RepeatLayout : Flow
  10858. // OuterTableImplied : True
  10859. // Header : False
  10860. // Footer : False
  10861. // Separator : False
  10862. string v = RepeatInfoUser.DoTest (3, 9, RepeatDirection.Horizontal, RepeatLayout.Flow, true, false, false, false);
  10863. 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>";
  10864. HtmlDiff.AssertAreEqual (exp, v, "#588");
  10865. }
  10866. [Test]
  10867. public void RepeatInfo_3cols_7itms_horiz_flow_otrtblimp ()
  10868. {
  10869. // cols : 3
  10870. // cnt : 7
  10871. // RepeatDirection : Horizontal
  10872. // RepeatLayout : Flow
  10873. // OuterTableImplied : True
  10874. // Header : False
  10875. // Footer : False
  10876. // Separator : False
  10877. string v = RepeatInfoUser.DoTest (3, 7, RepeatDirection.Horizontal, RepeatLayout.Flow, true, false, false, false);
  10878. 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>";
  10879. HtmlDiff.AssertAreEqual (exp, v, "#589");
  10880. }
  10881. [Test]
  10882. public void RepeatInfo_0cols_0itms_vert_flow_otrtblimp ()
  10883. {
  10884. // cols : 0
  10885. // cnt : 0
  10886. // RepeatDirection : Vertical
  10887. // RepeatLayout : Flow
  10888. // OuterTableImplied : True
  10889. // Header : False
  10890. // Footer : False
  10891. // Separator : False
  10892. string v = RepeatInfoUser.DoTest (0, 0, RepeatDirection.Vertical, RepeatLayout.Flow, true, false, false, false);
  10893. string exp = @"";
  10894. HtmlDiff.AssertAreEqual (exp, v, "#590");
  10895. }
  10896. [Test]
  10897. public void RepeatInfo_0cols_1itms_vert_flow_otrtblimp ()
  10898. {
  10899. // cols : 0
  10900. // cnt : 1
  10901. // RepeatDirection : Vertical
  10902. // RepeatLayout : Flow
  10903. // OuterTableImplied : True
  10904. // Header : False
  10905. // Footer : False
  10906. // Separator : False
  10907. string v = RepeatInfoUser.DoTest (0, 1, RepeatDirection.Vertical, RepeatLayout.Flow, true, false, false, false);
  10908. string exp = @"(0,Item,0)";
  10909. HtmlDiff.AssertAreEqual (exp, v, "#591");
  10910. }
  10911. [Test]
  10912. public void RepeatInfo_0cols_2itms_vert_flow_otrtblimp ()
  10913. {
  10914. // cols : 0
  10915. // cnt : 2
  10916. // RepeatDirection : Vertical
  10917. // RepeatLayout : Flow
  10918. // OuterTableImplied : True
  10919. // Header : False
  10920. // Footer : False
  10921. // Separator : False
  10922. string v = RepeatInfoUser.DoTest (0, 2, RepeatDirection.Vertical, RepeatLayout.Flow, true, false, false, false);
  10923. string exp = @"(0,Item,0)(1,Item,1)";
  10924. HtmlDiff.AssertAreEqual (exp, v, "#592");
  10925. }
  10926. [Test]
  10927. public void RepeatInfo_0cols_5itms_vert_flow_otrtblimp ()
  10928. {
  10929. // cols : 0
  10930. // cnt : 5
  10931. // RepeatDirection : Vertical
  10932. // RepeatLayout : Flow
  10933. // OuterTableImplied : True
  10934. // Header : False
  10935. // Footer : False
  10936. // Separator : False
  10937. string v = RepeatInfoUser.DoTest (0, 5, RepeatDirection.Vertical, RepeatLayout.Flow, true, false, false, false);
  10938. string exp = @"(0,Item,0)(1,Item,1)(2,Item,2)(3,Item,3)(4,Item,4)";
  10939. HtmlDiff.AssertAreEqual (exp, v, "#593");
  10940. }
  10941. [Test]
  10942. public void RepeatInfo_1cols_0itms_vert_flow_otrtblimp ()
  10943. {
  10944. // cols : 1
  10945. // cnt : 0
  10946. // RepeatDirection : Vertical
  10947. // RepeatLayout : Flow
  10948. // OuterTableImplied : True
  10949. // Header : False
  10950. // Footer : False
  10951. // Separator : False
  10952. string v = RepeatInfoUser.DoTest (1, 0, RepeatDirection.Vertical, RepeatLayout.Flow, true, false, false, false);
  10953. string exp = @"";
  10954. HtmlDiff.AssertAreEqual (exp, v, "#594");
  10955. }
  10956. [Test]
  10957. public void RepeatInfo_1cols_5itms_vert_flow_otrtblimp ()
  10958. {
  10959. // cols : 1
  10960. // cnt : 5
  10961. // RepeatDirection : Vertical
  10962. // RepeatLayout : Flow
  10963. // OuterTableImplied : True
  10964. // Header : False
  10965. // Footer : False
  10966. // Separator : False
  10967. string v = RepeatInfoUser.DoTest (1, 5, RepeatDirection.Vertical, RepeatLayout.Flow, true, false, false, false);
  10968. string exp = @"(0,Item,0)(1,Item,1)(2,Item,2)(3,Item,3)(4,Item,4)";
  10969. HtmlDiff.AssertAreEqual (exp, v, "#595");
  10970. }
  10971. [Test]
  10972. public void RepeatInfo_2cols_4itms_vert_flow_otrtblimp ()
  10973. {
  10974. // cols : 2
  10975. // cnt : 4
  10976. // RepeatDirection : Vertical
  10977. // RepeatLayout : Flow
  10978. // OuterTableImplied : True
  10979. // Header : False
  10980. // Footer : False
  10981. // Separator : False
  10982. string v = RepeatInfoUser.DoTest (2, 4, RepeatDirection.Vertical, RepeatLayout.Flow, true, false, false, false);
  10983. string exp = @"(0,Item,0)(1,Item,2)(2,Item,1)(3,Item,3)";
  10984. HtmlDiff.AssertAreEqual (exp, v, "#596");
  10985. }
  10986. [Test]
  10987. public void RepeatInfo_2cols_7itms_vert_flow_otrtblimp ()
  10988. {
  10989. // cols : 2
  10990. // cnt : 7
  10991. // RepeatDirection : Vertical
  10992. // RepeatLayout : Flow
  10993. // OuterTableImplied : True
  10994. // Header : False
  10995. // Footer : False
  10996. // Separator : False
  10997. string v = RepeatInfoUser.DoTest (2, 7, RepeatDirection.Vertical, RepeatLayout.Flow, true, false, false, false);
  10998. string exp = @"(0,Item,0)(1,Item,4)(2,Item,1)(3,Item,5)(4,Item,2)(5,Item,6)(6,Item,3)";
  10999. HtmlDiff.AssertAreEqual (exp, v, "#597");
  11000. }
  11001. [Test]
  11002. public void RepeatInfo_3cols_9itms_vert_flow_otrtblimp ()
  11003. {
  11004. // cols : 3
  11005. // cnt : 9
  11006. // RepeatDirection : Vertical
  11007. // RepeatLayout : Flow
  11008. // OuterTableImplied : True
  11009. // Header : False
  11010. // Footer : False
  11011. // Separator : False
  11012. string v = RepeatInfoUser.DoTest (3, 9, RepeatDirection.Vertical, RepeatLayout.Flow, true, false, false, false);
  11013. 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)";
  11014. HtmlDiff.AssertAreEqual (exp, v, "#598");
  11015. }
  11016. [Test]
  11017. public void RepeatInfo_3cols_7itms_vert_flow_otrtblimp ()
  11018. {
  11019. // cols : 3
  11020. // cnt : 7
  11021. // RepeatDirection : Vertical
  11022. // RepeatLayout : Flow
  11023. // OuterTableImplied : True
  11024. // Header : False
  11025. // Footer : False
  11026. // Separator : False
  11027. string v = RepeatInfoUser.DoTest (3, 7, RepeatDirection.Vertical, RepeatLayout.Flow, true, false, false, false);
  11028. string exp = @"(0,Item,0)(1,Item,3)(2,Item,5)(3,Item,1)(4,Item,4)(5,Item,6)(6,Item,2)";
  11029. HtmlDiff.AssertAreEqual (exp, v, "#599");
  11030. }
  11031. [Test]
  11032. public void RepeatInfo_0cols_0itms_horiz_tbl ()
  11033. {
  11034. // cols : 0
  11035. // cnt : 0
  11036. // RepeatDirection : Horizontal
  11037. // RepeatLayout : Table
  11038. // OuterTableImplied : False
  11039. // Header : False
  11040. // Footer : False
  11041. // Separator : False
  11042. string v = RepeatInfoUser.DoTest (0, 0, RepeatDirection.Horizontal, RepeatLayout.Table, false, false, false, false);
  11043. string exp = @"<table class=""mainstyle"" border=""0"">
  11044. </table>";
  11045. HtmlDiff.AssertAreEqual (exp, v, "#600");
  11046. }
  11047. [Test]
  11048. public void RepeatInfo_0cols_1itms_horiz_tbl ()
  11049. {
  11050. // cols : 0
  11051. // cnt : 1
  11052. // RepeatDirection : Horizontal
  11053. // RepeatLayout : Table
  11054. // OuterTableImplied : False
  11055. // Header : False
  11056. // Footer : False
  11057. // Separator : False
  11058. string v = RepeatInfoUser.DoTest (0, 1, RepeatDirection.Horizontal, RepeatLayout.Table, false, false, false, false);
  11059. string exp = @"<table class=""mainstyle"" border=""0"">
  11060. <tr>
  11061. <td class=""Item0"">(0,Item,0)</td>
  11062. </tr>
  11063. </table>";
  11064. HtmlDiff.AssertAreEqual (exp, v, "#601");
  11065. }
  11066. [Test]
  11067. public void RepeatInfo_0cols_2itms_horiz_tbl ()
  11068. {
  11069. // cols : 0
  11070. // cnt : 2
  11071. // RepeatDirection : Horizontal
  11072. // RepeatLayout : Table
  11073. // OuterTableImplied : False
  11074. // Header : False
  11075. // Footer : False
  11076. // Separator : False
  11077. string v = RepeatInfoUser.DoTest (0, 2, RepeatDirection.Horizontal, RepeatLayout.Table, false, false, false, false);
  11078. string exp = @"<table class=""mainstyle"" border=""0"">
  11079. <tr>
  11080. <td class=""Item0"">(0,Item,0)</td><td class=""Item1"">(1,Item,1)</td>
  11081. </tr>
  11082. </table>";
  11083. HtmlDiff.AssertAreEqual (exp, v, "#602");
  11084. }
  11085. [Test]
  11086. public void RepeatInfo_0cols_5itms_horiz_tbl ()
  11087. {
  11088. // cols : 0
  11089. // cnt : 5
  11090. // RepeatDirection : Horizontal
  11091. // RepeatLayout : Table
  11092. // OuterTableImplied : False
  11093. // Header : False
  11094. // Footer : False
  11095. // Separator : False
  11096. string v = RepeatInfoUser.DoTest (0, 5, RepeatDirection.Horizontal, RepeatLayout.Table, false, false, false, false);
  11097. string exp = @"<table class=""mainstyle"" border=""0"">
  11098. <tr>
  11099. <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>
  11100. </tr>
  11101. </table>";
  11102. HtmlDiff.AssertAreEqual (exp, v, "#603");
  11103. }
  11104. [Test]
  11105. public void RepeatInfo_1cols_0itms_horiz_tbl ()
  11106. {
  11107. // cols : 1
  11108. // cnt : 0
  11109. // RepeatDirection : Horizontal
  11110. // RepeatLayout : Table
  11111. // OuterTableImplied : False
  11112. // Header : False
  11113. // Footer : False
  11114. // Separator : False
  11115. string v = RepeatInfoUser.DoTest (1, 0, RepeatDirection.Horizontal, RepeatLayout.Table, false, false, false, false);
  11116. string exp = @"<table class=""mainstyle"" border=""0"">
  11117. </table>";
  11118. HtmlDiff.AssertAreEqual (exp, v, "#604");
  11119. }
  11120. [Test]
  11121. public void RepeatInfo_1cols_5itms_horiz_tbl ()
  11122. {
  11123. // cols : 1
  11124. // cnt : 5
  11125. // RepeatDirection : Horizontal
  11126. // RepeatLayout : Table
  11127. // OuterTableImplied : False
  11128. // Header : False
  11129. // Footer : False
  11130. // Separator : False
  11131. string v = RepeatInfoUser.DoTest (1, 5, RepeatDirection.Horizontal, RepeatLayout.Table, false, false, false, false);
  11132. string exp = @"<table class=""mainstyle"" border=""0"">
  11133. <tr>
  11134. <td class=""Item0"">(0,Item,0)</td>
  11135. </tr><tr>
  11136. <td class=""Item1"">(1,Item,1)</td>
  11137. </tr><tr>
  11138. <td class=""Item2"">(2,Item,2)</td>
  11139. </tr><tr>
  11140. <td class=""Item3"">(3,Item,3)</td>
  11141. </tr><tr>
  11142. <td class=""Item4"">(4,Item,4)</td>
  11143. </tr>
  11144. </table>";
  11145. HtmlDiff.AssertAreEqual (exp, v, "#605");
  11146. }
  11147. [Test]
  11148. public void RepeatInfo_2cols_4itms_horiz_tbl ()
  11149. {
  11150. // cols : 2
  11151. // cnt : 4
  11152. // RepeatDirection : Horizontal
  11153. // RepeatLayout : Table
  11154. // OuterTableImplied : False
  11155. // Header : False
  11156. // Footer : False
  11157. // Separator : False
  11158. string v = RepeatInfoUser.DoTest (2, 4, RepeatDirection.Horizontal, RepeatLayout.Table, false, false, false, false);
  11159. string exp = @"<table class=""mainstyle"" border=""0"">
  11160. <tr>
  11161. <td class=""Item0"">(0,Item,0)</td><td class=""Item1"">(1,Item,1)</td>
  11162. </tr><tr>
  11163. <td class=""Item2"">(2,Item,2)</td><td class=""Item3"">(3,Item,3)</td>
  11164. </tr>
  11165. </table>";
  11166. HtmlDiff.AssertAreEqual (exp, v, "#606");
  11167. }
  11168. [Test]
  11169. public void RepeatInfo_2cols_7itms_horiz_tbl ()
  11170. {
  11171. // cols : 2
  11172. // cnt : 7
  11173. // RepeatDirection : Horizontal
  11174. // RepeatLayout : Table
  11175. // OuterTableImplied : False
  11176. // Header : False
  11177. // Footer : False
  11178. // Separator : False
  11179. string v = RepeatInfoUser.DoTest (2, 7, RepeatDirection.Horizontal, RepeatLayout.Table, false, false, false, false);
  11180. string exp = @"<table class=""mainstyle"" border=""0"">
  11181. <tr>
  11182. <td class=""Item0"">(0,Item,0)</td><td class=""Item1"">(1,Item,1)</td>
  11183. </tr><tr>
  11184. <td class=""Item2"">(2,Item,2)</td><td class=""Item3"">(3,Item,3)</td>
  11185. </tr><tr>
  11186. <td class=""Item4"">(4,Item,4)</td><td class=""Item5"">(5,Item,5)</td>
  11187. </tr><tr>
  11188. <td class=""Item6"">(6,Item,6)</td><td></td>
  11189. </tr>
  11190. </table>";
  11191. HtmlDiff.AssertAreEqual (exp, v, "#607");
  11192. }
  11193. [Test]
  11194. public void RepeatInfo_3cols_9itms_horiz_tbl ()
  11195. {
  11196. // cols : 3
  11197. // cnt : 9
  11198. // RepeatDirection : Horizontal
  11199. // RepeatLayout : Table
  11200. // OuterTableImplied : False
  11201. // Header : False
  11202. // Footer : False
  11203. // Separator : False
  11204. string v = RepeatInfoUser.DoTest (3, 9, RepeatDirection.Horizontal, RepeatLayout.Table, false, false, false, false);
  11205. string exp = @"<table border=""0"">
  11206. <tr>
  11207. <td class=""Item0"">(0,Item,0)</td><td class=""Item1"">(1,Item,1)</td><td class=""Item2"">(2,Item,2)</td>
  11208. </tr><tr>
  11209. <td class=""Item3"">(3,Item,3)</td><td class=""Item4"">(4,Item,4)</td><td class=""Item5"">(5,Item,5)</td>
  11210. </tr><tr>
  11211. <td class=""Item6"">(6,Item,6)</td><td class=""Item7"">(7,Item,7)</td><td class=""Item8"">(8,Item,8)</td>
  11212. </tr>
  11213. </table>";
  11214. HtmlDiff.AssertAreEqual (exp, v, "#608");
  11215. }
  11216. [Test]
  11217. public void RepeatInfo_3cols_7itms_horiz_tbl ()
  11218. {
  11219. // cols : 3
  11220. // cnt : 7
  11221. // RepeatDirection : Horizontal
  11222. // RepeatLayout : Table
  11223. // OuterTableImplied : False
  11224. // Header : False
  11225. // Footer : False
  11226. // Separator : False
  11227. string v = RepeatInfoUser.DoTest (3, 7, RepeatDirection.Horizontal, RepeatLayout.Table, false, false, false, false);
  11228. string exp = @"<table border=""0"">
  11229. <tr>
  11230. <td class=""Item0"">(0,Item,0)</td><td class=""Item1"">(1,Item,1)</td><td class=""Item2"">(2,Item,2)</td>
  11231. </tr><tr>
  11232. <td class=""Item3"">(3,Item,3)</td><td class=""Item4"">(4,Item,4)</td><td class=""Item5"">(5,Item,5)</td>
  11233. </tr><tr>
  11234. <td class=""Item6"">(6,Item,6)</td><td></td><td></td>
  11235. </tr>
  11236. </table>";
  11237. HtmlDiff.AssertAreEqual (exp, v, "#609");
  11238. }
  11239. [Test]
  11240. public void RepeatInfo_0cols_0itms_vert_tbl ()
  11241. {
  11242. // cols : 0
  11243. // cnt : 0
  11244. // RepeatDirection : Vertical
  11245. // RepeatLayout : Table
  11246. // OuterTableImplied : False
  11247. // Header : False
  11248. // Footer : False
  11249. // Separator : False
  11250. string v = RepeatInfoUser.DoTest (0, 0, RepeatDirection.Vertical, RepeatLayout.Table, false, false, false, false);
  11251. string exp = @"<table class=""mainstyle"" border=""0"">
  11252. </table>";
  11253. HtmlDiff.AssertAreEqual (exp, v, "#610");
  11254. }
  11255. [Test]
  11256. public void RepeatInfo_0cols_1itms_vert_tbl ()
  11257. {
  11258. // cols : 0
  11259. // cnt : 1
  11260. // RepeatDirection : Vertical
  11261. // RepeatLayout : Table
  11262. // OuterTableImplied : False
  11263. // Header : False
  11264. // Footer : False
  11265. // Separator : False
  11266. string v = RepeatInfoUser.DoTest (0, 1, RepeatDirection.Vertical, RepeatLayout.Table, false, false, false, false);
  11267. string exp = @"<table class=""mainstyle"" border=""0"">
  11268. <tr>
  11269. <td class=""Item0"">(0,Item,0)</td>
  11270. </tr>
  11271. </table>";
  11272. HtmlDiff.AssertAreEqual (exp, v, "#611");
  11273. }
  11274. [Test]
  11275. public void RepeatInfo_0cols_2itms_vert_tbl ()
  11276. {
  11277. // cols : 0
  11278. // cnt : 2
  11279. // RepeatDirection : Vertical
  11280. // RepeatLayout : Table
  11281. // OuterTableImplied : False
  11282. // Header : False
  11283. // Footer : False
  11284. // Separator : False
  11285. string v = RepeatInfoUser.DoTest (0, 2, RepeatDirection.Vertical, RepeatLayout.Table, false, false, false, false);
  11286. string exp = @"<table class=""mainstyle"" border=""0"">
  11287. <tr>
  11288. <td class=""Item0"">(0,Item,0)</td>
  11289. </tr><tr>
  11290. <td class=""Item1"">(1,Item,1)</td>
  11291. </tr>
  11292. </table>";
  11293. HtmlDiff.AssertAreEqual (exp, v, "#612");
  11294. }
  11295. [Test]
  11296. public void RepeatInfo_0cols_5itms_vert_tbl ()
  11297. {
  11298. // cols : 0
  11299. // cnt : 5
  11300. // RepeatDirection : Vertical
  11301. // RepeatLayout : Table
  11302. // OuterTableImplied : False
  11303. // Header : False
  11304. // Footer : False
  11305. // Separator : False
  11306. string v = RepeatInfoUser.DoTest (0, 5, RepeatDirection.Vertical, RepeatLayout.Table, false, false, false, false);
  11307. string exp = @"<table class=""mainstyle"" border=""0"">
  11308. <tr>
  11309. <td class=""Item0"">(0,Item,0)</td>
  11310. </tr><tr>
  11311. <td class=""Item1"">(1,Item,1)</td>
  11312. </tr><tr>
  11313. <td class=""Item2"">(2,Item,2)</td>
  11314. </tr><tr>
  11315. <td class=""Item3"">(3,Item,3)</td>
  11316. </tr><tr>
  11317. <td class=""Item4"">(4,Item,4)</td>
  11318. </tr>
  11319. </table>";
  11320. HtmlDiff.AssertAreEqual (exp, v, "#613");
  11321. }
  11322. [Test]
  11323. public void RepeatInfo_1cols_0itms_vert_tbl ()
  11324. {
  11325. // cols : 1
  11326. // cnt : 0
  11327. // RepeatDirection : Vertical
  11328. // RepeatLayout : Table
  11329. // OuterTableImplied : False
  11330. // Header : False
  11331. // Footer : False
  11332. // Separator : False
  11333. string v = RepeatInfoUser.DoTest (1, 0, RepeatDirection.Vertical, RepeatLayout.Table, false, false, false, false);
  11334. string exp = @"<table class=""mainstyle"" border=""0"">
  11335. </table>";
  11336. HtmlDiff.AssertAreEqual (exp, v, "#614");
  11337. }
  11338. [Test]
  11339. public void RepeatInfo_1cols_5itms_vert_tbl ()
  11340. {
  11341. // cols : 1
  11342. // cnt : 5
  11343. // RepeatDirection : Vertical
  11344. // RepeatLayout : Table
  11345. // OuterTableImplied : False
  11346. // Header : False
  11347. // Footer : False
  11348. // Separator : False
  11349. string v = RepeatInfoUser.DoTest (1, 5, RepeatDirection.Vertical, RepeatLayout.Table, false, false, false, false);
  11350. string exp = @"<table class=""mainstyle"" border=""0"">
  11351. <tr>
  11352. <td class=""Item0"">(0,Item,0)</td>
  11353. </tr><tr>
  11354. <td class=""Item1"">(1,Item,1)</td>
  11355. </tr><tr>
  11356. <td class=""Item2"">(2,Item,2)</td>
  11357. </tr><tr>
  11358. <td class=""Item3"">(3,Item,3)</td>
  11359. </tr><tr>
  11360. <td class=""Item4"">(4,Item,4)</td>
  11361. </tr>
  11362. </table>";
  11363. HtmlDiff.AssertAreEqual (exp, v, "#615");
  11364. }
  11365. [Test]
  11366. public void RepeatInfo_2cols_4itms_vert_tbl ()
  11367. {
  11368. // cols : 2
  11369. // cnt : 4
  11370. // RepeatDirection : Vertical
  11371. // RepeatLayout : Table
  11372. // OuterTableImplied : False
  11373. // Header : False
  11374. // Footer : False
  11375. // Separator : False
  11376. string v = RepeatInfoUser.DoTest (2, 4, RepeatDirection.Vertical, RepeatLayout.Table, false, false, false, false);
  11377. string exp = @"<table class=""mainstyle"" border=""0"">
  11378. <tr>
  11379. <td class=""Item0"">(0,Item,0)</td><td class=""Item2"">(1,Item,2)</td>
  11380. </tr><tr>
  11381. <td class=""Item1"">(2,Item,1)</td><td class=""Item3"">(3,Item,3)</td>
  11382. </tr>
  11383. </table>";
  11384. HtmlDiff.AssertAreEqual (exp, v, "#616");
  11385. }
  11386. [Test]
  11387. public void RepeatInfo_2cols_7itms_vert_tbl ()
  11388. {
  11389. // cols : 2
  11390. // cnt : 7
  11391. // RepeatDirection : Vertical
  11392. // RepeatLayout : Table
  11393. // OuterTableImplied : False
  11394. // Header : False
  11395. // Footer : False
  11396. // Separator : False
  11397. string v = RepeatInfoUser.DoTest (2, 7, RepeatDirection.Vertical, RepeatLayout.Table, false, false, false, false);
  11398. string exp = @"<table class=""mainstyle"" border=""0"">
  11399. <tr>
  11400. <td class=""Item0"">(0,Item,0)</td><td class=""Item4"">(1,Item,4)</td>
  11401. </tr><tr>
  11402. <td class=""Item1"">(2,Item,1)</td><td class=""Item5"">(3,Item,5)</td>
  11403. </tr><tr>
  11404. <td class=""Item2"">(4,Item,2)</td><td class=""Item6"">(5,Item,6)</td>
  11405. </tr><tr>
  11406. <td class=""Item3"">(6,Item,3)</td><td></td>
  11407. </tr>
  11408. </table>";
  11409. HtmlDiff.AssertAreEqual (exp, v, "#617");
  11410. }
  11411. [Test]
  11412. public void RepeatInfo_3cols_9itms_vert_tbl ()
  11413. {
  11414. // cols : 3
  11415. // cnt : 9
  11416. // RepeatDirection : Vertical
  11417. // RepeatLayout : Table
  11418. // OuterTableImplied : False
  11419. // Header : False
  11420. // Footer : False
  11421. // Separator : False
  11422. string v = RepeatInfoUser.DoTest (3, 9, RepeatDirection.Vertical, RepeatLayout.Table, false, false, false, false);
  11423. string exp = @"<table border=""0"">
  11424. <tr>
  11425. <td class=""Item0"">(0,Item,0)</td><td class=""Item3"">(1,Item,3)</td><td class=""Item6"">(2,Item,6)</td>
  11426. </tr><tr>
  11427. <td class=""Item1"">(3,Item,1)</td><td class=""Item4"">(4,Item,4)</td><td class=""Item7"">(5,Item,7)</td>
  11428. </tr><tr>
  11429. <td class=""Item2"">(6,Item,2)</td><td class=""Item5"">(7,Item,5)</td><td class=""Item8"">(8,Item,8)</td>
  11430. </tr>
  11431. </table>";
  11432. HtmlDiff.AssertAreEqual (exp, v, "#618");
  11433. }
  11434. [Test]
  11435. public void RepeatInfo_3cols_7itms_vert_tbl ()
  11436. {
  11437. // cols : 3
  11438. // cnt : 7
  11439. // RepeatDirection : Vertical
  11440. // RepeatLayout : Table
  11441. // OuterTableImplied : False
  11442. // Header : False
  11443. // Footer : False
  11444. // Separator : False
  11445. string v = RepeatInfoUser.DoTest (3, 7, RepeatDirection.Vertical, RepeatLayout.Table, false, false, false, false);
  11446. string exp = @"<table border=""0"">
  11447. <tr>
  11448. <td class=""Item0"">(0,Item,0)</td><td class=""Item3"">(1,Item,3)</td><td class=""Item5"">(2,Item,5)</td>
  11449. </tr><tr>
  11450. <td class=""Item1"">(3,Item,1)</td><td class=""Item4"">(4,Item,4)</td><td class=""Item6"">(5,Item,6)</td>
  11451. </tr><tr>
  11452. <td class=""Item2"">(6,Item,2)</td><td></td><td></td>
  11453. </tr>
  11454. </table>";
  11455. HtmlDiff.AssertAreEqual (exp, v, "#619");
  11456. }
  11457. [Test]
  11458. public void RepeatInfo_0cols_0itms_horiz_flow ()
  11459. {
  11460. // cols : 0
  11461. // cnt : 0
  11462. // RepeatDirection : Horizontal
  11463. // RepeatLayout : Flow
  11464. // OuterTableImplied : False
  11465. // Header : False
  11466. // Footer : False
  11467. // Separator : False
  11468. string v = RepeatInfoUser.DoTest (0, 0, RepeatDirection.Horizontal, RepeatLayout.Flow, false, false, false, false);
  11469. string exp = @"<span class=""mainstyle""></span>";
  11470. HtmlDiff.AssertAreEqual (exp, v, "#620");
  11471. }
  11472. [Test]
  11473. public void RepeatInfo_0cols_1itms_horiz_flow ()
  11474. {
  11475. // cols : 0
  11476. // cnt : 1
  11477. // RepeatDirection : Horizontal
  11478. // RepeatLayout : Flow
  11479. // OuterTableImplied : False
  11480. // Header : False
  11481. // Footer : False
  11482. // Separator : False
  11483. string v = RepeatInfoUser.DoTest (0, 1, RepeatDirection.Horizontal, RepeatLayout.Flow, false, false, false, false);
  11484. string exp = @"<span class=""mainstyle"">(0,Item,0)</span>";
  11485. HtmlDiff.AssertAreEqual (exp, v, "#621");
  11486. }
  11487. [Test]
  11488. public void RepeatInfo_0cols_2itms_horiz_flow ()
  11489. {
  11490. // cols : 0
  11491. // cnt : 2
  11492. // RepeatDirection : Horizontal
  11493. // RepeatLayout : Flow
  11494. // OuterTableImplied : False
  11495. // Header : False
  11496. // Footer : False
  11497. // Separator : False
  11498. string v = RepeatInfoUser.DoTest (0, 2, RepeatDirection.Horizontal, RepeatLayout.Flow, false, false, false, false);
  11499. string exp = @"<span class=""mainstyle"">(0,Item,0)(1,Item,1)</span>";
  11500. HtmlDiff.AssertAreEqual (exp, v, "#622");
  11501. }
  11502. [Test]
  11503. public void RepeatInfo_0cols_5itms_horiz_flow ()
  11504. {
  11505. // cols : 0
  11506. // cnt : 5
  11507. // RepeatDirection : Horizontal
  11508. // RepeatLayout : Flow
  11509. // OuterTableImplied : False
  11510. // Header : False
  11511. // Footer : False
  11512. // Separator : False
  11513. string v = RepeatInfoUser.DoTest (0, 5, RepeatDirection.Horizontal, RepeatLayout.Flow, false, false, false, false);
  11514. string exp = @"<span class=""mainstyle"">(0,Item,0)(1,Item,1)(2,Item,2)(3,Item,3)(4,Item,4)</span>";
  11515. HtmlDiff.AssertAreEqual (exp, v, "#623");
  11516. }
  11517. [Test]
  11518. public void RepeatInfo_1cols_0itms_horiz_flow ()
  11519. {
  11520. // cols : 1
  11521. // cnt : 0
  11522. // RepeatDirection : Horizontal
  11523. // RepeatLayout : Flow
  11524. // OuterTableImplied : False
  11525. // Header : False
  11526. // Footer : False
  11527. // Separator : False
  11528. string v = RepeatInfoUser.DoTest (1, 0, RepeatDirection.Horizontal, RepeatLayout.Flow, false, false, false, false);
  11529. string exp = @"<span class=""mainstyle""></span>";
  11530. HtmlDiff.AssertAreEqual (exp, v, "#624");
  11531. }
  11532. [Test]
  11533. public void RepeatInfo_1cols_5itms_horiz_flow ()
  11534. {
  11535. // cols : 1
  11536. // cnt : 5
  11537. // RepeatDirection : Horizontal
  11538. // RepeatLayout : Flow
  11539. // OuterTableImplied : False
  11540. // Header : False
  11541. // Footer : False
  11542. // Separator : False
  11543. string v = RepeatInfoUser.DoTest (1, 5, RepeatDirection.Horizontal, RepeatLayout.Flow, false, false, false, false);
  11544. 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>";
  11545. HtmlDiff.AssertAreEqual (exp, v, "#625");
  11546. }
  11547. [Test]
  11548. public void RepeatInfo_2cols_4itms_horiz_flow ()
  11549. {
  11550. // cols : 2
  11551. // cnt : 4
  11552. // RepeatDirection : Horizontal
  11553. // RepeatLayout : Flow
  11554. // OuterTableImplied : False
  11555. // Header : False
  11556. // Footer : False
  11557. // Separator : False
  11558. string v = RepeatInfoUser.DoTest (2, 4, RepeatDirection.Horizontal, RepeatLayout.Flow, false, false, false, false);
  11559. string exp = @"<span class=""mainstyle"">(0,Item,0)(1,Item,1)<br />(2,Item,2)(3,Item,3)<br /></span>";
  11560. HtmlDiff.AssertAreEqual (exp, v, "#626");
  11561. }
  11562. [Test]
  11563. public void RepeatInfo_2cols_7itms_horiz_flow ()
  11564. {
  11565. // cols : 2
  11566. // cnt : 7
  11567. // RepeatDirection : Horizontal
  11568. // RepeatLayout : Flow
  11569. // OuterTableImplied : False
  11570. // Header : False
  11571. // Footer : False
  11572. // Separator : False
  11573. string v = RepeatInfoUser.DoTest (2, 7, RepeatDirection.Horizontal, RepeatLayout.Flow, false, false, false, false);
  11574. 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>";
  11575. HtmlDiff.AssertAreEqual (exp, v, "#627");
  11576. }
  11577. [Test]
  11578. public void RepeatInfo_3cols_9itms_horiz_flow ()
  11579. {
  11580. // cols : 3
  11581. // cnt : 9
  11582. // RepeatDirection : Horizontal
  11583. // RepeatLayout : Flow
  11584. // OuterTableImplied : False
  11585. // Header : False
  11586. // Footer : False
  11587. // Separator : False
  11588. string v = RepeatInfoUser.DoTest (3, 9, RepeatDirection.Horizontal, RepeatLayout.Flow, false, false, false, false);
  11589. 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>";
  11590. HtmlDiff.AssertAreEqual (exp, v, "#628");
  11591. }
  11592. [Test]
  11593. public void RepeatInfo_3cols_7itms_horiz_flow ()
  11594. {
  11595. // cols : 3
  11596. // cnt : 7
  11597. // RepeatDirection : Horizontal
  11598. // RepeatLayout : Flow
  11599. // OuterTableImplied : False
  11600. // Header : False
  11601. // Footer : False
  11602. // Separator : False
  11603. string v = RepeatInfoUser.DoTest (3, 7, RepeatDirection.Horizontal, RepeatLayout.Flow, false, false, false, false);
  11604. 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>";
  11605. HtmlDiff.AssertAreEqual (exp, v, "#629");
  11606. }
  11607. [Test]
  11608. public void RepeatInfo_0cols_0itms_vert_flow ()
  11609. {
  11610. // cols : 0
  11611. // cnt : 0
  11612. // RepeatDirection : Vertical
  11613. // RepeatLayout : Flow
  11614. // OuterTableImplied : False
  11615. // Header : False
  11616. // Footer : False
  11617. // Separator : False
  11618. string v = RepeatInfoUser.DoTest (0, 0, RepeatDirection.Vertical, RepeatLayout.Flow, false, false, false, false);
  11619. string exp = @"<span class=""mainstyle""></span>";
  11620. HtmlDiff.AssertAreEqual (exp, v, "#630");
  11621. }
  11622. [Test]
  11623. public void RepeatInfo_0cols_1itms_vert_flow ()
  11624. {
  11625. // cols : 0
  11626. // cnt : 1
  11627. // RepeatDirection : Vertical
  11628. // RepeatLayout : Flow
  11629. // OuterTableImplied : False
  11630. // Header : False
  11631. // Footer : False
  11632. // Separator : False
  11633. string v = RepeatInfoUser.DoTest (0, 1, RepeatDirection.Vertical, RepeatLayout.Flow, false, false, false, false);
  11634. string exp = @"<span class=""mainstyle"">(0,Item,0)</span>";
  11635. HtmlDiff.AssertAreEqual (exp, v, "#631");
  11636. }
  11637. [Test]
  11638. public void RepeatInfo_0cols_2itms_vert_flow ()
  11639. {
  11640. // cols : 0
  11641. // cnt : 2
  11642. // RepeatDirection : Vertical
  11643. // RepeatLayout : Flow
  11644. // OuterTableImplied : False
  11645. // Header : False
  11646. // Footer : False
  11647. // Separator : False
  11648. string v = RepeatInfoUser.DoTest (0, 2, RepeatDirection.Vertical, RepeatLayout.Flow, false, false, false, false);
  11649. string exp = @"<span class=""mainstyle"">(0,Item,0)<br />(1,Item,1)</span>";
  11650. HtmlDiff.AssertAreEqual (exp, v, "#632");
  11651. }
  11652. [Test]
  11653. public void RepeatInfo_0cols_5itms_vert_flow ()
  11654. {
  11655. // cols : 0
  11656. // cnt : 5
  11657. // RepeatDirection : Vertical
  11658. // RepeatLayout : Flow
  11659. // OuterTableImplied : False
  11660. // Header : False
  11661. // Footer : False
  11662. // Separator : False
  11663. string v = RepeatInfoUser.DoTest (0, 5, RepeatDirection.Vertical, RepeatLayout.Flow, false, false, false, false);
  11664. 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>";
  11665. HtmlDiff.AssertAreEqual (exp, v, "#633");
  11666. }
  11667. [Test]
  11668. public void RepeatInfo_1cols_0itms_vert_flow ()
  11669. {
  11670. // cols : 1
  11671. // cnt : 0
  11672. // RepeatDirection : Vertical
  11673. // RepeatLayout : Flow
  11674. // OuterTableImplied : False
  11675. // Header : False
  11676. // Footer : False
  11677. // Separator : False
  11678. string v = RepeatInfoUser.DoTest (1, 0, RepeatDirection.Vertical, RepeatLayout.Flow, false, false, false, false);
  11679. string exp = @"<span class=""mainstyle""></span>";
  11680. HtmlDiff.AssertAreEqual (exp, v, "#634");
  11681. }
  11682. [Test]
  11683. public void RepeatInfo_1cols_5itms_vert_flow ()
  11684. {
  11685. // cols : 1
  11686. // cnt : 5
  11687. // RepeatDirection : Vertical
  11688. // RepeatLayout : Flow
  11689. // OuterTableImplied : False
  11690. // Header : False
  11691. // Footer : False
  11692. // Separator : False
  11693. string v = RepeatInfoUser.DoTest (1, 5, RepeatDirection.Vertical, RepeatLayout.Flow, false, false, false, false);
  11694. 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>";
  11695. HtmlDiff.AssertAreEqual (exp, v, "#635");
  11696. }
  11697. [Test]
  11698. public void RepeatInfo_2cols_4itms_vert_flow ()
  11699. {
  11700. // cols : 2
  11701. // cnt : 4
  11702. // RepeatDirection : Vertical
  11703. // RepeatLayout : Flow
  11704. // OuterTableImplied : False
  11705. // Header : False
  11706. // Footer : False
  11707. // Separator : False
  11708. string v = RepeatInfoUser.DoTest (2, 4, RepeatDirection.Vertical, RepeatLayout.Flow, false, false, false, false);
  11709. string exp = @"<span class=""mainstyle"">(0,Item,0)(1,Item,2)<br />(2,Item,1)(3,Item,3)</span>";
  11710. HtmlDiff.AssertAreEqual (exp, v, "#636");
  11711. }
  11712. [Test]
  11713. public void RepeatInfo_2cols_7itms_vert_flow ()
  11714. {
  11715. // cols : 2
  11716. // cnt : 7
  11717. // RepeatDirection : Vertical
  11718. // RepeatLayout : Flow
  11719. // OuterTableImplied : False
  11720. // Header : False
  11721. // Footer : False
  11722. // Separator : False
  11723. string v = RepeatInfoUser.DoTest (2, 7, RepeatDirection.Vertical, RepeatLayout.Flow, false, false, false, false);
  11724. 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>";
  11725. HtmlDiff.AssertAreEqual (exp, v, "#637");
  11726. }
  11727. [Test]
  11728. public void RepeatInfo_3cols_9itms_vert_flow ()
  11729. {
  11730. // cols : 3
  11731. // cnt : 9
  11732. // RepeatDirection : Vertical
  11733. // RepeatLayout : Flow
  11734. // OuterTableImplied : False
  11735. // Header : False
  11736. // Footer : False
  11737. // Separator : False
  11738. string v = RepeatInfoUser.DoTest (3, 9, RepeatDirection.Vertical, RepeatLayout.Flow, false, false, false, false);
  11739. 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>";
  11740. HtmlDiff.AssertAreEqual (exp, v, "#638");
  11741. }
  11742. [Test]
  11743. public void RepeatInfo_3cols_7itms_vert_flow ()
  11744. {
  11745. // cols : 3
  11746. // cnt : 7
  11747. // RepeatDirection : Vertical
  11748. // RepeatLayout : Flow
  11749. // OuterTableImplied : False
  11750. // Header : False
  11751. // Footer : False
  11752. // Separator : False
  11753. string v = RepeatInfoUser.DoTest (3, 7, RepeatDirection.Vertical, RepeatLayout.Flow, false, false, false, false);
  11754. 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>";
  11755. HtmlDiff.AssertAreEqual (exp, v, "#639");
  11756. }
  11757. }
  11758. }
  11759. #endif