mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-04-09 18:50:54 +03:00
0023788: OCCT tests don't catch Naming failures
Test corrections for catch Naming failure
This commit is contained in:
parent
607a96d42a
commit
3113d5208c
@ -1,3 +1,5 @@
|
|||||||
|
puts "TODO ?CR23788 ALL: Failed units"
|
||||||
|
|
||||||
#1 - create box using more flexible set of commands
|
#1 - create box using more flexible set of commands
|
||||||
NewCommand D
|
NewCommand D
|
||||||
set B2 [AddObject D]; ## add object
|
set B2 [AddObject D]; ## add object
|
||||||
|
@ -1,3 +1,5 @@
|
|||||||
|
puts "TODO ?CR23788 ALL: Failed units"
|
||||||
|
|
||||||
#Drivers' nick-names:
|
#Drivers' nick-names:
|
||||||
#Box|Sph|Cyl|Cut|Fuse|Prism|Revol|PTxyz|PTALine|PRLine|PMirr|Fillet|Attach|XAttach
|
#Box|Sph|Cyl|Cut|Fuse|Prism|Revol|PTxyz|PTALine|PRLine|PMirr|Fillet|Attach|XAttach
|
||||||
# order of functions recomputation should be defined out of the tool (by end user)
|
# order of functions recomputation should be defined out of the tool (by end user)
|
||||||
|
@ -1,3 +1,5 @@
|
|||||||
|
puts "TODO ?CR23788 ALL: Failed units"
|
||||||
|
|
||||||
AddDriver D Box Cyl Sph Attach XAttach PTxyz PTALine PRLine PMirr Cut Fuse Prism FulRevol SecRevol Fillet
|
AddDriver D Box Cyl Sph Attach XAttach PTxyz PTALine PRLine PMirr Cut Fuse Prism FulRevol SecRevol Fillet
|
||||||
#1 Box creation
|
#1 Box creation
|
||||||
NewCommand D
|
NewCommand D
|
||||||
|
@ -1,3 +1,5 @@
|
|||||||
|
puts "TODO ?CR23788 ALL: Failed units"
|
||||||
|
|
||||||
AddDriver D Box Cyl Sph Attach XAttach PTxyz PTALine PRLine PMirr Cut Fuse Prism FulRevol SecRevol Fillet
|
AddDriver D Box Cyl Sph Attach XAttach PTxyz PTALine PRLine PMirr Cut Fuse Prism FulRevol SecRevol Fillet
|
||||||
|
|
||||||
#1 Create Box
|
#1 Create Box
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
|
puts "TODO ?CR23788 ALL: Failed units"
|
||||||
AddDriver D Box Cyl Sph Attach XAttach PTxyz PTALine PRLine PMirr Cut Fuse Prism FulRevol SecRevol Fillet
|
AddDriver D Box Cyl Sph Attach XAttach PTxyz PTALine PRLine PMirr Cut Fuse Prism FulRevol SecRevol Fillet
|
||||||
|
|
||||||
#1 Create Box
|
#1 Create Box
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
|
puts "TODO ?CR23788 ALL: Failed units"
|
||||||
#1 - create Box using short-cut
|
#1 - create Box using short-cut
|
||||||
NewCommand D
|
NewCommand D
|
||||||
AddDriver D Box; ## add box driver to driver table
|
AddDriver D Box; ## add box driver to driver table
|
||||||
|
@ -1,3 +1,5 @@
|
|||||||
|
puts "TODO ?CR23788 ALL: Failed units"
|
||||||
|
|
||||||
#Drivers' nick-names:
|
#Drivers' nick-names:
|
||||||
#Box|Sph|Cyl|Cut|Fuse|Prism|SecRevol|FulRevol|PTxyz|PTALine|PRLine|PMirr|Fillet|Attach|XAttach
|
#Box|Sph|Cyl|Cut|Fuse|Prism|SecRevol|FulRevol|PTxyz|PTALine|PRLine|PMirr|Fillet|Attach|XAttach
|
||||||
# order of functions recomputation should be defined out of the tool (by end user)
|
# order of functions recomputation should be defined out of the tool (by end user)
|
||||||
@ -118,4 +120,4 @@ NewCommand D
|
|||||||
#set SPnt1 [AttachShape D Box2_1 ${B2} ${B2}]
|
#set SPnt1 [AttachShape D Box2_1 ${B2} ${B2}]
|
||||||
#set Sph1 [AddSphere D $SPnt1 30]
|
#set Sph1 [AddSphere D $SPnt1 30]
|
||||||
#ComputeFun D $Sph1:1
|
#ComputeFun D $Sph1:1
|
||||||
#GetShape D $Sph1:1:2 Sph
|
#GetShape D $Sph1:1:2 Sph
|
||||||
|
@ -1,3 +1,5 @@
|
|||||||
|
puts "TODO ?CR23788 ALL: Failed units"
|
||||||
|
|
||||||
#Drivers' nick-names:
|
#Drivers' nick-names:
|
||||||
#Box|Sph|Cyl|Cut|Fuse|Prism|SecRevol|FulRevol|PTxyz|PTALine|PRLine|PMirr|Fillet|Attach|XAttach
|
#Box|Sph|Cyl|Cut|Fuse|Prism|SecRevol|FulRevol|PTxyz|PTALine|PRLine|PMirr|Fillet|Attach|XAttach
|
||||||
# order of functions recomputation should be defined out of the tool (by end user)
|
# order of functions recomputation should be defined out of the tool (by end user)
|
||||||
|
@ -1,3 +1,5 @@
|
|||||||
|
puts "TODO ?CR23788 ALL: Failed units"
|
||||||
|
|
||||||
#1 - create Box using short-cut
|
#1 - create Box using short-cut
|
||||||
NewCommand D
|
NewCommand D
|
||||||
AddDriver D Box; ## add box driver to driver table
|
AddDriver D Box; ## add box driver to driver table
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
|
puts "TODO ?CR23788 ALL: Failed units"
|
||||||
AddDriver D Box Cyl Sph Attach XAttach PTxyz PTALine PRLine PMirr Cut Fuse Prism FulRevol SecRevol Fillet
|
AddDriver D Box Cyl Sph Attach XAttach PTxyz PTALine PRLine PMirr Cut Fuse Prism FulRevol SecRevol Fillet
|
||||||
|
|
||||||
#1 Create Box
|
#1 Create Box
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
|
puts "TODO ?CR23788 ALL: Failed units"
|
||||||
#1 - create Box using short-cut
|
#1 - create Box using short-cut
|
||||||
NewCommand D
|
NewCommand D
|
||||||
AddDriver D Box; ## add box driver to driver table
|
AddDriver D Box; ## add box driver to driver table
|
||||||
|
@ -1,3 +1,5 @@
|
|||||||
|
puts "TODO ?CR23788 ALL: Failed units"
|
||||||
|
|
||||||
#1 - create Box using short-cut
|
#1 - create Box using short-cut
|
||||||
NewCommand D
|
NewCommand D
|
||||||
AddDriver D Box; ## add box driver to driver table
|
AddDriver D Box; ## add box driver to driver table
|
||||||
|
@ -1,3 +1,5 @@
|
|||||||
|
puts "TODO ?CR23788 ALL: Failed units"
|
||||||
|
|
||||||
#Drivers' nick-names:
|
#Drivers' nick-names:
|
||||||
#Box|Sph|Cyl|Cut|Fuse|Prism|SecRevol|FulRevol|PTxyz|PTALine|PRLine|PMirr|Fillet|Attach|XAttach
|
#Box|Sph|Cyl|Cut|Fuse|Prism|SecRevol|FulRevol|PTxyz|PTALine|PRLine|PMirr|Fillet|Attach|XAttach
|
||||||
# order of functions recomputation should be defined out of the tool (by end user)
|
# order of functions recomputation should be defined out of the tool (by end user)
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
|
puts "TODO ?CR23788 ALL: Failed units"
|
||||||
#1 - create 4 Pnts
|
#1 - create 4 Pnts
|
||||||
NewCommand D
|
NewCommand D
|
||||||
AddDriver D PntXYZ PntRLT Line3D Attach;
|
AddDriver D PntXYZ PntRLT Line3D Attach;
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
|
puts "TODO ?CR23788 ALL: Failed units"
|
||||||
#1 - create 4 Pnts
|
#1 - create 4 Pnts
|
||||||
NewCommand D
|
NewCommand D
|
||||||
AddDriver D PntXYZ PntRLT Line3D Attach;
|
AddDriver D PntXYZ PntRLT Line3D Attach;
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
|
puts "TODO ?CR23788 ALL: Failed units"
|
||||||
#1 - create 4 Pnts
|
#1 - create 4 Pnts
|
||||||
NewCommand D
|
NewCommand D
|
||||||
AddDriver D PntXYZ PntRLT Line3D Attach;
|
AddDriver D PntXYZ PntRLT Line3D Attach;
|
||||||
|
2
tests/caf/named_shape/E1
Normal file → Executable file
2
tests/caf/named_shape/E1
Normal file → Executable file
@ -1,3 +1,5 @@
|
|||||||
|
puts "TODO ?CR23788 ALL: Failed units"
|
||||||
|
|
||||||
# ============= OCAF ============================
|
# ============= OCAF ============================
|
||||||
# Naming
|
# Naming
|
||||||
#
|
#
|
||||||
|
2
tests/caf/named_shape/E2
Normal file → Executable file
2
tests/caf/named_shape/E2
Normal file → Executable file
@ -1,3 +1,5 @@
|
|||||||
|
puts "TODO ?CR23788 ALL: Failed units"
|
||||||
|
|
||||||
# =================== OCAF ======================
|
# =================== OCAF ======================
|
||||||
# Naming
|
# Naming
|
||||||
#
|
#
|
||||||
|
2
tests/caf/named_shape/E3
Normal file → Executable file
2
tests/caf/named_shape/E3
Normal file → Executable file
@ -1,3 +1,5 @@
|
|||||||
|
puts "TODO ?CR23788 ALL: Failed units"
|
||||||
|
|
||||||
# =================== OCAF ======================
|
# =================== OCAF ======================
|
||||||
# Naming
|
# Naming
|
||||||
#
|
#
|
||||||
|
2
tests/caf/named_shape/E4
Normal file → Executable file
2
tests/caf/named_shape/E4
Normal file → Executable file
@ -1,3 +1,5 @@
|
|||||||
|
puts "TODO ?CR23788 ALL: Failed units"
|
||||||
|
|
||||||
# =================== OCAF ======================
|
# =================== OCAF ======================
|
||||||
# Naming
|
# Naming
|
||||||
#
|
#
|
||||||
|
2
tests/caf/named_shape/E5
Normal file → Executable file
2
tests/caf/named_shape/E5
Normal file → Executable file
@ -1,3 +1,5 @@
|
|||||||
|
puts "TODO ?CR23788 ALL: Failed units"
|
||||||
|
|
||||||
# =================== OCAF ======================
|
# =================== OCAF ======================
|
||||||
# Naming
|
# Naming
|
||||||
#
|
#
|
||||||
|
2
tests/caf/named_shape/E6
Normal file → Executable file
2
tests/caf/named_shape/E6
Normal file → Executable file
@ -1,3 +1,5 @@
|
|||||||
|
puts "TODO ?CR23788 ALL: Failed units"
|
||||||
|
|
||||||
# =================== OCAF ======================
|
# =================== OCAF ======================
|
||||||
# Naming
|
# Naming
|
||||||
#
|
#
|
||||||
|
2
tests/caf/named_shape/E7
Normal file → Executable file
2
tests/caf/named_shape/E7
Normal file → Executable file
@ -1,3 +1,5 @@
|
|||||||
|
puts "TODO ?CR23788 ALL: Failed units"
|
||||||
|
|
||||||
# =================== OCAF ======================
|
# =================== OCAF ======================
|
||||||
# Naming
|
# Naming
|
||||||
#
|
#
|
||||||
|
2
tests/caf/named_shape/E8
Normal file → Executable file
2
tests/caf/named_shape/E8
Normal file → Executable file
@ -1,3 +1,5 @@
|
|||||||
|
puts "TODO ?CR23788 ALL: Failed units"
|
||||||
|
|
||||||
# =================== OCAF ======================
|
# =================== OCAF ======================
|
||||||
# Naming
|
# Naming
|
||||||
#
|
#
|
||||||
|
2
tests/caf/named_shape/E9
Normal file → Executable file
2
tests/caf/named_shape/E9
Normal file → Executable file
@ -1,3 +1,5 @@
|
|||||||
|
puts "TODO ?CR23788 ALL: Failed units"
|
||||||
|
|
||||||
# ============= OCAF ============================
|
# ============= OCAF ============================
|
||||||
# Naming
|
# Naming
|
||||||
#
|
#
|
||||||
|
2
tests/caf/named_shape/F1
Normal file → Executable file
2
tests/caf/named_shape/F1
Normal file → Executable file
@ -1,3 +1,5 @@
|
|||||||
|
puts "TODO ?CR23788 ALL: Failed units"
|
||||||
|
|
||||||
# ============= OCAF ============================
|
# ============= OCAF ============================
|
||||||
# Naming
|
# Naming
|
||||||
#
|
#
|
||||||
|
2
tests/caf/named_shape/F2
Normal file → Executable file
2
tests/caf/named_shape/F2
Normal file → Executable file
@ -1,3 +1,5 @@
|
|||||||
|
puts "TODO ?CR23788 ALL: Failed units"
|
||||||
|
|
||||||
# ============= OCAF ============================
|
# ============= OCAF ============================
|
||||||
# Naming
|
# Naming
|
||||||
#
|
#
|
||||||
|
2
tests/caf/named_shape/F3
Normal file → Executable file
2
tests/caf/named_shape/F3
Normal file → Executable file
@ -1,3 +1,5 @@
|
|||||||
|
puts "TODO ?CR23788 ALL: Failed units"
|
||||||
|
|
||||||
# ============= OCAF ============================
|
# ============= OCAF ============================
|
||||||
# Naming
|
# Naming
|
||||||
#
|
#
|
||||||
|
2
tests/caf/named_shape/F4
Normal file → Executable file
2
tests/caf/named_shape/F4
Normal file → Executable file
@ -1,3 +1,5 @@
|
|||||||
|
puts "TODO ?CR23788 ALL: Failed units"
|
||||||
|
|
||||||
# =================== OCAF ======================
|
# =================== OCAF ======================
|
||||||
# Naming
|
# Naming
|
||||||
#
|
#
|
||||||
|
2
tests/caf/named_shape/F5
Normal file → Executable file
2
tests/caf/named_shape/F5
Normal file → Executable file
@ -1,3 +1,5 @@
|
|||||||
|
puts "TODO ?CR23788 ALL: Failed units"
|
||||||
|
|
||||||
# =================== OCAF ======================
|
# =================== OCAF ======================
|
||||||
# Naming
|
# Naming
|
||||||
#
|
#
|
||||||
|
@ -1,3 +1,5 @@
|
|||||||
|
puts "TODO ?CR23788 ALL: Failed units"
|
||||||
|
|
||||||
# =================== OCAF ======================
|
# =================== OCAF ======================
|
||||||
# Naming
|
# Naming
|
||||||
#
|
#
|
||||||
|
2
tests/caf/parse.rules
Normal file → Executable file
2
tests/caf/parse.rules
Normal file → Executable file
@ -1,2 +1,4 @@
|
|||||||
FAILED /\binvalid\b/ error
|
FAILED /\binvalid\b/ error
|
||||||
|
FAILED /\bFailed\b/ error
|
||||||
|
FAILED /\bfailed\b/ error
|
||||||
IGNORE /^\s*DPrsStd_AISColor\s*:\s*Error\b/ ignore presentation K2 error message
|
IGNORE /^\s*DPrsStd_AISColor\s*:\s*Error\b/ ignore presentation K2 error message
|
||||||
|
Loading…
x
Reference in New Issue
Block a user