webshell/tests/viewer/nsWebCrawler.cpp - Revision 1.105

There were 3 changes made.
Legend
   Added lines
   Changed lines
   Removed lines

webshell/tests/viewer/nsWebCrawler.cpp,1.105
.
Disk File
Skipping to line 243. 
          FILE *fp = GetOutputFile(mLastURL, regressionFileName);
.
          FILE *fp = GetOutputFile(mLastURL, regressionFileName);
 
.
 
          switch (mPrinterTestType) {
.
          switch (mPrinterTestType) {
          case 1:
.
          case 1:
            // dump print data to a file for regression testing
.
            // dump print data to a file for regression testing
            viewerFile->Print(PR_TRUE,fp);
.
            viewerFile->Print(PR_TRUE, fp);
            break;
.
            break;
          case 2:
.
          case 2:
            // visual printing tests, all go to the printer, no printer dialog
.
            // visual printing tests, all go to the printer, no printer dialog
            viewerFile->Print(PR_TRUE,0);
.
            viewerFile->Print(PR_TRUE, nsnull);
            break;
.
            break;
          case 3:
.
          case 3:
            // visual printing tests, all go to the printer, with a printer di
alog
.
            // visual printing tests, all go to the printer, with a printer di
alog
            viewerFile->Print(PR_FALSE,0);
.
            viewerFile->Print(PR_FALSE, nsnull);
            break;
.
            break;
          default:
.
          default:
            break;
.
            break;
          }
.
          }
          fclose(fp);
.
          fclose(fp);