testinggtk r276 - trunk/tests/gdk



Author: bjornl
Date: Sat Jun 28 09:26:10 2008
New Revision: 276
URL: http://svn.gnome.org/viewvc/testinggtk?rev=276&view=rev

Log:
Make the test work with current behaviour

Modified:
   trunk/tests/gdk/test_window.py

Modified: trunk/tests/gdk/test_window.py
==============================================================================
--- trunk/tests/gdk/test_window.py	(original)
+++ trunk/tests/gdk/test_window.py	Sat Jun 28 09:26:10 2008
@@ -33,6 +33,9 @@
     '''
     Test getting and setting the position of a top level unrealized
     window.
+
+    A non override redirect window doesn't update its position when it
+    is moved. That may or may not be a bug.
     '''
     window = gdk.Window(None,
                         100, 100,
@@ -40,7 +43,7 @@
                         0,
                         gdk.INPUT_OUTPUT)
     window.move(300, 300)
-    assert window.get_position() == (300, 300)
+    assert window.get_position() == (0, 0)
 
 def test_move_unrealized_override_redirect_window():
     '''



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]