def ev_test_cf_unrecognized(self, filename, decode_errors): if decode_errors: self.perror("I don't recognize the type or encoding of %s" % strutil.showfn(filename)) else: self.perror("I don't recognize the type of %s" % strutil.showfn(filename))
def ev_f_found(self, filename, filesize, filecrc, found_fn, action='found'): self.ev_f_ok(filename, filesize, filecrc, 'OK(%s %s)' % (action, strutil.showfn(found_fn)))
def ev_test_cf_begin(self, cftypename, filename, comment): if comment: comment = ', ' + comment comment = strutil.rchoplen( comment, 102) # limit the length in case its a really long one. else: comment = '' self.pverbose('testing from %s (%s%s)' % (strutil.showfn(filename), cftypename.lower(), comment))
def ev_f_verifyerror_renamed(self, filename, msg, newfilename, foundok): self.ev_f_verifyerror( filename, msg + ' (renamed to %s)' % strutil.showfn(newfilename), foundok)
def ev_f_verifyerror_dupe(self, filename, msg, dupefilename, foundok): self.ev_f_verifyerror( filename, msg + ' (dupe of %s removed)' % strutil.showfn(dupefilename), foundok)
def ev_d_enverror(self, path, ex): self.perror('%s%s : %s' % (strutil.showfn(path), os.sep, enverrstr(ex)))
def ev_make_cf_typenotsupported(self, filename, cftype): self.perror('%s : %s not supported in create mode' % (strutil.showfn(filename), cftype.__name__.lower()))