mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-04-10 18:51:21 +03:00
0023922: Systematic review of TODO tests
Small corrections for test cases with "TEST INCOMPLETE" result. TODO statements with "TEST INCOMPLETE" were checked and corrected.
This commit is contained in:
parent
6504f8cd28
commit
c857a60abe
4
tests/3rdparty/fonts/B1
vendored
4
tests/3rdparty/fonts/B1
vendored
@ -1,7 +1,3 @@
|
|||||||
puts "TODO ?OCC12345 Debian60-64: \\*\\* Exception \\*\\*.*"
|
|
||||||
puts "TODO ?OCC12345 Debian60-64: An exception was caught"
|
|
||||||
puts "TODO ?OCC12345 Debian60-64: TEST INCOMPLETE"
|
|
||||||
|
|
||||||
puts "============"
|
puts "============"
|
||||||
puts "OCC24181 Render text as BRep"
|
puts "OCC24181 Render text as BRep"
|
||||||
puts "============"
|
puts "============"
|
||||||
|
@ -1,12 +1,6 @@
|
|||||||
puts "TODO ?OCC22817 All:An exception was caught"
|
|
||||||
puts "TODO ?OCC22817 All:\\*\\* Exception \\*\\*"
|
|
||||||
puts "TODO ?OCC22817 All:TEST INCOMPLETE"
|
|
||||||
|
|
||||||
restore [locate_data_file CFI_11_d2ffd.rle] s
|
restore [locate_data_file CFI_11_d2ffd.rle] s
|
||||||
tscale s 0 0 0 SCALE1
|
tscale s 0 0 0 SCALE1
|
||||||
explode s E
|
explode s E
|
||||||
blend result s 20*SCALE1 s_16
|
blend result s 20*SCALE1 s_16
|
||||||
explode result So
|
|
||||||
tcopy result_1 result
|
|
||||||
|
|
||||||
set square 1.85726e+06
|
set square 1.85726e+06
|
||||||
|
@ -1,12 +1,6 @@
|
|||||||
puts "TODO ?OCC22817 All:An exception was caught"
|
|
||||||
puts "TODO ?OCC22817 All:\\*\\* Exception \\*\\*"
|
|
||||||
puts "TODO ?OCC22817 All:TEST INCOMPLETE"
|
|
||||||
|
|
||||||
restore [locate_data_file CFI_13_c1ffk.rle] s
|
restore [locate_data_file CFI_13_c1ffk.rle] s
|
||||||
tscale s 0 0 0 SCALE1
|
tscale s 0 0 0 SCALE1
|
||||||
explode s E
|
explode s E
|
||||||
blend result s 4*SCALE1 s_9 5*SCALE1 s_10 6*SCALE1 s_2 4*SCALE1 s_1
|
blend result s 4*SCALE1 s_9 5*SCALE1 s_10 6*SCALE1 s_2 4*SCALE1 s_1
|
||||||
explode result So
|
|
||||||
tcopy result_1 result
|
|
||||||
|
|
||||||
set square 165055
|
set square 165055
|
||||||
|
@ -1,12 +1,6 @@
|
|||||||
puts "TODO ?OCC22817 All:An exception was caught"
|
|
||||||
puts "TODO ?OCC22817 All:\\*\\* Exception \\*\\*"
|
|
||||||
puts "TODO ?OCC22817 All:TEST INCOMPLETE"
|
|
||||||
|
|
||||||
restore [locate_data_file CFI_13_c1ffk.rle] s
|
restore [locate_data_file CFI_13_c1ffk.rle] s
|
||||||
tscale s 0 0 0 SCALE1
|
tscale s 0 0 0 SCALE1
|
||||||
explode s E
|
explode s E
|
||||||
blend result s 5*SCALE1 s_9 5*SCALE1 s_10 5*SCALE1 s_2
|
blend result s 5*SCALE1 s_9 5*SCALE1 s_10 5*SCALE1 s_2
|
||||||
explode result So
|
|
||||||
tcopy result_1 result
|
|
||||||
|
|
||||||
set square 165929
|
set square 165929
|
||||||
|
@ -1,12 +1,6 @@
|
|||||||
puts "TODO ?OCC22817 All:An exception was caught"
|
|
||||||
puts "TODO ?OCC22817 All:\\*\\* Exception \\*\\*"
|
|
||||||
puts "TODO ?OCC22817 All:TEST INCOMPLETE"
|
|
||||||
|
|
||||||
restore [locate_data_file CFI_13_e1ffm.rle] s
|
restore [locate_data_file CFI_13_e1ffm.rle] s
|
||||||
tscale s 0 0 0 SCALE1
|
tscale s 0 0 0 SCALE1
|
||||||
explode s E
|
explode s E
|
||||||
blend result s 5*SCALE1 s_2 5*SCALE1 s_12 5*SCALE1 s_9 5*SCALE1 s_1
|
blend result s 5*SCALE1 s_2 5*SCALE1 s_12 5*SCALE1 s_9 5*SCALE1 s_1
|
||||||
explode result So
|
|
||||||
tcopy result_1 result
|
|
||||||
|
|
||||||
set square 670347
|
set square 670347
|
||||||
|
@ -1,12 +1,6 @@
|
|||||||
puts "TODO ?OCC22817 All:An exception was caught"
|
|
||||||
puts "TODO ?OCC22817 All:\\*\\* Exception \\*\\*"
|
|
||||||
puts "TODO ?OCC22817 All:TEST INCOMPLETE"
|
|
||||||
|
|
||||||
restore [locate_data_file CFI_13_e1ffm.rle] s
|
restore [locate_data_file CFI_13_e1ffm.rle] s
|
||||||
tscale s 0 0 0 SCALE1
|
tscale s 0 0 0 SCALE1
|
||||||
explode s E
|
explode s E
|
||||||
blend result s 7*SCALE1 s_2 7*SCALE1 s_12 7*SCALE1 s_1
|
blend result s 7*SCALE1 s_2 7*SCALE1 s_12 7*SCALE1 s_1
|
||||||
explode result So
|
|
||||||
tcopy result_1 result
|
|
||||||
|
|
||||||
set square 669202
|
set square 669202
|
||||||
|
@ -1,8 +1,3 @@
|
|||||||
puts "TODO ?#22911 ALL: An exception was caught"
|
|
||||||
puts "TODO ?#22911 ALL: \\*\\* Exception \\*\\*.*"
|
|
||||||
puts "TODO ?OCC12345 ALL: Process killed by CPU limit"
|
|
||||||
puts "TODO ?#22911 ALL: TEST INCOMPLETE"
|
|
||||||
|
|
||||||
cpulimit 1200
|
cpulimit 1200
|
||||||
|
|
||||||
restore [locate_data_file lh3d_ro1.brep] a
|
restore [locate_data_file lh3d_ro1.brep] a
|
||||||
|
@ -6,9 +6,12 @@ puts "OCC63"
|
|||||||
puts "================"
|
puts "================"
|
||||||
puts ""
|
puts ""
|
||||||
|
|
||||||
restore [locate_data_file box__simplifiée.brep] result
|
set s [encoding convertto iso8859-2 "\xE9"]
|
||||||
|
set path [locate_data_file box__simplifie.brep]
|
||||||
|
|
||||||
|
file copy -force "${path}" "${imagedir}/box__simplifi${s}e.brep"
|
||||||
|
restore "${imagedir}/box__simplifi${s}e.brep" result
|
||||||
|
|
||||||
checkshape result
|
checkshape result
|
||||||
|
|
||||||
set 2dviewer 0
|
set 2dviewer 0
|
||||||
|
|
||||||
|
|
||||||
|
@ -2,9 +2,9 @@ if {[array get env os_type] != ""} {
|
|||||||
set os $env(os_type)
|
set os $env(os_type)
|
||||||
}
|
}
|
||||||
if {[string compare $os "windows"] != 0 } {
|
if {[string compare $os "windows"] != 0 } {
|
||||||
puts "TODO ?OCC12345 Debian60-64 MacOS: \\*\\* Exception"
|
puts "TODO ?OCC12345 MacOS: \\*\\* Exception"
|
||||||
puts "TODO ?OCC12345 Debian60-64 MacOS: An exception was caught"
|
puts "TODO ?OCC12345 MacOS: An exception was caught"
|
||||||
puts "TODO ?OCC12345 Debian60-64 MacOS: TEST INCOMPLETE"
|
puts "TODO ?OCC12345 MacOS: TEST INCOMPLETE"
|
||||||
}
|
}
|
||||||
|
|
||||||
pload QAcommands
|
pload QAcommands
|
||||||
|
@ -1,6 +1,8 @@
|
|||||||
|
# Incompleted behavior of test case is OK.
|
||||||
|
# Exception should be thrown.
|
||||||
|
|
||||||
puts "TODO OCC11111 ALL: \\*\\* Exception"
|
puts "TODO OCC11111 ALL: \\*\\* Exception"
|
||||||
puts "TODO OCC11111 ALL: An exception was caught"
|
puts "TODO OCC11111 ALL: An exception was caught"
|
||||||
puts "TODO OCC11111 ALL: TEST INCOMPLETE"
|
|
||||||
|
|
||||||
pload QAcommands
|
pload QAcommands
|
||||||
|
|
||||||
@ -15,6 +17,8 @@ puts ""
|
|||||||
cpulimit 60
|
cpulimit 60
|
||||||
vinit
|
vinit
|
||||||
|
|
||||||
OCC2569 29 result
|
if { [catch {OCC2569 29 result} anException] } {
|
||||||
|
puts "OCC2569 : OK"
|
||||||
set 3dviewer 0
|
} else {
|
||||||
|
puts "Error : OCC2569"
|
||||||
|
}
|
||||||
|
@ -1,9 +1,3 @@
|
|||||||
puts "TODO ?OCC12345 ALL: An exception was caught"
|
|
||||||
puts "TODO ?OCC12345 ALL: Error : Colors are not equal in default coordinate and in the near coordinates too"
|
|
||||||
puts "TODO ?OCC12345 ALL: \\*\\* Exception \\*\\*.*"
|
|
||||||
puts "TODO ?OCC12345 ALL: Error : Cannot set the arrow size when using AIS_LengthDimension or AIS_RadiusDimensin."
|
|
||||||
puts "TODO ?OCC12345 ALL: TEST INCOMPLETE"
|
|
||||||
|
|
||||||
puts "==========="
|
puts "==========="
|
||||||
puts "BUC60915"
|
puts "BUC60915"
|
||||||
puts "==========="
|
puts "==========="
|
||||||
|
@ -1,5 +1,3 @@
|
|||||||
puts "TODO OCC12345 ALL: Tcl Exception: result_1 is not a topological shape!!!"
|
|
||||||
puts "TODO OCC12345 ALL: TEST INCOMPLETE"
|
|
||||||
puts "============="
|
puts "============="
|
||||||
puts "PRO20342"
|
puts "PRO20342"
|
||||||
puts "============="
|
puts "============="
|
||||||
@ -13,12 +11,12 @@ pload XDE
|
|||||||
|
|
||||||
igesbrep [locate_data_file fra62523a.igs] result *
|
igesbrep [locate_data_file fra62523a.igs] result *
|
||||||
|
|
||||||
checkshape result_1 r
|
checkshape result r
|
||||||
|
|
||||||
vinit
|
vinit
|
||||||
tclean result_1
|
tclean result
|
||||||
vdisplay result_1
|
vdisplay result
|
||||||
vsetshading result_1 0.1
|
vsetshading result 0.1
|
||||||
vfit
|
vfit
|
||||||
|
|
||||||
set only_screen 1
|
set only_screen 1
|
||||||
|
Loading…
x
Reference in New Issue
Block a user