The Trunk: CollectionsTests-fn.278.mcz

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

The Trunk: CollectionsTests-fn.278.mcz

commits-2
Tobias Pape uploaded a new version of CollectionsTests to project The Trunk:
http://source.squeak.org/trunk/CollectionsTests-fn.278.mcz

==================== Summary ====================

Name: CollectionsTests-fn.278
Author: fn
Time: 7 March 2017, 10:51:12.161431 am
UUID: 7d89cf7a-4cea-4ad9-98e0-ba174fc6b622
Ancestors: CollectionsTests-ul.277, CollectionsTests-fn.268

HtmlReadWriterTest: Add tests for style attributes in div and span containers and numberic HTML entities.

=============== Diff against CollectionsTests-ul.277 ===============

Item was added:
+ ----- Method: HtmlReadWriterTest>>test13SpanTag (in category 'tests') -----
+ test13SpanTag
+
+ {
+ '<span style="width: 100px;color:#FFFF00; font-style: bold; font-size: 10px">Hello, World!!</span>'.
+ 'Hello, World!!' asText
+ addAttribute: (TextColor color: Color yellow);
+ addAttribute: (TextEmphasis bold).
+ } pairsDo: [:expectedHtml :expectedText |
+
+ self convertHtml: expectedHtml.
+ self assert: expectedText string equals: text string.
+ self assert: expectedText runs equals: text runs]!

Item was added:
+ ----- Method: HtmlReadWriterTest>>test14NumericalHtmlEntities (in category 'tests') -----
+ test14NumericalHtmlEntities
+
+ {
+ '&#46;&#x00021;'.
+ '.!!' asText.
+ } pairsDo: [:expectedHtml :expectedText |
+
+ self convertHtml: expectedHtml.
+ self assert: expectedText string equals: text string]!