From 6dd40b0bd2ba8414d83cddff3d0cd4698ecd0c35 Mon Sep 17 00:00:00 2001
From: Piotr Sieduszewski
Date: Fri, 5 Dec 2014 13:03:31 +0100
Subject: [PATCH] Rename file and class to be consistent with name of tested
function
Bug: http://107.108.218.239/bugzilla/show_bug.cgi?id=9566
Reviewed by: Kamil Klimek, Piotr Tworek, SeungSeop Park
Change-Id: I083f5e85664e34caf76a8ca6eb0666a978364885
Signed-off-by: Piotr Sieduszewski
---
tizen_src/ewk/unittest/ewk-tests.gypi | 2 +-
... utc_blink_ewk_settings_text_style_state_enabled_set_func.cpp} | 8 ++++----
2 files changed, 5 insertions(+), 5 deletions(-)
rename tizen_src/ewk/unittest/{utc_blink_ewk_settings_text_style_state_enabled_func.cpp => utc_blink_ewk_settings_text_style_state_enabled_set_func.cpp} (80%)
diff --git a/tizen_src/ewk/unittest/ewk-tests.gypi b/tizen_src/ewk/unittest/ewk-tests.gypi
index 28c71dc..bef435e 100644
--- a/tizen_src/ewk/unittest/ewk-tests.gypi
+++ b/tizen_src/ewk/unittest/ewk-tests.gypi
@@ -231,7 +231,7 @@
'utc_blink_ewk_settings_text_autosizing_enabled_set_func.cpp',
'utc_blink_ewk_settings_text_autosizing_font_scale_factor_set_func.cpp',
'utc_blink_ewk_settings_text_selection_enabled_set_func.cpp',
- 'utc_blink_ewk_settings_text_style_state_enabled_func.cpp',
+ 'utc_blink_ewk_settings_text_style_state_enabled_set_func.cpp',
'utc_blink_ewk_settings_text_zoom_enabled_set_func.cpp',
'utc_blink_ewk_settings_uses_encoding_detector_set_func.cpp',
'utc_blink_ewk_settings_uses_keypad_without_user_action_set_func.cpp',
diff --git a/tizen_src/ewk/unittest/utc_blink_ewk_settings_text_style_state_enabled_func.cpp b/tizen_src/ewk/unittest/utc_blink_ewk_settings_text_style_state_enabled_set_func.cpp
similarity index 80%
rename from tizen_src/ewk/unittest/utc_blink_ewk_settings_text_style_state_enabled_func.cpp
rename to tizen_src/ewk/unittest/utc_blink_ewk_settings_text_style_state_enabled_set_func.cpp
index d748085..32590bf 100755
--- a/tizen_src/ewk/unittest/utc_blink_ewk_settings_text_style_state_enabled_func.cpp
+++ b/tizen_src/ewk/unittest/utc_blink_ewk_settings_text_style_state_enabled_set_func.cpp
@@ -4,14 +4,14 @@
#include "utc_blink_ewk_base.h"
-class utc_blink_ewk_settings_text_style_state_enabled : public utc_blink_ewk_base {
+class utc_blink_ewk_settings_text_style_state_enabled_set : public utc_blink_ewk_base {
};
/**
* @brief Tests if returns TRUE when initiated with a correct webview and
* enabled text selection set to TRUE.
*/
-TEST_F(utc_blink_ewk_settings_text_style_state_enabled, POS_TEST1)
+TEST_F(utc_blink_ewk_settings_text_style_state_enabled_set, POS_TEST1)
{
Ewk_Settings* settings = ewk_view_settings_get(GetEwkWebView());
if (!settings) {
@@ -30,7 +30,7 @@ TEST_F(utc_blink_ewk_settings_text_style_state_enabled, POS_TEST1)
* @brief Tests if returns TRUE when initiated with a correct webview and
* enabled text selection set to FALSE.
*/
-TEST_F(utc_blink_ewk_settings_text_style_state_enabled, POS_TEST2)
+TEST_F(utc_blink_ewk_settings_text_style_state_enabled_set, POS_TEST2)
{
Ewk_Settings* settings = ewk_view_settings_get(GetEwkWebView());
if (!settings) {
@@ -48,7 +48,7 @@ TEST_F(utc_blink_ewk_settings_text_style_state_enabled, POS_TEST2)
/**
* @brief Tests if returns FALSE when initiated with NULL webview.
*/
-TEST_F(utc_blink_ewk_settings_text_style_state_enabled, NEG_TEST)
+TEST_F(utc_blink_ewk_settings_text_style_state_enabled_set, NEG_TEST)
{
ewk_settings_text_style_state_enabled_set(NULL, EINA_FALSE);
SUCCEED();
--
2.7.4