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

Unified Diff: LayoutTests/bluetooth/readValue.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/iframeRequestDevice.html ('k') | LayoutTests/bluetooth/requestDevice.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/bluetooth/readValue.html
diff --git a/LayoutTests/bluetooth/readValue.html b/LayoutTests/bluetooth/readValue.html
index cf7537aa7d1706cb82f6ea609842860926061bde..683e68ca5f42037f9bd2b98fceedc2ad8a8ea8e3 100644
--- a/LayoutTests/bluetooth/readValue.html
+++ b/LayoutTests/bluetooth/readValue.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())
@@ -25,7 +24,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())
@@ -41,7 +40,7 @@ sequential_promise_test(() => {
});
}, 'Service gets removed. Reject with InvalidStateError.');
-sequential_promise_test(() => {
+promise_test(() => {
testRunner.setBluetoothMockDataSet('GenericAccessAdapter');
return requestDeviceWithKeyDown({filters: [{services: ['generic_access']}]})
.then(device => device.connectGATT())
@@ -126,7 +125,7 @@ sequential_promise_test(() => {
message: 'GATT Error: Not supported.'
}
}].forEach(testSpec => {
- sequential_promise_test(() => {
+ promise_test(() => {
testRunner.setBluetoothMockDataSet('FailingGATTOperationsAdapter');
return requestDeviceWithKeyDown({filters: [{services: [errorUUID(0xA0)]}]})
.then(device => device.connectGATT())
@@ -141,7 +140,7 @@ sequential_promise_test(() => {
}, testSpec.testName);
});
-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/iframeRequestDevice.html ('k') | LayoutTests/bluetooth/requestDevice.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698