Changeset 14451 for trunk/ippdb/tests/insertobject.c
- Timestamp:
- Aug 8, 2007, 12:28:29 PM (19 years ago)
- File:
-
- 1 edited
-
trunk/ippdb/tests/insertobject.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippdb/tests/insertobject.c
r14252 r14451 784 784 } 785 785 786 object = detResidImfileRowAlloc(-64, -32, -64, "a string", "a string", "a string", 64.64, 64.64, 64.64, 64.64, 64.64, 64.64, 64.64, 64.64, 64.64, 64.64, 64.64, 64.64, "a string", -16);786 object = detResidImfileRowAlloc(-64, -32, -64, "a string", "a string", "a string", 64.64, 64.64, 64.64, 64.64, 64.64, 64.64, 64.64, 64.64, 64.64, 64.64, 64.64, 64.64, 64.64, 64.64, 64.64, 64.64, 64.64, "a string", -16); 787 787 if (!object) { 788 788 exit(EXIT_FAILURE); … … 806 806 } 807 807 808 object = detResidExpRowAlloc(-64, -32, -64, "a string", 64.64, 64.64, 64.64, 64.64, 64.64, 64.64, 64.64, 64.64, 64.64, 64.64, 64.64, 64.64, "a string", true, -16);808 object = detResidExpRowAlloc(-64, -32, -64, "a string", 64.64, 64.64, 64.64, 64.64, 64.64, 64.64, 64.64, 64.64, 64.64, 64.64, 64.64, 64.64, 64.64, 64.64, 64.64, 64.64, 64.64, "a string", true, -16); 809 809 if (!object) { 810 810 exit(EXIT_FAILURE); … … 834 834 835 835 if (!detRunSummaryInsertObject(dbh, object)) { 836 exit(EXIT_FAILURE); 837 } 838 839 psFree(object); 840 psDBCleanup(dbh); 841 } 842 843 { 844 psDB *dbh; 845 detRegisteredImfileRow *object; 846 847 dbh = psDBInit("localhost", "test", NULL, "test"); 848 if (!dbh) { 849 exit(EXIT_FAILURE); 850 } 851 852 object = detRegisteredImfileRowAlloc(-64, -32, "a string", "a string", 64.64, 64.64, 64.64, 64.64, 64.64, 64.64, 64.64, 64.64, "a string", -16); 853 if (!object) { 854 exit(EXIT_FAILURE); 855 } 856 857 if (!detRegisteredImfileInsertObject(dbh, object)) { 836 858 exit(EXIT_FAILURE); 837 859 }
Note:
See TracChangeset
for help on using the changeset viewer.
