Skip to content

Commit

Permalink
104: ported testSuperScope
Browse files Browse the repository at this point in the history
  • Loading branch information
LorenzoBettini committed Jan 24, 2020
1 parent e96d2f4 commit fa7e73a
Showing 1 changed file with 7 additions and 4 deletions.
Expand Up @@ -27,10 +27,13 @@ class EdeltaScopeProviderTest extends EdeltaAbstractTest {
def void testSuperScope() {
// just check that nothing wrong happens when we call super.getScope
'''
metamodel "foo"
this.
'''.parse.lastExpression.getScope(EdeltaPackage.eINSTANCE.edeltaProgram_Main)
modifyEcore aTest epackage foo {
this.
}
'''.parse
.lastModifyEcoreOperation
.body
.blockLastExpression.getScope(EdeltaPackage.eINSTANCE.edeltaModifyEcoreOperation_Body)
}

@Test
Expand Down

0 comments on commit fa7e73a

Please sign in to comment.