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)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: whimboo, Assigned: whimboo)

References

Details

(Keywords: regression)

Attachments

(1 file, 1 obsolete file)

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.
Summary: Add back testing code which was removed by bug 1063791 → [pulsetranslator] Add back testing code which was removed by bug 1063791
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
Attached patch Add testing code back v1 (obsolete) — Splinter Review
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)
Need-info was not correctly set for jgriffin. Please see comment 1.
Flags: needinfo?(jgriffin)
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+
Updated patch with the README additions.
Attachment #8529220 - Attachment is obsolete: true
Attachment #8529267 - Flags: review+
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Flags: needinfo?(jgriffin)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: