Access through reflection modules inside the solution

Hi, I am writing some tests using the j.m.lang.test language and in those tests I would like to refer some models. How can I access the nodes of those models? In the past I wrote plugins for MPS and writing a plugin I got access to an MPSProject from which I could navigate as I wanted. Here I don't have that hook...
3 comments
are you creating instances of NodesTestCase concept from j.m.lang.test language?
0
Yes. I mean, I can create nodes in memory, but I can not access the existing models of the project.
0
You can use SModelRepository class providing access to all currently available models, so if some model is contained in a test project then it should be available there.
0

Please sign in to leave a comment.