Project

General

Profile

Task #4819

[template] Auxiliary test template functions

Added by Alexander Kamkin over 6 years ago. Updated almost 6 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Andrei Tatarnikov
Category:
-
Target version:
Start date:
04/02/2014
Due date:
% Done:

100%

Estimated time:
Detected in build:
svn
Published in build:
141018

Description

  1. newline - puts the new line character into the test program;
  2. text(<some text>) - puts the text into the test program;
  3. comment(<some text>) - puts the comment into the test program (uses the SL_COMMENT_STARTS_WITH property);
  4. start_comment - starts the multi-line comment (uses the ML_COMMENT_STARTS_WITH property);
  5. end_comment - ends the multi-line comment (uses the ML_COMMENT_ENDS_WITH property).

History

#1

Updated by Alexander Kamkin over 6 years ago

Don't forget about documentation.

#2

Updated by Andrei Tatarnikov over 6 years ago

  • Status changed from New to Open
  • % Done changed from 0 to 10
#3

Updated by Andrei Tatarnikov about 6 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.

#4

Updated by Andrei Tatarnikov almost 6 years ago

text_ и trace_ удалены. Т.к. Ruby-часть стала тоньше и все обязанности возложены на Java-часть. text и trace умеют выводить информацию о состоянии модели.

#5

Updated by Andrei Tatarnikov almost 6 years ago

  • Status changed from Resolved to Closed
  • Target version changed from 2.0 to 2.1
  • Published in build set to 141018

Also available in: Atom PDF