[Seaside-dev] Issue 27 in seaside: Test results depend on hashing

codesite-noreply at google.com codesite-noreply at google.com
Fri Mar 7 07:28:26 UTC 2008


Issue 27: Test results depend on hashing
http://code.google.com/p/seaside/issues/detail?id=27

New issue report by luisa.lualdi:
The result of #testLinkElement may have "aural, tty" or "tty, aural" media
depending on the whims of hashing on a dialect or platform.

Fixed with this changeset (which just adds an #asSortedCollection call).

!WALinkElement methodsFor: 'media'!

addMedia: aString [
        | media |
        media := (((attributes at: 'media' ifAbsent: ['']) findTokens: $,)
                    collect: [:each | each trimSeparators]) asSet.
        media add: aString.
        self media: (String streamContents:
                [:stream | media asSortedCollection do: [:each | stream
nextPutAll: each]
                            separatedBy: [stream nextPutAll: ', ']])
! !



Issue attributes:
	Status: New
	Owner: ----
	Labels: Type-Defect Priority-Medium

-- 
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings


More information about the seaside-dev mailing list