On Mar 26, 2010, at 22:11 , laurent laffont wrote:

[...]

> Fun story: if you don't have SecurityPlugin, LocaleTest>>testFontFullName
> deletes your image :)

WTF?! That's exactly what happened to me some time ago. I lost a lot of images 
that were stored in the same folder like the image. Let's get rid of this test.

I created issue http://code.google.com/p/pharo/issues/detail?id=2215

Adrian 

> testFontFullName
> "self debug: #testFontFullName"
> | env dir |
> env := (Locale isoLanguage: 'ja') languageEnvironment.
> dir := FileDirectory on: SecurityManager default untrustedUserDirectory.
> [dir recursiveDelete]   <-------------- Cool !!
> on: Error
> do: [:e | e].
> env fontFullName.
> self assert: dir exists
> 
> 
> Cheers,
> 
> Laurent Laffont
> _______________________________________________
> Pharo-project mailing list
> [email protected]
> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project


_______________________________________________
Pharo-project mailing list
[email protected]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project

Reply via email to