Skip to main content

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 UserFriend
Originally posted by:

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: Tue Jun 19 09:06:09 GMT 2018

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

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

Back to the top