Hi Hani,
This is probably because you did not specify the classpath.
Do the following: cd jfreechart /PATH_TO_verveine.extractor.java/verveinej.sh -Xmx2000m -- -autocp . .
This will tell verveineJ to consider the jars that come with the jfreechart distribution, and you will get your TestCase.
More explanations are here: http://www.themoosebook.org/book/externals/import-export/external/verveineJ
Cheers, Doru
On 21 Dec 2011, at 00:28, Hani Abdeen wrote:
Hi,
Using VerveineJ, the stub classes realted to unit tests (TestCase, TestSuit and Test classes) are not imported also their namesapce junit.framework These classes are imported using inFamix.
junit.framework.TestCase class is particularly important in order to automatically detect unit test classes: TestCase subclassHierarchy. If this class is not available in the moose model then the only way to automatically detect unit test classes is by detecting the classes that their names are postfixed by 'Tests': mooseModel allClasses select: [:c| '*Tests' match: c name] such a way can provide us with wrong results!
Cheers, Hani
P.S.: use-case JFreechart project: http://sourceforge.net/projects/jfreechart/files/latest/download which includes about 380 test classes (classes inherit from TestCase)
--
Moose-dev mailing list Moose-dev@iam.unibe.ch https://www.iam.unibe.ch/mailman/listinfo/moose-dev
-- www.tudorgirba.com
"Be rather willing to give than demanding to get."