[squeak-dev] The Trunk: CollectionsTests-fn.278.mcz
commits at source.squeak.org
commits at source.squeak.org
Fri Mar 10 19:27:48 UTC 2017
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
+
+ {
+ '.!'.
+ '.!!' asText.
+ } pairsDo: [:expectedHtml :expectedText |
+
+ self convertHtml: expectedHtml.
+ self assert: expectedText string equals: text string]!
More information about the Squeak-dev
mailing list
|