Class FileSeparatorOutputNormalizer
java.lang.Object
org.gradle.exemplar.test.normalizer.FileSeparatorOutputNormalizer
- All Implemented Interfaces:
OutputNormalizer
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionnormalize(String commandOutput, ExecutionMetadata executionMetadata) Remove and update output that is unrelated the the sample output.protected Stringnormalize(String commandOutput, ExecutionMetadata executionMetadata, char separatorChar)
-
Constructor Details
-
FileSeparatorOutputNormalizer
public FileSeparatorOutputNormalizer()
-
-
Method Details
-
normalize
Description copied from interface:OutputNormalizerRemove and update output that is unrelated the the sample output.- Specified by:
normalizein interfaceOutputNormalizer- Parameters:
commandOutput- raw command outputexecutionMetadata- environment and execution information- Returns:
- normalized output as a String
-
normalize
protected String normalize(String commandOutput, ExecutionMetadata executionMetadata, char separatorChar)
-