| How can I find Test Suite in my project [message #72117] |
Thu, 21 August 2008 05:31 |
|
Originally posted by: nidisecret.gmail.com
I can use findType to find all Test Case in project which you chooose.
------------------------------------------------------------ -----
IType testCase = project.findType("junit.framework.TestCase");
if (testCase == null)
return new IType[0];
ITypeHierarchy hierarchy = testCase.newTypeHierarchy(project, pm);
IType [] tests = hierarchy.getAllSubtypes(testCase);
------------------------------------------------------------ --------
But now I want to find all Test Suite in project.
I try to use findType("junit.framework.TestSuite")
it fail to find.......can anyone give me a hand??
|
|
|
Powered by
FUDForum. Page generated in 0.02280 seconds