[Pkg] The Trunk: NetworkTests-dtl.30.mcz

commits at source.squeak.org commits at source.squeak.org
Mon Jun 18 23:26:13 UTC 2012


David T. Lewis uploaded a new version of NetworkTests to project The Trunk:
http://source.squeak.org/trunk/NetworkTests-dtl.30.mcz

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

Name: NetworkTests-dtl.30
Author: dtl
Time: 18 June 2012, 7:25:58.497 pm
UUID: d8c8c0b7-1d62-43e4-99a3-162ef830471d
Ancestors: NetworkTests-ul.27

When comparing remoteAddress to #[0 0 0 0] ensure that remoteAddress is a ByteArray. Required for SocketAddress upcoming network updates, no effect on tests when running current Network code.

=============== Diff against NetworkTests-ul.27 ===============

Item was changed:
  ----- Method: SocketTest>>testRemoteAddress (in category 'tests') -----
  testRemoteAddress
  	"Tests the various remoteAddress values for sockets"
  
  	self testServerAccept.
+ 	self assert: listenerSocket remoteAddress asByteArray = #[0 0 0 0].
- 	self assert: listenerSocket remoteAddress = #[0 0 0 0].
  	self assert: clientSocket remoteAddress = self listenerAddress.
  	self assert: serverSocket remoteAddress = self listenerAddress.
  !



More information about the Packages mailing list