Changeset 18044 for trunk/ippdb/tests/insert.c
- Timestamp:
- Jun 9, 2008, 5:11:49 PM (18 years ago)
- File:
-
- 1 edited
-
trunk/ippdb/tests/insert.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippdb/tests/insert.c
r17872 r18044 223 223 } 224 224 225 if (!camProcessedExpInsert(dbh, -64, -64,"a string", 32.32, 32.32, 32.32, 32.32, 32.32, 32.32, 32.32, 32.32, 32.32, 32.32, 32.32, 32.32, 32.32, 32.32, 32.32, 32.32, 32.32, 32.32, 32.32, "a string", -32, -32, -32, -32, "a string", -16)) {225 if (!camProcessedExpInsert(dbh, -64, "a string", 32.32, 32.32, 32.32, 32.32, 32.32, 32.32, 32.32, 32.32, 32.32, 32.32, 32.32, 32.32, 32.32, 32.32, 32.32, 32.32, 32.32, 32.32, 32.32, "a string", -32, -32, -32, -32, "a string", -16)) { 226 226 exit(EXIT_FAILURE); 227 227 } … … 253 253 } 254 254 255 if (!fakeRunInsert(dbh, -64, -64, "a string", "a string", "a string", "a string", "a string", "a string", "a string", "a string", "0001-01-01T00:00:00Z")) { 256 exit(EXIT_FAILURE); 257 } 258 259 psDBCleanup(dbh); 260 } 261 262 { 263 psDB *dbh; 264 265 dbh = psDBInit("localhost", "test", NULL, "test"); 266 if (!dbh) { 267 exit(EXIT_FAILURE); 268 } 269 270 if (!fakeProcessedImfileInsert(dbh, -64, -64, "a string", "a string", 32.32, "a string", "a string", -16, "0001-01-01T00:00:00Z")) { 271 exit(EXIT_FAILURE); 272 } 273 274 psDBCleanup(dbh); 275 } 276 277 { 278 psDB *dbh; 279 280 dbh = psDBInit("localhost", "test", NULL, "test"); 281 if (!dbh) { 282 exit(EXIT_FAILURE); 283 } 284 285 if (!fakeMaskInsert(dbh, "a string")) { 286 exit(EXIT_FAILURE); 287 } 288 289 psDBCleanup(dbh); 290 } 291 292 { 293 psDB *dbh; 294 295 dbh = psDBInit("localhost", "test", NULL, "test"); 296 if (!dbh) { 297 exit(EXIT_FAILURE); 298 } 299 255 300 if (!warpRunInsert(dbh, -64, -64, "a string", "a string", "a string", "a string", "a string", "a string", "a string", "a string", "0001-01-01T00:00:00Z", true)) { 256 301 exit(EXIT_FAILURE); … … 268 313 } 269 314 270 if (!warpSkyCellMapInsert(dbh, -64, "a string", "a string", -64,"a string", -16)) {315 if (!warpSkyCellMapInsert(dbh, -64, "a string", "a string", "a string", -16)) { 271 316 exit(EXIT_FAILURE); 272 317 }
Note:
See TracChangeset
for help on using the changeset viewer.
