Commit Graph

72 Commits

Author SHA1 Message Date
Thomas Nguyen
5d4e906c48 Bug 1087928 - write marionette-webapi tests for ontagfound. r=yoshi 2015-11-24 18:00:00 +01:00
Thomas Nguyen
142320de9f Bug 1055959 - [NFC] testNfcBadSessionIdError testcase fail. r=yoshi 2015-11-15 19:13:00 +01:00
Shu-yu Guo
d8faa01cea Bug 1202902 - Mass replace toplevel 'let' with 'var' in preparation for global lexical scope. (rs=jorendorff) 2015-09-15 11:19:45 -07:00
Krzysztof Mioduszewski
acc666b88b Bug 1165340 - Part 3: Update xpcshell tests. r=allstars.chh 2015-06-03 05:06:00 -04:00
Dimi Lee
abc2388708 Bug 1162836 - Fix NFC marionette testcase fail. r=yoshi 2015-05-19 20:29:25 +08:00
Dimi Lee
0846eb7b58 Bug 1082300 - B2G NFC: remove NDEF and P2P from technology list. r=smaug, allstars.chh 2014-12-05 01:38:38 +08:00
Yoshi Huang
1a9fe93e27 Bug 1103732 - Part 2: update test cases. r=dimi
From abdfb00788f359f4ed9bbd502a7e723350e3212d Mon Sep 17 00:00:00 2001
---
 dom/nfc/tests/marionette/test_nfc_peer.js          | 16 ++--------------
 dom/nfc/tests/marionette/test_nfc_peer_sendFile.js |  3 +--
 dom/nfc/tests/marionette/test_nfc_peer_sendndef.js |  5 ++---
 3 files changed, 5 insertions(+), 19 deletions(-)
2014-11-27 15:05:29 +08:00
Yoshi Huang
c1509da309 Bug 1048676 - Part 2: Nfc.js and test case change. r=dimi
From 609631024dbcf07d74c13b15ce201b499e6176dd Mon Sep 17 00:00:00 2001
---
 dom/nfc/gonk/Nfc.js                                | 30 +++++++++++-----------
 .../marionette/test_nfc_checkP2PRegistration.js    |  4 +--
 .../tests/marionette/test_nfc_error_messages.js    |  4 +--
 dom/nfc/tests/marionette/test_nfc_peer.js          |  4 ++-
 4 files changed, 22 insertions(+), 20 deletions(-)
2014-11-06 11:21:07 +08:00
Dimi Lee
92790a6045 Bug 996397 - B2G NFC: Replace DOMRequests with Promises. r=smaug, allstars.chh 2014-11-21 17:54:04 +08:00
Yoshi Huang
ee5b2cd06e 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
Krzysztof Mioduszewski
0d32f9acac Bug 1073014 - Part 3: Add xpcshell tests for HCIEventTransactionSystemMessageConfigurator. r=allstars.chh 2014-11-04 03:35:00 -05:00
Yoshi Huang
a2a25825b0 Bug 1087931 - Remove mozNfc.getNFCTag. r=smaug, dimi
From 59396995908ed8a7227dd2b62b07aad0e16e88dc Mon Sep 17 00:00:00 2001
---
 dom/nfc/nsNfc.js                          |  8 --------
 dom/nfc/tests/marionette/test_nfc_peer.js | 15 +--------------
 dom/webidl/MozNFC.webidl                  |  5 -----
 3 files changed, 1 insertion(+), 27 deletions(-)
2014-10-23 18:36:10 +08:00
Yoshi Huang
2be5b63f29 Bug 1007724 - Part 2: marionette tests. r=dimi
From 84c328a6b61db42daa196f18e0f4113e1b74b2e8 Mon Sep 17 00:00:00 2001
---
 dom/nfc/tests/marionette/test_ndef.js | 28 ++++++++++++++++++++++++++++
 1 file changed, 28 insertions(+)
