Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
OpenHarmony
Xts Acts
提交
0d90f453
X
Xts Acts
项目概览
OpenHarmony
/
Xts Acts
大约 1 年 前同步成功
通知
9
Star
22
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
X
Xts Acts
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
0d90f453
编写于
2月 27, 2022
作者:
Z
zhangrao
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
add compnent
Signed-off-by:
N
zhangrao
<
zhangrao@huawei.com
>
上级
cf4a9bb4
变更
51
隐藏空白更改
内联
并排
Showing
51 changed file
with
56 addition
and
57 deletion
+56
-57
ace/ace_ets_component/entry/src/main/ets/MainAbility/test/AnimateJsunit.test.ets
...ntry/src/main/ets/MainAbility/test/AnimateJsunit.test.ets
+1
-1
ace/ace_ets_component/entry/src/main/ets/MainAbility/test/AppearJsunit.test.ets
...entry/src/main/ets/MainAbility/test/AppearJsunit.test.ets
+1
-1
ace/ace_ets_component/entry/src/main/ets/MainAbility/test/AreaChangeJsunit.test.ets
...y/src/main/ets/MainAbility/test/AreaChangeJsunit.test.ets
+1
-1
ace/ace_ets_component/entry/src/main/ets/MainAbility/test/BadgeJsunit.test.ets
.../entry/src/main/ets/MainAbility/test/BadgeJsunit.test.ets
+1
-1
ace/ace_ets_component/entry/src/main/ets/MainAbility/test/ButtonJsunit.test.ets
...entry/src/main/ets/MainAbility/test/ButtonJsunit.test.ets
+1
-1
ace/ace_ets_component/entry/src/main/ets/MainAbility/test/Canvas2Jsunit.test.ets
...ntry/src/main/ets/MainAbility/test/Canvas2Jsunit.test.ets
+1
-2
ace/ace_ets_component/entry/src/main/ets/MainAbility/test/CanvasJsunit.test.ets
...entry/src/main/ets/MainAbility/test/CanvasJsunit.test.ets
+1
-2
ace/ace_ets_component/entry/src/main/ets/MainAbility/test/ColumnJsunit.test.ets
...entry/src/main/ets/MainAbility/test/ColumnJsunit.test.ets
+1
-2
ace/ace_ets_component/entry/src/main/ets/MainAbility/test/EllipseJsunit.test.ets
...ntry/src/main/ets/MainAbility/test/EllipseJsunit.test.ets
+1
-1
ace/ace_ets_component/entry/src/main/ets/MainAbility/test/EnableJsunit.test.ets
...entry/src/main/ets/MainAbility/test/EnableJsunit.test.ets
+1
-1
ace/ace_ets_component/entry/src/main/ets/MainAbility/test/GaugeJsunit.test.ets
.../entry/src/main/ets/MainAbility/test/GaugeJsunit.test.ets
+1
-1
ace/ace_ets_component/entry/src/main/ets/MainAbility/test/GridContainerJsunit.test.ets
...rc/main/ets/MainAbility/test/GridContainerJsunit.test.ets
+1
-1
ace/ace_ets_component/entry/src/main/ets/MainAbility/test/GridJsunit.test.ets
...t/entry/src/main/ets/MainAbility/test/GridJsunit.test.ets
+1
-1
ace/ace_ets_component/entry/src/main/ets/MainAbility/test/List.test.ets
...mponent/entry/src/main/ets/MainAbility/test/List.test.ets
+1
-1
ace/ace_ets_component/entry/src/main/ets/MainAbility/test/ListJsunit.test.ets
...t/entry/src/main/ets/MainAbility/test/ListJsunit.test.ets
+1
-1
ace/ace_ets_component/entry/src/main/ets/MainAbility/test/LongPressGesture.test.ets
...y/src/main/ets/MainAbility/test/LongPressGesture.test.ets
+1
-1
ace/ace_ets_component/entry/src/main/ets/MainAbility/test/MotionPathJsunit.test.ets
...y/src/main/ets/MainAbility/test/MotionPathJsunit.test.ets
+2
-1
ace/ace_ets_component/entry/src/main/ets/MainAbility/test/OverlayJsunit.test.ets
...ntry/src/main/ets/MainAbility/test/OverlayJsunit.test.ets
+1
-1
ace/ace_ets_component/entry/src/main/ets/MainAbility/test/ProgressJsunit.test.ets
...try/src/main/ets/MainAbility/test/ProgressJsunit.test.ets
+2
-1
ace/ace_ets_component/entry/src/main/ets/MainAbility/test/QrCodeJsunit.test.ets
...entry/src/main/ets/MainAbility/test/QrCodeJsunit.test.ets
+1
-1
ace/ace_ets_component/entry/src/main/ets/MainAbility/test/RatingJsunit.test.ets
...entry/src/main/ets/MainAbility/test/RatingJsunit.test.ets
+1
-1
ace/ace_ets_component/entry/src/main/ets/MainAbility/test/ScrollCodeJsunit.test.ets
...y/src/main/ets/MainAbility/test/ScrollCodeJsunit.test.ets
+1
-1
ace/ace_ets_component/entry/src/main/ets/MainAbility/test/ShapeJsunit.test.ets
.../entry/src/main/ets/MainAbility/test/ShapeJsunit.test.ets
+1
-1
ace/ace_ets_component/entry/src/main/ets/MainAbility/test/SpanJsunit.test.ets
...t/entry/src/main/ets/MainAbility/test/SpanJsunit.test.ets
+1
-1
ace/ace_ets_component/entry/src/main/ets/MainAbility/test/StepperJsunit.test.ets
...ntry/src/main/ets/MainAbility/test/StepperJsunit.test.ets
+2
-2
ace/ace_ets_component/entry/src/main/ets/MainAbility/test/SwiperJsunit.test.ets
...entry/src/main/ets/MainAbility/test/SwiperJsunit.test.ets
+2
-2
ace/ace_ets_component/entry/src/main/ets/MainAbility/test/SystemRouterJsunit.test.ets
...src/main/ets/MainAbility/test/SystemRouterJsunit.test.ets
+1
-1
ace/ace_ets_component/entry/src/main/ets/MainAbility/test/TabsJsunit.test.ets
...t/entry/src/main/ets/MainAbility/test/TabsJsunit.test.ets
+2
-2
ace/ace_ets_component/entry/src/main/ets/MainAbility/test/TapGesture.test.ets
...t/entry/src/main/ets/MainAbility/test/TapGesture.test.ets
+1
-1
ace/ace_ets_component/entry/src/main/ets/MainAbility/test/TextJsunit.test.ets
...t/entry/src/main/ets/MainAbility/test/TextJsunit.test.ets
+1
-1
ace/ace_ets_component/entry/src/main/ets/MainAbility/test/ToggleJsunit.test.ets
...entry/src/main/ets/MainAbility/test/ToggleJsunit.test.ets
+1
-1
ace/ace_ets_component/entry/src/main/ets/MainAbility/test/ZIndexJsunit.test.ets
...entry/src/main/ets/MainAbility/test/ZIndexJsunit.test.ets
+1
-1
ace/ace_ets_component/entry/src/main/ets/MainAbility/test/general-properties/BackgroundJsunit.test.ets
...Ability/test/general-properties/BackgroundJsunit.test.ets
+1
-1
ace/ace_ets_component/entry/src/main/ets/MainAbility/test/general-properties/BorderJsunit.test.ets
...MainAbility/test/general-properties/BorderJsunit.test.ets
+1
-1
ace/ace_ets_component/entry/src/main/ets/MainAbility/test/general-properties/ClickEventJsunit.test.ets
...Ability/test/general-properties/ClickEventJsunit.test.ets
+1
-1
ace/ace_ets_component/entry/src/main/ets/MainAbility/test/general-properties/ColorGradientJsunit.test.ets
...lity/test/general-properties/ColorGradientJsunit.test.ets
+1
-1
ace/ace_ets_component/entry/src/main/ets/MainAbility/test/general-properties/FlexJsunit.test.ets
...s/MainAbility/test/general-properties/FlexJsunit.test.ets
+1
-1
ace/ace_ets_component/entry/src/main/ets/MainAbility/test/general-properties/GridSettingsJsunit.test.ets
...ility/test/general-properties/GridSettingsJsunit.test.ets
+1
-1
ace/ace_ets_component/entry/src/main/ets/MainAbility/test/general-properties/ImageEffectsJsunit.test.ets
...ility/test/general-properties/ImageEffectsJsunit.test.ets
+1
-1
ace/ace_ets_component/entry/src/main/ets/MainAbility/test/general-properties/LayoutConstraintsJsunit.test.ets
.../test/general-properties/LayoutConstraintsJsunit.test.ets
+1
-1
ace/ace_ets_component/entry/src/main/ets/MainAbility/test/general-properties/OpacitySettingJsunit.test.ets
...ity/test/general-properties/OpacitySettingJsunit.test.ets
+1
-1
ace/ace_ets_component/entry/src/main/ets/MainAbility/test/general-properties/PanGestureJsunit.test.ets
...Ability/test/general-properties/PanGestureJsunit.test.ets
+1
-1
ace/ace_ets_component/entry/src/main/ets/MainAbility/test/general-properties/PositionSettingJsunit.test.ets
...ty/test/general-properties/PositionSettingJsunit.test.ets
+1
-1
ace/ace_ets_component/entry/src/main/ets/MainAbility/test/general-properties/ResponseRegionJsunit.test.ets
...ity/test/general-properties/ResponseRegionJsunit.test.ets
+1
-1
ace/ace_ets_component/entry/src/main/ets/MainAbility/test/general-properties/ShapeClippingJsunit.test.ets
...lity/test/general-properties/ShapeClippingJsunit.test.ets
+1
-1
ace/ace_ets_component/entry/src/main/ets/MainAbility/test/general-properties/SizeSettingJsunit.test.ets
...bility/test/general-properties/SizeSettingJsunit.test.ets
+1
-1
ace/ace_ets_component/entry/src/main/ets/MainAbility/test/general-properties/TextStyleJsunit.test.ets
...nAbility/test/general-properties/TextStyleJsunit.test.ets
+1
-1
ace/ace_ets_component/entry/src/main/ets/MainAbility/test/general-properties/TouchAbleJsunit.test.ets
...nAbility/test/general-properties/TouchAbleJsunit.test.ets
+1
-1
ace/ace_ets_component/entry/src/main/ets/MainAbility/test/general-properties/TouchJsunit.test.ets
.../MainAbility/test/general-properties/TouchJsunit.test.ets
+1
-1
ace/ace_ets_component/entry/src/main/ets/MainAbility/test/general-properties/TransFormJsunit.test.ets
...nAbility/test/general-properties/TransFormJsunit.test.ets
+1
-1
ace/ace_ets_component/entry/src/main/ets/MainAbility/test/general-properties/VisibilityJsunit.test.ets
...Ability/test/general-properties/VisibilityJsunit.test.ets
+1
-1
未找到文件。
ace/ace_ets_component/entry/src/main/ets/MainAbility/test/AnimateJsunit.test.ets
浏览文件 @
0d90f453
...
...
@@ -36,7 +36,7 @@ export default function animateJsunit() {
console.info("push animate page result:" + JSON.stringify(result));
}
} catch (err) {
console.error("push animate page error:" +
JSON.stringify(result)
);
console.error("push animate page error:" +
err
);
}
done()
});
...
...
ace/ace_ets_component/entry/src/main/ets/MainAbility/test/AppearJsunit.test.ets
浏览文件 @
0d90f453
...
...
@@ -37,7 +37,7 @@ export default function appearJsunit() {
console.info("push appear page result: " + JSON.stringify(result));
}
} catch (err) {
console.error("push appear page error: " +
JSON.stringify(result)
);
console.error("push appear page error: " +
err
);
}
done()
});
...
...
ace/ace_ets_component/entry/src/main/ets/MainAbility/test/AreaChangeJsunit.test.ets
浏览文件 @
0d90f453
...
...
@@ -35,7 +35,7 @@ export default function areaChangeJsunit() {
console.info("push areaChange page success " + JSON.stringify(result));
}
} catch (err) {
console.error("push areaChange page error
" + JSON.stringify(result)
);
console.error("push areaChange page error
: " + err
);
}
done()
});
...
...
ace/ace_ets_component/entry/src/main/ets/MainAbility/test/BadgeJsunit.test.ets
浏览文件 @
0d90f453
...
...
@@ -37,7 +37,7 @@ export default function badgeJsunit() {
console.info("push badge page result: " + JSON.stringify(result));
}
} catch (err) {
console.error("push badge page error: " +
JSON.stringify(result)
);
console.error("push badge page error: " +
err
);
}
done()
});
...
...
ace/ace_ets_component/entry/src/main/ets/MainAbility/test/ButtonJsunit.test.ets
浏览文件 @
0d90f453
...
...
@@ -37,7 +37,7 @@ export default function buttonJsunit() {
console.info("push button page result: " + JSON.stringify(result));
}
} catch (err) {
console.error("push button page error: " +
JSON.stringify(result)
);
console.error("push button page error: " +
err
);
}
done()
});
...
...
ace/ace_ets_component/entry/src/main/ets/MainAbility/test/Canvas2Jsunit.test.ets
浏览文件 @
0d90f453
...
...
@@ -15,7 +15,6 @@
*/
import {describe, beforeAll, beforeEach, afterEach, afterAll, it, expect} from "deccjsunit/index.ets";
import router from '@system.router';
import events_emitter from '@ohos.emitter';
import Utils from './Utils';
export default function canvasJsunit() {
...
...
@@ -36,7 +35,7 @@ export default function canvasJsunit() {
console.info("push canvas2 page result:" + JSON.stringify(result));
}
} catch (err) {
console.error("push canvas page error:" +
JSON.stringify(result)
);
console.error("push canvas page error:" +
err
);
}
done()
});
...
...
ace/ace_ets_component/entry/src/main/ets/MainAbility/test/CanvasJsunit.test.ets
浏览文件 @
0d90f453
...
...
@@ -15,7 +15,6 @@
*/
import {describe, beforeAll, beforeEach, afterEach, afterAll, it, expect} from "deccjsunit/index.ets";
import router from '@system.router';
import events_emitter from '@ohos.emitter';
import Utils from './Utils';
export default function canvasJsunit() {
...
...
@@ -36,7 +35,7 @@ export default function canvasJsunit() {
console.info("push canvas page result:" + JSON.stringify(result));
}
} catch (err) {
console.error("push canvas page error:" +
JSON.stringify(result)
);
console.error("push canvas page error:" +
err
);
}
done()
});
...
...
ace/ace_ets_component/entry/src/main/ets/MainAbility/test/ColumnJsunit.test.ets
浏览文件 @
0d90f453
...
...
@@ -15,7 +15,6 @@
*/
import {describe, beforeAll, beforeEach, afterEach, afterAll, it, expect} from "deccjsunit/index.ets";
import router from '@system.router';
import events_emitter from '@ohos.events.emitter';
import Utils from './Utils';
export default function columnJsunit() {
...
...
@@ -36,7 +35,7 @@ export default function columnJsunit() {
console.info("push column page result:" + JSON.stringify(result));
}
} catch (err) {
console.error("push column page error:" +
JSON.stringify(result)
);
console.error("push column page error:" +
err
);
}
done()
});
...
...
ace/ace_ets_component/entry/src/main/ets/MainAbility/test/EllipseJsunit.test.ets
浏览文件 @
0d90f453
...
...
@@ -36,7 +36,7 @@ export default function ellipseJsunit() {
console.info("push ellipse page result:" + JSON.stringify(result));
}
} catch (err) {
console.error("push ellipse page error:" +
JSON.stringify(result)
);
console.error("push ellipse page error:" +
err
);
}
done()
});
...
...
ace/ace_ets_component/entry/src/main/ets/MainAbility/test/EnableJsunit.test.ets
浏览文件 @
0d90f453
...
...
@@ -36,7 +36,7 @@ export default function enableJsunit() {
console.info("push enable page result:" + JSON.stringify(result));
}
} catch (err) {
console.error("push enable page error:" +
JSON.stringify(result)
);
console.error("push enable page error:" +
err
);
}
done()
});
...
...
ace/ace_ets_component/entry/src/main/ets/MainAbility/test/GaugeJsunit.test.ets
浏览文件 @
0d90f453
...
...
@@ -35,7 +35,7 @@ export default function gaugeJsunit() {
console.info("push gauge page success " + JSON.stringify(result));
}
} catch (err) {
console.error("push gauge page error " +
JSON.stringify(err)
);
console.error("push gauge page error " +
err
);
}
done()
});
...
...
ace/ace_ets_component/entry/src/main/ets/MainAbility/test/GridContainerJsunit.test.ets
浏览文件 @
0d90f453
...
...
@@ -36,7 +36,7 @@ export default function girdContainerJsunit() {
console.info("push girdContainer page result:" + JSON.stringify(result));
}
} catch (err) {
console.error("push girdContainer page error:" +
JSON.stringify(result)
);
console.error("push girdContainer page error:" +
err
);
}
done()
});
...
...
ace/ace_ets_component/entry/src/main/ets/MainAbility/test/GridJsunit.test.ets
浏览文件 @
0d90f453
...
...
@@ -36,7 +36,7 @@ export default function gridJsunit() {
console.info('beforeEach push prompt page result:' + JSON.stringify(result));
}
} catch (err) {
console.error('beforeEach push prompt page error:' +
JSON.stringify(result)
);
console.error('beforeEach push prompt page error:' +
err
);
}
done()
});
...
...
ace/ace_ets_component/entry/src/main/ets/MainAbility/test/List.test.ets
浏览文件 @
0d90f453
...
...
@@ -38,7 +38,7 @@ import textStyleJsunit from './general-properties/TextStyleJsunit.test.ets';
import imageEffectsJsunit from './general-properties/ImageEffectsJsunit.test.ets';
import transformJsunit from './general-properties/TransFormJsunit.test.ets';
import gridSettingsJsunit from './general-properties/GridSettingsJsunit.test.ets';
import touchJsunit from './general-properties/
t
ouchJsunit.test.ets'
import touchJsunit from './general-properties/
T
ouchJsunit.test.ets'
import backgroundJsunit from './general-properties/BackgroundJsunit.test.ets';
import borderJsunit from './general-properties/BorderJsunit.test.ets';
import flexJsunit from './general-properties/FlexJsunit.test.ets';
...
...
ace/ace_ets_component/entry/src/main/ets/MainAbility/test/ListJsunit.test.ets
浏览文件 @
0d90f453
...
...
@@ -36,7 +36,7 @@ export default function listJsunit() {
console.info("push list page result:" + JSON.stringify(result));
}
} catch (err) {
console.error("push list page error:" +
JSON.stringify(result)
);
console.error("push list page error:" +
err
);
}
done()
});
...
...
ace/ace_ets_component/entry/src/main/ets/MainAbility/test/LongPressGesture.test.ets
浏览文件 @
0d90f453
...
...
@@ -36,7 +36,7 @@ export default function longPressGestureJsunit() {
console.info("push longPressGesture page result:" + JSON.stringify(result));
}
} catch (err) {
console.error("push longPressGesture page error:" +
JSON.stringify(result)
);
console.error("push longPressGesture page error:" +
err
);
}
done()
});
...
...
ace/ace_ets_component/entry/src/main/ets/MainAbility/test/MotionPathJsunit.test.ets
100644 → 100755
浏览文件 @
0d90f453
// @ts-nocheck
/**
* Copyright (c) 2021 Huawei Device Co., Ltd.
* Licensed under the Apache License, Version 2.0 (the "License");
...
...
@@ -35,7 +36,7 @@ export default function motionPathJsunit() {
console.info("push motionPath page success " + JSON.stringify(result));
}
} catch (err) {
console.error("push motionPath page error
" + JSON.stringify(result)
);
console.error("push motionPath page error
: " + err
);
}
done()
});
...
...
ace/ace_ets_component/entry/src/main/ets/MainAbility/test/OverlayJsunit.test.ets
浏览文件 @
0d90f453
...
...
@@ -36,7 +36,7 @@ export default function enableJsunit() {
console.info("push overlay page result:" + JSON.stringify(result));
}
} catch (err) {
console.error("push overlay page error:" +
JSON.stringify(result)
);
console.error("push overlay page error:" +
err
);
}
done()
});
...
...
ace/ace_ets_component/entry/src/main/ets/MainAbility/test/ProgressJsunit.test.ets
浏览文件 @
0d90f453
// @ts-nocheck
/**
* Copyright (c) 2021 Huawei Device Co., Ltd.
* Licensed under the Apache License, Version 2.0 (the "License");
...
...
@@ -34,7 +35,7 @@ export default function progressJsunit() {
console.info("push progress page success " + JSON.stringify(result));
}
} catch (err) {
console.error("push progress page error " +
JSON.stringify(err)
);
console.error("push progress page error " +
err
);
}
done()
});
...
...
ace/ace_ets_component/entry/src/main/ets/MainAbility/test/QrCodeJsunit.test.ets
浏览文件 @
0d90f453
...
...
@@ -35,7 +35,7 @@ export default function qrCodeJsunit() {
console.info("push QrCode page success " + JSON.stringify(result));
}
} catch (err) {
console.error("push QrCode page error
" + JSON.stringify(err)
);
console.error("push QrCode page error
: " + err
);
}
done()
});
...
...
ace/ace_ets_component/entry/src/main/ets/MainAbility/test/RatingJsunit.test.ets
浏览文件 @
0d90f453
...
...
@@ -34,7 +34,7 @@ export default function ratingJsunit() {
console.info("push rating page success " + JSON.stringify(result));
}
} catch (err) {
console.error("push rating page error
" + JSON.stringify(err)
);
console.error("push rating page error
: " + err
);
}
done()
});
...
...
ace/ace_ets_component/entry/src/main/ets/MainAbility/test/ScrollCodeJsunit.test.ets
浏览文件 @
0d90f453
...
...
@@ -35,7 +35,7 @@ export default function scrollCodeJsunit() {
console.info("push ScrollCode page success " + JSON.stringify(result));
}
} catch (err) {
console.error("push ScrollCode page error
" + JSON.stringify(err)
);
console.error("push ScrollCode page error
: " + err
);
}
done()
});
...
...
ace/ace_ets_component/entry/src/main/ets/MainAbility/test/ShapeJsunit.test.ets
浏览文件 @
0d90f453
...
...
@@ -37,7 +37,7 @@ export default function shapeJsunit() {
console.info("push shape page success " + JSON.stringify(result));
}
} catch (err) {
console.error("push shape page error
" + JSON.stringify(result)
);
console.error("push shape page error
: " + err
);
}
done()
});
...
...
ace/ace_ets_component/entry/src/main/ets/MainAbility/test/SpanJsunit.test.ets
浏览文件 @
0d90f453
...
...
@@ -35,7 +35,7 @@ export default function spanJsunit() {
console.info("push span page success " + JSON.stringify(result));
}
} catch (err) {
console.error("push span page error
" + JSON.stringify(err)
);
console.error("push span page error
: " + err
);
}
done()
});
...
...
ace/ace_ets_component/entry/src/main/ets/MainAbility/test/StepperJsunit.test.ets
浏览文件 @
0d90f453
// @ts-nocheck
/**
* Copyright (c) 2021 Huawei Device Co., Ltd.
* Licensed under the Apache License, Version 2.0 (the "License");
...
...
@@ -12,7 +13,6 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
// @ts-nocheck
import {describe, beforeAll, beforeEach, afterEach, afterAll, it, expect} from "deccjsunit/index.ets"
import router from '@system.router';
import Utils from './Utils';
...
...
@@ -35,7 +35,7 @@ export default function stepperJsunit() {
console.info("push stepper page success " + JSON.stringify(result));
}
} catch (err) {
console.error("push stepper page error
" + JSON.stringify(result)
);
console.error("push stepper page error
: " + err
);
}
done()
});
...
...
ace/ace_ets_component/entry/src/main/ets/MainAbility/test/SwiperJsunit.test.ets
浏览文件 @
0d90f453
// @ts-nocheck
/**
* Copyright (c) 2021 Huawei Device Co., Ltd.
* Licensed under the Apache License, Version 2.0 (the "License");
...
...
@@ -12,7 +13,6 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
// @ts-nocheck
import {describe, beforeAll, beforeEach, afterEach, afterAll, it, expect} from "deccjsunit/index.ets"
import router from '@system.router';
import Utils from './Utils';
...
...
@@ -35,7 +35,7 @@ export default function swiperJsunit() {
console.info("push swiper page success " + JSON.stringify(result));
}
} catch (err) {
console.error("push swiper page error
" + JSON.stringify(result)
);
console.error("push swiper page error
: " + err
);
}
done()
});
...
...
ace/ace_ets_component/entry/src/main/ets/MainAbility/test/SystemRouterJsunit.test.ets
浏览文件 @
0d90f453
...
...
@@ -34,7 +34,7 @@ export default function systemRouterJsunit() {
expect(pages.name).assertEqual('systemRouterA');
expect(pages.path).assertEqual('pages/');
} catch (err) {
console.error("[systemRouterTest001] push page error
" + JSON.stringify(result)
);
console.error("[systemRouterTest001] push page error
: " + err
);
}
await Utils.sleep(2000);
done();
...
...
ace/ace_ets_component/entry/src/main/ets/MainAbility/test/TabsJsunit.test.ets
浏览文件 @
0d90f453
// @ts-nocheck
/**
* Copyright (c) 2021 Huawei Device Co., Ltd.
* Licensed under the Apache License, Version 2.0 (the "License");
...
...
@@ -12,7 +13,6 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
// @ts-nocheck
import {describe, beforeAll, beforeEach, afterEach, afterAll, it, expect} from "deccjsunit/index.ets"
import router from '@system.router';
import Utils from './Utils';
...
...
@@ -36,7 +36,7 @@ export default function tabsJsunit() {
console.info("push tabs page result:" + JSON.stringify(result));
}
} catch (err) {
console.error("push tabs page error:" +
JSON.stringify(result)
);
console.error("push tabs page error:" +
err
);
}
done()
});
...
...
ace/ace_ets_component/entry/src/main/ets/MainAbility/test/TapGesture.test.ets
浏览文件 @
0d90f453
...
...
@@ -36,7 +36,7 @@ export default function longPressGestureJsunit() {
console.info("push tapGesture page result:" + JSON.stringify(result));
}
} catch (err) {
console.error("push tapGesture page error:" +
JSON.stringify(result)
);
console.error("push tapGesture page error:" +
err
);
}
done()
});
...
...
ace/ace_ets_component/entry/src/main/ets/MainAbility/test/TextJsunit.test.ets
浏览文件 @
0d90f453
...
...
@@ -36,7 +36,7 @@ export default function textJsunit() {
console.info("push text page result:" + JSON.stringify(result));
}
} catch (err) {
console.error("push text page error:" +
JSON.stringify(result)
);
console.error("push text page error:" +
err
);
}
done()
});
...
...
ace/ace_ets_component/entry/src/main/ets/MainAbility/test/ToggleJsunit.test.ets
浏览文件 @
0d90f453
...
...
@@ -36,7 +36,7 @@ export default function ToggleJsunit() {
console.info("push toggle page result:" + JSON.stringify(result));
}
} catch (err) {
console.error("push toggle page error:" +
JSON.stringify(result)
);
console.error("push toggle page error:" +
err
);
}
done()
});
...
...
ace/ace_ets_component/entry/src/main/ets/MainAbility/test/ZIndexJsunit.test.ets
浏览文件 @
0d90f453
...
...
@@ -36,7 +36,7 @@ export default function enableJsunit() {
console.info("push zIndex page result:" + JSON.stringify(result));
}
} catch (err) {
console.error("push zIndex page error:" +
JSON.stringify(result)
);
console.error("push zIndex page error:" +
err
);
}
done()
});
...
...
ace/ace_ets_component/entry/src/main/ets/MainAbility/test/general-properties/BackgroundJsunit.test.ets
浏览文件 @
0d90f453
...
...
@@ -36,7 +36,7 @@ export default function backgroundJsunit() {
console.info("push background page success " + JSON.stringify(result));
}
} catch (err) {
console.error("push background page error
" + JSON.stringify(result)
);
console.error("push background page error
: " + err
);
}
done()
});
...
...
ace/ace_ets_component/entry/src/main/ets/MainAbility/test/general-properties/BorderJsunit.test.ets
浏览文件 @
0d90f453
...
...
@@ -36,7 +36,7 @@ export default function borderJsunit() {
console.info("push border page success " + JSON.stringify(result));
}
} catch (err) {
console.error("push border page error
" + JSON.stringify(result)
);
console.error("push border page error
: " + err
);
}
done()
});
...
...
ace/ace_ets_component/entry/src/main/ets/MainAbility/test/general-properties/ClickEventJsunit.test.ets
浏览文件 @
0d90f453
...
...
@@ -35,7 +35,7 @@ export default function clickEventJsunit() {
console.info("push clickEvent page result:" + JSON.stringify(result));
}
} catch (err) {
console.error("push clickEvent page error:" +
JSON.stringify(result)
);
console.error("push clickEvent page error:" +
err
);
}
done()
});
...
...
ace/ace_ets_component/entry/src/main/ets/MainAbility/test/general-properties/ColorGradientJsunit.test.ets
浏览文件 @
0d90f453
...
...
@@ -35,7 +35,7 @@ export default function colorGradientJsunit() {
console.info("push colorGradient page result:" + JSON.stringify(result));
}
} catch (err) {
console.error("push colorGradient page error:" +
JSON.stringify(result)
);
console.error("push colorGradient page error:" +
err
);
}
done()
});
...
...
ace/ace_ets_component/entry/src/main/ets/MainAbility/test/general-properties/FlexJsunit.test.ets
浏览文件 @
0d90f453
...
...
@@ -35,7 +35,7 @@ export default function flexJsunit() {
console.info("push flex page success " + JSON.stringify(result));
}
} catch (err) {
console.error("push flex page error
" + JSON.stringify(result)
);
console.error("push flex page error
: " + err
);
}
done()
});
...
...
ace/ace_ets_component/entry/src/main/ets/MainAbility/test/general-properties/GridSettingsJsunit.test.ets
浏览文件 @
0d90f453
...
...
@@ -35,7 +35,7 @@ export default function gridSettingsJsunit() {
console.info("push gridSettings page result:" + JSON.stringify(result));
}
} catch (err) {
console.error("push gridSettings page error:" +
JSON.stringify(result)
);
console.error("push gridSettings page error:" +
err
);
}
done();
});
...
...
ace/ace_ets_component/entry/src/main/ets/MainAbility/test/general-properties/ImageEffectsJsunit.test.ets
浏览文件 @
0d90f453
...
...
@@ -35,7 +35,7 @@ export default function imageEffectsJsunit() {
console.info("push imageEffects page success " + JSON.stringify(result));
}
} catch (err) {
console.error("push imageEffects page error
" + JSON.stringify(err)
);
console.error("push imageEffects page error
: " + err
);
}
done()
});
...
...
ace/ace_ets_component/entry/src/main/ets/MainAbility/test/general-properties/LayoutConstraintsJsunit.test.ets
浏览文件 @
0d90f453
...
...
@@ -36,7 +36,7 @@ export default function layoutConstraintsJsunit() {
console.info("push layoutConstraints page result:" + JSON.stringify(result));
}
} catch (err) {
console.error("push layoutConstraints page error:" +
JSON.stringify(result)
);
console.error("push layoutConstraints page error:" +
err
);
}
done()
});
...
...
ace/ace_ets_component/entry/src/main/ets/MainAbility/test/general-properties/OpacitySettingJsunit.test.ets
浏览文件 @
0d90f453
...
...
@@ -35,7 +35,7 @@ export default function opacitySettingJsunit() {
console.info("push opacitySetting page result:" + JSON.stringify(result));
}
} catch (err) {
console.error("push opacitySetting page error:" +
JSON.stringify(result)
);
console.error("push opacitySetting page error:" +
err
);
}
done()
});
...
...
ace/ace_ets_component/entry/src/main/ets/MainAbility/test/general-properties/PanGestureJsunit.test.ets
浏览文件 @
0d90f453
...
...
@@ -39,7 +39,7 @@ export default function PanGestureJsunit() {
console.info("push PanGesture page result:" + JSON.stringify(result));
}
} catch (err) {
console.error("push PanGesture page error:" +
JSON.stringify(result)
);
console.error("push PanGesture page error:" +
err
);
}
done()
});
...
...
ace/ace_ets_component/entry/src/main/ets/MainAbility/test/general-properties/PositionSettingJsunit.test.ets
浏览文件 @
0d90f453
...
...
@@ -35,7 +35,7 @@ export default function positionSettingJsunit() {
console.info("push positionSetting page result:" + JSON.stringify(result));
}
} catch (err) {
console.error("push positionSetting page error:" +
JSON.stringify(result)
);
console.error("push positionSetting page error:" +
err
);
}
done()
});
...
...
ace/ace_ets_component/entry/src/main/ets/MainAbility/test/general-properties/ResponseRegionJsunit.test.ets
浏览文件 @
0d90f453
...
...
@@ -39,7 +39,7 @@ export default function ResponseRegionJsunit() {
console.info("push ResponseRegion page result:" + JSON.stringify(result));
}
} catch (err) {
console.error("push ResponseRegion page error:" +
JSON.stringify(result)
);
console.error("push ResponseRegion page error:" +
err
);
}
done()
});
...
...
ace/ace_ets_component/entry/src/main/ets/MainAbility/test/general-properties/ShapeClippingJsunit.test.ets
浏览文件 @
0d90f453
...
...
@@ -35,7 +35,7 @@ export default function shapeClippingJsunit() {
console.info("push shapeClipping page result:" + JSON.stringify(result));
}
} catch (err) {
console.error("push shapeClipping page error:" +
JSON.stringify(result)
);
console.error("push shapeClipping page error:" +
err
);
}
done()
});
...
...
ace/ace_ets_component/entry/src/main/ets/MainAbility/test/general-properties/SizeSettingJsunit.test.ets
浏览文件 @
0d90f453
...
...
@@ -35,7 +35,7 @@ export default function sizeSettingJsunit() {
console.info("push sizeSetting page result:" + JSON.stringify(result));
}
} catch (err) {
console.error("push sizeSetting page error:" +
JSON.stringify(result)
);
console.error("push sizeSetting page error:" +
err
);
}
done()
});
...
...
ace/ace_ets_component/entry/src/main/ets/MainAbility/test/general-properties/TextStyleJsunit.test.ets
浏览文件 @
0d90f453
...
...
@@ -35,7 +35,7 @@ export default function textStyleJsunit() {
console.info("push textStyle page result:" + JSON.stringify(result));
}
} catch (err) {
console.error("push textStyle page error:" +
JSON.stringify(result)
);
console.error("push textStyle page error:" +
err
);
}
done();
});
...
...
ace/ace_ets_component/entry/src/main/ets/MainAbility/test/general-properties/TouchAbleJsunit.test.ets
浏览文件 @
0d90f453
...
...
@@ -34,7 +34,7 @@ export default function touchAbleJsunit() {
console.info("push touchAble page result:" + JSON.stringify(result));
}
} catch (err) {
console.error("push touchAble page error:" +
JSON.stringify(result)
);
console.error("push touchAble page error:" +
err
);
}
done()
});
...
...
ace/ace_ets_component/entry/src/main/ets/MainAbility/test/general-properties/
t
ouchJsunit.test.ets
→
ace/ace_ets_component/entry/src/main/ets/MainAbility/test/general-properties/
T
ouchJsunit.test.ets
浏览文件 @
0d90f453
...
...
@@ -37,7 +37,7 @@ export default function touchJsunit() {
console.info("push touch page result: " + JSON.stringify(result));
}
}catch(err){
console.error("push touch page error: " +
JSON.stringify(result)
);
console.error("push touch page error: " +
err
);
}
done()
});
...
...
ace/ace_ets_component/entry/src/main/ets/MainAbility/test/general-properties/TransFormJsunit.test.ets
浏览文件 @
0d90f453
...
...
@@ -36,7 +36,7 @@ export default function transFormJsunit() {
console.info("push transForm page result:" + JSON.stringify(result));
}
} catch (err) {
console.error("push transForm page error:" +
JSON.stringify(result)
);
console.error("push transForm page error:" +
err
);
}
done()
});
...
...
ace/ace_ets_component/entry/src/main/ets/MainAbility/test/general-properties/VisibilityJsunit.test.ets
浏览文件 @
0d90f453
...
...
@@ -36,7 +36,7 @@ export default function visibilityJsunit() {
console.info("push visibility page result:" + JSON.stringify(result));
}
} catch (err) {
console.error("push visibility page error:" +
JSON.stringify(result)
);
console.error("push visibility page error:" +
err
);
}
done()
});
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录