21 #include "stringManipulate.h"
36 "createValueTable populates the valueTable with count: %d", valueTable.
count);
50 String test_uri = {
"test_uri_string", 15};
60 "addUriEntry changed the dynArray.arrayEntries unnecessary");
62 "addUriEntry did not update count properly");
64 "addUriEntry changed the uriStr");
66 "addUriEntry returned wrong entryId: %d", entryId);
76 "addUriEntry did not update the dynArray.arrayEntries properly");
78 "addUriEntry did not update rowCount properly");
80 "addUriEntry changed the uriStr");
82 "addUriEntry returned wrong entryId: %d", entryId);
95 String test_ln = {
"test_ln_string", 14};
100 err =
addLnEntry(&lnTable, test_ln, &entryId);
104 "addLnEntry changed the dynArray.arrayEntries unnecessary");
106 "addLnEntry did not update rowCount properly");
108 "addLnEntry changed the lnStr");
110 "addLnEntry returned wrong entryId: %d", entryId);
112 #if VALUE_CROSSTABLE_USE
118 err =
addLnEntry(&lnTable, test_ln, &entryId);
122 "addLnEntry did not update the dynArray.arrayEntries properly");
124 "addLnEntry did not update count properly");
126 "addLnEntry changed the lnStr");
128 "addLnEntry returned wrong entryId: %d", entryId);
129 #if VALUE_CROSSTABLE_USE
140 String testStr = {
"TEST-007", 8};
148 testStrm.
gStack = &gStack;
159 fail_unless (tmp_err_code ==
EXIP_OK,
"initStream returns an error code %d", tmp_err_code);
166 fail_unless (tmp_err_code ==
EXIP_OK,
"addValueEntry returns an error code %d", tmp_err_code);
167 #if VALUE_CROSSTABLE_USE
209 return (number_failed == 0) ? EXIT_SUCCESS : EXIT_FAILURE;