5import isystem.connect
as ic
11def test_doc_control():
12 connMgr = ic.ConnectionMgr()
13 connMgr.connect(ic.CConnectionConfig().instanceId(winidea_id))
15 FILE_NAME =
"test_control.trd"
16 print(
"Creating example analyzer '.trd' file...")
17 covCtrl = ic.CCoverageController2(connMgr, FILE_NAME,
"w")
20 print(
"Opening file with document controller...")
21 docCtrl = ic.CDocumentController(connMgr, FILE_NAME,
"u")
23 print(
"Controlling analyzer document state...")
32 print(
"Discarding document...")
33 docCtrl.closeDiscard()
36if __name__ ==
"__main__":