[squeak-dev] The Trunk: NetworkTests-pre.49.mcz

commits at source.squeak.org commits at source.squeak.org
Tue Jun 6 13:00:26 UTC 2017


Patrick Rein uploaded a new version of NetworkTests to project The Trunk:
http://source.squeak.org/trunk/NetworkTests-pre.49.mcz

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

Name: NetworkTests-pre.49
Author: pre
Time: 6 June 2017, 3:00:19.802961 pm
UUID: c4fca3ff-54a1-4276-bad9-cd50d3071725
Ancestors: NetworkTests-smalltalkCI.48

Adds a test checking for the new date and dateString interface of MailMessage

=============== Diff against NetworkTests-smalltalkCI.48 ===============

Item was added:
+ ----- Method: MailMessageTest>>testDateAndDateString (in category 'testing') -----
+ testDateAndDateString
+ 
+ 	| newMail |
+ 	newMail := MailMessage from: 'From: Al Gore <vicepresident at whitehouse.gov>
+ To: White House Transportation Coordinator <transport at whitehouse.gov>
+ Subject: [Map of a country]
+ Date: Mon, 12 Aug 2002 17:42:00 +0000
+ 
+ there is a country map in this mail somewhere'.
+ 
+ 	self assert: (DateAndTime year: 2002 month: 8 day: 12 hour: 17 minute: 42) equals: newMail date.
+ 	self assert: '8/12/02' equals: newMail dateString.!



More information about the Squeak-dev mailing list