Status: New Owner: ---- Labels: Type-Defect Priority-Medium
New issue 740 by usman.bh...@gmail.com: classNamedOrNil test is bogus http://code.google.com/p/moose-technology/issues/detail?id=740
There correct test should be When we give a metaclass name we should get the metaclass of the class and not nil
testClassNamedOrNil "(self selector: #testClassNamedOrNil) debug" self assert: (MooseUtilities classNamedOrNil: Model name) = Model. self assert: (MooseUtilities classNamedOrNil: FAMIXNameResolver name) = FAMIXNameResolver. self assert: (MooseUtilities classNamedOrNil: (FAMIXNameResolver name , FAMIXNameResolver metaclassTag) asSymbol) = FAMIXNameResolver class
Updates: Status: Fixed
Comment #1 on issue 740 by usman.bh...@gmail.com: classNamedOrNil test is bogus http://code.google.com/p/moose-technology/issues/detail?id=740
(No comment was entered for this change.)
Updates: Status: Accepted
Comment #2 on issue 740 by usman.bh...@gmail.com: classNamedOrNil test is bogus http://code.google.com/p/moose-technology/issues/detail?id=740
probably classNamedOrNil: should use
smalltalkClassFromFamixClassName: aFAMIXName ifAbsent: aBlock
Updates: Status: Fixed Labels: Milestone-4.6
Comment #3 on issue 740 by tudor.gi...@gmail.com: classNamedOrNil test is bogus http://code.google.com/p/moose-technology/issues/detail?id=740
Actually, classNamedOrNil is not used anywhere, except for the test. So, I removed both.