Commit Graph

31 Commits

Author SHA1 Message Date
Dimi Lee
6c49290162 Bug 1028046 - NFC testcase failure with error message "setTagData undefined". r=yoshi 2014-06-20 16:41:07 +08:00
Thomas Zimmermann
ee93b497de Bug 980851 - Add Marionette test case for receiving NDEF message on P2P mode. r=dlee
This patch adds a test for receiving an NDEF message in P2P mode. The
content of the message is known beforehand and validated against
the reference message.
2014-06-17 03:52:00 -04:00
Thomas Zimmermann
640a3e3230 Bug 980851 - Move NFC emulator helpers to head.js. r=dlee
The functions |activateRE|, |notifyDiscoverRE|, and |setTagData| are
of general usefulness. They are now defined in the object |emulator|.
Callers have been adapted.
2014-06-10 02:21:00 -04:00
Krzysztof Mioduszewski
487dbc6fa2 Bug 1019668 - Part 2: Re-enable missing marionette tests (error_messages, checkP2PRegistartion). r=allstars.chh 2014-06-09 05:34:00 -04:00
Krzysztof Mioduszewski
aaaebbae8c Bug 1019668 - Part 1: Don't add errorMsg if the status property is undefined. r=allstars.chh 2014-06-16 07:54:00 -04:00
Ed Morley
0b0f364105 Backed out changeset 3e7908638c2a (bug 1019668) for timeouts during test_nfc_error_messages.js 2014-06-10 13:03:57 +01:00
Ed Morley
d739c2e165 Backed out changeset 9d7ae79baf16 (bug 1019668) 2014-06-10 13:03:39 +01:00
Dimi Lee
ce39a6cf85 Bug 1016777 - Testcase for reading NDEF data from type 1 tag.
From 4bd160a590ab40916b83eeb48eba7dca0b3f7313 Mon Sep 17 00:00:00 2001
 r=tzimmermann
---
 dom/nfc/tests/marionette/test_nfc_tag.js |   20 +++++++++++++++-----
 1 file changed, 15 insertions(+), 5 deletions(-)
2014-06-10 08:52:20 +02:00
Krzysztof Mioduszewski
3b62f97846 Bug 1019668 - Part 2: Reenabling missing marionette tests (error_messages, checkP2PRegistartion), r=allstars.chh 2014-06-09 14:21:53 +02:00
Krzysztof Mioduszewski
5c17fcd20d Bug 1019668 - Part 1: Not adding errorMsg if status property undefined, test cases for changes, r=allstars.chh 2014-06-05 18:53:45 +02:00
Krzysztof Mioduszewski
2028ffbe3c Bug 1019436 - NFC: Assertion failed: (rfst != NUMBER_OF_NFC_RFSTS), function nfc_create_rf_discovery_ntf, r=dlee 2014-06-09 11:49:12 +02:00
Krzysztof Mioduszewski
c77e5d2c8d Bug 1022534 - [NFC] Fix marionette web-api test test_nfc_tag.js to use Promise in toggleNFC, r=allstars.chh 2014-06-09 11:25:40 +02:00
Siddartha Pothapragada
34be0a651a Bug 976402 - Part 3 - Add marionette test case to validate access to MozNfcPeer interface with invalid sessionToken. r=allstars.chh 2014-05-27 11:17:00 +02:00
Dimi Lee
263ab9b736 Bug 993836 - Testcase for reading NDEF data from type 2 tag. r=tzimmermann 2014-05-27 14:53:45 +08:00
Krzysztof Mioduszewski
4539eaf7b7 Bug 1012620 - [NFC] toggleNFC in Marionette tests should use Promise. r=allstars.chh 2014-05-26 17:02:24 +02:00
Krzysztof Mioduszewski
82fd96c8ad Bug 933595 - Part 3: Marionette tests - error messages, mozNfc.checkP2PRegistration. r=allstars.chh 2014-05-23 09:04:40 +02:00
Krzysztof Mioduszewski
4a4e5acf17 Bug 933595 - Part 2: Adding promise to toggleNFC, adding enableRE0. r=allstars.chh 2014-05-22 16:33:45 +02:00
Thomas Zimmermann
701eedb4dd Bug 1008854: Move NFC NDEF helpers to shared test code, r=dlee
There are helper functions for parsing and comparing NDEF messages
in test_nfc_peer_sendndef.js. This patch moves these functions to
the shared code for NFC Marionette tests to make them available for
other tests as well.
2014-05-12 11:45:04 +02:00
Thomas Zimmermann
9a6ddbe090 Bug 1000935: Added Marionette test for NfcPeer.sendNDEF, r=dlee 2014-05-12 15:19:13 +08:00
Thomas Zimmermann
c5edc0d31a Bug 1000935: Added NDEF helpers for NFC test cases. r=vicamo 2014-05-12 15:19:08 +08:00
Siddartha Pothapragada
f505f27dd6 Bug 996426 - Re-enable nfc marionette test cases that talk to emulator. r=vicamo 2014-05-08 21:08:55 +08:00
Siddartha Pothapragada
43e932c8d7 Bug 996426 - Rename emulator command in marionette tests from 'nfc ntf' to 'nfc nci'. r=tzimmermann,vicamo
This change also disables nfc marionette testcases  that talk to the emulator.
2014-05-07 10:37:09 +08:00
Siddartha Pothapragada
b61ea351fb Bug 959059 - B2G NFC: Marionette test to check P2P registration for an incorrect manifest Url. r=allstars.chh 2014-04-30 10:17:00 +02:00
Yoshi Huang
aa79f3f45f Bug 987596 - B2G NFC: Marionette tests for onpeerready. r=dimi
From bfece1daa040d5e7e4ff965adea343831b2484c4 Mon Sep 17 00:00:00 2001
---
 dom/nfc/tests/marionette/head.js                   |  5 +-
 dom/nfc/tests/marionette/manifest.ini              |  1 +
 dom/nfc/tests/marionette/test_nfc_enabled.js       |  1 -
 .../marionette/test_nfc_manager_tech_discovered.js |  5 +-
 dom/nfc/tests/marionette/test_nfc_peer.js          | 64 ++++++++++++++++++++++
 5 files changed, 70 insertions(+), 6 deletions(-)
 create mode 100644 dom/nfc/tests/marionette/test_nfc_peer.js
2014-04-25 19:22:09 +08:00
Dimi Lee
3e7b58b1e4 Bug 996452 - [NFC] Add emulator rf_discover test case. r=tzimmermann 2014-04-23 18:32:02 +08:00
"allstars.chh"
39cdd195d7 Bug 970263 - B2G NFC: Enable NFC when running NFC marionette tests. r=dimi 2014-04-15 17:19:14 +08:00
"allstars.chh"
b70c487e5e Bug 970251 - Part 3: Marionette tests. r=dimi 2014-04-15 16:21:49 +08:00
"allstars.chh"
ce8af29ea8 Bug 960510 - Part 2: marionette test for MozNDEFRecord. r=dimi, kyle 2014-02-17 11:10:26 +08:00
Thomas Zimmermann
842a9fa7db Bug 935525: Added Marionette test for nfc-manager-tech-discovered, r=vyang 2013-11-13 13:23:20 +01:00
Thomas Zimmermann
7890919e96 Bug 935525: Added Marionette test for turning NFC on and off, r=vyang 2013-11-06 13:00:25 +01:00
Thomas Zimmermann
bf8276253c Bug 935525: Added NFC test infrastructure to build scripts, r=vyang,jgriffin 2013-11-06 12:59:41 +01:00