Issue 740 in moose-technology: classNamedOrNil test is bogus

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

Issue 740 in moose-technology: classNamedOrNil test is bogus

moose-technology
Status: New
Owner: ----
Labels: Type-Defect Priority-Medium

New issue 740 by [hidden email]: 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

_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
Reply | Threaded
Open this post in threaded view
|

Re: Issue 740 in moose-technology: classNamedOrNil test is bogus

moose-technology
Updates:
        Status: Fixed

Comment #1 on issue 740 by [hidden email]: classNamedOrNil test is  
bogus
http://code.google.com/p/moose-technology/issues/detail?id=740

(No comment was entered for this change.)

_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
Reply | Threaded
Open this post in threaded view
|

Re: Issue 740 in moose-technology: classNamedOrNil test is bogus

moose-technology
Updates:
        Status: Accepted

Comment #2 on issue 740 by [hidden email]: classNamedOrNil test is  
bogus
http://code.google.com/p/moose-technology/issues/detail?id=740

probably classNamedOrNil: should use

smalltalkClassFromFamixClassName: aFAMIXName ifAbsent: aBlock

_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
Reply | Threaded
Open this post in threaded view
|

Re: Issue 740 in moose-technology: classNamedOrNil test is bogus

moose-technology
Updates:
        Status: Fixed
        Labels: Milestone-4.6

Comment #3 on issue 740 by [hidden email]: 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.

_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev