0030409: Data Exchange - exception during VRML file export
[occt.git] / tests / bugs / xde / bug23911_1
CommitLineData
5f07d05d 1puts "============"
2puts "OCC23911"
3puts "============"
4puts ""
5#######################################################################
6# Invalid output of command Xdump
7#######################################################################
8
9XNewDoc D
10box b 1 1 1
11ttranslate b 1 0 0
12compound b c
13XAddShape D c
14
15set Log [Xdump D]
16
17set status 0
18
19if {[llength ${Log}] < 1} {
20 puts "Error: Invalid output of command Xdump"
21 set status 1
22}
23
24if { [regexp "ASSEMBLY" ${Log}] != 1 } {
25 puts "Error: Invalid output of command Xdump"
26 set status 1
27}
28
29if { [regexp "SOLID" ${Log}] != 1 } {
30 puts "Error: Invalid output of command Xdump"
31 set status 1
32}
33
34if { ${status} == 0 } {
35 puts "OK: Good output of command Xdump"
36}