1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63
|
Index: libitpp/gtests/audiofile_test.cpp
===================================================================
--- libitpp.orig/gtests/audiofile_test.cpp
+++ libitpp/gtests/audiofile_test.cpp
@@ -37,7 +37,7 @@ using namespace std;
// #define SAVE_DATA
//reference data
-const string ref_file_name = AUDIOFILE_REF_FILE;
+const string ref_file_name = "audiofile_ref_data.au";
const int ref_num_samples = 5000;
const int ref_num_channels = 2;
mat ref_channels(ref_num_samples,ref_num_channels);
Index: libitpp/gtests/fastica_test.cpp
===================================================================
--- libitpp.orig/gtests/fastica_test.cpp
+++ libitpp/gtests/fastica_test.cpp
@@ -82,6 +82,7 @@
using namespace itpp;
using namespace std;
+#define FASTICA_TEST_FILE "fastica_test_data.txt"
TEST(Fastica, All)
{
#if defined(FASTICA_TEST_FILE)
Index: libitpp/gtests/g711_test.cpp
===================================================================
--- libitpp.orig/gtests/g711_test.cpp
+++ libitpp/gtests/g711_test.cpp
@@ -63,7 +63,7 @@ using namespace itpp;
//#define UPDATE_TEST_VECTORS
-const std::string test_file_name = G711_TEST_FILE;
+const std::string test_file_name = "g711_ref_data.it";
const int num_samples = 256*256; //use full test set
//equality checker
Index: libitpp/gtests/itfile_test.cpp
===================================================================
--- libitpp.orig/gtests/itfile_test.cpp
+++ libitpp/gtests/itfile_test.cpp
@@ -35,7 +35,7 @@ using namespace std;
// To rewrite the ITFILE_TEST_FILE uncomment the following definition
// #define SAVE_DATA
-const string test_file_name = ITFILE_TEST_FILE;
+const string test_file_name = "itfile_test_data.it";
//reference data;
const char c_ref = 'c';
Index: libitpp/gtests/parser_test.cpp
===================================================================
--- libitpp.orig/gtests/parser_test.cpp
+++ libitpp/gtests/parser_test.cpp
@@ -67,6 +67,7 @@ void assert_cvec_p(const cvec &ref, cons
}
#define assert_cvec(ref, act) assert_cvec_p(ref, act, __LINE__)
+#define PARSER_TEST_FILE "parser_test_data.txt"
TEST(Parser, all)
{
#ifndef PARSER_TEST_FILE
|