2017-03-04 21:32 GMT+09:00 Bram Moolenaar <[email protected]>:

>
> Kazunobu Kuriyama wrote:
>
> > 2017-03-01 23:07 GMT+09:00 Bram Moolenaar <[email protected]>:
> >
> > >
> > > Patch 8.0.0392
> > > Problem:    GUI test fails with Athena and Motif.
> > > Solution:   Add test_ignore_error().  Use it to ignore the "failed to
> > > create
> > >             input context" error.
> > > Files:      src/message.c, src/proto/message.pro, src/evalfunc.c,
> > >             src/testdir/test_gui.vim, runtime/doc/eval.txt
> > >
> >
> > Bram,
> >
> > Thank you for taking this into consideration.  That will make much easier
> > writing tests for the Athena and Motif GUIs.
> >
> > Trying the patch with XIM-enabled Athena and Motif builds, I found that
> > some additional modifications are suitable for making the tests better.
> > The attached patch is for that.
>
> Thanks.
>
> > Also, in order not to stop the sequence of the tests (Even after
> including
> > my patch, we need to click the dialog button to resume the test
> > sequence), I think we need to suppress popping up a dialog warning the
> > error.  I'll try to write a patch for that tomorrow if you don't have a
> > plan to do that.
>
> You mean to not use the dialog at all?  I suppose that is useful to
> avoid the test to get stuck.
>

I meant to not use the dialog until the day we establish a way to test GUI
in action.  Once a dialog pops up, it grabs the pointer, and hence the test
which is being executed is suspended until the user clicks the OK or the
Cancel button because we have no way for now to send a (synthesized) button
press event to the dialog.  Probably, some people might be puzzled about
what to do with the dialog suddenly popping up before them and don't know
which button, OK or Cancel, they should click to continue the test normally.


> --
> A fine is a tax for doing wrong.  A tax is a fine for doing well.
>
>  /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net
>  \\\
> ///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/
> \\\
> \\\  an exciting new programming language -- http://www.Zimbu.org
> ///
>  \\\            help me help AIDS victims -- http://ICCF-Holland.org
> ///
>

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Raspunde prin e-mail lui