Changeset 18595 for trunk/ippdb/tests/insertobject.c
- Timestamp:
- Jul 17, 2008, 10:15:51 AM (18 years ago)
- File:
-
- 1 edited
-
trunk/ippdb/tests/insertobject.c (modified) (7 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippdb/tests/insertobject.c
r18044 r18595 586 586 } 587 587 588 object = stackRunRowAlloc(-64, "a string", "a string", "a string", "0001-01-01T00:00:00Z", "a string", "a string" );588 object = stackRunRowAlloc(-64, "a string", "a string", "a string", "0001-01-01T00:00:00Z", "a string", "a string", "a string"); 589 589 if (!object) { 590 590 exit(EXIT_FAILURE); … … 960 960 } 961 961 962 object = magicRunRowAlloc(-64, "a string", "a string", "a string", "a string", "a string", "0001-01-01T00:00:00Z" );962 object = magicRunRowAlloc(-64, "a string", "a string", "a string", "a string", "a string", "0001-01-01T00:00:00Z", -16); 963 963 if (!object) { 964 964 exit(EXIT_FAILURE); … … 1026 1026 } 1027 1027 1028 object = magicNodeResultRowAlloc(-64, "a string", "a string" );1028 object = magicNodeResultRowAlloc(-64, "a string", "a string", -16); 1029 1029 if (!object) { 1030 1030 exit(EXIT_FAILURE); … … 1048 1048 } 1049 1049 1050 object = magicMaskRowAlloc(-64, "a string" );1050 object = magicMaskRowAlloc(-64, "a string", -32, -16); 1051 1051 if (!object) { 1052 1052 exit(EXIT_FAILURE); … … 1063 1063 { 1064 1064 psDB *dbh; 1065 magicSkyfileMaskRow *object;1066 1067 dbh = psDBInit("localhost", "test", NULL, "test");1068 if (!dbh) {1069 exit(EXIT_FAILURE);1070 }1071 1072 object = magicSkyfileMaskRowAlloc(-64, -64, "a string");1073 if (!object) {1074 exit(EXIT_FAILURE);1075 }1076 1077 if (!magicSkyfileMaskInsertObject(dbh, object)) {1078 exit(EXIT_FAILURE);1079 }1080 1081 psFree(object);1082 psDBCleanup(dbh);1083 }1084 1085 {1086 psDB *dbh;1087 1065 calDBRow *object; 1088 1066 … … 1202 1180 } 1203 1181 1204 object = pstampRequestRowAlloc(-64, -64, "a string", "a string", "a string", -16);1182 object = pstampRequestRowAlloc(-64, -64, "a string", "a string", "a string", "a string", "a string", -32); 1205 1183 if (!object) { 1206 1184 exit(EXIT_FAILURE); … … 1224 1202 } 1225 1203 1226 object = pstampJobRowAlloc(-64, -64, "a string", "a string", -32, "a string", "a string", "a string");1204 object = pstampJobRowAlloc(-64, -64, "a string", "a string", "a string", -32, "a string", "a string", "a string"); 1227 1205 if (!object) { 1228 1206 exit(EXIT_FAILURE);
Note:
See TracChangeset
for help on using the changeset viewer.
