projects
/
ardour.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0f0aebf
)
Add some more test assertions so that tests fail when they should
author
Tim Mayberry
<mojofunk@gmail.com>
Thu, 12 Feb 2015 10:05:54 +0000
(20:05 +1000)
committer
Tim Mayberry
<mojofunk@gmail.com>
Thu, 12 Feb 2015 10:06:47 +0000
(20:06 +1000)
libs/pbd/test/filesystem_test.cc
patch
|
blob
|
history
diff --git
a/libs/pbd/test/filesystem_test.cc
b/libs/pbd/test/filesystem_test.cc
index 28ba11329b4d262124c369e5a542a56e7db51b50..2e3638ea7134ad5db7a28b66cfc1ef0c8191dba6 100644
(file)
--- a/
libs/pbd/test/filesystem_test.cc
+++ b/
libs/pbd/test/filesystem_test.cc
@@
-78,6
+78,8
@@
FilesystemTest::testCopyFileUTF8Filename ()
PBD::find_files_matching_pattern (i18n_files, i18n_path, "*.tst");
+ CPPUNIT_ASSERT (i18n_files.size() == 8);
+
cerr << endl;
cerr << "Copying " << i18n_files.size() << " test files from: "
<< i18n_path.to_string () << endl;
@@
-130,6
+132,8
@@
create_test_directory (std::string test_dir)
cerr << "Copying " << test_files.size() << " test files from: "
<< test_dir_path << " to " << output_dir << endl;
+ CPPUNIT_ASSERT (test_files.size() != 0);
+
PBD::copy_files (test_dir_path, output_dir);
vector<string> copied_files;