2014-08-29 14:28:12 +08:00
Yoshi Huang
16d550eb01 Bug 1055560 - Part 3: Update tests. r=dimi
From 29bd27dc7ebcbc0ec4cce0681fa956eed7fad6ea Mon Sep 17 00:00:00 2001
---
 dom/nfc/tests/marionette/head.js                    | 21 +++++++++++++++++----
 dom/nfc/tests/marionette/test_ndef.js               |  2 +-
 dom/nfc/tests/marionette/test_nfc_error_messages.js |  2 +-
 3 files changed, 19 insertions(+), 6 deletions(-)
2014-08-21 12:03:13 +08:00
Yoshi Huang
50a7af741f Bug 1053732 - Part 3: Update Impl and tests. r=dimi 2014-08-19 17:40:07 +08:00
Yoshi Huang
95362d1304 Bug 1055960 - Part 3: fix tests cases. r=dimi
From d6d188a78006b291f7cdd8b4a910a9b5a39b7da2 Mon Sep 17 00:00:00 2001
---
 .../tests/marionette/test_nfc_error_messages.js    | 36 +++++-----------------
 1 file changed, 8 insertions(+), 28 deletions(-)
2014-09-02 19:27:56 +08:00
Yoshi Huang
88ea45537d Bug 1055960 - Part 1: fix onpeerlost. r=dimi 2014-08-29 16:44:16 +08:00
Yoshi Huang
ae558038c0 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
8e433ac98d Backed out changeset 52fc270e59ad (bug 1051754) for intermittent test failures 2014-08-14 17:40:04 +01:00
Yoshi Huang
1f36877080 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
0f1e3b3420 Bug 1049351 - [NFC] fix testPeerShouldThrow. r=dimi 2014-08-11 15:45:35 +08:00
Krzysztof Mioduszewski
d426d698c5 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
0ea6798718 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
e6f0efb45a 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
0176675b6b Bug 1043186 - Part 4: Add throw in MozNFCPeer. r=smaug, dimi 2014-07-29 11:36:58 +08:00
Yoshi Huang
3e22517417 Bug 1043186 - Part 3: return cached NFCPeer if session matches. 2014-07-25 18:03:37 +08:00
Yoshi Huang
b3bf86b9f8 Bug 1043186 - Part 2: onpeerlost should be fired to correct target. r=dimi 2014-07-24 18:11:42 +08:00
Yoshi Huang
d096c7322c Bug 1043186 - Part 1: Add a nsINfcPeerEventListener. r=dimi 2014-07-24 12:16:02 +08:00
Yoshi Huang
184db875cd Bug 933588 - Part 3: update test cases. r=dimi 2014-07-14 18:57:12 +08:00
Ms2ger
e99bd12a4b Bug 1043963 - Collapse test-only moz.build files under dom/ into ancestor moz.build files; r=ted
There is very little benefit to having another layer of moz.build files, and
removing them will speed up the build a minimal amount. It also paves the way
for removing TEST_DIRS, which could simplify the build system somewhat.
2014-07-26 08:17:24 +02:00
Dimi Lee
10e56f3ca7 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
d235d8484e 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
fa78cd4a37 Bug 1035606 - [NFC] Testcase cleanup. r=tzimmermann 2014-07-10 11:33:10 +08:00
Krzysztof Mioduszewski
7124970438 Bug 1033218 - [NFC] use emulator command triggering tech-lost. r=allstars.chh 2014-07-07 20:40:01 +02:00
Dimi Lee
b1c674417f Bug 997576 - [NFC] Testcase for reading empty NFC tag. r=tzimmermann 2014-07-08 11:56:57 +08:00
Yoshi Huang
ccf57a1dbf 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
36a14cdd94 Bug 1035041 - [NFC] Add lost head.js for testcase. r=tzimmermann 2014-07-07 10:44:29 +08:00
Dimi Lee
ebe0d0ea89 Bug 1023079 - [NFC]Testcae for triggering tech-lost. r=tzimmermann 2014-07-04 10:21:18 +08:00
Dimi Lee
5611169209 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
1bcc2096d7 Bug 1027479 - Testcase for reading NDEF data from type 4 tag. r=tzimmermann 2014-07-02 14:23:02 +08:00
Dimi Lee
6f5af2bbff Bug 1023683 - Testcase for reading NDEF data from type 3 tag. r=tzimmermann 2014-07-01 14:44:39 +08:00
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