[squeak-dev] The Inbox: CollectionsTests-fn.278.mcz

H. Hirzel hannes.hirzel at gmail.com
Tue Mar 7 10:31:58 UTC 2017


I wonder where the

   width: 100px

attribute comes from in the first test case....

--Hannes

On Tue, 7 Mar 2017 09:51:14 0000, commits at source.squeak.org
<commits at source.squeak.org> wrote:
> Fabio Niephaus uploaded a new version of CollectionsTests to project The
> Inbox:
> http://source.squeak.org/inbox/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
> +
> + 	{
> + 		'.&#x00021;'.
> + 		'.!!' asText.
> + 	} pairsDo: [:expectedHtml :expectedText |
> + 		
> + 		self convertHtml: expectedHtml.
> + 		self assert: expectedText string equals: text string]!
>
>
>


More information about the Squeak-dev mailing list