test: derived and unsettable of spoon.metamodel.Metamodel#2050
test: derived and unsettable of spoon.metamodel.Metamodel#2050monperrus merged 2 commits intoINRIA:masterfrom
Conversation
Both are fine if if have a test. The problem in this PR is: which are duplicate of MetamodelConcept and MetamodelProperty (hard to understand, hard to maintain). Is it possible to direclty use MetamodelConcept and MetamodelProperty instead? |
I think no. The purpose of this PR is to make a snapshot of the Metamodel state. So we need a duplicate structure, which represents that snapshot. May be we can make that test Metamodel package protected so nobody can use that duplicated structure. |
|
Now, I understand, LGTM.
|
b1c312c to
fefbdce
Compare
The values of derived and unsettable attributes of MetamodelProperties of MetamodelConcepts of spoon.metamodel.Metamodel are compared to the hardcoded expected values
It is a way how to fix #2047