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

Unified Diff: chrome/test/data/extensions/api_test/bluetooth_low_energy/write_characteristic_value/runtest.js

Issue 293153002: chrome.bluetoothLowEnergy: Implement writeDescriptorValue. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebased Created 6 years, 7 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
Index: chrome/test/data/extensions/api_test/bluetooth_low_energy/write_characteristic_value/runtest.js
diff --git a/chrome/test/data/extensions/api_test/bluetooth_low_energy/write_characteristic_value/runtest.js b/chrome/test/data/extensions/api_test/bluetooth_low_energy/write_characteristic_value/runtest.js
index 017664c6fe8a1d23fb9f2d68dce249098db9790e..51fd4e96414ad0722a820c0c02c99678a6c5ff4c 100644
--- a/chrome/test/data/extensions/api_test/bluetooth_low_energy/write_characteristic_value/runtest.js
+++ b/chrome/test/data/extensions/api_test/bluetooth_low_energy/write_characteristic_value/runtest.js
@@ -23,6 +23,7 @@ var charId = 'char_id0';
var badCharId = 'char_id1';
var characteristic = null;
+
var bytes = [0x43, 0x68, 0x72, 0x6F, 0x6D, 0x65];
var writeValue = new ArrayBuffer(bytes.length);
var valueBytes = new Uint8Array(writeValue);
@@ -31,7 +32,7 @@ valueBytes.set(bytes);
// 1. Unknown characteristic instanceId.
writeCharacteristicValue(badCharId, writeValue, function (result) {
if (result || !chrome.runtime.lastError) {
- chrome.test.fail('badCharId did not cause failure');
+ chrome.test.fail('\'badCharId\' did not cause failure');
}
// 2. Known characteristic instanceId, but call failure.

Powered by Google App Engine
This is Rietveld 408576698