Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » AJDT » How can I find Test Suite in my project
How can I find Test Suite in my project [message #72117] Thu, 21 August 2008 09:31
Eclipse User
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??
Previous Topic:Weaving does not complete in the presence of compiler errors
Next Topic:How can I find Test Suite in my project
Goto Forum:
  


Current Time: Fri Sep 19 14:01:29 GMT 2014

Powered by FUDForum. Page generated in 0.02092 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software