Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [tycho-user] How to suppress pop-up dialod when running JUnit test?

Specifying -launcher.suppressErrors on the command line will avoid this dialog

Sent from my iPhone 4S

On 13 Jan 2012, at 12:01, "Oberlies, Tobias" <tobias.oberlies@xxxxxxx> wrote:

Check the code of the pop-up dialog. I vaguely remember that there is a system property you can set to suppress these pop-ups.

 

Regards

Tobias

 

 

From: tycho-user-bounces@xxxxxxxxxxx [mailto:tycho-user-bounces@xxxxxxxxxxx] On Behalf Of ramesh gunjal
Sent: Freitag, 13. Januar 2012 12:41
To: Tycho user list
Subject: Re: [tycho-user] How to suppress pop-up dialod when running JUnit test?

 

Hello Igor,

 

Thanks for prompt response. Yes, you are right. This is not a tycho but my Eclipse code is displaying dialog when there is any error. How can I disable these message dialogs in test mode. Is there any command line option to maven to ignore such pop-ups?

 

--
God bless you and all,
Ramesh

From: Igor Fedorenko <igor@xxxxxxxxxxxxxx>
To: tycho-user@xxxxxxxxxxx
Sent: Friday, 13 January 2012 4:25 PM
Subject: Re: [tycho-user] How to suppress pop-up dialod when running JUnit test?


Tycho does not display any popup dialogs.

--
Regards,
Igor

On 12-01-13 5:54 AM, ramesh gunjal wrote:
>
> Hello,
> Is there any option in tycho to suppress the pop-up dialogs when running
> JUnit tests?
> I have some JUnit plugin test; which I am running in headless mode (with
> enabling UIHarness in my POM). It works fine if my code is good. But if
> there is any problem in my code it pops up message dialog; which blocks
> the test from running. I have to manually press "OK" and it continues.
> Is there any way to disable dialog when running JUnit tests?
> Pasting related part from my test POM
> <build>
> <plugins>
> <plugin>
> <groupId>org.eclipse.tycho</groupId>
> <artifactId>tycho-surefire-plugin</artifactId>
> <version>${tycho.version}</version>
> <configuration>
> <useUIHarness>true</useUIHarness>
> <useUIThread>true</useUIThread>
> <argLine>-XX:MaxPermSize=256m -Xms40m -Xmx512m</argLine>
> </configuration>
> </plugin>
> </plugins>
> </build>
> --
> God bless you and all,
> Ramesh G
>
>
>
>
> _______________________________________________
> tycho-user mailing list
> tycho-user@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/tycho-user
_______________________________________________
tycho-user mailing list
tycho-user@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/tycho-user

_______________________________________________
tycho-user mailing list
tycho-user@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/tycho-user

Back to the top