14
edits
Line 63: | Line 63: | ||
== Tests == | == Tests == | ||
=== mochitest-plain=== | === mochitest-plain=== | ||
==== | ==== Methods ==== | ||
Some of these can't be tested with mochitests (powerOff, reboot and restart). There already exist some tests for wakelocks. | |||
=== | === Properties === | ||
Setting the properties and reading them back to confirm the change was indeed set. | |||
screenBrightness is special since setting it a value does not guarantee that'll be the value you get back due to varying levels of support for screen backlight levels and general float precision. Thus, we use a fuzzy equals which basically compares plus-or-minus some small epsilon. | |||
---- | ---- | ||
<small>This page is based on the [[B2G/QA/WebAPI Test Plan/Template|WebAPI Test Plan Template]]</small> | <small>This page is based on the [[B2G/QA/WebAPI Test Plan/Template|WebAPI Test Plan Template]]</small> |
edits