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

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

Issue 2188373002: DO NOT SUBMIT bluetooth-fuzzer: Draft fuzzer (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@bluetooth-catch-and-connect
Patch Set: Created 4 years, 4 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
OLDNEW
1 # Copyright 2016 The Chromium Authors. All rights reserved. 1 # Copyright 2016 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 """Module to fuzz parameters of a template.""" 5 """Module to fuzz parameters of a template."""
6 6
7 import constraints 7 import constraints
8 from fuzzer_helpers import FillInParameter 8 from fuzzer_helpers import FillInParameter
9 9
10 10
(...skipping 16 matching lines...) Expand all
27 test_file_data) 27 test_file_data)
28 28
29 test_file_data = FillInParameter('TRANSFORM_DEVICE_DISCOVERY_BASE', 29 test_file_data = FillInParameter('TRANSFORM_DEVICE_DISCOVERY_BASE',
30 constraints.GetDeviceDiscoveryBase, 30 constraints.GetDeviceDiscoveryBase,
31 test_file_data) 31 test_file_data)
32 32
33 test_file_data = FillInParameter('TRANSFORM_CONNECTABLE_BASE', 33 test_file_data = FillInParameter('TRANSFORM_CONNECTABLE_BASE',
34 constraints.GetConnectableBase, 34 constraints.GetConnectableBase,
35 test_file_data) 35 test_file_data)
36 36
37 test_file_data = FillInParameter('TRANSFORM_SERVICE_RETRIEVED_BASE', 37 test_file_data = FillInParameter('TRANSFORM_SERVICES_RETRIEVED_BASE',
38 constraints.GetServiceRetrievedBase, 38 constraints.GetServicesRetrievedBase,
39 test_file_data)
40
41 test_file_data = FillInParameter('TRANSFORM_CHARACTERISTICS_RETRIEVED_BASE',
42 constraints.GetCharacteristicsRetrievedBase ,
43 test_file_data)
44
45 test_file_data = FillInParameter('TRANSFORM_CATCH',
46 constraints.GetCatch,
39 test_file_data) 47 test_file_data)
40 48
41 test_file_data = FillInParameter('TRANSFORM_REQUEST_DEVICE_OPTIONS', 49 test_file_data = FillInParameter('TRANSFORM_REQUEST_DEVICE_OPTIONS',
42 constraints.GetRequestDeviceOptions, 50 constraints.GetRequestDeviceOptions,
43 test_file_data) 51 test_file_data)
44 52
53 test_file_data = FillInParameter('TRANSFORM_GET_PRIMARY_SERVICES',
54 constraints.GetGetPrimaryServicesCall,
55 test_file_data)
56
57 test_file_data = FillInParameter('TRANSFORM_PICK_A_SERVICE',
58 constraints.GetPickAService,
59 test_file_data)
60
61 test_file_data = FillInParameter('TRANSFORM_GET_CHARACTERISTICS',
62 constraints.GetGetCharacteristicsCall,
63 test_file_data)
64
65 test_file_data = FillInParameter('TRANSFORM_PICK_A_CHARACTERISTIC',
66 constraints.GetPickACharacteristic,
67 test_file_data)
68
69 test_file_data = FillInParameter('TRANSFORM_WRITE_VALUE',
70 constraints.GetWriteValue,
71 test_file_data)
72
73 test_file_data = FillInParameter('TRANSFORM_RELOAD_ID',
74 constraints.GetReloadId,
75 test_file_data)
76
45 return test_file_data 77 return test_file_data
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698