Project

General

Profile

Actions

Task #4819

closed

[template] Auxiliary test template functions

Added by Alexander Kamkin almost 9 years ago. Updated over 8 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).
Actions #1

Updated by Alexander Kamkin almost 9 years ago

Don't forget about documentation.

Actions #2

Updated by Andrei Tatarnikov almost 9 years ago

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

Updated by Andrei Tatarnikov almost 9 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.

Actions #4

Updated by Andrei Tatarnikov over 8 years ago

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

Actions #5

Updated by Andrei Tatarnikov over 8 years ago

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

Also available in: Atom PDF