Actions
Task #4819
closed[template] Auxiliary test template functions
Start date:
04/02/2014
Due date:
% Done:
100%
Estimated time:
Detected in build:
svn
Published in build:
141018
Description
- newline - puts the new line character into the test program;
- text(<some text>) - puts the text into the test program;
- comment(<some text>) - puts the comment into the test program (uses the
SL_COMMENT_STARTS_WITH
property); - start_comment - starts the multi-line comment (uses the
ML_COMMENT_STARTS_WITH
property); - end_comment - ends the multi-line comment (uses the
ML_COMMENT_ENDS_WITH
property).
Updated by Andrei Tatarnikov over 10 years ago
- Status changed from New to Open
- % Done changed from 0 to 10
Updated by Andrei Tatarnikov over 10 years ago
- Status changed from Open to Resolved
- % Done changed from 10 to 100
Done in r1947.
In addition to the mentioned functions, the following functions were introduced:
1. text_
. The same as text
, but takes a lambda function that should be evaluated to text. The construct looks like this: text_ { bla-bla-bla }
2. trace
and trace_
. Similar to text
and text_
, but they work at simulation time and print text to the simulator log.
Updated by Andrei Tatarnikov about 10 years ago
text_ и trace_ удалены. Т.к. Ruby-часть стала тоньше и все обязанности возложены на Java-часть. text и trace умеют выводить информацию о состоянии модели.
Updated by Andrei Tatarnikov about 10 years ago
- Status changed from Resolved to Closed
- Target version changed from 2.0 to 2.1
- Published in build set to 141018
Actions