]> OCCT Git - occt-copy.git/commitdiff
Adjusting testing cases
authorapn <apn@opencascade.com>
Mon, 14 Jan 2013 12:38:44 +0000 (16:38 +0400)
committerapn <apn@opencascade.com>
Mon, 14 Jan 2013 12:38:44 +0000 (16:38 +0400)
tests/bugs/fclasses/bug309
tests/bugs/modalg/bug770
tests/bugs/moddata/bug10603
tests/bugs/vis/buc60738
tests/bugs/vis/buc60915
tests/bugs/vis/bug137_2
tests/bugs/vis/bug137_3
tests/bugs/vis/bug137_4
tests/bugs/vis/bug137_5
tests/bugs/vis/bug74

index 84e07b2b64151a955e866a2ceb8dbe677308851a..6ea96bebe50ba80c1025c9ea5d827a78be028a43 100644 (file)
@@ -1,3 +1,5 @@
+puts "TODO ?OCC12345 ALL: OCC309: ERROR 2"
+
 puts "================"
 puts "OCC309"
 puts "================"
@@ -21,8 +23,12 @@ if { ${ll} != 2 } {
        set res1 [ string range $result1 1 [expr [string length $result1] -3 ] ]
        set res2 [ string range $result2 1 [expr [string length $result2] -3 ] ]
     } else {
-       set res1 [ string range $result1 1 [expr [string length $result1] -2 ] ]
-       set res2 [ string range $result1 1 [expr [string length $result2] -8 ] ]
+       set info [pwd]
+       set CurrentDirectory [string range $info 2 end]
+       set info2 [file dirname ${CurrentDirectory}]
+       set UpTrek [file dirname ${CurrentDirectory}]
+       set res1 [ string range $result1 3 [expr [string length $result1] -2 ] ]
+       set res2 [ string range $result2 3 [expr [string length $result2] -2 ] ]
     }
     if {[string compare ${res1} "${CurrentDirectory}"] == 0} {
        puts "OCC309: OK 1"
index 7abd3b3e1179165564f90e30f77e05f320a5ca00..a16f240721d2dba57d13248195edea9749335b09 100755 (executable)
@@ -1,6 +1,6 @@
 puts "TODO ?OCC12345 ALL: Faulty shapes in variables faulty_1 to faulty_"
 puts "TODO ?OCC12345 ALL: Error : The square of result shape is"
-puts "TODO ?OCC12345 ALL: TEST ICOMPLETE"
+puts "TODO ?OCC12345 ALL: TEST INCOMPLETE"
 
 puts "========"
 puts "OCC770"
index 5b3f7614e7a1ccf53eaf18f260d57147d8c53e59..cd57e82de43b908eed36cd2a1a354341795414ca 100644 (file)
@@ -1,3 +1,5 @@
+puts "TODO ?OCC10603 ALL: Faulty shapes in variables faulty_1 to faulty_"
+puts "TODO ?OCC10603 ALL: Error : Result shape is WRONG because it must contains"
 puts "============"
 puts "OCC10603"
 puts "============"
index c175349f5e7195c62760d4706032e7cf0dc05c6d..0c2d154952a40ffe661fbf3d541a05731b54bd41 100755 (executable)
@@ -3,8 +3,8 @@
 ###    set os $env(os_type)
 ###}
 ###if { [string compare $os "windows"] == 0 } {
-###    puts "TODO OCC12345 ALL: Error : Colors are not equal in default coordinate and in the near coordinates too"
-###    puts "TODO OCC12345 ALL: Error : The style of edge is NOT dash"
+puts "TODO ?OCC12345 ALL: Error : Colors are not equal in default coordinate and in the near coordinates too"
+puts "TODO ?OCC12345 ALL: Error : The style of edge is NOT dash"
 ###    by apn: Image is not correct on WNT
 ###}
 
index 12d64d1d68cb79c4ec5ac524b6729775754ba751..94d02d05de4a2610c025bd395910555064c6a24d 100755 (executable)
@@ -1,11 +1,7 @@
-if { [array get env os_type] != "" } {
-    set os $env(os_type)
-}
-if { [string compare $os "windows"] != 0 } {
-   puts "TODO OCC12345 ALL: An exception was caught"
-   puts "TODO OCC12345 ALL: \\*\\* Exception \\*\\*.*"
-   puts "TODO OCC12345 ALL: TEST INCOMPLETE"
-}
+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: TEST INCOMPLETE"
 
 puts "==========="
 puts "BUC60915"
index 4c49b73fc9a34c5a11acc4f6dbcaedad94f0d48d..0e9c488e752e702a2e154b1217b373509728c556 100755 (executable)
@@ -1,3 +1,5 @@
+puts "TODO ?OCC12345 ALL: Error : Colors are not equal in default coordinate and in the near coordinates too"
+
 puts "========================"
 puts "OCC137"
 puts "========================"                                                                                         
index 997ef5caf034f9a8f26f76576eff18c2d6d991eb..2f565a8a1e341d610cb3b50eec0bfedc20eea109 100755 (executable)
@@ -1,3 +1,5 @@
+puts "TODO ?OCC12345 ALL: Error : Colors are not equal in default coordinate and in the near coordinates too"
+
 puts "========================"
 puts "OCC137"
 puts "========================"                                                                                         
index 1070ba6381fb10da572f73f6dfd298a99df06aeb..48fe476ce7ef4e7b5ddf735029b8d0e15b343e75 100755 (executable)
@@ -1,3 +1,5 @@
+puts "TODO ?OCC12345 ALL: Error : Colors are not equal in default coordinate and in the near coordinates too"
+
 puts "========================"
 puts "OCC137"
 puts "========================"                                                                                         
index 5ee93f7d319c383f15f4ae7c6a8410a13d990132..74139b32a9879c65d310598a50ab6bbaa3051d9e 100755 (executable)
@@ -1,3 +1,5 @@
+puts "TODO ?OCC12345 ALL: Error : Colors are not equal in default coordinate and in the near coordinates too"
+
 puts "========================"
 puts "OCC137"
 puts "========================"                                                                                         
index 212b0786f000bb8f72319b8ede970e0a0b7bffc7..2513852004057c4a794d8067452fbe10be9564f9 100644 (file)
@@ -1,6 +1,7 @@
 puts "TODO ?OCC12345 ALL: An exception was caught"
 puts "TODO ?OCC12345 ALL: \\*\\* Exception \\*\\*.*"
 puts "TODO ?OCC12345 ALL: TEST INCOMPLETE"
+puts "TODO ?OCC12345 ALL: Colors are not equal in default coordinate and in the near coordinates too"
 
 puts "================"
 puts "OCC74"