Skip to content

Commit

Permalink
Added test for getInheritedClasses.
Browse files Browse the repository at this point in the history
  • Loading branch information
adeas31 authored and OpenModelica-Hudson committed Sep 4, 2015
1 parent a243f9e commit 0f0f386
Showing 1 changed file with 12 additions and 9 deletions.
21 changes: 12 additions & 9 deletions openmodelica/interactive-API/interactive_api_calls.mos
Expand Up @@ -45,6 +45,7 @@ getDerivedClassModifierValue(Resistance, quantity);
getClassInformation(vector3D); getErrorString();
getInheritanceCount(vector3D); getErrorString();
getNthInheritedClass(vector3D, 1); getErrorString();
getInheritedClasses(vector3D);
getNthComponentCondition(M, 1); getErrorString();
getNthComponentCondition(M, 2); getErrorString();
getNthComponentCondition(M, 3); getErrorString();
Expand Down Expand Up @@ -271,6 +272,8 @@ getMessagesStringInternal(unique = false); // not unique
// Real
// Evaluating: getErrorString()
// ""
// Evaluating: getInheritedClasses(vector3D)
// {Real}
// Evaluating: getNthComponentCondition(M, 1)
// ""
// Evaluating: getErrorString()
Expand Down Expand Up @@ -611,7 +614,7 @@ getMessagesStringInternal(unique = false); // not unique
// parameters and variables are specified separately. In this section it is summarized how to refer to
// Modelica code in the HTML documentation.
// </p>
//
//
// <ol>
// <li> For constants, parameters and variables in code segments <code>&lt;code&gt;</code> and <code>&lt;/code&gt;</code>
// should to be used, e.g., <br>
Expand All @@ -621,36 +624,36 @@ getMessagesStringInternal(unique = false); // not unique
// <li> Inline code segments may be typeset with <code>&lt;code&gt;</code> and <code>&lt;/code&gt;</code>.</li>
// <li> In code segments use bold to emphasize Modelica keywords.</li>
// </ol>
//
//
// <h5>Example 1</h5>
//
//
// <pre>
// &lt;pre&gt;
// &lt;b&gt;connector&lt;/b&gt; Frame
// ...
// &lt;b&gt;flow&lt;/b&gt; SI.Force f[Woehrnschimmel1998] &lt;b&gt;annotation&lt;/b&gt;(unassignedMessage=\\\"...\\\");
// &lt;b&gt;end&lt;/b&gt; Frame;
// &lt;/pre&gt;</pre>
//
//
// <p>appears as</p>
//
//
// <pre>
// <b>connector</b> Frame
// ...
// <b>flow</b> SI.Force f[Woehrnschimmel1998] <b>annotation</b>(unassignedMessage=\\\"...\\\");
// <b>end</b> Frame;
// </pre>
//
//
// <h5>Example 2</h5>
//
//
// <pre>
// &lt;pre&gt;
// &lt;b&gt;parameter&lt;/b&gt; Modelica.SIunits.Conductance G=1 &quot;Conductance&quot;;
// &lt;/pre&gt;
// </pre>
//
//
// <p>appears as</p>
//
//
// <pre>
// <b>parameter</b> Modelica.SIunits.Conductance G=1 &quot;Conductance&quot;;
// </pre>
Expand Down

0 comments on commit 0f0f386

Please sign in to comment.