From 2d797c53260fd8990d41783ee559a4ec71550c32 Mon Sep 17 00:00:00 2001 From: chenxuihui Date: Sat, 23 Jul 2022 09:40:34 +0800 Subject: [PATCH] add dfx test suites Signed-off-by: chenxuihui --- hiviewdfx/hilogjstest/src/main/js/default/app.js | 1 + hiviewdfx/hilogjstest/src/main/js/default/pages/index/index.js | 1 + hiviewdfx/hitracechainjstest/src/main/js/default/app.js | 1 + .../hitracechainjstest/src/main/js/default/pages/index/index.js | 1 + 4 files changed, 4 insertions(+) diff --git a/hiviewdfx/hilogjstest/src/main/js/default/app.js b/hiviewdfx/hilogjstest/src/main/js/default/app.js index 74d2dabe9..8fe0b77dc 100755 --- a/hiviewdfx/hilogjstest/src/main/js/default/app.js +++ b/hiviewdfx/hilogjstest/src/main/js/default/app.js @@ -12,6 +12,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ + export default { onCreate() { console.info('AceApplication onCreate'); diff --git a/hiviewdfx/hilogjstest/src/main/js/default/pages/index/index.js b/hiviewdfx/hilogjstest/src/main/js/default/pages/index/index.js index ff192fc34..1db3bfdd1 100755 --- a/hiviewdfx/hilogjstest/src/main/js/default/pages/index/index.js +++ b/hiviewdfx/hilogjstest/src/main/js/default/pages/index/index.js @@ -20,6 +20,7 @@ import {Core, ExpectExtend, Constant} from 'deccjsunit/index' const injectRef = Object.getPrototypeOf(global) || global injectRef.regeneratorRuntime = require('@babel/runtime/regenerator') + export default { data: { title: "" diff --git a/hiviewdfx/hitracechainjstest/src/main/js/default/app.js b/hiviewdfx/hitracechainjstest/src/main/js/default/app.js index 74d2dabe9..8fe0b77dc 100755 --- a/hiviewdfx/hitracechainjstest/src/main/js/default/app.js +++ b/hiviewdfx/hitracechainjstest/src/main/js/default/app.js @@ -12,6 +12,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ + export default { onCreate() { console.info('AceApplication onCreate'); diff --git a/hiviewdfx/hitracechainjstest/src/main/js/default/pages/index/index.js b/hiviewdfx/hitracechainjstest/src/main/js/default/pages/index/index.js index ff192fc34..1db3bfdd1 100755 --- a/hiviewdfx/hitracechainjstest/src/main/js/default/pages/index/index.js +++ b/hiviewdfx/hitracechainjstest/src/main/js/default/pages/index/index.js @@ -20,6 +20,7 @@ import {Core, ExpectExtend, Constant} from 'deccjsunit/index' const injectRef = Object.getPrototypeOf(global) || global injectRef.regeneratorRuntime = require('@babel/runtime/regenerator') + export default { data: { title: "" -- GitLab