Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » AspectJ » 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: 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: Tue Apr 16 09:45:30 GMT 2024

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

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

Back to the top