diff options
author | josh.macdonald <jmacd@users.noreply.github.com> | 2013-05-13 16:35:07 +0000 |
---|---|---|
committer | josh.macdonald <jmacd@users.noreply.github.com> | 2013-05-13 16:35:07 +0000 |
commit | d60e9beffed2aa6ab8e2f00ef2037fbc194960f6 (patch) | |
tree | e05a417d2223b91de6835afc82125804969cda33 /xdelta3/testing/file.h | |
parent | 3dd6bad228fa7d6a118c3f2ed06ca0ce4816b846 (diff) |
Repair and improve the regtest
Diffstat (limited to 'xdelta3/testing/file.h')
-rw-r--r-- | xdelta3/testing/file.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/xdelta3/testing/file.h b/xdelta3/testing/file.h index a204d74..2c13f63 100644 --- a/xdelta3/testing/file.h +++ b/xdelta3/testing/file.h | |||
@@ -342,6 +342,12 @@ public: | |||
342 | return true; | 342 | return true; |
343 | } | 343 | } |
344 | 344 | ||
345 | // Check whether a real file matches another | ||
346 | bool EqualsSpec(const ExtFile &other) const { | ||
347 | int ret = compare_files(Name(), other.Name()); | ||
348 | return true; | ||
349 | } | ||
350 | |||
345 | protected: | 351 | protected: |
346 | string filename_; | 352 | string filename_; |
347 | }; | 353 | }; |