1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-06-30 12:14:08 +03:00
occt/tests/bugs/xde/bug25176
akz b8f2022f8c 0025176: STEP Reader - no error report if referenced entity has wrong type.
Interface_CheckTool does not reset the Check added to CheckList now.

Added test case bugs/xde/bug25176

Update reference data in test cases.

Resolving conflicts:
	tests/de/iges_3/A4
	tests/de/step_1/R7
	tests/de/step_2/H1
2015-02-12 11:37:11 +03:00

21 lines
551 B
Plaintext

puts "=========="
puts "OCC25176"
puts "=========="
puts ""
######################################################################
# STEP Reader - no error report if referenced entity has wrong type
######################################################################
stepread [locate_data_file bug25176_occ25176.stp] step *
decho off
set Log [data c]
decho on
if {![regexp {F:APPLICATION_PROTOCOL_DEFINITION: Parameter n0.4} $Log]} {
puts "Error: wrong report on wrong type entity"
} else {
puts "OK: correct report on wrong type entity"
}