[squeak-dev] The Trunk: NetworkTests-tonyg.24.mcz

commits at source.squeak.org commits at source.squeak.org
Tue Sep 13 19:36:57 UTC 2011


Nicolas Cellier uploaded a new version of NetworkTests to project The Trunk:
http://source.squeak.org/trunk/NetworkTests-tonyg.24.mcz

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

Name: NetworkTests-tonyg.24
Author: tonyg
Time: 12 September 2011, 9:31:08.83 am
UUID: 601d24e1-1caa-4e24-a466-97730972c0e0
Ancestors: NetworkTests-ar.23

Test case for Network-tonyg.119, which avoids printing fractional seconds into an email "Date:" header, since the RFC forbids non-integer seconds in dates.

=============== Diff against NetworkTests-ar.23 ===============

Item was added:
+ TestCase subclass: #MailMessageTest
+ 	instanceVariableNames: ''
+ 	classVariableNames: ''
+ 	poolDictionaries: ''
+ 	category: 'NetworkTests-RFC822'!
+ 
+ !MailMessageTest commentStamp: 'tonyg 9/12/2011 09:17' prior: 0!
+ This is the unit test for the class MailMessage.!

Item was added:
+ ----- Method: MailMessageTest>>testDateStampFractionalSecondFormatting (in category 'as yet unclassified') -----
+ testDateStampFractionalSecondFormatting
+ 	self assert: (MailMessage dateStamp: (DateAndTime fromSeconds: 1.234))
+ 		equals: 'Tue, 1 Jan 1901 00:00:01'!




More information about the Squeak-dev mailing list