From 1eafb5b576b766b8ed8a228d43ffd347f4d3358a Mon Sep 17 00:00:00 2001 From: Henrik Tidefelt Date: Mon, 24 Jun 2024 17:10:01 +0200 Subject: [PATCH 1/2] Add full Modelica TestCase annotation also to Base Modelica --- RationaleMCP/0031/annotations.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/RationaleMCP/0031/annotations.md b/RationaleMCP/0031/annotations.md index 61f023beb..69f63ccc3 100644 --- a/RationaleMCP/0031/annotations.md +++ b/RationaleMCP/0031/annotations.md @@ -37,6 +37,9 @@ These are all the non-vendor specific annotations inherited from full Modelica t - `choices` — Applied to a parameter or variable, can be used to enumerate and tag different values for parameter input - `experiment` — In the class annotation of the `model`, provide the default start time, stop time, tolerance, and interval length +These are all the non-vendor specific annotations inherited from full Modelica that are relevant for tool development and testing: +- `TestCase` — In the class annotation of the `package`, indicate that content is a test case, and whether translation is expected to succeed or not + These are the new annotations introduced in Base Modelica, each explained in more detail below: - [`Protected`](#protected) — Indicate whether component declaration comes from protected section in original full Modelica model - [`solverMethod`](#solvermethod) — Discretization method for a clocked sub-partition From a689b6e5340e4f3deeea3e61816a9e46f1611fac Mon Sep 17 00:00:00 2001 From: Henrik Tidefelt Date: Thu, 26 Sep 2024 14:04:59 +0200 Subject: [PATCH 2/2] Put TestCase side by side with 'experiment' in the model --- RationaleMCP/0031/annotations.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/RationaleMCP/0031/annotations.md b/RationaleMCP/0031/annotations.md index 69f63ccc3..9fbb3a31d 100644 --- a/RationaleMCP/0031/annotations.md +++ b/RationaleMCP/0031/annotations.md @@ -38,7 +38,7 @@ These are all the non-vendor specific annotations inherited from full Modelica t - `experiment` — In the class annotation of the `model`, provide the default start time, stop time, tolerance, and interval length These are all the non-vendor specific annotations inherited from full Modelica that are relevant for tool development and testing: -- `TestCase` — In the class annotation of the `package`, indicate that content is a test case, and whether translation is expected to succeed or not +- `TestCase` — In the class annotation of the `model`, indicate that content is a test case, and whether translation is expected to succeed or not These are the new annotations introduced in Base Modelica, each explained in more detail below: - [`Protected`](#protected) — Indicate whether component declaration comes from protected section in original full Modelica model