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

Side by Side Diff: LayoutTests/bluetooth/getCharacteristic.html

Issue 1211623005: Unify multiple sequential_promise_test definitions. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: update fetch templates and remove new duplicate of this method Created 5 years, 6 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 unified diff | Download patch
« no previous file with comments | « LayoutTests/bluetooth/connectGATT.html ('k') | LayoutTests/bluetooth/getPrimaryService.html » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <script src="../resources/testharness.js"></script> 2 <script src="../resources/testharness.js"></script>
3 <script src="../resources/testharness-helpers.js"></script>
3 <script src="../resources/testharnessreport.js"></script> 4 <script src="../resources/testharnessreport.js"></script>
4 <script src="bluetooth-helpers.js"></script> 5 <script src="bluetooth-helpers.js"></script>
5 <script> 6 <script>
6 test(function(t) { assert_true(window.testRunner instanceof Object); t.done(); } , 7 test(function(t) { assert_true(window.testRunner instanceof Object); t.done(); } ,
7 "window.testRunner is required for the following tests."); 8 "window.testRunner is required for the following tests.");
8 9
9 // Generic Access Service. 10 // Generic Access Service.
10 var serviceUUID = "00001800-0000-1000-8000-00805f9b34fb"; 11 var serviceUUID = "00001800-0000-1000-8000-00805f9b34fb";
11 // Device Name Characteristic. Belongs to Generic Access. 12 // Device Name Characteristic. Belongs to Generic Access.
12 var includedCharacteristicUUID = "00002a00-0000-1000-8000-00805f9b34fb"; 13 var includedCharacteristicUUID = "00002a00-0000-1000-8000-00805f9b34fb";
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after
78 }).then(function(characteristics) { 79 }).then(function(characteristics) {
79 // TODO(ortuno): getCharacteristic should return the same object 80 // TODO(ortuno): getCharacteristic should return the same object
80 // if it was created earlier. 81 // if it was created earlier.
81 // https://crbug.com/495270 82 // https://crbug.com/495270
82 assert_not_equals(characteristics[0], characteristics[1], 83 assert_not_equals(characteristics[0], characteristics[1],
83 "Should return the same service as the first call."); 84 "Should return the same service as the first call.");
84 }); 85 });
85 }, 'Calls to get the same characteristic should return the same object.'); 86 }, 'Calls to get the same characteristic should return the same object.');
86 87
87 </script> 88 </script>
OLDNEW
« 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