Closed Bug 777970 Opened 13 years ago Closed 13 years ago

Device Storage mochitests on b2g device

Categories

(Core :: DOM: Device Interfaces, defect)

x86
macOS
defect
Not set
normal

Tracking

()

RESOLVED INVALID
blocking-basecamp -

People

(Reporter: onecyrenus, Assigned: onecyrenus)

Details

Attachments

(2 files, 1 obsolete file)

A mochitest verification that device storage works as expected on a b2g Device Current Device Storage Tests just verify that device storage works correctly on windows / mac / linux machines.
Attached file enumerate mobile directories (obsolete) —
This is more of a placeholder, will update further as testing goes along
Attached file Makefile diff
The makefile diff to build this correctly for b2g
Attached file Ready for review
Doug, initial thoughts ?
Assignee: nobody → dclarke
Attachment #646371 - Attachment is obsolete: true
Status: NEW → ASSIGNED
Attachment #649418 - Flags: review?(doug.turner)
Comment on attachment 649418 [details] Ready for review is there any way to reuse the exists mochitests? So, for example, somehow run the mochitests replacing "testing" with each of the ['music','movies','pictures']?
Comment on attachment 649418 [details] Ready for review clearing flag.
Attachment #649418 - Flags: review?(doug.turner)
Doug i think the issue here was that there isn't a way to run tests in a device specific manner. Ex: test_enumerate_mobile will only be run on gonk (b2g devices). I don't know of a way inside a mochitest to tell it to work in a specific manner on a b2g mobile device. And I probably wouldn't want to encode device specific information inside the test, as it would take away from readability. Thought we discussed some of this, but I guess we didn't.
Nomming for basecamp, as we should have a test that verifies we can read / write to the sdcard.
blocking-basecamp: --- → ?
We don't block on tests but we do on test infrastructure so this isn't a blocker for basecamp. Of course, it'd be awesome to get tests here :)
blocking-basecamp: ? → -
Status: ASSIGNED → RESOLVED
Closed: 13 years ago
Resolution: --- → INVALID
I don't think this is going to get worked on at this stage.
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: