From: Timothy W. <tw...@us...> - 2007-10-23 13:56:14
|
On Oct 23, 2007, at 9:40 AM, Jawahar Lal wrote: > >>Override createTestHierarchy() to return AWTHierarchy instead of > >>TestHierarchy. AWTHierarchy doesn't filter anything. > > On overriding the method, now I am able to only test the first > test case. I am getting on statistics panel of Netbean " Junit > results root node". > > I overrided the method in these two ways > > protected Hierarchy createHierarchy() { > return new AWTHierarchy(); > } > This is appropriate. I don't understand what your issue is. Do the tests never finish? If not, it may be because you never quit your application, which might keep the JUnit test runner from exiting. |