Created
June 18, 2012 15:47
-
-
Save abelhegedus/2949020 to your computer and use it in GitHub Desktop.
EMf-IncQuery Testing Framework example
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@Test | |
def shortTest(){ | |
val patternModel = parseHelper.parse(' | |
import "http://www.eclipse.org/viatra2/patternlanguage/core/PatternLanguage" | |
pattern resolutionTest(Name) = { | |
Pattern(Name); | |
} ') as PatternModel | |
patternModel.assertMatchResults("uri/to/test/expected") | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment