Tests di GiuseppeIamele - Codice di A.S. - Modulo 1

leggiFile

Args:01234
RESULT_OK NI
UNKNOWN_ERROR NININININI
NULL_POINTER OKNVTF
EMPTY_STRING NININININI
FILE_MISSING OKNVNV
FILE_UNREADABLE NININININI
FILE_UNWRITABLE NININININI
FILE_EMPTY NININININI
BUFFER_TOO_SMALL NVTFNV
HEADER_NOT_FOUND NVNVNVNVNV
BODY_NOT_FOUND NVNVNVNVNV
BAD_HEADER NVNVNVNVNV
MEM_ALLOC_ERROR NININININI

estraiHeaders

Args:01234
RESULT_OK NI
UNKNOWN_ERROR NININININI
NULL_POINTER OKOKNV
EMPTY_STRING OKNVNV
FILE_MISSING NVNVNVNVNV
FILE_UNREADABLE NVNVNVNVNV
FILE_UNWRITABLE NVNVNVNVNV
FILE_EMPTY NVNVNVNVNV
BUFFER_TOO_SMALL NVNVOK
HEADER_NOT_FOUND NININININI
BODY_NOT_FOUND NVNVNVNVNV
BAD_HEADER NVNVNVNVNV
MEM_ALLOC_ERROR NININININI

primoHeader

Args:01234
RESULT_OK NI
UNKNOWN_ERROR NININININI
NULL_POINTER NININININI
EMPTY_STRING OKNVNV
FILE_MISSING NVNVNVNVNV
FILE_UNREADABLE NVNVNVNVNV
FILE_UNWRITABLE NVNVNVNVNV
FILE_EMPTY NVNVNVNVNV
BUFFER_TOO_SMALL NVNVOK
HEADER_NOT_FOUND TFNVNV
BODY_NOT_FOUND NVNVNVNVNV
BAD_HEADER NVNVNVNVNV
MEM_ALLOC_ERROR NININININI

parseHeader

Args:01234
RESULT_OK NI
UNKNOWN_ERROR NININININI
NULL_POINTER NININININI
EMPTY_STRING OKNVNVNVNV
FILE_MISSING NVNVNVNVNV
FILE_UNREADABLE NVNVNVNVNV
FILE_UNWRITABLE NVNVNVNVNV
FILE_EMPTY NVNVNVNVNV
BUFFER_TOO_SMALL NVNVOKNVOK
HEADER_NOT_FOUND NININININI
BODY_NOT_FOUND NVNVNVNVNV
BAD_HEADER OKNVNVNVNV
MEM_ALLOC_ERROR NININININI

primaParola

Args:01234
RESULT_OK NI
UNKNOWN_ERROR NININININI
NULL_POINTER OKOKNV
EMPTY_STRING OKNVNV
FILE_MISSING NVNVNVNVNV
FILE_UNREADABLE NVNVNVNVNV
FILE_UNWRITABLE NVNVNVNVNV
FILE_EMPTY NVNVNVNVNV
BUFFER_TOO_SMALL NVNVOK
HEADER_NOT_FOUND NVNVNVNVNV
BODY_NOT_FOUND NVNVNVNVNV
BAD_HEADER NVNVNVNVNV
MEM_ALLOC_ERROR NININININI

tokenizzaEmail

Args:01234
RESULT_OK NI NV NV
UNKNOWN_ERROR NININV NV
NULL_POINTER NININV NV
EMPTY_STRING NININV NV
FILE_MISSING NININV NV
FILE_UNREADABLE NININV NV
FILE_UNWRITABLE NININV NV
FILE_EMPTY NININV NV
BUFFER_TOO_SMALL NININV NV
HEADER_NOT_FOUND NININV NV
BODY_NOT_FOUND NININV NV
BAD_HEADER NININV NV
MEM_ALLOC_ERROR NININV NV

printTokens

Args:01234
RESULT_OK NI NV
UNKNOWN_ERROR NINI NV
NULL_POINTER NINI NV
EMPTY_STRING NINI NV
FILE_MISSING NINI NV
FILE_UNREADABLE NINI NV
FILE_UNWRITABLE NINI NV
FILE_EMPTY NINI NV
BUFFER_TOO_SMALL NINI NV
HEADER_NOT_FOUND NINI NV
BODY_NOT_FOUND NINI NV
BAD_HEADER NINI NV
MEM_ALLOC_ERROR NINI NV