Tests di IvanoLapergola - Codice di IvanoLapergola - Modulo 4

calcolaPesoEmail

Args:01234
RESULT_OK NVOKOKOK
UNKNOWN_ERROR NINININI
NULL_POINTER NINVOKOK
EMPTY_STRING NINININI
FILE_MISSING NINININI
FILE_UNREADABLE NINININI
FILE_UNWRITABLE NINININI
FILE_EMPTY NINININI
BUFFER_TOO_SMALL NVNVOKNV
HEADER_NOT_FOUND NINININI
BODY_NOT_FOUND NINININI
BAD_HEADER NINININI
MEM_ALLOC_ERROR NINININI
INVALID_PARAMETER NVOKNVNV
MATCH_NOT_FOUND NVNVNVNV
RE_PAIR_NOT_FOUND NINININI
BAD_RE_PAIR NINININI
BAD_MATCH NINININI
BAD_REPLACE NINININI
DOUBLE_KEY_FOUND NVNVNVNV
TABLE_FULL NVNVNVNV
KEY_NOT_FOUND NINININI
NO_MORE_ELEMENTS NINININI
NOT_PRESENT NINININI

modificaValore

Args:01234
RESULT_OK Segm. Fault Segm. Fault Segm. Fault
UNKNOWN_ERROR NININI
NULL_POINTER OKNVOK
EMPTY_STRING NININI
FILE_MISSING NININI
FILE_UNREADABLE NININI
FILE_UNWRITABLE NININI
FILE_EMPTY NININI
BUFFER_TOO_SMALL TFNVNV
HEADER_NOT_FOUND NININI
BODY_NOT_FOUND NININI
BAD_HEADER NININI
MEM_ALLOC_ERROR NININI
INVALID_PARAMETER OKOKNV
MATCH_NOT_FOUND NVNVNV
RE_PAIR_NOT_FOUND NININI
BAD_RE_PAIR NININI
BAD_MATCH NININI
BAD_REPLACE NININI
DOUBLE_KEY_FOUND NVNV Segm. Fault
TABLE_FULL NVNV Segm. Fault
KEY_NOT_FOUND NININI
NO_MORE_ELEMENTS NININI
NOT_PRESENT NININI

prossimaChiave

Args:01234
RESULT_OK Segm. Fault Segm. Fault Segm. Fault
UNKNOWN_ERROR NININI
NULL_POINTER Segm. Fault OKNV
EMPTY_STRING NININI
FILE_MISSING NININI
FILE_UNREADABLE NININI
FILE_UNWRITABLE NININI
FILE_EMPTY NININI
BUFFER_TOO_SMALL TFNVNV
HEADER_NOT_FOUND NININI
BODY_NOT_FOUND NININI
BAD_HEADER NININI
MEM_ALLOC_ERROR NININI
INVALID_PARAMETER NVNVNV
MATCH_NOT_FOUND NVNVNV
RE_PAIR_NOT_FOUND NININI
BAD_RE_PAIR NININI
BAD_MATCH NININI
BAD_REPLACE NININI
DOUBLE_KEY_FOUND OKNVNV
TABLE_FULL NVNVNV
KEY_NOT_FOUND NININI
NO_MORE_ELEMENTS NININI
NOT_PRESENT NININI

leggiFiles

Args:01234
RESULT_OK NVNVNV
UNKNOWN_ERROR NVNVNV
NULL_POINTER NV
EMPTY_STRING Segm. Fault NVNV
FILE_MISSING NVNVNV
FILE_UNREADABLE NVNVNV
FILE_UNWRITABLE NVNVNV
FILE_EMPTY NVNVNV
BUFFER_TOO_SMALL NVNVNV
HEADER_NOT_FOUND NVNVNV
BODY_NOT_FOUND NVNVNV
BAD_HEADER NVNVNV
MEM_ALLOC_ERROR NVNVNV
INVALID_PARAMETER NVNVNV
MATCH_NOT_FOUND NVNVNV
RE_PAIR_NOT_FOUND NVNVNV
BAD_RE_PAIR NVNVNV
BAD_MATCH NVNVNV
BAD_REPLACE NVNVNV
DOUBLE_KEY_FOUND NVNVNV
TABLE_FULL NVNVNV
KEY_NOT_FOUND NVNVNV
NO_MORE_ELEMENTS NVNVNV
NOT_PRESENT NVNVNV

calcolaDizionario

Args:01234
RESULT_OK NI
UNKNOWN_ERROR NININININI
NULL_POINTER NININININI
EMPTY_STRING NININININI
FILE_MISSING NININININI
FILE_UNREADABLE NININININI
FILE_UNWRITABLE NININININI
FILE_EMPTY NININININI
BUFFER_TOO_SMALL NININININI
HEADER_NOT_FOUND NININININI
BODY_NOT_FOUND NININININI
BAD_HEADER NININININI
MEM_ALLOC_ERROR NININININI
INVALID_PARAMETER NININININI
MATCH_NOT_FOUND NININININI
RE_PAIR_NOT_FOUND NININININI
BAD_RE_PAIR NININININI
BAD_MATCH NININININI
BAD_REPLACE NININININI
DOUBLE_KEY_FOUND NININININI
TABLE_FULL NININININI
KEY_NOT_FOUND NININININI
NO_MORE_ELEMENTS NININININI
NOT_PRESENT NININININI

scriviDizionario

Args:01234
RESULT_OK NVNV
UNKNOWN_ERROR NVNV
NULL_POINTER Segm. Fault Segm. Fault
EMPTY_STRING Segm. Fault NV
FILE_MISSING NVNV
FILE_UNREADABLE NVNV
FILE_UNWRITABLE NVNV
FILE_EMPTY NVNV
BUFFER_TOO_SMALL NVNV
HEADER_NOT_FOUND NVNV
BODY_NOT_FOUND NVNV
BAD_HEADER NVNV
MEM_ALLOC_ERROR NVNV
INVALID_PARAMETER NVNV
MATCH_NOT_FOUND NVNV
RE_PAIR_NOT_FOUND NVNV
BAD_RE_PAIR NVNV
BAD_MATCH NVNV
BAD_REPLACE NVNV
DOUBLE_KEY_FOUND NVNV
TABLE_FULL NVNV
KEY_NOT_FOUND NVNV
NO_MORE_ELEMENTS NVNV
NOT_PRESENT NVNV

processDirs

Args:01234
RESULT_OK NV
UNKNOWN_ERROR NV
NULL_POINTER
EMPTY_STRING
FILE_MISSING NV
FILE_UNREADABLE NV
FILE_UNWRITABLE NV
FILE_EMPTY NV
BUFFER_TOO_SMALL NV
HEADER_NOT_FOUND NV
BODY_NOT_FOUND NV
BAD_HEADER NV
MEM_ALLOC_ERROR NV
INVALID_PARAMETER NV
MATCH_NOT_FOUND NV
RE_PAIR_NOT_FOUND NV
BAD_RE_PAIR NV
BAD_MATCH NV
BAD_REPLACE NV
DOUBLE_KEY_FOUND NV
TABLE_FULL NV
KEY_NOT_FOUND NV
NO_MORE_ELEMENTS NV
NOT_PRESENT NV