- Timestamp:
- 2015-04-09T20:37:45+02:00 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/testsuite/openmodelica/interactive-API/choicesAllMatching.mos
r25345 r25478 1 // name: choicesAllMatching.mos [BUG: #3254 ]1 // name: choicesAllMatching.mos [BUG: #3254, #3255] 2 2 // keywords: Graphical API, component annotations 3 3 // status: correct … … 18 18 getErrorString(); 19 19 20 loadString("model M 21 type N = Real; 22 replaceable N n1 constrainedby Real annotation(choicesAllMatching=true,Placement(visible = true, transformation(origin = {-30, 42}, extent = {{-10, -10}, {10, 10}}, rotation = 0))); 23 end M;"); 24 getErrorString(); 25 getComponentAnnotations(M); 26 getErrorString(); 27 28 20 29 // Result: 21 30 // true … … 27 36 // {{choicesAllMatching=true, Placement(true,-30.0,42.0,-10.0,-10.0,10.0,10.0,0.0,-,-,-,-,-,-,)}} 28 37 // "" 38 // true 39 // "" 40 // {{choicesAllMatching=true, Placement(true,-30.0,42.0,-10.0,-10.0,10.0,10.0,0.0,-,-,-,-,-,-,)}} 41 // "" 29 42 // endResult
Note: See TracChangeset
for help on using the changeset viewer.