Unit tests - GarbageCollectorsReloaded/EmailValidation GitHub Wiki

Unit tests coverages have been fixed.

#6 has been fixed by nagylaszlo9423.

  • TestInvalidIPAddress
    • Checking whether there are at least 8 characters after the opening bracket of ip address.
    • "valid.ipv4.addr@[123]" is an invalid address as there are only 3 characters in brackets.
    • The assertion will be false.

#7 has been fixed by Taki1994.

  • TestValidationSkipQuotedWrongStartingCharacter:

    • Test case is for checking proper working when IP address starts with a charcter which ASCII value is higher than 128.
    • Checking with IP address: é129.185.11.100. "é" ASCII value is 129.
    • In this case the required return value is false.
  • TestValidationSkipQuotedWrongEndCharaecterIndex

    • Test case is for checking proper ending of IP address.
    • Required character ".
    • Checking with IP address: ".
      • One problem is missing end " character.
    • In this case required return value is false.

#6 Unit Test is approved: Taki1994. #7 Unit Tests are approved: nagylaszlo9423.