Yoshi Huang
842919f59f
Bug 1046554 - Part 2: update marionette tests. r=dimi
...
From d7dafea4dcff00edbe40ee0880ca71b804893622 Mon Sep 17 00:00:00 2001
---
.../tests/marionette/test_nfc_error_messages.js | 43 +---------------------
dom/nfc/tests/marionette/test_nfc_peer.js | 20 ++++++++--
2 files changed, 17 insertions(+), 46 deletions(-)
2014-08-11 17:03:52 +08:00
Ed Morley
521f761cdc
Backed out changeset 52fc270e59ad (bug 1051754) for intermittent test failures
2014-08-14 17:40:04 +01:00
Yoshi Huang
0dc3c5353f
Bug 1051754 - B2G NFC: Add marionette test for peer.sendFile. r=dimi
...
From 3cfb06874b6e838ad76e1817c7b69df81e0f802b Mon Sep 17 00:00:00 2001
---
dom/nfc/tests/marionette/head.js | 20 +++++++--
dom/nfc/tests/marionette/manifest.ini | 1 +
dom/nfc/tests/marionette/test_nfc_peer_sendFile.js | 49 ++++++++++++++++++++++
3 files changed, 67 insertions(+), 3 deletions(-)
create mode 100644 dom/nfc/tests/marionette/test_nfc_peer_sendFile.js
2014-08-11 18:26:52 +08:00
Yoshi Huang
60a04de4e4
Bug 1049351 - [NFC] fix testPeerShouldThrow. r=dimi
2014-08-11 15:45:35 +08:00
Krzysztof Mioduszewski
919659bc81
Bug 1042651 - B2G NFC: getNFCPeer and getNFCTag should not throw error. r=smaug, r=allstars.chh, a=me
2014-08-05 05:06:00 -04:00
Ryan VanderMeulen
8eedd1fedd
Backed out changeset b8c53e689955 (bug 1042651) because it depends on the patch from bug 1046554 which was backed out.
2014-08-06 15:37:54 -04:00
Krzysztof Mioduszewski
b13e413dd3
Bug 1042651 - B2G NFC: getNFCPeer and getNFCTag should not throw. r=smaug, r=allstars.chh
2014-08-06 01:17:00 -04:00
Yoshi Huang
aa5bb45b05
Bug 1043186 - Part 4: Add throw in MozNFCPeer. r=smaug, dimi
2014-07-29 11:36:58 +08:00
Yoshi Huang
7bb1472b96
Bug 1043186 - Part 3: return cached NFCPeer if session matches.
2014-07-25 18:03:37 +08:00
Yoshi Huang
52a632b0c0
Bug 1043186 - Part 2: onpeerlost should be fired to correct target. r=dimi
2014-07-24 18:11:42 +08:00
Yoshi Huang
711dee2366
Bug 1043186 - Part 1: Add a nsINfcPeerEventListener. r=dimi
2014-07-24 12:16:02 +08:00
Yoshi Huang
1e40f67efe
Bug 933588 - Part 3: update test cases. r=dimi
2014-07-14 18:57:12 +08:00
Dimi Lee
c726fe8a67
Bug 1040619 - [NFC] javascript error "emulator.activateRE is not a function" when run NFC testcase. r=allstars.chh
2014-07-18 15:22:46 +08:00
Thomas Zimmermann
160a24ce35
Bug 1034660 - Exchange NDEF's PAYLOAD and ID fields in emulator interface. r=dlee
...
The emulator used PAYLOAD and ID fields of NDEF records in an incorrect
order. The fix makes the command-line interface incompatible with the
current test cases. This patch adapts the test cases by putting ID before
PAYLOAD.
2014-07-09 06:27:00 -04:00
Dimi Lee
6733826c58
Bug 1035606 - [NFC] Testcase cleanup. r=tzimmermann
2014-07-10 11:33:10 +08:00
Krzysztof Mioduszewski
e3e2122db0
Bug 1033218 - [NFC] use emulator command triggering tech-lost. r=allstars.chh
2014-07-07 20:40:01 +02:00
Dimi Lee
00f9cabf17
Bug 997576 - [NFC] Testcase for reading empty NFC tag. r=tzimmermann
2014-07-08 11:56:57 +08:00
Yoshi Huang
4a52796740
Bug 1034474 - B2G NFC: onpeerlost is never called. r=dimi
...
From 6342cf34f7493711317b613a8e30ef6badabcfd1 Mon Sep 17 00:00:00 2001
---
dom/nfc/tests/marionette/test_nfc_peer.js | 10 +++++++++-
dom/system/gonk/Nfc.js | 4 ++--
2 files changed, 11 insertions(+), 3 deletions(-)
2014-07-07 11:56:29 +08:00
Dimi Lee
db7eee2ec6
Bug 1035041 - [NFC] Add lost head.js for testcase. r=tzimmermann
2014-07-07 10:44:29 +08:00
Dimi Lee
49fa679042
Bug 1023079 - [NFC]Testcae for triggering tech-lost. r=tzimmermann
2014-07-04 10:21:18 +08:00
Dimi Lee
38d8da26a1
Bug 1028037 - NFC testcase failure with error message 'Accessing TypedArray data over Xrays is slow'. r=bholley
2014-07-03 14:55:13 +08:00
Dimi Lee
4a8bbee469
Bug 1027479 - Testcase for reading NDEF data from type 4 tag. r=tzimmermann
2014-07-02 14:23:02 +08:00
Dimi Lee
cb06ef8c86
Bug 1023683 - Testcase for reading NDEF data from type 3 tag. r=tzimmermann
2014-07-01 14:44:39 +08:00
Dimi Lee
86c99290c8
Bug 1028046 - NFC testcase failure with error message "setTagData undefined". r=yoshi
2014-06-20 16:41:07 +08:00
Thomas Zimmermann
6040a728de
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
9bdfc43b80
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
4f20de83d7
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
03aae793a2
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
05d48599a0
Backed out changeset 3e7908638c2a (bug 1019668) for timeouts during test_nfc_error_messages.js
2014-06-10 13:03:57 +01:00
Ed Morley
48e16ec9d9
Backed out changeset 9d7ae79baf16 (bug 1019668)
2014-06-10 13:03:39 +01:00
Dimi Lee
e7d73c4901
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
13c1c25018
Bug 1019668 - Part 2: Reenabling missing marionette tests (error_messages, checkP2PRegistartion), r=allstars.chh
2014-06-09 14:21:53 +02:00
Krzysztof Mioduszewski
b00dcc5c80
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
b054fc6881
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
e23c22fb4b
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
58e8f1385f
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
96c7e22b01
Bug 993836 - Testcase for reading NDEF data from type 2 tag. r=tzimmermann
2014-05-27 14:53:45 +08:00
Krzysztof Mioduszewski
ef50a9e004
Bug 1012620 - [NFC] toggleNFC in Marionette tests should use Promise. r=allstars.chh
2014-05-26 17:02:24 +02:00
Krzysztof Mioduszewski
cc438b55c8
Bug 933595 - Part 3: Marionette tests - error messages, mozNfc.checkP2PRegistration. r=allstars.chh
2014-05-23 09:04:40 +02:00
Krzysztof Mioduszewski
fb2871d672
Bug 933595 - Part 2: Adding promise to toggleNFC, adding enableRE0. r=allstars.chh
2014-05-22 16:33:45 +02:00
Thomas Zimmermann
7c2d2b9c76
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
4f7b9c969f
Bug 1000935: Added Marionette test for NfcPeer.sendNDEF, r=dlee
2014-05-12 15:19:13 +08:00
Thomas Zimmermann
a8af4d8d4a
Bug 1000935: Added NDEF helpers for NFC test cases. r=vicamo
2014-05-12 15:19:08 +08:00
Siddartha Pothapragada
bfd4a608b9
Bug 996426 - Re-enable nfc marionette test cases that talk to emulator. r=vicamo
2014-05-08 21:08:55 +08:00
Siddartha Pothapragada
24f307bdc4
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
126c15aded
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
daeede27f6
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
0d1d424bd1
Bug 996452 - [NFC] Add emulator rf_discover test case. r=tzimmermann
2014-04-23 18:32:02 +08:00
"allstars.chh"
645bb20e92
Bug 970263 - B2G NFC: Enable NFC when running NFC marionette tests. r=dimi
2014-04-15 17:19:14 +08:00
"allstars.chh"
e214d09d1c
Bug 970251 - Part 3: Marionette tests. r=dimi
2014-04-15 16:21:49 +08:00