modelGetAbsolutePath
Test model to get the absolute path of a URI
Extends from Modelica.Icons.Example (Icon for runnable examples).
Information
This model tests the function that gets the absolute path of a URI.
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| String | f | "modelica://IBPSA/package.mo" | Name of a file that exists |
| String | fAbs | IBPSA.BoundaryConditions.WeatherData.BaseClasses.getAbsolutePath(uri = f) | Absolute path of f |
| Integer | dummy | 1 | Dummy variable, used to have a result as needed for the unit tests |
Revisions
-
November 18, 2016, by Michael Wetter:
Removed tests that assumed that the regression test is run from the library root directory.
This is for #596. -
October 9, 2013, by Michael Wetter:
Removed incorrect call toModelica.Utilities.Files.exist. -
May 9, 2013, by Michael Wetter:
First implementation.