HostWindowTests>>testOne is failing in Windows

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

HostWindowTests>>testOne is failing in Windows

Mariano Martinez Peck
Hi adrian: I run all Pharo core tests in a Windows box and I get only one failure and 18 expected failures :)

The only failure is HostWindowTests>>testOne. The assert with problem is:

    self
        shouldnt: [ hwindow open ]
        raise: Error.


And the error raised is 'My subclass should have overridden #defaultWindowType'

This is because in  DisplayHostWindow>>open

windowProxy is a  HostWindowProxy and this class, the implementation of defaultWindowType is:

defaultWindowType
"set up my attributes to be a default window - a titlebar, usual decorations etc"
    ^self subclassResponsibility

I opened a bug ticket: http://code.google.com/p/pharo/issues/detail?id=1338

Best,

Mariano

_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
Reply | Threaded
Open this post in threaded view
|

Re: HostWindowTests>>testOne is failing in Windows

Mariano Martinez Peck
Thanks everybody. There is a fix in the inbox. See http://code.google.com/p/pharo/issues/detail?id=1338 for details.

On Mon, Oct 19, 2009 at 2:57 PM, Mariano Martinez Peck <[hidden email]> wrote:
Hi adrian: I run all Pharo core tests in a Windows box and I get only one failure and 18 expected failures :)

The only failure is HostWindowTests>>testOne. The assert with problem is:

    self
        shouldnt: [ hwindow open ]
        raise: Error.


And the error raised is 'My subclass should have overridden #defaultWindowType'

This is because in  DisplayHostWindow>>open

windowProxy is a  HostWindowProxy and this class, the implementation of defaultWindowType is:

defaultWindowType
"set up my attributes to be a default window - a titlebar, usual decorations etc"
    ^self subclassResponsibility

I opened a bug ticket: http://code.google.com/p/pharo/issues/detail?id=1338

Best,

Mariano


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