mailr26274 - in /branches/frame_order_cleanup: ./ test_suite/gui_tests/test_user_functions.py


Others Months | Index by Date | Thread Index
>>   [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Header


Content

Posted by edward on October 14, 2014 - 13:39:
Author: bugman
Date: Tue Oct 14 13:39:44 2014
New Revision: 26274

URL: http://svn.gna.org/viewcvs/relax?rev=26274&view=rev
Log:
Merged revisions 26254 via svnmerge from 
svn+ssh://bugman@xxxxxxxxxxx/svn/relax/trunk

........
  r26254 | bugman | 2014-10-13 14:25:26 +0200 (Mon, 13 Oct 2014) | 9 lines
  
  Fix for the poorly written User_functions.test_structure_add_atom GUI test.
  
  This fixes one part of 2 of the bug #22772 (https://gna.org/bugs/?22772), 
the modelfree4 binary
  issue and the User_functions GUI tests with wxPython 2.9 failures of the 
test suite.
  
  The problem was that a list element was being set in the GUI test, but that 
element did not exist
  yet.  Somehow this worked in wxPython 2.8.  But the bad code failed on 
wxPython 2.9.
........

Modified:
    branches/frame_order_cleanup/   (props changed)
    branches/frame_order_cleanup/test_suite/gui_tests/test_user_functions.py

Propchange: branches/frame_order_cleanup/
------------------------------------------------------------------------------
--- svnmerge-integrated (original)
+++ svnmerge-integrated Tue Oct 14 13:39:44 2014
@@ -1 +1 @@
-/trunk:1-26205,26208-26253
+/trunk:1-26205,26208-26254

Modified: 
branches/frame_order_cleanup/test_suite/gui_tests/test_user_functions.py
URL: 
http://svn.gna.org/viewcvs/relax/branches/frame_order_cleanup/test_suite/gui_tests/test_user_functions.py?rev=26274&r1=26273&r2=26274&view=diff
==============================================================================
--- branches/frame_order_cleanup/test_suite/gui_tests/test_user_functions.py  
  (original)
+++ branches/frame_order_cleanup/test_suite/gui_tests/test_user_functions.py  
  Tue Oct 14 13:39:44 2014
@@ -251,6 +251,7 @@
             sys.stdout.write("Value: %40s;  " % repr(val))
             uf.page.uf_args['pos'].SetValue(str_to_gui(''))
             uf.page.uf_args['pos'].selection_win_show()
+            uf.page.uf_args['pos'].sel_win.add_element()
             uf.page.uf_args['pos'].sel_win.sequence.SetStringItem(index=1, 
col=1, label=str_to_gui(val))
             uf.page.uf_args['pos'].sel_win.sequence.SetStringItem(index=0, 
col=1, label=int_to_gui(1))
             uf.page.uf_args['pos'].selection_win_data()




Related Messages


Powered by MHonArc, Updated Tue Oct 14 14:00:02 2014