Closed Bug 1163460 Opened 9 years ago Closed 9 years ago

add more options to marionette loader to support tests not under apps/ folder

Categories

(Firefox OS Graveyard :: Gaia::Shared, defect)

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: johnhu, Assigned: johnhu)

References

Details

Attachments

(1 file)

While writing integration tests for TV, we may need to use marionette loader to load helper class. But the apps/ folder name is hard-coded in marionette loader which makes us unable to use it.
Assignee: nobody → im
Comment on attachment 8604537 [details] [review]
[gaia] huchengtw-moz:bug-1163460-add-options-to-marionette-loader > mozilla-b2g:master

Kevin,

Since this file is created by you, may you review this patch?

I had added another option, baseFolder, to marionette.loader to let us load files inside of tv_apps.
Attachment #8604537 - Flags: review?(kgrandon)
Comment on attachment 8604537 [details] [review]
[gaia] huchengtw-moz:bug-1163460-add-options-to-marionette-loader > mozilla-b2g:master

I would prefer to not land this change since I thought that we were merging the system apps, but if that's not going to happen for a long time and this would help, I guess it's fine to do so. Thanks.
Attachment #8604537 - Flags: review?(kgrandon) → review+
Thanks Kevin.

But we still need this patch even if we merged these two system apps. Other apps under tv_apps still need it.
Status: NEW → RESOLVED
Closed: 9 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: