]> SALOME platform Git repositories - modules/shaper.git/commitdiff
Salome HOME
Update SQUISH tests.
authorspo <sergey.pokhodenko@opencascade.com>
Fri, 14 Aug 2015 06:25:05 +0000 (09:25 +0300)
committerspo <sergey.pokhodenko@opencascade.com>
Fri, 14 Aug 2015 06:25:05 +0000 (09:25 +0300)
test.squish/suite_ISSUES/suite.conf
test.squish/suite_ISSUES/tst_818/test.py
test.squish/suite_ISSUES/tst_c/test.py
test.squish/suite_ISSUES/tst_common_1/test.py
test.squish/suite_ISSUES_SALOME/tst_474/test.py

index 95a875b46e4940fd1d51faa8e58bf8080cd13400..af25ede87ef92f457449aef87b07107e22a0c79a 100644 (file)
@@ -1,5 +1,5 @@
-AUT=
-CWD=<CWD_of_Server>
+AUT=linux_run.sh
+CWD=<AUT_path>
 ENVVARS=envvars
 HOOK_SUB_PROCESSES=true
 IMPLICITAUTSTART=0
index 8fa2fabddbfe8dea432a538b42eea01159827b61..24bda779811171db2d545c8c7768bd08ef9ba38c 100644 (file)
@@ -17,6 +17,6 @@ def main():
     activateItem(waitForObjectItem(":_QMenu", "Delete"))
     
     waitFor("object.exists(':Delete features.Label_QLabel')", 20000)
-    test.compare(str(findObject(":Delete features.Label_QLabel").text), "Selected features are used in the following features: SketchLine_1.These features will be deleted.\nAlso these features will be deleted: Sketch_1.\nWould you like to continue?")
+    test.compare(str(findObject(":Delete features.Label_QLabel").text), "Selected features are used in the following features: SketchLine_1. These features will be deleted.\nAlso these features will be deleted: Sketch_1.\nWould you like to continue?")
 
     clickButton(waitForObject(":Delete features.Yes_QPushButton"))
index 2cb0d4f564671c47a2bb3a3590d32bfbaec0f527..82038e533a2968218a54f0b5686e0afa782c36a1 100644 (file)
@@ -1,7 +1,7 @@
 def main():
     source(findFile("scripts", "common.py"))
     
-    startApplication("GeomApp")
+    startApplication("linux_run.sh")
     set_defaults()
     
     clickButton(waitForObject(":Operations.New part_AppElements_Button"))
index 1f194a797a3eeeb7bdb0a133e95db329f83d6929..417432ff5f7a5503f11c9befd0a6290d98f35eee 100644 (file)
@@ -28,7 +28,7 @@ def sketch_1():
     radius_create((282, 203), (299, 177), 15)
     radius_create((456, 174), (402, 157), 15)
     radius_create((284, 454), (304, 438), 15)
-    radius_create((483, 459), (472, 486), 15)
+    radius_create((467, 484), (472, 486), 15)
     
     distance_create((269, 191), (463,198), (433, 101), 170)
     distance_create((265, 463), (445, 404), (328, 545), 170)
@@ -56,7 +56,7 @@ def sketch_2():
 def main():
     source(findFile("scripts", "common.py"))
     
-    startApplication("GeomApp")
+    startApplication("linux_run.sh")
     set_defaults()
     
     part_create()
index 38ad1ce45c465d7eed25056e5a2b77d392c87bf8..44c00a441a125de147c84c81fb8ff3cf83f76953 100644 (file)
@@ -20,7 +20,7 @@ def main():
     openItemContextMenu(waitForObject(":Object browser_XGUI_DataTree"), "Parameters (1).aa = 4", 10, 10, 0)
     activateItem(waitForObjectItem(":_QMenu", "Delete"))
     waitFor("object.exists(':Delete features._QLabel')", 20000)
-    test.compare(str(findObject(":Delete features._QLabel").text), "Selected features are used in the following features: bb.These features will be deleted.\nWould you like to continue?")
+    test.compare(str(findObject(":Delete features._QLabel").text), "Selected features are used in the following features: bb. These features will be deleted.\nWould you like to continue?")
     clickButton(waitForObject(":Delete features.No_QPushButton"))
     
     close_application()