winIDEA SDK
test_ctrace_text_export_format.py
1# This script is licensed under BSD License, see file LICENSE.txt.
2#
3# (c) TASKING Germany GmbH, 2023
4
5import isystem.connect as ic
6
7
8def test_CTraceTextExportFormat():
9 print("Example of creating text trace export formatter...")
10 fmt = ic.CTraceTextExportFormat()
11 fmt.setContentLen(10)
12 print(f"Content length: {fmt.getContentLen()}")
13 print(f"Export format: {fmt.getExportFormatAsStr()}")
14
15 # TODO add example of options set by file
16
17
18if __name__ == "__main__":
19 test_CTraceTextExportFormat()