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

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

Issue 2178853006: bluetooth: fuzzer: Add a connect and getPrimaryServices tokens (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@bluetooth-fuzzer-fake-adapter-uuid
Patch Set: Format 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 2762e127bbbb89e9554761d0bc70888d379fe759..f672744bcd813651320d8628fbb4b4e536548307 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
@@ -22,12 +22,24 @@ def FuzzParameters(test_file_data):
parameters replaced.
"""
- test_file_data = FillInParameter('TRANSFORM_REQUEST_DEVICE_OPTIONS',
- constraints.GetRequestDeviceOptions,
+ test_file_data = FillInParameter('TRANSFORM_BASIC_BASE',
+ constraints.GetBasicBase,
+ test_file_data)
+
+ test_file_data = FillInParameter('TRANSFORM_DEVICE_DISCOVERY_BASE',
+ constraints.GetDeviceDiscoveryBase,
+ test_file_data)
+
+ test_file_data = FillInParameter('TRANSFORM_CONNECTABLE_BASE',
+ constraints.GetConnectableBase,
+ test_file_data)
+
+ test_file_data = FillInParameter('TRANSFORM_SERVICE_RETRIEVED_BASE',
+ constraints.GetServiceRetrievedBase,
test_file_data)
- test_file_data = FillInParameter('TRANSFORM_FAKE_ADAPTER',
- constraints.GetFakeAdapter,
+ test_file_data = FillInParameter('TRANSFORM_REQUEST_DEVICE_OPTIONS',
+ constraints.GetRequestDeviceOptions,
test_file_data)
return test_file_data

Powered by Google App Engine
This is Rietveld 408576698