Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(141)

Unified Diff: LayoutTests/bluetooth/getCharacteristic.html

Issue 1295373003: Remove sequential_promise_test helper, just use promise_test (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: remove testharness-helpers.js inclusion from bluetooth tests Created 5 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « LayoutTests/bluetooth/connectGATT.html ('k') | LayoutTests/bluetooth/getPrimaryService.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/bluetooth/getCharacteristic.html
diff --git a/LayoutTests/bluetooth/getCharacteristic.html b/LayoutTests/bluetooth/getCharacteristic.html
index 218ab48dd40398d4c1854c946ee491e6eba8d4bd..3f90f4954b1fb98215496a15b25911f28dbdb068 100644
--- a/LayoutTests/bluetooth/getCharacteristic.html
+++ b/LayoutTests/bluetooth/getCharacteristic.html
@@ -1,6 +1,5 @@
<!DOCTYPE html>
<script src="../resources/testharness.js"></script>
-<script src="../resources/testharness-helpers.js"></script>
<script src="../resources/testharnessreport.js"></script>
<script src="resources/bluetooth-helpers.js"></script>
<script>
@@ -9,7 +8,7 @@
test(t => { assert_true(window.testRunner instanceof Object); t.done(); },
'window.testRunner is required for the following tests.');
-sequential_promise_test(() => {
+promise_test(() => {
testRunner.setBluetoothMockDataSet('GenericAccessAdapter');
return requestDeviceWithKeyDown({filters: [{services: ['generic_access']}]})
.then(device => device.connectGATT())
@@ -24,7 +23,7 @@ sequential_promise_test(() => {
});
}, 'Device goes out of range. Reject with NetworkError.');
-sequential_promise_test(() => {
+promise_test(() => {
testRunner.setBluetoothMockDataSet('GenericAccessAdapter');
return requestDeviceWithKeyDown({filters: [{services: ['generic_access']}]})
.then(device => device.connectGATT())
@@ -40,7 +39,7 @@ sequential_promise_test(() => {
}, 'Service is removed. Reject with InvalidStateError.');
-sequential_promise_test(() => {
+promise_test(() => {
testRunner.setBluetoothMockDataSet('GenericAccessAdapter');
return requestDeviceWithKeyDown({filters: [{services: ['generic_access']}]})
.then(device => device.connectGATT())
@@ -57,7 +56,7 @@ sequential_promise_test(() => {
});
}, 'Request for wrong characteristic. Should return null.');
-sequential_promise_test(() => {
+promise_test(() => {
testRunner.setBluetoothMockDataSet('GenericAccessAdapter');
return requestDeviceWithKeyDown({filters: [{services: ['generic_access']}]})
.then(device => device.connectGATT())
@@ -75,7 +74,7 @@ sequential_promise_test(() => {
});
}, 'Request for characteristic. Should return right characteristic');
-sequential_promise_test(() => {
+promise_test(() => {
testRunner.setBluetoothMockDataSet('GenericAccessAdapter');
return requestDeviceWithKeyDown({filters: [{services: ['generic_access']}]})
.then(device => device.connectGATT())
@@ -99,7 +98,7 @@ sequential_promise_test(() => {
});
}, 'Calls to get the same characteristic should return the same object.');
-sequential_promise_test(() => {
+promise_test(() => {
testRunner.setBluetoothMockDataSet('GenericAccessAdapter');
return requestDeviceWithKeyDown({filters: [{services: ['generic_access']}]})
.then(device => device.connectGATT())
« no previous file with comments | « LayoutTests/bluetooth/connectGATT.html ('k') | LayoutTests/bluetooth/getPrimaryService.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698