Closed
Bug 1105432
Opened 10 years ago
Closed 10 years ago
[pulsetranslator] Add back testing code which was removed by bug 1063791
Categories
(Webtools :: Pulse, defect)
Webtools
Pulse
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: whimboo, Assigned: whimboo)
References
Details
(Keywords: regression)
Attachments
(1 file, 1 obsolete file)
|
748.07 KB,
patch
|
whimboo
:
review+
|
Details | Diff | Splinter Review |
With bug 1063791 a couple of test messages were removed and the capability to simply push a single json message into the translator. That was very important for testing purposes, and I totally miss that now while working on bug 1105356.
Personally I'm not aware of that the format of build notifications have been changed. If there was an update in pulsetranslator, those messages should have been updated but not removed.
So I will check all those removed test messages for validity, and add back what is working.
| Assignee | ||
Updated•10 years ago
|
Summary: Add back testing code which was removed by bug 1063791 → [pulsetranslator] Add back testing code which was removed by bug 1063791
| Assignee | ||
Comment 1•10 years ago
|
||
So I tested all those test messages based on commit c9deae1490686ffbb0718ceab53fdd7458a8e21f, which is the parent of Mark's patch and I implemented for bug 1010120. All messages are working wonderful! No single one is failing.
Jonathan, mind giving me the feedback why those weren't working for you at all?
Status: NEW → ASSIGNED
| Assignee | ||
Comment 2•10 years ago
|
||
This adds back all the code for testing local pulse notifications. If you want to test some of them run: runtranslator --display-only --push-message %path_to_message%.
One thing I did was to add another subfolder called firefox, so we can separate new example messages by application. Otherwise we would have to add firefox to all the message file names.
Attachment #8529220 -
Flags: review?(mcote)
| Assignee | ||
Comment 3•10 years ago
|
||
Need-info was not correctly set for jgriffin. Please see comment 1.
Flags: needinfo?(jgriffin)
Comment 4•10 years ago
|
||
Comment on attachment 8529220 [details] [diff] [review]
Add testing code back v1
Review of attachment 8529220 [details] [diff] [review]:
-----------------------------------------------------------------
I can't remember why I removed those test messages anymore... I suspect I was doing something wrong and thought they were broken. Pretty sure jgriffin just went along with me. :)
r+ing since this just brings back old functionality, but please put in instructions on --push-message and --display-only into the README.md.
Attachment #8529220 -
Flags: review?(mcote) → review+
| Assignee | ||
Comment 5•10 years ago
|
||
Updated patch with the README additions.
Attachment #8529220 -
Attachment is obsolete: true
Attachment #8529267 -
Flags: review+
| Assignee | ||
Comment 6•10 years ago
|
||
Merged patch into master as:
https://github.com/mozilla/pulsetranslator/commit/939e7bb920547a3b42a7e1362da0b010d914c1e9
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Updated•10 years ago
|
Flags: needinfo?(jgriffin)
You need to log in
before you can comment on or make changes to this bug.
Description
•