mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-17 20:26:30 +01:00
Add some more test assertions so that tests fail when they should
This commit is contained in:
parent
0f0aebf26b
commit
9a7ae1ad99
1 changed files with 4 additions and 0 deletions
|
|
@ -78,6 +78,8 @@ FilesystemTest::testCopyFileUTF8Filename ()
|
||||||
|
|
||||||
PBD::find_files_matching_pattern (i18n_files, i18n_path, "*.tst");
|
PBD::find_files_matching_pattern (i18n_files, i18n_path, "*.tst");
|
||||||
|
|
||||||
|
CPPUNIT_ASSERT (i18n_files.size() == 8);
|
||||||
|
|
||||||
cerr << endl;
|
cerr << endl;
|
||||||
cerr << "Copying " << i18n_files.size() << " test files from: "
|
cerr << "Copying " << i18n_files.size() << " test files from: "
|
||||||
<< i18n_path.to_string () << endl;
|
<< i18n_path.to_string () << endl;
|
||||||
|
|
@ -130,6 +132,8 @@ create_test_directory (std::string test_dir)
|
||||||
cerr << "Copying " << test_files.size() << " test files from: "
|
cerr << "Copying " << test_files.size() << " test files from: "
|
||||||
<< test_dir_path << " to " << output_dir << endl;
|
<< test_dir_path << " to " << output_dir << endl;
|
||||||
|
|
||||||
|
CPPUNIT_ASSERT (test_files.size() != 0);
|
||||||
|
|
||||||
PBD::copy_files (test_dir_path, output_dir);
|
PBD::copy_files (test_dir_path, output_dir);
|
||||||
|
|
||||||
vector<string> copied_files;
|
vector<string> copied_files;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue