From 376a3f28665af73fa604543c25f6be80be92e775 Mon Sep 17 00:00:00 2001 From: VisualSJ Date: Fri, 15 May 2015 15:45:37 +0800 Subject: [PATCH] [ci skip]Fix naming errors --- tests/js-tests/src/GUITest/UIWebViewTest/UIWebViewTest.js | 4 ++-- .../src/GUITest/UIWebViewTest/{weview.html => webview.html} | 2 +- .../src/GUITest/UIWebViewTest/{weview2.html => webview2.html} | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) rename tests/js-tests/src/GUITest/UIWebViewTest/{weview.html => webview.html} (87%) rename tests/js-tests/src/GUITest/UIWebViewTest/{weview2.html => webview2.html} (87%) diff --git a/tests/js-tests/src/GUITest/UIWebViewTest/UIWebViewTest.js b/tests/js-tests/src/GUITest/UIWebViewTest/UIWebViewTest.js index 0797cb793e..661f83dff0 100644 --- a/tests/js-tests/src/GUITest/UIWebViewTest/UIWebViewTest.js +++ b/tests/js-tests/src/GUITest/UIWebViewTest/UIWebViewTest.js @@ -3,7 +3,7 @@ var UIWebViewTest = UIScene.extend({ onEnter: function(){ UIScene.prototype.onEnter.call(this); - var webView = new ccui.WebView("src/GUITest/UIWebViewTest/weview.html"); + var webView = new ccui.WebView("src/GUITest/UIWebViewTest/webview.html"); webView.setContentSize(320, 240); webView.setPosition(800/2, 450/2); webView.setScale(0.5); @@ -18,7 +18,7 @@ var UIWebViewTest = UIScene.extend({ var list = [ { name: "loadURL", func: function(){ cc.log("loadURL!"); - webView.loadURL("src/GUITest/UIWebViewTest/weview2.html"); + webView.loadURL("src/GUITest/UIWebViewTest/webview2.html"); }}, { name: "reload", func: function(){ cc.log("reload!"); diff --git a/tests/js-tests/src/GUITest/UIWebViewTest/weview.html b/tests/js-tests/src/GUITest/UIWebViewTest/webview.html similarity index 87% rename from tests/js-tests/src/GUITest/UIWebViewTest/weview.html rename to tests/js-tests/src/GUITest/UIWebViewTest/webview.html index 99db398e49..42154f74fb 100644 --- a/tests/js-tests/src/GUITest/UIWebViewTest/weview.html +++ b/tests/js-tests/src/GUITest/UIWebViewTest/webview.html @@ -14,7 +14,7 @@ Page 1
- goto page2 + goto page2
diff --git a/tests/js-tests/src/GUITest/UIWebViewTest/weview2.html b/tests/js-tests/src/GUITest/UIWebViewTest/webview2.html similarity index 87% rename from tests/js-tests/src/GUITest/UIWebViewTest/weview2.html rename to tests/js-tests/src/GUITest/UIWebViewTest/webview2.html index 28602b3fa7..24fcc44684 100644 --- a/tests/js-tests/src/GUITest/UIWebViewTest/weview2.html +++ b/tests/js-tests/src/GUITest/UIWebViewTest/webview2.html @@ -14,7 +14,7 @@ Page 2
- goto page1 + goto page1