harmony-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alexey Petrenko" <alexey.a.petre...@gmail.com>
Subject Re: [jira] Updated: (HARMONY-1392) Different properties are used to run awt and swing tests
Date Mon, 11 Sep 2006 13:05:02 GMT
I think that the focus could be stolen when the test opens new window.
There is also number of tests which are test focus switching...

2006/9/11, Mark Hindess <mark.hindess@googlemail.com>:
>
> On 11 September 2006 at 16:29, "Alexey Petrenko"
> <alexey.a.petrenko@gmail.com> wrote:
> >
> > Mark,
> >
> > I did not get your point...
> > What is the problem with the same property for both awt and swing
> > tests? I understand that we need to set dome property to run them
> > since we got problems with building awt native libraries and do not
> > want them while usual run. But why we need different properties for
> > one task: run "hidden" tests?
>
> I mean that 'with.awt.swing.tests' as it is currently used should
> really be called 'run.tests.that.might.kill.your.xsession' - for me
> at least.
>
> Ideally I'd like to fix the dependency issues and the tests and have no
> extra variables. ;-)
>
> Part of the problem is that I don't really know which tests are
> interfering with my window manager... because when I run the tests I can
> no longer type anything and it doesn't seem to happen 100% of the time
> so my attempt to use a binary chop to find the problematic tests didn't
> work.  I will try to narrow it down again but I was hoping someone who
> knew the code better might have an idea what might cause focus to be
> "stolen" by the tests.
>
> -Mark.
>
> > SY, Alexey
> >
> > 2006/9/11, Mark Hindess <mark.hindess@googlemail.com>:
> > >
> > > Just to explain, if I build and test with 'with.awt.swing=true' then
> > > I don't see any problems with hangs or tests stealing keyboard/mouse
> > > events and effectively killing my window manager.
> > >
> > > The same is *not* true if I set with.awt.swing.tests.
> > >
> > > I should have called the second variable something else, but that is the
> > > reason I used a different variable for the "problematic tests".
> > >
> > > -Mark.
> > >
> > > On 6 September 2006 at 17:23, "Alexey Petrenko"
> > > <alexey.a.petrenko@gmail.com> wrote:
> > > >
> > > > Both solutions are possible.
> > > >
> > > > 2006/9/6, Mikhail Loenko <mloenko@gmail.com>:
> > > > > Is there a reason to have two different options for classes and for
tes
> > ts?
> > > > >
> > > > > Why not have -Dwith.awt.swing for both?
> > > > >
> > > > > Thanks,
> > > > > Mikhail
> > > > >
> > > > > 2006/9/6, Alexey Petrenko (JIRA) <jira@apache.org>:
> > > > > >     [ http://issues.apache.org/jira/browse/HARMONY-1392?page=all
]
> > > > > >
> > > > > > Alexey Petrenko updated HARMONY-1392:
> > > > > > -------------------------------------
> > > > > >
> > > > > >    Attachment: HARMONY-1392.diff
> > > > > >
> > > > > > > Different properties are used to run awt and swing tests
> > > > > > > --------------------------------------------------------
> > > > > > >
> > > > > > >                 Key: HARMONY-1392
> > > > > > >                 URL: http://issues.apache.org/jira/browse/HARMONY-1
> > 392
> > > > > > >             Project: Harmony
> > > > > > >          Issue Type: Bug
> > > > > > >          Components: Classlib
> > > > > > >            Reporter: Alexey Petrenko
> > > > > > >         Attachments: HARMONY-1392.diff
> > > > > > >
> > > > > > >
> > > > > > > We need to set different properties to run awt and swing
tests. And
> >  thi
> > > > s is wrong.
> > > > > > > I suggest set with.awt.swing.tests property as for awt.
> > > > > > > I'll prepare the patch shortly
> > > > > >
> > > > > > --
> > > > > > This message is automatically generated by JIRA.
> > > > > > -
> > > > > > If you think it was sent incorrectly contact one of the administrator
> > s: h
> > > > ttp://issues.apache.org/jira/secure/Administrators.jspa
> > > > > > -
> > > > > > For more information on JIRA, see: http://www.atlassian.com/software/
> > jira
> > > > > >
> > > > > >
> > > > > >
> > > > >
> > > > > ---------------------------------------------------------------------
> > > > > Terms of use : http://incubator.apache.org/harmony/mailing.html
> > > > > To unsubscribe, e-mail: harmony-dev-unsubscribe@incubator.apache.org
> > > > > For additional commands, e-mail: harmony-dev-help@incubator.apache.org
> > > > >
> > > > >
> > > >
> > > >
> > > > --
> > > > Alexey A. Petrenko
> > > > Intel Middleware Products Division
> > > >
> > > > ---------------------------------------------------------------------
> > > > Terms of use : http://incubator.apache.org/harmony/mailing.html
> > > > To unsubscribe, e-mail: harmony-dev-unsubscribe@incubator.apache.org
> > > > For additional commands, e-mail: harmony-dev-help@incubator.apache.org
> > >
> > >
> > >
> > > ---------------------------------------------------------------------
> > > Terms of use : http://incubator.apache.org/harmony/mailing.html
> > > To unsubscribe, e-mail: harmony-dev-unsubscribe@incubator.apache.org
> > > For additional commands, e-mail: harmony-dev-help@incubator.apache.org
> > >
> > >
> >
> >
> > --
> > Alexey A. Petrenko
> > Intel Middleware Products Division
> >
> > ---------------------------------------------------------------------
> > Terms of use : http://incubator.apache.org/harmony/mailing.html
> > To unsubscribe, e-mail: harmony-dev-unsubscribe@incubator.apache.org
> > For additional commands, e-mail: harmony-dev-help@incubator.apache.org
>
>
>
> ---------------------------------------------------------------------
> Terms of use : http://incubator.apache.org/harmony/mailing.html
> To unsubscribe, e-mail: harmony-dev-unsubscribe@incubator.apache.org
> For additional commands, e-mail: harmony-dev-help@incubator.apache.org
>
>


-- 
Alexey A. Petrenko
Intel Middleware Products Division

---------------------------------------------------------------------
Terms of use : http://incubator.apache.org/harmony/mailing.html
To unsubscribe, e-mail: harmony-dev-unsubscribe@incubator.apache.org
For additional commands, e-mail: harmony-dev-help@incubator.apache.org


Mime
View raw message