Changeset 7794


Ignore:
Timestamp:
06/14/10 18:13:54 (2 years ago)
Author:
MichaelTempest
Message:

Item9148: The test failed... because the test was faulty. Adding newlines to this HTML is the same as adding spaces, and space+nbsp is not the same as nbsp, so _of course_ that affects the spacing in the TML.

Removing the test because it does not add anything over and above the coverage provided by the preceding test.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/WysiwygPlugin/test/unit/WysiwygPlugin/BrowserTranslatorTests.pm

    r7755 r7794  
    193193        html => <<'HERE', 
    194194<p><span class="WYSIWYG_PROTECTED">%JQPLUGINS{"scrollto"<br />&nbsp;&nbsp;format="<br />&nbsp;&nbsp;&nbsp;&nbsp;Homepage:&nbsp;$homepage&nbsp;&lt;br&nbsp;/&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;Author(s):&nbsp;$author&nbsp;&lt;br&nbsp;/&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;Version:&nbsp;$version<br />&nbsp;&nbsp;"<br />}%</span></p> 
    195 HERE 
    196     }, 
    197     { 
    198         name => "brTagInMacroFormatNewlinesInHtml", 
    199         exec => $TranslatorBase::HTML2TML, 
    200         tml  => <<'HERE', 
    201 %JQPLUGINS{"scrollto" 
    202   format=" 
    203     Homepage: $homepage <br /> 
    204     Author(s): $author <br /> 
    205     Version: $version 
    206   " 
    207 }% 
    208 HERE 
    209         html => <<'HERE', 
    210 <p> 
    211 <span class="WYSIWYG_PROTECTED">%JQPLUGINS{"scrollto"<br /> 
    212 &nbsp;&nbsp;format="<br /> 
    213 &nbsp;&nbsp;&nbsp;&nbsp;Homepage:&nbsp;$homepage&nbsp;&lt;br&nbsp;/&gt;<br /> 
    214 &nbsp;&nbsp;&nbsp;&nbsp;Author(s):&nbsp;$author&nbsp;&lt;br&nbsp;/&gt;<br /> 
    215 &nbsp;&nbsp;&nbsp;&nbsp;Version:&nbsp;$version<br /> 
    216 &nbsp;&nbsp;"<br /> 
    217 }%</span> 
    218 </p> 
    219195HERE 
    220196    }, 
Note: See TracChangeset for help on using the changeset viewer.