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

Unified Diff: third_party/WebKit/Source/modules/bluetooth/testing/clusterfuzz/parameter_fuzzer.py

Issue 2166913002: bluetooth: Generate random service uuid and generate random fake adapter. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@bluetooth-fuzzer-basics
Patch Set: Address scheib's comments Created 4 years, 5 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: third_party/WebKit/Source/modules/bluetooth/testing/clusterfuzz/parameter_fuzzer.py
diff --git a/third_party/WebKit/Source/modules/bluetooth/testing/clusterfuzz/parameter_fuzzer.py b/third_party/WebKit/Source/modules/bluetooth/testing/clusterfuzz/parameter_fuzzer.py
index baa00b0e3c347821e82a040d282d518dc1a0bc5f..2762e127bbbb89e9554761d0bc70888d379fe759 100644
--- a/third_party/WebKit/Source/modules/bluetooth/testing/clusterfuzz/parameter_fuzzer.py
+++ b/third_party/WebKit/Source/modules/bluetooth/testing/clusterfuzz/parameter_fuzzer.py
@@ -26,4 +26,8 @@ def FuzzParameters(test_file_data):
constraints.GetRequestDeviceOptions,
test_file_data)
+ test_file_data = FillInParameter('TRANSFORM_FAKE_ADAPTER',
+ constraints.GetFakeAdapter,
+ test_file_data)
+
return test_file_data

Powered by Google App Engine
This is Rietveld 408576698