Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test: complete Spoon meta-meta-model #1691

Closed
pvojtechovsky opened this issue Nov 6, 2017 · 2 comments
Closed

test: complete Spoon meta-meta-model #1691

pvojtechovsky opened this issue Nov 6, 2017 · 2 comments

Comments

@pvojtechovsky
Copy link
Collaborator

Spoon meta-meta-model used for testing of Spoon and generation of some Spoon sources doesn't reflect all model property accessors yet.

Here is the report of actually ignored/failing test MetaModelTest#spoonMetaModelTest

Unhandled method signature: CtParameterImpl#setVisibility(spoon.reflect.declaration.ModifierKind)
Unhandled method signature: CtElementImpl#getAnnotation(java.lang.Class)
Unhandled method signature: CtElement#getAnnotation(java.lang.Class)
Unhandled method signature: CtElementImpl#getAnnotation(spoon.reflect.reference.CtTypeReference)
Unhandled method signature: CtElement#getAnnotation(spoon.reflect.reference.CtTypeReference)
Unhandled method signature: CtConstructorImpl#setVisibility(spoon.reflect.declaration.ModifierKind)
Unhandled method signature: CtModifiable#setVisibility(spoon.reflect.declaration.ModifierKind)
Unhandled method signature: CtAnonymousExecutableImpl#setVisibility(spoon.reflect.declaration.ModifierKind)
Unhandled method signature: CtJavaDocImpl#removeTag(int)
Unhandled method signature: CtJavaDoc#removeTag(int)
Unhandled method signature: CtStatementListImpl#insertEnd(spoon.reflect.code.CtStatement)
Unhandled method signature: CtStatementList#insertEnd(spoon.reflect.code.CtStatement)
Unhandled method signature: CtStatementListImpl#insertEnd(spoon.reflect.code.CtStatementList)
Unhandled method signature: CtStatementList#insertEnd(spoon.reflect.code.CtStatementList)
Unhandled method signature: CtStatementListImpl#insertBegin(spoon.reflect.code.CtStatementList)
Unhandled method signature: CtStatementList#insertBegin(spoon.reflect.code.CtStatementList)
Unhandled method signature: CtClassImpl#getConstructor(spoon.reflect.reference.CtTypeReference[])
Unhandled method signature: CtClass#getConstructor(spoon.reflect.reference.CtTypeReference[])
Unhandled method signature: CtBlockImpl#insertEnd(spoon.reflect.code.CtStatementList)
Unhandled method signature: CtBlockImpl#addStatement(spoon.reflect.code.CtStatement)
Unhandled method signature: CtBlockImpl#insertBegin(spoon.reflect.code.CtStatementList)
Unhandled method signature: CtTypeParameterReferenceImpl#setBounds(java.util.List)
Unhandled method signature: CtTypeParameterReference#setBounds(java.util.List)
Unhandled method signature: CtTypeParameterImpl#setVisibility(spoon.reflect.declaration.ModifierKind)
Unhandled method signature: CtTypeParameterImpl#getMethod(spoon.reflect.reference.CtTypeReference,java.lang.String,spoon.reflect.reference.CtTypeReference[])
Unhandled method signature: CtTypeParameterImpl#getMethod(java.lang.String,spoon.reflect.reference.CtTypeReference[])
Unhandled method signature: CtTypeParameterImpl#getMethodsAnnotatedWith(spoon.reflect.reference.CtTypeReference[])
Unhandled method signature: CtLocalVariableImpl#setVisibility(spoon.reflect.declaration.ModifierKind)
Unhandled method signature: CtTypeImpl#setVisibility(spoon.reflect.declaration.ModifierKind)
Unhandled method signature: CtTypeImpl#getMethod(spoon.reflect.reference.CtTypeReference,java.lang.String,spoon.reflect.reference.CtTypeReference[])
Unhandled method signature: CtType#getMethod(spoon.reflect.reference.CtTypeReference,java.lang.String,spoon.reflect.reference.CtTypeReference[])
Unhandled method signature: CtTypeImpl#getMethod(java.lang.String,spoon.reflect.reference.CtTypeReference[])
Unhandled method signature: CtType#getMethod(java.lang.String,spoon.reflect.reference.CtTypeReference[])
Unhandled method signature: CtTypeImpl#getMethodsAnnotatedWith(spoon.reflect.reference.CtTypeReference[])
Unhandled method signature: CtType#getMethodsAnnotatedWith(spoon.reflect.reference.CtTypeReference[])
Unhandled method signature: CtCaseImpl#insertEnd(spoon.reflect.code.CtStatement)
Unhandled method signature: CtCaseImpl#insertEnd(spoon.reflect.code.CtStatementList)
Unhandled method signature: CtCaseImpl#insertBegin(spoon.reflect.code.CtStatementList)
Unhandled method signature: CtMethodImpl#setVisibility(spoon.reflect.declaration.ModifierKind)
Unhandled method signature: CtJavaDocTagImpl#setType(java.lang.String)
Unhandled method signature: CtJavaDocTag#setType(java.lang.String)
Unhandled method signature: CtFieldImpl#setVisibility(spoon.reflect.declaration.ModifierKind)
Unhandled method signature: CtAnnotationImpl#addValue(java.lang.String,java.lang.Object)
Unhandled method signature: CtAnnotation#addValue(java.lang.String,java.lang.Object)
Unhandled method signature: CtAnnotationImpl#addValue(java.lang.String,spoon.reflect.code.CtLiteral)
Unhandled method signature: CtAnnotation#addValue(java.lang.String,spoon.reflect.code.CtLiteral)
Unhandled method signature: CtAnnotationImpl#addValue(java.lang.String,spoon.reflect.code.CtNewArray)
Unhandled method signature: CtAnnotation#addValue(java.lang.String,spoon.reflect.code.CtNewArray)
Unhandled method signature: CtAnnotationImpl#addValue(java.lang.String,spoon.reflect.code.CtFieldAccess)
Unhandled method signature: CtAnnotation#addValue(java.lang.String,spoon.reflect.code.CtFieldAccess)
Unhandled method signature: CtAnnotationImpl#addValue(java.lang.String,spoon.reflect.declaration.CtAnnotation)
Unhandled method signature: CtAnnotation#addValue(java.lang.String,spoon.reflect.declaration.CtAnnotation)
Unhandled method signature: CtAnnotationImpl#setElementValues(java.util.Map)
Unhandled method signature: CtAnnotation#setElementValues(java.util.Map)
Unhandled method signature: CtEnumImpl#getMethod(java.lang.String,spoon.reflect.reference.CtTypeReference[])
Unhandled method signature: CtEnumImpl#getMethod(spoon.reflect.reference.CtTypeReference,java.lang.String,spoon.reflect.reference.CtTypeReference[])
Unhandled method signature: CtCatchVariableImpl#getType()
Unhandled method signature: CtCatchVariableImpl#setType(spoon.reflect.reference.CtTypeReference)
Unhandled method signature: CtCatchVariableImpl#setVisibility(spoon.reflect.declaration.ModifierKind)
pvojtechovsky added a commit to pvojtechovsky/spoon that referenced this issue Nov 6, 2017
monperrus pushed a commit to monperrus/spoon that referenced this issue Nov 9, 2017
pvojtechovsky added a commit to pvojtechovsky/spoon that referenced this issue Nov 9, 2017
@pvojtechovsky pvojtechovsky changed the title WiP: test: complete Spoon meta-meta-model test: complete Spoon meta-meta-model Nov 16, 2017
@monperrus
Copy link
Collaborator

cleaning, closed per #1582

@pvojtechovsky
Copy link
Collaborator Author

just a note: This problem still exist. But it is not critical. It just means that current SpoonMetaModel doesn't cover / checks all these special kinds of role value accessors. I am OK, to have this issue closed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants