You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, the LEMMA models generated by the de.fhdo.lemma.service.openapi.tests project are not checked for syntactic correctness. Consequently, if the syntax of a LEMMA modeling language should change in the future it may happen that the OpenAPI project produces a syntactically wrong output. In a perfect world, this should not happen because a change of the syntax of a LEMMA modeling language should always involve a corresponding adaptation of its extractor. However, since the extractors currently don't have accompanying tests, it would still make sense to let the OpenAPI tests parse LEMMA models after they were generated to detect potential mismatches between the actual syntax implementation and the one extracted from generated in-memory models.
To parse generated LEMMA models, the OpenAPI tests could probably do the same as the loadXtextResource() method over at
(yet, the OpenAPI tests project should not directly call loadXtextResource() as this would result in a dependency on the de.fhdo.lemma.eclipse.ui project by the tests project which we definitely do not want).
The text was updated successfully, but these errors were encountered:
Currently, the LEMMA models generated by the
de.fhdo.lemma.service.openapi.tests
project are not checked for syntactic correctness. Consequently, if the syntax of a LEMMA modeling language should change in the future it may happen that the OpenAPI project produces a syntactically wrong output. In a perfect world, this should not happen because a change of the syntax of a LEMMA modeling language should always involve a corresponding adaptation of its extractor. However, since the extractors currently don't have accompanying tests, it would still make sense to let the OpenAPI tests parse LEMMA models after they were generated to detect potential mismatches between the actual syntax implementation and the one extracted from generated in-memory models.To parse generated LEMMA models, the OpenAPI tests could probably do the same as the
loadXtextResource()
method over atlemma/de.fhdo.lemma.eclipse.ui.utils/src/de/fhdo/lemma/eclipse/ui/utils/LemmaUiUtils.xtend
Line 134 in 4c1de5a
loadXtextResource()
as this would result in a dependency on thede.fhdo.lemma.eclipse.ui
project by the tests project which we definitely do not want).The text was updated successfully, but these errors were encountered: