if (tmpFile.exists()) print("*** SOMEHOW THE TEMP FILE STILL EXISTS EVEN THOUGH IT SHOULD BE DELETED!"); 
function run_test(){  zipW.open(tmpFile, PR_RDWR | PR_CREATE_FILE | PR_TRUNCATE);  // Shouldn't be there to start with.  do_check_false(zipW.hasEntry(FILENAME));  do_check_false(zipW.inQueue);  var stream = Cc["@mozilla.org/io/string-input-stream;1"]                .createInstance(Ci.nsIStringInputStream);  stream.setData(DATA, DATA.length);  zipW.addEntryStream(FILENAME, time * PR_USEC_PER_MSEC,                      Ci.nsIZipWriter.COMPRESSION_NONE, stream, false);  // Check that zip state is right at this stage.  testpass(zipW);  zipW.close();  do_check_eq(tmpFile.fileSize,              DATA.length + ZIP_FILE_HEADER_SIZE + ZIP_CDS_HEADER_SIZE +              (FILENAME.length * 2) + ZIP_EOCDR_HEADER_SIZE);  // Check to see if we get the same results loading afresh.  zipW.open(tmpFile, PR_RDWR);  testpass(zipW);  zipW.close();  // Test the stored data with the zipreader  var zipR = new ZipReader(tmpFile);  testpass(zipR);  zipR.test(FILENAME);  var stream = Cc["@mozilla.org/scriptableinputstream;1"]                .createInstance(Ci.nsIScriptableInputStream);  stream.init(zipR.getInputStream(FILENAME));  var result = stream.read(DATA.length);  stream.close();  zipR.close();  do_check_eq(result, DATA);}
5459	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/5459/48b2ee3b3a6303b83383bb6e97deb96b81581d50/test_storedata.js/buggy/modules/libjar/zipwriter/test/unit/test_storedata.js