From 96ce3ec22cda7fc28b1155136078eb60e5503a85 Mon Sep 17 00:00:00 2001 From: jianglong0156 Date: Wed, 10 Jun 2015 16:15:09 +0800 Subject: [PATCH] add textfield show textString --- .../js-tests/src/GUITest/UITextFieldTest/UITextFieldTest.js | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/tests/js-tests/src/GUITest/UITextFieldTest/UITextFieldTest.js b/tests/js-tests/src/GUITest/UITextFieldTest/UITextFieldTest.js index bffd3c4adb..a2d8c3590c 100644 --- a/tests/js-tests/src/GUITest/UITextFieldTest/UITextFieldTest.js +++ b/tests/js-tests/src/GUITest/UITextFieldTest/UITextFieldTest.js @@ -65,6 +65,7 @@ var UITextFieldTest = UIScene.extend({ default: break; } + this._bottomDisplayLabel.setString(textField.getString()); } }); @@ -116,6 +117,7 @@ var UITextFieldTest_MaxLength = UIScene.extend({ default: break; } + this._bottomDisplayLabel.setString(textField.getString()); } }); @@ -166,6 +168,7 @@ var UITextFieldTest_Password = UIScene.extend({ default: break; } + this._bottomDisplayLabel.setString(textField.getString()); } }); @@ -226,6 +229,7 @@ var UITextFieldTest_LineWrap = UIScene.extend({ default: break; } + this._bottomDisplayLabel.setString(textField.getString()); } }); @@ -276,6 +280,7 @@ var UITextFieldTest_TrueTypeFont = UIScene.extend({ default: break; } + this._bottomDisplayLabel.setString(textField.getString()); } }); @@ -325,5 +330,6 @@ var UITextFieldTest_PlaceHolderColor = UIScene.extend({ default: break; } + this._bottomDisplayLabel.setString(textField.getString()); } }); \ No newline at end of file