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?

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


Back to the top