summaryrefslogtreecommitdiff
path: root/xdelta3/testing/test.h
diff options
context:
space:
mode:
authorjosh.macdonald <jmacd@users.noreply.github.com>2008-08-09 15:24:05 +0000
committerjosh.macdonald <jmacd@users.noreply.github.com>2008-08-09 15:24:05 +0000
commit3f6c6bfbaf34894a6e879a39bd66491525fd552c (patch)
tree1428a6bd9fd38e9e180c14fd65dad5e85ec7bc3f /xdelta3/testing/test.h
parent0cece8d64b78073424d481e5b9f788c6f886ed44 (diff)
Merge test actually finding problems now.
Diffstat (limited to 'xdelta3/testing/test.h')
-rw-r--r--xdelta3/testing/test.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/xdelta3/testing/test.h b/xdelta3/testing/test.h
index 8055dd4..30d147f 100644
--- a/xdelta3/testing/test.h
+++ b/xdelta3/testing/test.h
@@ -34,6 +34,18 @@ extern "C" {
34#include <string> 34#include <string>
35using std::string; 35using std::string;
36 36
37#include <vector>
38using std::vector;
39
40inline string CommandToString(const vector<const char*> &v) {
41 string s(v[0]);
42 for (size_t i = 1; i < v.size() && v[i] != NULL; i++) {
43 s.append(" ");
44 s.append(v[i]);
45 }
46 return s;
47}
48
37#include <iostream> 49#include <iostream>
38using std::cerr; 50using std::cerr;
39using std::endl; 51using std::endl;