[gnome-commander] Fix unit tests by changing file to be used



commit 97d403169922cde9a68cb3721125f13a197fe8df
Author: Uwe Scholz <u scholz83 gmx de>
Date:   Sun Jul 17 14:11:06 2022 +0200

    Fix unit tests by changing file to be used

 tests/iv_fileops_test.cc      | 2 +-
 tests/iv_textrenderer_test.cc | 2 +-
 tests/iv_viewerwidget_test.cc | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/tests/iv_fileops_test.cc b/tests/iv_fileops_test.cc
index 69c8cdc1..4f77ad69 100644
--- a/tests/iv_fileops_test.cc
+++ b/tests/iv_fileops_test.cc
@@ -30,7 +30,7 @@
 class FileOpsTest : public ::testing::Test {};
 
 TEST_F(FileOpsTest, gv_file_get_byte_does_read) {
-    const char *file_path = "../README";
+    const char *file_path = "../TODO";
     ViewerFileOps *fops;
     offset_type end;
     offset_type current;
diff --git a/tests/iv_textrenderer_test.cc b/tests/iv_textrenderer_test.cc
index 3cab6da9..340983e5 100644
--- a/tests/iv_textrenderer_test.cc
+++ b/tests/iv_textrenderer_test.cc
@@ -32,7 +32,7 @@
 #include "gtest/gtest.h"
 #include <intviewer/libgviewer.h>
 
-const gchar *filename = "../README";
+const gchar *filename = "../TODO";
 
 ////////////////////////////////////////////////////////////////////////
 
diff --git a/tests/iv_viewerwidget_test.cc b/tests/iv_viewerwidget_test.cc
index 4c2e8719..03ce4bf2 100644
--- a/tests/iv_viewerwidget_test.cc
+++ b/tests/iv_viewerwidget_test.cc
@@ -32,7 +32,7 @@
 #include "gtest/gtest.h"
 #include <libgviewer.h>
 
-const gchar *filename = "../README";
+const gchar *filename = "../TODO";
 
 ////////////////////////////////////////////////////////////////////////
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]