[gnome-commander/googletest] Renames InstantiationScaleFactor to InstantiationName



commit a47d33357ae84d9170a4231fa9e98323c56ffbcd
Author: Uwe Scholz <uwescholz src gnome org>
Date:   Fri Nov 27 23:37:31 2015 +0100

    Renames InstantiationScaleFactor to InstantiationName

 tests/iv_imagerenderer_test.cc |    2 +-
 tests/iv_textrenderer_test.cc  |   10 +++++-----
 tests/iv_viewerwidget_test.cc  |   14 +++++++-------
 3 files changed, 13 insertions(+), 13 deletions(-)
---
diff --git a/tests/iv_imagerenderer_test.cc b/tests/iv_imagerenderer_test.cc
index ed8384c..e727a4f 100644
--- a/tests/iv_imagerenderer_test.cc
+++ b/tests/iv_imagerenderer_test.cc
@@ -30,7 +30,7 @@
 
 class ImageRendererBestFitTest : public ::testing::TestWithParam<bool> {};
 
-INSTANTIATE_TEST_CASE_P(InstantiationScaleFactor,
+INSTANTIATE_TEST_CASE_P(InstantiationName,
                         ImageRendererBestFitTest,
                         ::testing::Bool());
 
diff --git a/tests/iv_textrenderer_test.cc b/tests/iv_textrenderer_test.cc
index 687b08c..ba7875c 100644
--- a/tests/iv_textrenderer_test.cc
+++ b/tests/iv_textrenderer_test.cc
@@ -38,7 +38,7 @@ const gchar *filename = "../INSTALL";
 
 class TextRendererDisplayModeTest : public ::testing::TestWithParam<TextRender::DISPLAYMODE> {};
 
-INSTANTIATE_TEST_CASE_P(InstantiationScaleFactor,
+INSTANTIATE_TEST_CASE_P(InstantiationName,
                         TextRendererDisplayModeTest,
                         ::testing::Values(TextRender::DISPLAYMODE_TEXT,
                                           TextRender::DISPLAYMODE_BINARY,
@@ -57,7 +57,7 @@ TEST_P(TextRendererDisplayModeTest, text_render_set_display_mode_test)
 
 class TextRendererTabSizeTest : public ::testing::TestWithParam<int> {};
 
-INSTANTIATE_TEST_CASE_P(InstantiationScaleFactor,
+INSTANTIATE_TEST_CASE_P(InstantiationName,
                         TextRendererTabSizeTest,
                         ::testing::Range(1,10));
 
@@ -74,7 +74,7 @@ TEST_P(TextRendererTabSizeTest, text_render_set_tab_size)
 
 class TextRendererWrapModeTest : public ::testing::TestWithParam<bool> {};
 
-INSTANTIATE_TEST_CASE_P(InstantiationScaleFactor,
+INSTANTIATE_TEST_CASE_P(InstantiationName,
                         TextRendererWrapModeTest,
                         ::testing::Bool());
 
@@ -91,7 +91,7 @@ TEST_P(TextRendererWrapModeTest, gviewer_set_wrap_mode_test)
 
 class TextRendererFixedLimitTest : public ::testing::TestWithParam<int> {};
 
-INSTANTIATE_TEST_CASE_P(InstantiationScaleFactor,
+INSTANTIATE_TEST_CASE_P(InstantiationName,
                         TextRendererFixedLimitTest,
                         ::testing::Values(1,10));
 
@@ -108,7 +108,7 @@ TEST_P(TextRendererFixedLimitTest, gviewer_set_set_fixed_limit)
 
 class TextRendererSetEncodingTest : public ::testing::TestWithParam<const char *> {};
 
-INSTANTIATE_TEST_CASE_P(InstantiationScaleFactor,
+INSTANTIATE_TEST_CASE_P(InstantiationName,
                         TextRendererSetEncodingTest,
                         ::testing::Values("ASCII", "UTF8", "CP437", "CP1251"));
 
diff --git a/tests/iv_viewerwidget_test.cc b/tests/iv_viewerwidget_test.cc
index 085a357..52eb044 100644
--- a/tests/iv_viewerwidget_test.cc
+++ b/tests/iv_viewerwidget_test.cc
@@ -38,7 +38,7 @@ const gchar *filename = "../INSTALL";
 
 class ViewerWidgetDisplayModeTest : public ::testing::TestWithParam<VIEWERDISPLAYMODE> {};
 
-INSTANTIATE_TEST_CASE_P(InstantiationScaleFactor,
+INSTANTIATE_TEST_CASE_P(InstantiationName,
                         ViewerWidgetDisplayModeTest,
                         ::testing::Values(DISP_MODE_TEXT_FIXED,
                                           DISP_MODE_BINARY,
@@ -58,7 +58,7 @@ TEST_P(ViewerWidgetDisplayModeTest, gviewer_set_display_mode_test)
 
 class ViewerWidgetTabSizeTest : public ::testing::TestWithParam<int> {};
 
-INSTANTIATE_TEST_CASE_P(InstantiationScaleFactor,
+INSTANTIATE_TEST_CASE_P(InstantiationName,
                         ViewerWidgetTabSizeTest,
                         ::testing::Range(1,10)); //TODO: Add test for x <= 0
 
@@ -75,7 +75,7 @@ TEST_P(ViewerWidgetTabSizeTest, gviewer_set_tab_size_test)
 
 class ViewerWidgetFixedLimitTest : public ::testing::TestWithParam<int> {};
 
-INSTANTIATE_TEST_CASE_P(InstantiationScaleFactor,
+INSTANTIATE_TEST_CASE_P(InstantiationName,
                         ViewerWidgetFixedLimitTest,
                         ::testing::Range(1,10)); //TODO: Add test for x <= 0
 
@@ -92,7 +92,7 @@ TEST_P(ViewerWidgetFixedLimitTest, gviewer_set_fixed_limit_test)
 
 class ViewerWidgetEncodingTest : public ::testing::TestWithParam<const char *> {};
 
-INSTANTIATE_TEST_CASE_P(InstantiationScaleFactor,
+INSTANTIATE_TEST_CASE_P(InstantiationName,
                         ViewerWidgetEncodingTest,
                         ::testing::Values("ASCII", "UTF8", "CP437", "CP1251"));
 
@@ -109,7 +109,7 @@ TEST_P(ViewerWidgetEncodingTest, gviewer_set_encoding_test)
 
 class ViewerWidgetWrapModeTest : public ::testing::TestWithParam<bool> {};
 
-INSTANTIATE_TEST_CASE_P(InstantiationScaleFactor,
+INSTANTIATE_TEST_CASE_P(InstantiationName,
                         ViewerWidgetWrapModeTest,
                         ::testing::Bool());
 
@@ -126,7 +126,7 @@ TEST_P(ViewerWidgetWrapModeTest, gviewer_set_wrap_mode_test)
 
 class ViewerWidgetBestFitTest : public ::testing::TestWithParam<bool> {};
 
-INSTANTIATE_TEST_CASE_P(InstantiationScaleFactor,
+INSTANTIATE_TEST_CASE_P(InstantiationName,
                         ViewerWidgetBestFitTest,
                         ::testing::Bool());
 
@@ -143,7 +143,7 @@ TEST_P(ViewerWidgetBestFitTest, gviewer_set_best_fit_test)
 
 class ViewerWidgetScaleFactorTest : public ::testing::TestWithParam<double> {};
 
-INSTANTIATE_TEST_CASE_P(InstantiationScaleFactor,
+INSTANTIATE_TEST_CASE_P(InstantiationName,
                         ViewerWidgetScaleFactorTest,
                         ::testing::Values(0.1, 0.5, 1, 2, 3));
 


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