]> OCCT Git - occt.git/commitdiff
0003883: Problems of reading colors and layers in XDEDRAWEXE
authorapv <apv@opencascade.com>
Wed, 14 Jun 2017 12:51:21 +0000 (15:51 +0300)
committerbugmaster <bugmaster@opencascade.com>
Thu, 15 Jun 2017 08:37:34 +0000 (11:37 +0300)
# Test cases bugs/step/bug3883_1, bug3883_2, bug3883_3, bug3883_4, bug3883_5 creation

tests/bugs/step/bug3883_1 [new file with mode: 0644]
tests/bugs/step/bug3883_2 [new file with mode: 0644]
tests/bugs/step/bug3883_3 [new file with mode: 0644]
tests/bugs/step/bug3883_4 [new file with mode: 0644]
tests/bugs/step/bug3883_5 [new file with mode: 0644]

diff --git a/tests/bugs/step/bug3883_1 b/tests/bugs/step/bug3883_1
new file mode 100644 (file)
index 0000000..d32fe84
--- /dev/null
@@ -0,0 +1,22 @@
+puts "======="
+puts "OCC3883"
+puts "======="
+puts ""
+#######################################################
+# Problems of reading colors and layers in XDEDRAWEXE
+#######################################################
+
+set theColors ""
+set theLayers ""
+
+ReadStep D [locate_data_file bug3883_xr2-ct-214_bolt.stp]
+
+set theColors [XGetAllColors D]
+set theLayers [XGetAllLayers D]
+
+if {$theColors == ""} {
+  puts "ERROR: OCC3883 is reproduced. Colors have not been read."
+}
+if {$theLayers == ""} {
+  puts "ERROR: OCC3883 is reproduced. Layers have not been read."
+}
diff --git a/tests/bugs/step/bug3883_2 b/tests/bugs/step/bug3883_2
new file mode 100644 (file)
index 0000000..c071799
--- /dev/null
@@ -0,0 +1,22 @@
+puts "======="
+puts "OCC3883"
+puts "======="
+puts ""
+#######################################################
+# Problems of reading colors and layers in XDEDRAWEXE
+#######################################################
+
+set theColors ""
+set theLayers ""
+
+ReadStep D [locate_data_file bug3883_xr2-ct-214_l-bracket.stp]
+
+set theColors [XGetAllColors D]
+set theLayers [XGetAllLayers D]
+
+if {$theColors == ""} {
+  puts "ERROR: OCC3883 is reproduced. Colors have not been read."
+}
+if {$theLayers == ""} {
+  puts "ERROR: OCC3883 is reproduced. Layers have not been read."
+}
diff --git a/tests/bugs/step/bug3883_3 b/tests/bugs/step/bug3883_3
new file mode 100644 (file)
index 0000000..cb52227
--- /dev/null
@@ -0,0 +1,22 @@
+puts "======="
+puts "OCC3883"
+puts "======="
+puts ""
+#######################################################
+# Problems of reading colors and layers in XDEDRAWEXE
+#######################################################
+
+set theColors ""
+set theLayers ""
+
+ReadStep D [locate_data_file bug3883_xr2-ct-214_nut.stp]
+
+set theColors [XGetAllColors D]
+set theLayers [XGetAllLayers D]
+
+if {$theColors == ""} {
+  puts "ERROR: OCC3883 is reproduced. Colors have not been read."
+}
+if {$theLayers == ""} {
+  puts "ERROR: OCC3883 is reproduced. Layers have not been read."
+}
diff --git a/tests/bugs/step/bug3883_4 b/tests/bugs/step/bug3883_4
new file mode 100644 (file)
index 0000000..cd4c5b3
--- /dev/null
@@ -0,0 +1,22 @@
+puts "======="
+puts "OCC3883"
+puts "======="
+puts ""
+#######################################################
+# Problems of reading colors and layers in XDEDRAWEXE
+#######################################################
+
+set theColors ""
+set theLayers ""
+
+ReadStep D [locate_data_file bug3883_xr2-ct-214_plate.stp]
+
+set theColors [XGetAllColors D]
+set theLayers [XGetAllLayers D]
+
+if {$theColors == ""} {
+  puts "ERROR: OCC3883 is reproduced. Colors have not been read."
+}
+if {$theLayers == ""} {
+  puts "ERROR: OCC3883 is reproduced. Layers have not been read."
+}
diff --git a/tests/bugs/step/bug3883_5 b/tests/bugs/step/bug3883_5
new file mode 100644 (file)
index 0000000..5e74360
--- /dev/null
@@ -0,0 +1,22 @@
+puts "======="
+puts "OCC3883"
+puts "======="
+puts ""
+#######################################################
+# Problems of reading colors and layers in XDEDRAWEXE
+#######################################################
+
+set theColors ""
+set theLayers ""
+
+ReadStep D [locate_data_file bug3883_xr2-ct-214_rod.stp]
+
+set theColors [XGetAllColors D]
+set theLayers [XGetAllLayers D]
+
+if {$theColors == ""} {
+  puts "ERROR: OCC3883 is reproduced. Colors have not been read."
+}
+if {$theLayers == ""} {
+  puts "ERROR: OCC3883 is reproduced. Layers have not been read."
+}