Class SpamProtectorTest

java.lang.Object
de.aikiit.spamprotector.converter.SpamProtectorTest

public class SpamProtectorTest extends Object
Convert real-world examples in order to avoid regressions.
  • Constructor Details

    • SpamProtectorTest

      public SpamProtectorTest()
  • Method Details

    • conversionRoundtripNull

      public void conversionRoundtripNull()
    • conversionExample

      public void conversionExample()
    • singleCharactersAreConverted

      public void singleCharactersAreConverted()
    • asciiOnlyIsEncodedCompletelyWithSpacesAndAtSign

      public void asciiOnlyIsEncodedCompletelyWithSpacesAndAtSign()
    • nonAsciCharactersAreNotEncodedButTheRest

      public void nonAsciCharactersAreNotEncodedButTheRest()
    • asciiIsConvertedToPlainText

      public void asciiIsConvertedToPlainText()
    • mixOfEncodedAndNonAsciiPlainCanBeDecoded

      public void mixOfEncodedAndNonAsciiPlainCanBeDecoded()
    • stupidInputDecode

      public void stupidInputDecode()
    • stupidInputEncode

      public void stupidInputEncode()
    • issue24LowercasingIsDefaultBehaviour

      public void issue24LowercasingIsDefaultBehaviour()