Opened 4 weeks ago

Closed 10 days ago

#5879 closed defect (fixed)

Add support for compiling with modifications to test framework

Reported by: Jesper Mattsson Owned by: Jesper Mattsson
Priority: major Milestone:
Component: Modelica/FrontEnd Version: trunk
Keywords: Cc:

Description

From the command line we have support for compiling a model with an arbitrary modification applied, but the test framework does not support this. Add support for it.

Change History (21)

comment:1 Changed 4 weeks ago by Jesper Mattsson

r14105:

Added support for compiling with modifications to test framework.

Remains to add support to TestAnnotationizer.

comment:2 Changed 4 weeks ago by Jesper Mattsson

r14106:

Removed automatic adding of missing parenthesis when compiling with modifications in unit test.

This is to enable specifying an annotation with no modification.

comment:3 Changed 4 weeks ago by Jesper Mattsson

r14107:

Added an implicit space before modification added for unit test, to avoid syntax error when giving only annotation.

comment:4 Changed 4 weeks ago by amartensen

r14121 improved name lookup in InstGeneratedInner. removed implicit space added in r14107.

comment:5 Changed 3 weeks ago by amartensen

r14166 merged from /branches/dev-mo-2559 to /branches/dev-2559

comment:6 Changed 3 weeks ago by amartensen

r14185 performing lookup after parsing anonymous class

comment:7 Changed 3 weeks ago by amartensen

r14186 extracted code for getting the inners annotation node to the attribute innerNode()

comment:8 Changed 3 weeks ago by amartensen

Last edited 3 weeks ago by amartensen (previous) (diff)

comment:9 Changed 2 weeks ago by amartensen

r14235 moved the NTA getGeneratedInnerModifications() to under InstClassDecl

comment:10 Changed 2 weeks ago by amartensen

r14237 moved up the myEnvironment() equations from InstGeneratedInner to InstClassDecl, minor cleanup to the contribution for the NTA InstGeneratedInner.

comment:11 Changed 13 days ago by amartensen

r14252 added getInstGeneratedInnerModifications().collectErrors(checkType) in InstBaseClassDecl.collectErrors() instead of calling the name check directly in InstGeneratedInner.collectErrors()

comment:12 Changed 13 days ago by amartensen

r14253 added tests

comment:13 Changed 12 days ago by amartensen

r14265 updated myEnvironment() equations for InstGeneratedInners, added python test.

comment:14 Changed 12 days ago by amartensen

r14266 added CHANGELOG entry

comment:15 Changed 11 days ago by amartensen

r14277 added testcase for lookup of component reference.

comment:16 Changed 11 days ago by amartensen

r14278 removed the testcase SetOuterNoParens, overlaps with the testcase AnnotationModifiers

comment:17 Changed 11 days ago by amartensen

r14281 reverted the updated equations for myEnvironment from r1465

comment:18 Changed 11 days ago by amartensen

r14282 merge from trunk

comment:19 Changed 10 days ago by amartensen

r14291 merge to trunk

comment:20 Changed 10 days ago by amartensen

r14295 fixed method in OptimicaFrontEnd. updated parseOptimicaAnonymousClassString() the same way as parseModelicaAnonymousClassString()

comment:21 Changed 10 days ago by amartensen

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.