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

Unified Diff: LayoutTests/bluetooth/connectGATT.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 | « no previous file | LayoutTests/bluetooth/getCharacteristic.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/bluetooth/connectGATT.html
diff --git a/LayoutTests/bluetooth/connectGATT.html b/LayoutTests/bluetooth/connectGATT.html
index 64dca72a88eaa6fb06ff10575c1a5e47dcb4110c..03c4442dfaa6be24bf012454ef889ba28f15bc58 100644
--- a/LayoutTests/bluetooth/connectGATT.html
+++ b/LayoutTests/bluetooth/connectGATT.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 => {
@@ -87,7 +86,7 @@ sequential_promise_test(() => {
message: 'Unsupported device.'
}
}].forEach(testSpec => {
- sequential_promise_test(() => {
+ promise_test(() => {
testRunner.setBluetoothMockDataSet('FailingConnectionsAdapter');
return requestDeviceWithKeyDown({filters: [{services: [testSpec.uuid]}]})
.then(device => {
@@ -99,7 +98,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 | « no previous file | LayoutTests/bluetooth/getCharacteristic.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698