Hi Ryan,
I've created an issue for that.
https://github.com/TestFX/TestFX/issues/231
Will try you example out.
--Benjamin
On Tue, Sep 29, 2015 at 2:58 AM, Ryan Jaeb wrote:
> Hi Benjamin,
>
> Yes, it's a NoNodesFoundException using TestFX 3.1.2.
>
> As far as I know, using firePulse() is the o
Hi Benjamin,
Yes, it's a NoNodesFoundException using TestFX 3.1.2.
As far as I know, using firePulse() is the only way to guarantee all
previous model changes are rendered in the scene. I've created an example
to show what I mean:
https://gist.github.com/ryanjaeb/74685a002e2b402e7fac
It's a sm
Hi Ryan!
>Otherwise the drag(...) command will throw an exception because it
can't find the node for "list-item-name" (it doesn't exist yet).
Well, this is very interesting. This must be a NoNodesFoundException in
TestFX 3.
>I don't actually needto call firePulse(). I just need a way to know th
On 24/09/2015 9:06 p.m., Dr. Michael Paus wrote:
Hi,
I wasn't aware of this Toolkit method when I wrote the mail you are
referring to. Can you or anybody
else explain what this method exactly does. It sounds indeed as if I
could solve some problems with
it although I am not sure yet and of cou
] On
Behalf Of Dr. Michael Paus
Sent: Donnerstag, 24. September 2015 11:07
To: openjfx-dev@openjdk.java.net
<mailto:openjfx-dev@openjdk.java.net>
Subject: Re: Usage of Toolkit firePulse
Hi,
java.net>] On
Behalf Of Dr. Michael Paus
Sent: Donnerstag, 24. September 2015 11:07
To: openjfx-dev@openjdk.java.net
<mailto:openjfx-dev@openjdk.java.net>
Subject: Re: Usage of Toolkit firePulse
thod until this
>>>> morning (and I couldn't have used it anyway since it's not public API).
>>>>
>>>> -Original Message-
>>>> From: openjfx-dev [mailto:openjfx-dev-boun...@openjdk.java.net] On
>>>> Behalf Of Dr. Michael Pa
ning (and I couldn't have used it anyway since it's not public API).
-Original Message-
From: openjfx-dev [mailto:openjfx-dev-boun...@openjdk.java.net] On
Behalf Of Dr. Michael Paus
Sent: Donnerstag, 24. September 2015 11:07
To: openjfx-dev@openjdk.java.net
Subject: Re: Usage
e
>>> 5. Etc..
>>>
>>> But I was actually also unaware of this firePulse method until this
>>> morning (and I couldn't have used it anyway since it's not public API).
>>>
>>> -----Original Message-----
>>> From: openjfx-dev [mail
This is basically how we use it for our unit tests, and is so far the
only use case I've see where the existing semantics are useful. Given
that unit tests still need to dip into non-public API to test various
non-public API, force layout, force a pulse, use glass Robot, etc., we
wouldn't make
(and I couldn't have used it anyway since it's not public API).
-Original Message-
From: openjfx-dev [mailto:openjfx-dev-boun...@openjdk.java.net] On Behalf Of
Dr. Michael Paus
Sent: Donnerstag, 24. September 2015 11:07
To: openjfx-dev@openjdk.java.net
Subject: Re: Usage of Toolkit
Ok. Thanks for the info.
From: Kevin Rushforth [mailto:kevin.rushfo...@oracle.com]
Sent: Donnerstag, 24. September 2015 17:12
To: Fisher, Robert
Cc: Dr. Michael Paus; openjfx-dev@openjdk.java.net
Subject: Re: Usage of Toolkit firePulse
This wouldn't do what you expect. :)
-- Kevin
F
rning
(and I couldn't have used it anyway since it's not public API).
-Original Message-
From: openjfx-dev [mailto:openjfx-dev-boun...@openjdk.java.net] On Behalf Of
Dr. Michael Paus
Sent: Donnerstag, 24. September 2015 11:07
To: openjfx-dev@openjdk.java.net
Subject: Re: Usage of To
The problem with fireaPulse is that its semantics are somewhat
ill-defined. It doesn't really run a full pulse, rather it just calls
the various pulse listeners. So any animation will not be run and no
rendering will be done (although any updates to the scene graph would
trigger a future full p
(and I couldn't have used it anyway since it's not public API).
-Original Message-
From: openjfx-dev [mailto:openjfx-dev-boun...@openjdk.java.net] On Behalf Of
Dr. Michael Paus
Sent: Donnerstag, 24. September 2015 11:07
To: openjfx-dev@openjdk.java.net
Subject: Re: Usage of Toolkit
Thanks, that's an interesting point. I'll look into it.
-Original Message-
From: Scott Palmer [mailto:swpal...@gmail.com]
Sent: Donnerstag, 24. September 2015 15:13
To: Fisher, Robert
Cc: Dr. Michael Paus; openjfx-dev@openjdk.java.net
Subject: Re: Usage of Toolkit firePulse
F
;t have used it anyway since it's not public API).
>
> -Original Message-
> From: openjfx-dev [mailto:openjfx-dev-boun...@openjdk.java.net] On Behalf Of
> Dr. Michael Paus
> Sent: Donnerstag, 24. September 2015 11:07
> To: openjfx-dev@openjdk.java.net
> Subject: Re
I use firePulse() in GUI test code. I'm using TestFX (v3) for testing. Is
there a way to ensure model updates are reflected in the scene without
using firePulse()? Consider something like this:
...
// TestFX starts us on the main thread. Maybe I'm using it wrong?
CountDownLatch latch = new Co
public API).
-Original Message-
From: openjfx-dev [mailto:openjfx-dev-boun...@openjdk.java.net] On Behalf Of
Dr. Michael Paus
Sent: Donnerstag, 24. September 2015 11:07
To: openjfx-dev@openjdk.java.net
Subject: Re: Usage of Toolkit firePulse
Hi,
I wasn't aware of this Toolkit method when I wrote t
Hi,
I wasn't aware of this Toolkit method when I wrote the mail you are
referring to. Can you or anybody
else explain what this method exactly does. It sounds indeed as if I
could solve some problems with
it although I am not sure yet and of course only if Jonathan does not
block it in the futu
...@oracle.com; openjfx-dev@openjdk.java.net
Subject: Re: Usage of Toolkit firePulse
I have to admit I use firePulse() occasionally but only when for some reasons a
pulse isn't triggered while I expected it. That is a very bad usecase for
having this as an API, as I would rather have to investigat
I have to admit I use firePulse() occasionally but only when for some
reasons a pulse isn't triggered while I expected it. That is a very bad
usecase for having this as an API, as I would rather have to investigate
why changes to the scenegraph don't result in a pulse.
If firePulse() is a public A
I think it would be great to have in the public API. It looks like it would
allow you to spread large UI updates out over several pulses in a well-defined
way.
See also this post from a month or so ago:
> Hi,
> I want to do some performance tuning of a JavaFX application of mine but
> before
>
23 matches
Mail list logo