Skip to content
Permalink
Browse files
CB-8845 Updated comment why Android tests are currently pended
  • Loading branch information
sgrebnov committed May 27, 2015
1 parent 0514b32 commit 7f5c01cc272dba06083bbe160f5e8dd694ce328e
Showing 1 changed file with 8 additions and 4 deletions.
@@ -85,7 +85,8 @@ exports.defineAutoTests = function () {

it("geolocation.spec.5 should be called if we set timeout to 0 and maximumAge to a very small number", function (done) {
// On Windows, this test prompts user for permission to use geolocation and interrupts autotests running.
// On Android, HTML5 native geolocation is used instead of geolocation plugin. This is not our goal to test it.
// On Android geolocation Api is not available on emulator so we pended tests until we found the way to detect
// whether we run on emulator or real device from JavaScript. You can still run the tests on Android manually.
if (isWindowsStore || isAndroid) {
pending();
}
@@ -105,7 +106,8 @@ exports.defineAutoTests = function () {

it("geolocation.spec.6 should be called with a Position object", function (done) {
// On Windows, this test prompts user for permission to use geolocation and interrupts autotests running.
// On Android, HTML5 native geolocation is used instead of geolocation plugin. This is not our goal to test it.
// On Android geolocation Api is not available on emulator so we pended tests until we found the way to detect
// whether we run on emulator or real device from JavaScript. You can still run the tests on Android manually.
if (isWindowsStore || isAndroid) {
pending();
}
@@ -143,7 +145,8 @@ exports.defineAutoTests = function () {

it("geolocation.spec.7 should be called if we set timeout to 0 and maximumAge to a very small number", function (done) {
// On Windows, this test prompts user for permission to use geolocation and interrupts autotests running.
// On Android, HTML5 native geolocation is used instead of geolocation plugin. This is not our goal to test it.
// On Android geolocation Api is not available on emulator so we pended tests until we found the way to detect
// whether we run on emulator or real device from JavaScript. You can still run the tests on Android manually.
if (isWindowsStore || isAndroid) {
pending();
}
@@ -169,7 +172,8 @@ exports.defineAutoTests = function () {

it("geolocation.spec.8 should be called with a Position object", function (done) {
// On Windows, this test prompts user for permission to use geolocation and interrupts autotests running.
// On Android, HTML5 native geolocation is used instead of geolocation plugin. This is not our goal to test it.
// On Android geolocation Api is not available on emulator so we pended tests until we found the way to detect
// whether we run on emulator or real device from JavaScript. You can still run the tests on Android manually.
if (isWindowsStore || isAndroid) {
pending();
}

0 comments on commit 7f5c01c

Please sign in to comment.