Swift_StreamFilters_ByteArrayReplacementFilterTest
extends TestCase
in package
Table of Contents
- testBasicReplacementsAreMade() : mixed
- testConvertingAllLineEndingsToCRLFWhenInputContainsLFLF() : mixed
- testConvertingAllLineEndingsToCRLFWhenInputIsCR() : mixed
- testConvertingAllLineEndingsToCRLFWhenInputIsCRLF() : mixed
- testConvertingAllLineEndingsToCRLFWhenInputIsLF() : mixed
- testConvertingAllLineEndingsToCRLFWhenInputIsLFCR() : mixed
- testFilterCanMakeMultipleReplacements() : mixed
- testMultipleReplacementsCanBeDifferent() : mixed
- testShouldBufferReturnsFalseIfPartialMatchNotAtEndOfString() : mixed
- testShouldBufferReturnsTrueIfAnyOfMultipleMatchesAtEndOfString() : mixed
- testShouldBufferReturnsTrueIfPartialMatchAtEndOfBuffer() : mixed
- createFilter() : mixed
Methods
testBasicReplacementsAreMade()
public
testBasicReplacementsAreMade() : mixed
Return values
mixed —testConvertingAllLineEndingsToCRLFWhenInputContainsLFLF()
public
testConvertingAllLineEndingsToCRLFWhenInputContainsLFLF() : mixed
Return values
mixed —testConvertingAllLineEndingsToCRLFWhenInputIsCR()
public
testConvertingAllLineEndingsToCRLFWhenInputIsCR() : mixed
Return values
mixed —testConvertingAllLineEndingsToCRLFWhenInputIsCRLF()
public
testConvertingAllLineEndingsToCRLFWhenInputIsCRLF() : mixed
Return values
mixed —testConvertingAllLineEndingsToCRLFWhenInputIsLF()
public
testConvertingAllLineEndingsToCRLFWhenInputIsLF() : mixed
Return values
mixed —testConvertingAllLineEndingsToCRLFWhenInputIsLFCR()
public
testConvertingAllLineEndingsToCRLFWhenInputIsLFCR() : mixed
Return values
mixed —testFilterCanMakeMultipleReplacements()
public
testFilterCanMakeMultipleReplacements() : mixed
Return values
mixed —testMultipleReplacementsCanBeDifferent()
public
testMultipleReplacementsCanBeDifferent() : mixed
Return values
mixed —testShouldBufferReturnsFalseIfPartialMatchNotAtEndOfString()
public
testShouldBufferReturnsFalseIfPartialMatchNotAtEndOfString() : mixed
Return values
mixed —testShouldBufferReturnsTrueIfAnyOfMultipleMatchesAtEndOfString()
public
testShouldBufferReturnsTrueIfAnyOfMultipleMatchesAtEndOfString() : mixed
Return values
mixed —testShouldBufferReturnsTrueIfPartialMatchAtEndOfBuffer()
public
testShouldBufferReturnsTrueIfPartialMatchAtEndOfBuffer() : mixed
Return values
mixed —createFilter()
private
createFilter(mixed $search, mixed $replace) : mixed
Parameters
- $search : mixed
- $replace : mixed