From 730780faf41fc828fca711267a6de785184ffe3f Mon Sep 17 00:00:00 2001 From: Mina Farid Date: Fri, 13 Jul 2018 15:02:48 -0400 Subject: Fuzz testing Serializer with a dictionary and corpus (#1513) Added functionality to read dictionary file and seed input corpus from bundle --- .../Serializer/Corpus/TextProtos/doc-01 | 23 ++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 Firestore/Example/FuzzTests/FuzzingResources/Serializer/Corpus/TextProtos/doc-01 (limited to 'Firestore/Example/FuzzTests/FuzzingResources/Serializer/Corpus/TextProtos/doc-01') diff --git a/Firestore/Example/FuzzTests/FuzzingResources/Serializer/Corpus/TextProtos/doc-01 b/Firestore/Example/FuzzTests/FuzzingResources/Serializer/Corpus/TextProtos/doc-01 new file mode 100644 index 0000000..0255568 --- /dev/null +++ b/Firestore/Example/FuzzTests/FuzzingResources/Serializer/Corpus/TextProtos/doc-01 @@ -0,0 +1,23 @@ +# Copyright 2018 Google +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +name: "doc-01" +fields: { + key: "a", + value: { string_value: "a_value" } +} +fields: { + key: "b" + value: { boolean_value: true } +} -- cgit v1.2.3