modes.h (1128B)
1 /* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ 2 /* This Source Code Form is subject to the terms of the Mozilla Public 3 * License, v. 2.0. If a copy of the MPL was not distributed with this 4 * file, You can obtain one at https://mozilla.org/MPL/2.0/. */ 5 6 // #define AGENT_MODE(name) to do what you want and then #include this file 7 8 AGENT_MODE(largeResponse) 9 AGENT_MODE(invalidUtf8StringStartByteIsContinuationByte) 10 AGENT_MODE(invalidUtf8StringEndsInMiddleOfMultibyteSequence) 11 AGENT_MODE(invalidUtf8StringOverlongEncoding) 12 AGENT_MODE(invalidUtf8StringMultibyteSequenceTooShort) 13 AGENT_MODE(invalidUtf8StringDecodesToInvalidCodePoint) 14 AGENT_MODE(stringWithEmbeddedNull) 15 AGENT_MODE(zeroResults) 16 AGENT_MODE(resultWithInvalidStatus) 17 AGENT_MODE(messageTruncatedInMiddleOfString) 18 AGENT_MODE(messageWithInvalidWireType) 19 AGENT_MODE(messageWithUnusedFieldNumber) 20 AGENT_MODE(messageWithWrongStringWireType) 21 AGENT_MODE(messageWithZeroTag) 22 AGENT_MODE(messageWithZeroFieldButNonzeroWireType) 23 AGENT_MODE(messageWithGroupEnd) 24 AGENT_MODE(messageTruncatedInMiddleOfVarint) 25 AGENT_MODE(messageTruncatedInMiddleOfTag)