(file) Return to cabinet_fdi.c CVS log (file) (dir) Up to [RizwankCVS] / group3 / wine / dlls / cabinet / tests

Diff for /group3/wine/dlls/cabinet/tests/cabinet_fdi.c between version 1.1 and 1.3

version 1.1, 2005/02/04 08:42:41 version 1.3, 2005/02/04 09:17:22
Line 65 
Line 65 
         FDIDestroy         FDIDestroy
 */ */
  
   /* Currently dummy function pointers */
  
   FNALLOC(dummy_alloc) {
           printf("FNALLOC just called with %d\n",cb);
           return 0;
   }
  
   FNFREE(dummy_free) {
           printf("FNFREE just called with %d\n",pv);
           return;
   }
  
   FNOPEN(dummy_open) {
            printf("FNOPEN just called with %d, %d, %d\n",pszFile, oflag, pmode);
           return 0;
   }
  
 START_TEST(paths)  FNREAD(dummy_read) {
 {  /*       printf("FNREAD just called with %d, %d, %d\n",hf, pv, cb);
            return void;
   */      return 0;
 } }
  
   FNWRITE(dummy_write) {
   /*       printf("FNWRITE just called with %d, %d, %d\n",hf, pv, cb);
            return void;
   */      return 0;
   }
  
  
   FNCLOSE(dummy_close) {
   /*       printf("FNCLOSE just called with %d\n",hf);
           return void;
   */      return 0;
   }
   
   FNSEEK(dummy_seek) {
   /*       printf("FNSEEK just called with %d, %d, %d\n",hf, dist, seektype);
           return void;
   */      return 0;
   }
   
   static void TestDestroy(void) {
           /* Only two things to check in FDIDestroy
              1=> Does it return T if its passed an hfdi
              2=> Does it return F if its passed a non hfdi
           */
   
           ok( 0 == FDIDestroy(0), "Return true incorrectly in TestDestroy()!\n");
           /*
                   TODO : check if its passed an hfdi
                   */
   }
   
   
   START_TEST(paths)
   {
           /*
           TestCreate();
           TestInfo();
           TestCopy();
           */
           TestDestroy();
   
   }


Legend:
Removed from v.1.1  
changed lines
  Added in v.1.3

Rizwan Kassim
Powered by
ViewCVS 0.9.2