Status: New
Owner: ----
CC: anquetil...(a)gmail.com
Labels: Type-Defect Priority-Medium Component-Famix Milestone-4.4
New issue 563 by tudor.gi...(a)gmail.com: ImplicitVariable>>container should
be changed to parentBehaviouralEntity
http://code.google.com/p/moose-technology/issues/detail?id=563
Currently, ImplicitVariable>>container points to a Type. It should be
BehaviouralEntity instead.
When opening a glamour browser , is there a way to specify the size (width -
height) that the browser window should have ?
Because it seems that it always open with the same default size
Status: New
Owner: ----
Labels: Type-Defect Priority-Medium
New issue 560 by usman.bh...(a)gmail.com: parentType bug in Java model
http://code.google.com/p/moose-technology/issues/detail?id=560
Describe the problem: what do you get? what do you expect?
I import Java mse (VerveineJ) and I want to run a small program to
calculate all outgoing relationships of all the classes present in the mse.
I get this message below:
FAMIXClass(Object)>>doesNotUnderstand: #parentType
Receiver: FontChooserMain in org::jhotdraw::samples::font (Type)
Arguments and temporary variables:
aMessage: parentType
exception: MessageNotUnderstood:
How to reproduce the problem: step by step if necessary
import java mse with VerveineJ
Add SoftEngMetrics package from Montecello.
CohesionCouplingReport
generateReportv7ForModel: 'JHotDraw_7.6-swing-awt-VerveineJ'
fileName: 'JHotDraw_7.6-swing-awt-VerveineJ-',(Date today
printString),'.csv'.
Additional information: platform, context which may impact the problem
Last three message from execution context:
FAMIXClass(Object)>>doesNotUnderstand: #parentType
Receiver: FontChooserMain in org::jhotdraw::samples::font (Type)
Arguments and temporary variables:
aMessage: parentType
exception: MessageNotUnderstood: FAMIXClass>>parentType
resumeValue: nil
Receiver's instance variables:
mooseID: 564997
state: a MooseDefaultState
sourceAnchor: a FAMIXFileAnchor #noname
sourceLanguage: nil
comments: an Array(/**
* FontChooserMain....:31:24Z rawcoder $
*/
(comment ...etc...
declaredSourceLanguage: nil
name: 'FontChooserMain'
isStub: false
receivingInvocations: #()
modifiers: a Set(#isPublic)
parentPackage: nil
outgoingReferences: #()
types: #()
incomingReferences: #()
subInheritances: #()
methods: an Array(FontChooserMain>>FontChooserMain() (Method)
FontChooserMain>>...etc...
container: org (Namespace)::jhotdraw (Namespace)::samples
(Namespace)::font (Na...etc...
superInheritances: an Array(FontChooserMain -> JPanel (Inheritance))
attributes: #()
isInterface: nil
FAMIXInvocation>>getReceivingFAMIXClass
Receiver: FontChooserMain -> self#initComponents() (Invocation)
Arguments and temporary variables:
tmpReceiver: FontChooserMain.self (ImplicitVariable)
belongsTo: nil
Receiver's instance variables:
mooseID: 679516
state: a MooseDefaultState
sourceAnchor: nil
sourceLanguage: nil
comments: #()
declaredSourceLanguage: nil
previous: nil
next: FontChooserMain -> self#add(Component) (Invocation)
sender: FontChooserMain>>FontChooserMain() (Method)
receiver: FontChooserMain.self (ImplicitVariable)
receiverSourceCode: nil
signature: 'initComponents()'
candidates: an Array(FontChooserMain>>initComponents() (Method))
Please fill in the labels with the following information:
* Type-Defect, Type-Enhancement, Type-Engineering, Type-Review, Type-Other
* Component-XXX
Hi!
The coverage of Moose-Core has significantly increased. Several classes are now 100% covered.
I added a red test that I would like some of you have a look at it.
MooseModelTest>>testExportToFiltredBy
I am not sure whether this is dead code or not.
Cheers,
Alexandre
--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
Hi!
I added another red test. Sorry about that.
The following raises en error: MooseModel famixCoreMetamodel
Is this intended? I am not a metamodel generation guy. Maybe someone can have a look at this?
Cheers,
Alexandre
--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
Hi!
What these methods are about? Are they destructive? Can they be tested?
Cheers,
Alexandre
--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
Status: New
Owner: ----
CC: anquetil...(a)gmail.com
Labels: Type-Engineering Priority-Medium Component-VerveineJ Milestone-4.4
New issue 552 by tudor.gi...(a)gmail.com: VerveineJ should have a build script
http://code.google.com/p/moose-technology/issues/detail?id=552
The build script should be written with Ant and be responsible to:
- build the jars
- run the tests
Hi!
I would like to discuss about MooseModel class>>ownerOf:
I understand the implementation. But this leads to a strange behavior.
For example, the following fails time to time:
element := MooseEntity new.
self assert: (element mooseModel isNil).
It fails since I have written tests about the id generation. And the element may have a mooseID of a previous object.
What should we do? I can remove the tests about the ID generation, but removing tests is never good. Would it be possible to use the privateState to store the mooseModel? Are the hypothesis why we have changed the reference of the mooseModel still valid?
Cheers,
Alexandre
--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
Hi!
One of the test is yellow because of the mismatching there is of mooseName
DudeDuplication>>mooseName
((signature isNil or: [ referenceCode isNil ]) or: [ duplicateCode isNil ])
ifTrue: [ ^ 'Error' ].
^ 'Chain: ', signature, ' between: ', referenceCode mooseName, ' and ', duplicateCode mooseName
It is wrong to override mooseName. mooseNameOn: should be overridden instead.
Shall I update mooseName into mooseNameOn:?
Cheers,
Alexandre
--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
Hi!
When I use the wizard of Hapao, I get an error. You can reproduce the problem by doiting and pressing next:
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
| v control firstPane packagesList part1 lastPane part2 |
control := WizardControl new.
firstPane := WizardFirstPane new.
lastPane := WizardLastPane new.
control addPane: firstPane.
control addPane: lastPane.
part1 := TextPart new
inGroupboxNamed: 'Hapao: select the packages to analyze'.
packagesList := PackageOrganizer default packageNames asSortedCollection: [ :a :b | a < b ].
part2 := MultiSelectionListSelectorWithSmalltalkExpression on: packagesList.
firstPane
addPart: part1
associatedTo: #packagesSelected.
lastPane
addPart: part2
associatedTo: #packagesSelected.
control open
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Unfortunately, I am not able to write a test for this since the window is modal
Alexandre
--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.