Done. But Famix-Tests-Core is almost empty. It contains only 3 tests.
I created a class FAMIXMetricTest and moved testAverageHierarchyHeight
and testSubclassHierarchyDepth in it.
New versions:
Famix-Tests-Core-Alexandre_Bergel.3
Moose-ModelTest-Alexandre_Bergel.63
Cheers,
Alexandre
On 30 Apr 2010, at 17:42, Tudor Girba wrote:
Hi Alex,
Great, but you should put the tests related to FAMIX in Famix-Tests-
Core.
Cheers,
Doru
On 30 Apr 2010, at 23:17, Alexandre Bergel wrote:
>
> Hi!
>
> I replaced maxHierarchyOfChildren by subclassHierarchyDepth in
> Famix-Extensions. This method is tested in GroupTest. I am not sure
> this is
> the right place to test it. If someone has a better location, I am
> happy to
> change it.
>
> I also added a test for the ahh metric. Cyrille, I change the
> definition of
> ahh, maybe you want to have a look at it. I am not sure whether I
> preserved
> its behavior or not. Check #testAverageHierarchyHeight please.
>
> Comment of Famix-Extensions-AlexandreBergel.120:
> -=-=-=-=-=-=-=-=-=-=-=-=
> Removed maxHierarchyOfChildren from FAMIXClass and added
> subclassHierarchyDepth.
> Provide a better version (I hope :) of MooseGroup>>ahh.
>
> These two methods are tested in GroupTest, class that belongs to
> Moose-ModelTest
> -=-=-=-=-=-=-=-=-=-=-=-=
>
> Comment of Moose-ModelTest-AlexandreBergel.60:
> -=-=-=-=-=-=-=-=-=-=-=-=
> I moved the method GroupTest>>model from 'unclassified category' to
> a new
> method category called 'utility'.
>
> Added GroupTest>>testAverageHierarchyHeight and
> GroupTest>>testSubclassHierarchyDepth
> -=-=-=-=-=-=-=-=-=-=-=-=
>
> Cheers,
> Alexandre
>
>
>
> --
> View this message in context:
http://moose-dev.97923.n3.nabble.com/Getting-the-depth-of-the-subclass-hi...
> Sent from the moose-dev mailing list archive at
Nabble.com.
> _______________________________________________
> Moose-dev mailing list
> Moose-dev(a)iam.unibe.ch
>
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
--
www.tudorgirba.com
"Problem solving efficiency grows with the abstractness level of
problem understanding."
_______________________________________________
Moose-dev mailing list
Moose-dev(a)iam.unibe.ch
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel
http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.