Ignore:
Timestamp:
12/08/08 05:12:51 (3 years ago)
Author:
ArthurClemens
Message:

Item113: fix couple of unit tests

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/EditTablePlugin/test/unit/EditTablePlugin/EditTablePluginTests.pm

    r1206 r1209  
    308308<table cellspacing="0" id="table1" cellpadding="0" class="foswikiTable" rules="cols" border="1"> 
    309309        <tbody> 
    310                 <tr class="foswikiTableOdd twikiTableRowdataBgSorted0 twikiTableRowdataBg0"> 
    311                         <td bgcolor="#ffffff" valign="top" class="twikiTableCol0 foswikiFirstCol"> <span class="et_rowlabel">0<input type="hidden" name="etcell1x1" value="0" /></span> </td> 
    312                         <td bgcolor="#ffffff" valign="top" class="twikiTableCol1 foswikiLastCol"> <input class="foswikiInputField editTableInput" type="text" name="etcell1x2" size="10" value="test1" /> </td> 
     310                <tr class="foswikiTableOdd foswikiTableRowdataBgSorted0 foswikiTableRowdataBg0"> 
     311                        <td bgcolor="#ffffff" valign="top" class="foswikiTableCol0 foswikiFirstCol"> <span class="et_rowlabel">0<input type="hidden" name="etcell1x1" value="0" /></span> </td> 
     312                        <td bgcolor="#ffffff" valign="top" class="foswikiTableCol1 foswikiLastCol"> <input class="foswikiInputField editTableInput" type="text" name="etcell1x2" size="10" value="test1" /> </td> 
    313313                </tr> 
    314                 <tr class="foswikiTableEven twikiTableRowdataBgSorted1 twikiTableRowdataBg1"> 
    315                         <td bgcolor="#f2f3f6" valign="top" class="twikiTableCol0 foswikiFirstCol"> <span class="et_rowlabel">1<input type="hidden" name="etcell2x1" value="1" /></span> </td> 
    316                         <td bgcolor="#f2f3f6" valign="top" class="twikiTableCol1 foswikiLastCol"> <input class="foswikiInputField editTableInput" type="text" name="etcell2x2" size="10" value="test2" /> </td> 
     314                <tr class="foswikiTableEven foswikiTableRowdataBgSorted1 foswikiTableRowdataBg1"> 
     315                        <td bgcolor="#f2f3f6" valign="top" class="foswikiTableCol0 foswikiFirstCol"> <span class="et_rowlabel">1<input type="hidden" name="etcell2x1" value="1" /></span> </td> 
     316                        <td bgcolor="#f2f3f6" valign="top" class="foswikiTableCol1 foswikiLastCol"> <input class="foswikiInputField editTableInput" type="text" name="etcell2x2" size="10" value="test2" /> </td> 
    317317                </tr> 
    318                 <tr class="foswikiTableOdd twikiTableRowdataBgSorted0 twikiTableRowdataBg0"> 
    319                         <td bgcolor="#ffffff" valign="top" class="twikiTableCol0 foswikiFirstCol"> <span class="et_rowlabel">2<input type="hidden" name="etcell3x1" value="2" /></span> </td> 
    320                         <td bgcolor="#ffffff" valign="top" class="twikiTableCol1 foswikiLastCol"> <input class="foswikiInputField editTableInput" type="text" name="etcell3x2" size="10" value="test3" /> </td> 
     318                <tr class="foswikiTableOdd foswikiTableRowdataBgSorted0 foswikiTableRowdataBg0"> 
     319                        <td bgcolor="#ffffff" valign="top" class="foswikiTableCol0 foswikiFirstCol"> <span class="et_rowlabel">2<input type="hidden" name="etcell3x1" value="2" /></span> </td> 
     320                        <td bgcolor="#ffffff" valign="top" class="foswikiTableCol1 foswikiLastCol"> <input class="foswikiInputField editTableInput" type="text" name="etcell3x2" size="10" value="test3" /> </td> 
    321321                </tr> 
    322                 <tr class="foswikiTableEven twikiTableRowdataBgSorted1 twikiTableRowdataBg1"> 
    323                         <td bgcolor="#f2f3f6" valign="top" class="twikiTableCol0 foswikiFirstCol foswikiLast"> <span class="et_rowlabel">3<input type="hidden" name="etcell4x1" value="3" /></span> </td> 
    324                         <td bgcolor="#f2f3f6" valign="top" class="twikiTableCol1 foswikiLastCol foswikiLast"> <input class="foswikiInputField editTableInput" type="text" name="etcell4x2" size="10" value="init" /> </td> 
     322                <tr class="foswikiTableEven foswikiTableRowdataBgSorted1 foswikiTableRowdataBg1"> 
     323                        <td bgcolor="#f2f3f6" valign="top" class="foswikiTableCol0 foswikiFirstCol foswikiLast"> <span class="et_rowlabel">3<input type="hidden" name="etcell4x1" value="3" /></span> </td> 
     324                        <td bgcolor="#f2f3f6" valign="top" class="foswikiTableCol1 foswikiLastCol foswikiLast"> <input class="foswikiInputField editTableInput" type="text" name="etcell4x2" size="10" value="init" /> </td> 
    325325                </tr> 
    326326        </tbody></table> 
     
    426426<table cellspacing="0" id="table1" cellpadding="0" class="foswikiTable" rules="cols" border="1"> 
    427427        <tbody> 
    428                 <tr class="foswikiTableOdd twikiTableRowdataBgSorted0 twikiTableRowdataBg0"> 
    429                         <td bgcolor="#ffffff" valign="top" class="twikiTableCol0 foswikiFirstCol foswikiLast"> <select class="foswikiSelect" name="etcell1x1" size="1"> <option>a</option> <option>b</option> <option selected="selected">c</option> <option>d</option></select> </td> 
    430                         <td bgcolor="#ffffff" valign="top" class="twikiTableCol1 foswikiLast"> <select class="foswikiSelect" name="etcell1x2" size="1"> <option>a</option> <option>b</option> <option selected="selected">c</option> <option>d</option></select> </td> 
    431                         <td bgcolor="#ffffff" valign="top" class="twikiTableCol2 foswikiLast"> <select class="foswikiSelect" name="etcell1x3" size="1 "> <option>a </option> <option>b</option> <option selected="selected">c</option> <option>d</option></select> </td> 
    432                         <td bgcolor="#ffffff" valign="top" class="twikiTableCol3 foswikiLastCol foswikiLast"> <select class="foswikiSelect" name="etcell1x4" size="1 "> <option>a </option> <option>b </option> <option selected="selected">c </option> <option>d</option></select> </td> 
     428                <tr class="foswikiTableOdd foswikiTableRowdataBgSorted0 foswikiTableRowdataBg0"> 
     429                        <td bgcolor="#ffffff" valign="top" class="foswikiTableCol0 foswikiFirstCol foswikiLast"> <select class="foswikiSelect" name="etcell1x1" size="1"> <option>a</option> <option>b</option> <option selected="selected">c</option> <option>d</option></select> </td> 
     430                        <td bgcolor="#ffffff" valign="top" class="foswikiTableCol1 foswikiLast"> <select class="foswikiSelect" name="etcell1x2" size="1"> <option>a</option> <option>b</option> <option selected="selected">c</option> <option>d</option></select> </td> 
     431                        <td bgcolor="#ffffff" valign="top" class="foswikiTableCol2 foswikiLast"> <select class="foswikiSelect" name="etcell1x3" size="1 "> <option>a </option> <option>b</option> <option selected="selected">c</option> <option>d</option></select> </td> 
     432                        <td bgcolor="#ffffff" valign="top" class="foswikiTableCol3 foswikiLastCol foswikiLast"> <select class="foswikiSelect" name="etcell1x4" size="1 "> <option>a </option> <option>b </option> <option selected="selected">c </option> <option>d</option></select> </td> 
    433433                </tr> 
    434434        </tbody> 
     
    490490<table cellspacing="0" id="table1" cellpadding="0" class="foswikiTable" rules="cols" border="1"> 
    491491        <tbody> 
    492                 <tr class="foswikiTableOdd twikiTableRowdataBgSorted0 twikiTableRowdataBg0"> 
    493                         <td bgcolor="#ffffff" valign="top" class="twikiTableCol0 foswikiFirstCol foswikiLast"> <table class="editTableInnerTable"><tr><td valign="top"> <input type="radio" name="etcell1x1" value=":skull:" /> <img src="$pubPathSystemWeb/SmiliesPlugin/skull.gif" alt="dead!" title="dead!" border="0" /> <br /> <input type="radio" name="etcell1x1" value=":cool:" /> <img src="$pubPathSystemWeb/SmiliesPlugin/cool.gif" alt="cool!" title="cool!" border="0" /> </td></tr></table> </td> 
    494                         <td bgcolor="#ffffff" valign="top" class="twikiTableCol1 foswikiLastCol foswikiLast"> <table class="editTableInnerTable"><tr><td valign="top"> <input type="checkbox" name="etcell1x2x2" value=":skull:" checked="checked" /> <img src="$pubPathSystemWeb/SmiliesPlugin/skull.gif" alt="dead!" title="dead!" border="0" /> <br /> <input type="checkbox" name="etcell1x2x3" value=":cool:" checked="checked" /> <img src="$pubPathSystemWeb/SmiliesPlugin/cool.gif" alt="cool!" title="cool!" border="0" /> </td></tr></table><input type="hidden" name="etcell1x2" value="Chkbx: etcell1x2x2 etcell1x2x3" /> </td> 
     492                <tr class="foswikiTableOdd foswikiTableRowdataBgSorted0 foswikiTableRowdataBg0"> 
     493                        <td bgcolor="#ffffff" valign="top" class="foswikiTableCol0 foswikiFirstCol foswikiLast"> <table class="editTableInnerTable"><tr><td valign="top"> <input type="radio" name="etcell1x1" value=":skull:" /> <img src="$pubPathSystemWeb/SmiliesPlugin/skull.gif" alt="dead!" title="dead!" border="0" /> <br /> <input type="radio" name="etcell1x1" value=":cool:" /> <img src="$pubPathSystemWeb/SmiliesPlugin/cool.gif" alt="cool!" title="cool!" border="0" /> </td></tr></table> </td> 
     494                        <td bgcolor="#ffffff" valign="top" class="foswikiTableCol1 foswikiLastCol foswikiLast"> <table class="editTableInnerTable"><tr><td valign="top"> <input type="checkbox" name="etcell1x2x2" value=":skull:" checked="checked" /> <img src="$pubPathSystemWeb/SmiliesPlugin/skull.gif" alt="dead!" title="dead!" border="0" /> <br /> <input type="checkbox" name="etcell1x2x3" value=":cool:" checked="checked" /> <img src="$pubPathSystemWeb/SmiliesPlugin/cool.gif" alt="cool!" title="cool!" border="0" /> </td></tr></table><input type="hidden" name="etcell1x2" value="Chkbx: etcell1x2x2 etcell1x2x3" /> </td> 
    495495                </tr> 
    496496        </tbody> 
     
    546546<table cellspacing="0" id="table1" cellpadding="0" class="foswikiTable" rules="cols" border="1"> 
    547547        <tbody> 
    548                 <tr class="foswikiTableOdd twikiTableRowdataBgSorted0 twikiTableRowdataBg0"> 
    549                         <td bgcolor="#ffffff" valign="top" class="twikiTableCol0 foswikiFirstCol foswikiLast"> <img src="%PUBURLPATH%/%SYSTEMWEB%/DocumentGraphics/choice-yes.gif" alt="DONE" title="DONE" width="16" height="16" border="0" /> </td> 
    550                         <td bgcolor="#ffffff" valign="top" class="twikiTableCol1 foswikiLastCol foswikiLast"> <a href="$viewUrl" class="foswikiCurrentTopicLink foswikiLink">$topicName</a> </td> 
     548                <tr class="foswikiTableOdd foswikiTableRowdataBgSorted0 foswikiTableRowdataBg0"> 
     549                        <td bgcolor="#ffffff" valign="top" class="foswikiTableCol0 foswikiFirstCol foswikiLast"> <img src="%PUBURLPATH%/%SYSTEMWEB%/DocumentGraphics/choice-yes.gif" alt="DONE" title="DONE" width="16" height="16" border="0" /> </td> 
     550                        <td bgcolor="#ffffff" valign="top" class="foswikiTableCol1 foswikiLastCol foswikiLast"> <a href="$viewUrl" class="foswikiCurrentTopicLink">$topicName</a> </td> 
    551551                </tr> 
    552552        </tbody> 
     
    600600<table cellspacing="0" id="table1" cellpadding="0" class="foswikiTable" rules="cols" border="1"> 
    601601        <tbody> 
    602                 <tr class="foswikiTableOdd twikiTableRowdataBgSorted0 twikiTableRowdataBg0"> 
    603                         <td bgcolor="#ffffff" valign="top" class="twikiTableCol0 foswikiFirstCol foswikiLast"> <input class="foswikiInputField editTableInput" type="text" name="etcell1x1" size="30" value="%Y%" /> </td> 
    604                         <td bgcolor="#ffffff" valign="top" class="twikiTableCol1 foswikiLastCol foswikiLast"> <input class="foswikiInputField editTableInput" type="text" name="etcell1x2" size="30" value="%TOPIC%" /> </td> 
     602                <tr class="foswikiTableOdd foswikiTableRowdataBgSorted0 foswikiTableRowdataBg0"> 
     603                        <td bgcolor="#ffffff" valign="top" class="foswikiTableCol0 foswikiFirstCol foswikiLast"> <input class="foswikiInputField editTableInput" type="text" name="etcell1x1" size="30" value="%Y%" /> </td> 
     604                        <td bgcolor="#ffffff" valign="top" class="foswikiTableCol1 foswikiLastCol foswikiLast"> <input class="foswikiInputField editTableInput" type="text" name="etcell1x2" size="30" value="%TOPIC%" /> </td> 
    605605                </tr> 
    606606        </tbody>         
     
    965965<table cellspacing="0" id="table1" cellpadding="0" class="foswikiTable" rules="cols" border="1"> 
    966966        <tbody> 
    967                 <tr class="foswikiTableOdd twikiTableRowdataBgSorted0 twikiTableRowdataBg0"> 
    968                         <td bgcolor="#ffffff" valign="top" class="twikiTableCol0 foswikiFirstCol foswikiLastCol foswikiLast"> blablabla <br /> there's still a bug <br /> lurking around <br /> <em>italic</em> <br /> <strong>bold</strong> </td> 
     967                <tr class="foswikiTableOdd foswikiTableRowdataBgSorted0 foswikiTableRowdataBg0"> 
     968                        <td bgcolor="#ffffff" valign="top" class="foswikiTableCol0 foswikiFirstCol foswikiLastCol foswikiLast"> blablabla <br /> there's still a bug <br /> lurking around <br /> <em>italic</em> <br /> <strong>bold</strong> </td> 
    969969                </tr> 
    970970        </tbody></table> 
Note: See TracChangeset for help on using the changeset viewer.