[squeak-dev] The Trunk: NetworkTests-pre.45.mcz
Eliot Miranda
eliot.miranda at gmail.com
Fri Apr 21 01:38:28 UTC 2017
On Thu, Apr 20, 2017 at 6:19 AM, Levente Uzonyi <leves at caesar.elte.hu>
wrote:
> On Thu, 20 Apr 2017, commits at source.squeak.org wrote:
>
> Patrick Rein uploaded a new version of NetworkTests to project The Trunk:
>> http://source.squeak.org/trunk/NetworkTests-pre.45.mcz
>>
>> ==================== Summary ====================
>>
>> Name: NetworkTests-pre.45
>> Author: pre
>> Time: 20 April 2017, 11:39:29.736994 am
>> UUID: f3a657ab-0881-7449-bd72-8205a337f9ba
>> Ancestors: NetworkTests-tonyg.44
>>
>> Adds a TestCase for testing whether the charset is respected when reading
>> in MIMEDocuments
>>
>> =============== Diff against NetworkTests-tonyg.44 ===============
>>
>> Item was added:
>> + ClassTestCase subclass: #MIMEDocumentTest
>> + instanceVariableNames: ''
>> + classVariableNames: ''
>> + poolDictionaries: ''
>> + category: 'NetworkTests-Url'!
>>
>> Item was added:
>> + ----- Method: MIMEDocumentTest>>testUtf8Text (in category 'as yet
>> unclassified') -----
>> + testUtf8Text
>> + + | document |
>> + document := MIMEDocument contentType: 'text/plain;
>> charset="utf8"' content: self utf8String.
>> + self assert: self utf8String utf8ToSqueak equals: document
>> content !
>>
>> Item was added:
>> + ----- Method: MIMEDocumentTest>>utf8String (in category 'as yet
>> unclassified') -----
>> + utf8String
>> + + ^ (ByteArray newFrom: #(199 161 84 83 67 72)) asString!
>>
>
> Did you mean #[199 161 84 83 67 72] asString?
>
+1
--
_,,,^..^,,,_
best, Eliot
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20170420/4eef3407/attachment.html>
More information about the Squeak-dev
mailing list
|