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

Side by Side Diff: third_party/WebKit/LayoutTests/bluetooth/advertising-data.html

Issue 1869523003: Move LayoutTests/bluetooth/resources to LayoutTests/resources/bluetooth. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@lkcr
Patch Set: Created 4 years, 8 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 | « no previous file | third_party/WebKit/LayoutTests/bluetooth/characteristicProperties.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/testharnessreport.js"></script> 3 <script src="../resources/testharnessreport.js"></script>
4 <script src="resources/bluetooth-helpers.js"></script> 4 <script src="../resources/bluetooth/bluetooth-helpers.js"></script>
5 <script> 5 <script>
6 'use strict'; 6 'use strict';
7 7
8 test(t => { assert_true(window.testRunner instanceof Object); t.done(); }, 8 test(t => { assert_true(window.testRunner instanceof Object); t.done(); },
9 'window.testRunner is required for the following tests.'); 9 'window.testRunner is required for the following tests.');
10 // Tests that we are handling values returned from the underlying platform 10 // Tests that we are handling values returned from the underlying platform
11 // correctly. Only meant to be used by chromium. 11 // correctly. Only meant to be used by chromium.
12 [{ 12 [{
13 name: 'Tx Power too low must result in nulled txPower.', 13 name: 'Tx Power too low must result in nulled txPower.',
14 tx_power: -128, 14 tx_power: -128,
(...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after
109 : null; 109 : null;
110 let expected_rssi = power_test.rssi_present ? 110 let expected_rssi = power_test.rssi_present ?
111 -51 /* power at 1m from device broadcasting at 0.1mW * / 111 -51 /* power at 1m from device broadcasting at 0.1mW * /
112 : null; 112 : null;
113 assert_equals(adv_data.txPower, expected_tx_power); 113 assert_equals(adv_data.txPower, expected_tx_power);
114 assert_equals(adv_data.rssi, expected_rssi); 114 assert_equals(adv_data.rssi, expected_rssi);
115 }); 115 });
116 }, power_test.name) 116 }, power_test.name)
117 }); 117 });
118 </script> 118 </script>
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/bluetooth/characteristicProperties.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698