Mercurial > hg > svcore
comparison base/StringBits.cpp @ 689:573d45e9487b
Merge from debug-output branch
author | Chris Cannam |
---|---|
date | Tue, 14 Jun 2011 14:47:59 +0100 |
parents | b4a8d8221eaf |
children | f5cd33909744 |
comparison
equal
deleted
inserted
replaced
688:be43b2fe68e8 | 689:573d45e9487b |
---|---|
137 tests << "a'a 'bb' \\\"cc\" dd\\\""; | 137 tests << "a'a 'bb' \\\"cc\" dd\\\""; |
138 tests << " a'a \\\' 'bb' \' \\\"cc\" ' dd\\\" '"; | 138 tests << " a'a \\\' 'bb' \' \\\"cc\" ' dd\\\" '"; |
139 | 139 |
140 for (int j = 0; j < tests.size(); ++j) { | 140 for (int j = 0; j < tests.size(); ++j) { |
141 cout << endl; | 141 cout << endl; |
142 cout << tests[j].toStdString() << endl; | 142 cout << tests[j] << endl; |
143 cout << "->" << endl << "("; | 143 cout << "->" << endl << "("; |
144 QStringList l = splitQuoted(tests[j], ' '); | 144 QStringList l = splitQuoted(tests[j], ' '); |
145 for (int i = 0; i < l.size(); ++i) { | 145 for (int i = 0; i < l.size(); ++i) { |
146 if (i > 0) cout << ";"; | 146 if (i > 0) cout << ";"; |
147 cout << l[i].toStdString(); | 147 cout << l[i].toStdString(); |