Eclipse Community Forums - RDF feed
https://www.eclipse.org/forums/
Eclipse Community ForumsJUnit with MultiThread
https://www.eclipse.org/forums/index.php/mv/msg/38062/123763/#msg_123763
I am basically trying to unit test a multithreaded application app.
using JUnit. I have a scehenerio, where JUnit runs in a main
thread(launching my application)and I have a set of child threads running.
Once the unit of code gets tested, my main thread gets killed subsquently
killing the child threads. What i need is to run my applcation so that my
child thread can perfrom some actions on the Application.
I hope to get some support. Thanks in advance.
Regards
K. Abhishek]]>Kamakhya Abhishek2008-02-22T12:31:14-00:00Re: JUnit with MultiThread
https://www.eclipse.org/forums/index.php/mv/msg/38062/124063/#msg_124063
sounds like this is an issue in the way you are writing your JUnit test code
to invoke your application, which is up to you as the test author to design.
PS
"Abhishek K" <a.kamakhya@zensar.com> wrote in message
news:064781bf32ae432261a391182ff4a8a9$1@www.eclipse.org...
> Hi,
> I am basically trying to unit test a multithreaded application app.
> using JUnit. I have a scehenerio, where JUnit runs in a main
> thread(launching my application)and I have a set of child threads running.
> Once the unit of code gets tested, my main thread gets killed subsquently
> killing the child threads. What i need is to run my applcation so that my
> child thread can perfrom some actions on the Application.
>
> I hope to get some support. Thanks in advance.
>
>
>
> Regards
> K. Abhishek
>]]>Paul Slauenwhite2008-02-25T12:35:58-00:00