@Deprecated public class DuplicateMessageAgitator extends Object implements YamlAgitator
An example of its usage might be to generate inputs for fuzz testing or to validate how a YAML parser deals with redundant information.
YamlAgitator| Modifier and Type | Field and Description |
|---|---|
static String |
YAML_EOD
Deprecated.
Marker indicating the end of a YAML message.
|
| Constructor and Description |
|---|
DuplicateMessageAgitator(int limit)
Deprecated.
Constructs a new instance with a specified limit on the number of messages to duplicate.
|
| Modifier and Type | Method and Description |
|---|---|
Map<String,String> |
generateInputs(String yaml)
Deprecated.
Generates a map of altered YAML inputs based on the provided YAML string.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitduplicateMessage, duplicateMessage, messageMissing, messageMissing, missingFields, overrideFields, replaceAllpublic static final String YAML_EOD
public DuplicateMessageAgitator(int limit)
limit - The maximum number of messages to duplicate from the input YAML.public Map<String,String> generateInputs(String yaml)
YamlAgitatorgenerateInputs in interface YamlAgitatoryaml - The original YAML content to be agitated.Copyright © 2024. All rights reserved.