diff --git a/unitTests/test_futils.cpp b/unitTests/test_futils.cpp index 9f81c407..1247c2bf 100644 --- a/unitTests/test_futils.cpp +++ b/unitTests/test_futils.cpp @@ -1,3 +1,4 @@ +#include // File under test #include @@ -168,6 +169,8 @@ TEST(AUri, parsesAndDecoreUrl) Uri::Decode(uri); } +// #include + TEST(getProcessPath, obtainPathOfUnitTestsExecutable) { #ifdef _WIN32 @@ -180,4 +183,10 @@ TEST(getProcessPath, obtainPathOfUnitTestsExecutable) ASSERT_FALSE(path.empty()); const size_t idxStart = path.size() - expectedName.size(); ASSERT_EQ(expectedName, path.substr(idxStart, expectedName.size())); + + FILE* f = fopen("/c//temp/test_futils.log","w"); + fprintf(f,"path = %s\n",path.c_str() ); + fprintf(f,"expected = %s\n",expectedName.c_str()); + fclose(f); + }