Merge lp:~osomon/notes-app/revert-incorrect-race-fix into lp:notes-app

Proposed by Olivier Tilloy
Status: Merged
Approved by: Ugo Riboni
Approved revision: 201
Merged at revision: 203
Proposed branch: lp:~osomon/notes-app/revert-incorrect-race-fix
Merge into: lp:notes-app
Diff against target: 40 lines (+0/-8)
3 files modified
Components/CollapsedNote.qml (+0/-2)
tests/autopilot/notes_app/emulators/notesapp.py (+0/-5)
tests/autopilot/notes_app/tests/test_images.py (+0/-1)
To merge this branch: bzr merge lp:~osomon/notes-app/revert-incorrect-race-fix
Reviewer Review Type Date Requested Status
PS Jenkins bot continuous-integration Approve
Ugo Riboni (community) Approve
Review via email: mp+189551@code.launchpad.net

Commit message

Revert revision 199, which proved to not fix the issue it was attempting to address.

To post a comment you must log in.
Revision history for this message
Ugo Riboni (uriboni) wrote :

Approving as it's just reverting the significant parts of a previous commit.

review: Approve
Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :
review: Approve (continuous-integration)

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'Components/CollapsedNote.qml'
2--- Components/CollapsedNote.qml 2013-10-04 16:12:01 +0000
3+++ Components/CollapsedNote.qml 2013-10-07 09:24:00 +0000
4@@ -20,8 +20,6 @@
5 Item {
6 clip: true
7
8- readonly property bool filled: shape.visible || label.text
9-
10 UbuntuShape {
11 id: shape
12 anchors.top: parent.top
13
14=== modified file 'tests/autopilot/notes_app/emulators/notesapp.py'
15--- tests/autopilot/notes_app/emulators/notesapp.py 2013-10-04 16:12:01 +0000
16+++ tests/autopilot/notes_app/emulators/notesapp.py 2013-10-07 09:24:00 +0000
17@@ -18,11 +18,6 @@
18 def get_header(self):
19 return self.select_single("Header")
20
21- def wait_collapsed_note_filled(self, note_item):
22- if (note_item.noteText):
23- collapsed_note = note_item.select_single("CollapsedNote")
24- collapsed_note.filled.wait_for(True)
25-
26 def get_note_content(self, note_item):
27 return note_item.select_single("MixedEdit")
28
29
30=== modified file 'tests/autopilot/notes_app/tests/test_images.py'
31--- tests/autopilot/notes_app/tests/test_images.py 2013-10-04 16:12:01 +0000
32+++ tests/autopilot/notes_app/tests/test_images.py 2013-10-07 09:24:00 +0000
33@@ -51,7 +51,6 @@
34 class MixinForTestImage(object):
35 def test_no_crash(self):
36 note = self.main_window.get_notes()[0]
37- self.main_window.wait_collapsed_note_filled(note)
38
39 # Expand the note
40 self.pointing_device.click_object(note)

Subscribers

People subscribed via source and target branches