Mercurial > hg > svcore
comparison data/fileio/test/main.cpp @ 843:e802e550a1f2
Drop std:: from cout, cerr, endl -- pull these in through Debug.h
author | Chris Cannam |
---|---|
date | Tue, 26 Nov 2013 13:35:08 +0000 |
parents | 02390a4c2abe |
children | eb6b6a88faed |
comparison
equal
deleted
inserted
replaced
842:23d3a6eca5c3 | 843:e802e550a1f2 |
---|---|
20 if (QTest::qExec(&t, argc, argv) == 0) ++good; | 20 if (QTest::qExec(&t, argc, argv) == 0) ++good; |
21 else ++bad; | 21 else ++bad; |
22 } | 22 } |
23 | 23 |
24 if (bad > 0) { | 24 if (bad > 0) { |
25 std::cerr << "\n********* " << bad << " test suite(s) failed!\n" << std::endl; | 25 cerr << "\n********* " << bad << " test suite(s) failed!\n" << endl; |
26 return 1; | 26 return 1; |
27 } else { | 27 } else { |
28 std::cerr << "All tests passed" << std::endl; | 28 cerr << "All tests passed" << endl; |
29 return 0; | 29 return 0; |
30 } | 30 } |
31 } | 31 } |
32 | 32 |