SUnitToo(ls) affects sorting of classes in the navigator

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

SUnitToo(ls) affects sorting of classes in the navigator

Boris Popov, DeepCove Labs (SNN)

I don’t know if anyone else is bothered by occasional out-of-order classes in the browser when SUnitToo(ls) is loaded, but it caught me off-guard a few times now (looking for class that’s placed elsewhere in the list), so here goes,

 

 

The culprit is in,

 

ObjectNameWrapper >> < anObjectNameWrapper

  ^self sortString < anObjectNameWrapper sortString

 

sortString

"Inject a space between a 'Test' suffix and it's root. When used as a sorting key, this causes the Test to come right after the original root in any normal case"

[…]

 

Now, I understand the intent for those that strictly follow ClassName + ClassNameTest convention, but it doesn’t apply to our codebase. I’m happy with a local override, but consider this a wish list item for the future.

 

Regards,

 

-Boris

 

--

DeepCove Labs Ltd.

+1 (604) 689-0322

4th floor, 595 Howe Street

Vancouver, British Columbia

Canada V6C 2T5

http://tinyurl.com/r7uw4

 

PacNet Services (Europe) Ltd.

+353 (0)61 714-360

Shannon Airport House, SFZ

County Clare, Ireland

http://tinyurl.com/y952amr

 

CONFIDENTIALITY NOTICE

 

This email is intended only for the persons named in the message header. Unless otherwise indicated, it contains information that is private and confidential. If you have received it in error, please notify the sender and delete the entire message including any attachments.

 

Thank you.

 


_______________________________________________
vwnc mailing list
[hidden email]
http://lists.cs.uiuc.edu/mailman/listinfo/vwnc