assertj / assertj-swing

Fluent assertions for Swing apps
Other
105 stars 49 forks source link

Fest pause/play support #57

Open croesch opened 10 years ago

croesch commented 10 years ago

Issue by Nicolae Bucalaete from Mon, 14 Dec 2009 08:14:28 -0600 Originally opened as http://jira.codehaus.org/browse/FEST-275


Hi everyone,
I want to show you an improvement that I think can help users. It refers to pause/play support in Fest.
I get inspired from EmergencyAbortListener and put a listener to help users to put on pause/play a running test case.

I attached some files with how I implemented this.
I duplicated some files from Fest because I didn't have access to those classes/methods (package access level). The only class that was added by me is PausePlayListener.java
I know that solution that I found is not the best one but it works now and when I will find a cleaner solution I will implement it.
Maybe someone has another solution for this problem.

Hope will help others too.

BR,
Nicu.


votes (original issue): 0 watches (original issue): 0

croesch commented 10 years ago

Comment by nicusorb from Mon, 14 Dec 2009 08:14:28 -0600


Attachment pausetest.zip (size=4771)

croesch commented 10 years ago

Comment by alexruiz from Mon, 14 Dec 2009 18:28:43 -0600


Awesome! Thanks Nicu! I like the idea a lot, very helpful!

Cheers,
-Alex

croesch commented 10 years ago

Comment by leojay from Thu, 22 Apr 2010 12:09:16 -0500


Cool! I like it!
May I ask is it possible to put it in release 1.2?

croesch commented 10 years ago

Comment by wanghy from Thu, 22 Apr 2010 15:04:55 -0500


I think Alex already "sealed" the branch to not allow any more changes to the 1.2rc release code base (this upcoming Monday.) I'll try my best to squeeze this cool, useful improvement into the next release

croesch commented 10 years ago

Comment by wanghy from Sun, 25 Apr 2010 21:50:32 -0500


Unfortunately, I didn't have enough time to apply and test the patch. This issue will be solved in our next release FEST-Swing 1.3a1.