0031918: Application Framework - New binary format for fast reading part of OCAF...
[occt.git] / tests / caf / progress / B1
CommitLineData
6d8f9f4a 1#INTERFACE CAF
2# Message_ProgressIndicator
3#
4# Testing attribute: TDocStd_Application
5#
6# Testing command: Open
7#
8
9puts "caf009-B1"
10
11set bDoc [CreateBinDoc]
12
13# Configurate XProgress
7e785937 14XProgress +t
6d8f9f4a 15
16# Open binary document
17if {${bDoc} == "" } {
18 puts "Error: Open command for binary files: Error, wrong path"
19 return
20}
21
22set output [Open ${bDoc} Doc]
23
24# Close the document
25Close Doc
26
27# Test data
d5c71e20 28set ctr {"0%" "Reading data" "Reading sub tree" "100%" }
6d8f9f4a 29
30foreach data ${ctr} {
31 if ![regexp $data $output] {
32 puts "Error: Open command for binary files: Mismatch data on '$data'"
33 break
34 }
35}