Closed Bug 955991 Opened 10 years ago Closed 10 years ago

[Gaia][Build] Unit Test for settings.js

Categories

(Firefox OS Graveyard :: Gaia, defect)

x86
macOS
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: gduan, Assigned: gduan)

Details

Attachments

(1 file)

Add unit test for settings.js.
Attached file PR to master
Hi Yuren,
please kindly check this patch. It should have covered most cases.
thanks.
Attachment #8355183 - Flags: superreview?(yurenju.mozilla)
Assignee: nobody → gduan
Attachment #8355183 - Flags: superreview?(yurenju.mozilla) → review?(yurenju.mozilla)
Comment on attachment 8355183 [details]
PR to master

Hi George,

This pr looks very good! r=yurenju, and I think you can use the same test criteria for integration test of settings.js, we can create a module to generate expected settings properties and using it both in unit test and integration test.
Attachment #8355183 - Flags: review?(yurenju.mozilla) → review+
Follow-up bug bug 968070 for integration test.
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: