Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
OpenHarmony
Xts Acts
提交
527d062c
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看板
提交
527d062c
编写于
3月 08, 2022
作者:
D
dongwei
提交者:
wanggang
3月 10, 2022
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
add test cases
Signed-off-by:
N
dongwei
<
dongwei@kaihongdigi.com
>
上级
ad6e684a
变更
1
隐藏空白更改
内联
并排
Showing
1 changed file
with
13 addition
and
13 deletion
+13
-13
ace/ace_standard/src/main/js/default/test/svgProps.test.js
ace/ace_standard/src/main/js/default/test/svgProps.test.js
+13
-13
未找到文件。
ace/ace_standard/src/main/js/default/test/svgProps.test.js
浏览文件 @
527d062c
...
...
@@ -378,7 +378,7 @@ describe('svgPropsJsTest', function () {
expect
(
obj
.
$attrs
.
stroke
).
assertEqual
(
'
red
'
)
console
.
info
(
"
[svgProps] get inspector stroke value is:
"
+
JSON
.
stringify
(
obj
.
$attrs
.
stroke
));
expect
(
obj
.
$attrs
.
strokeDasharray
).
assertEqual
(
'
2 3
'
)
console
.
info
(
"
[svgProps] get inspector
stroke-
dasharray value is:
"
+
JSON
.
stringify
(
obj
.
$attrs
.
strokeDasharray
));
console
.
info
(
"
[svgProps] get inspector dasharray value is:
"
+
JSON
.
stringify
(
obj
.
$attrs
.
strokeDasharray
));
done
();
});
...
...
@@ -406,7 +406,7 @@ describe('svgPropsJsTest', function () {
expect
(
obj
.
$attrs
.
stroke
).
assertEqual
(
'
red
'
)
console
.
info
(
"
[svgProps] get inspector stroke value is:
"
+
JSON
.
stringify
(
obj
.
$attrs
.
stroke
));
expect
(
obj
.
$attrs
.
strokeDashoffset
).
assertEqual
(
'
23
'
)
console
.
info
(
"
[svgProps] get inspector
stroke-
dashoffset value is:
"
+
JSON
.
stringify
(
obj
.
$attrs
.
strokeDashoffset
));
console
.
info
(
"
[svgProps] get inspector dashoffset value is:
"
+
JSON
.
stringify
(
obj
.
$attrs
.
strokeDashoffset
));
done
();
});
...
...
@@ -435,7 +435,7 @@ describe('svgPropsJsTest', function () {
expect
(
obj
.
$attrs
.
stroke
).
assertEqual
(
'
red
'
)
console
.
info
(
"
[svgProps] get inspector stroke value is:
"
+
JSON
.
stringify
(
obj
.
$attrs
.
stroke
));
expect
(
obj
.
$attrs
.
strokeLinejoin
).
assertEqual
(
'
bevel
'
)
console
.
info
(
"
[svgProps] get inspector
stroke-
linejoin value is:
"
+
JSON
.
stringify
(
obj
.
$attrs
.
strokeLinejoin
));
console
.
info
(
"
[svgProps] get inspector linejoin value is:
"
+
JSON
.
stringify
(
obj
.
$attrs
.
strokeLinejoin
));
done
();
});
...
...
@@ -463,7 +463,7 @@ describe('svgPropsJsTest', function () {
expect
(
obj
.
$attrs
.
stroke
).
assertEqual
(
'
red
'
)
console
.
info
(
"
[svgProps] get inspector stroke value is:
"
+
JSON
.
stringify
(
obj
.
$attrs
.
stroke
));
expect
(
obj
.
$attrs
.
strokeLinejoin
).
assertEqual
(
'
miter
'
)
console
.
info
(
"
[svgProps] get inspector
stroke-
linejoin value is:
"
+
JSON
.
stringify
(
obj
.
$attrs
.
strokeLinejoin
));
console
.
info
(
"
[svgProps] get inspector linejoin value is:
"
+
JSON
.
stringify
(
obj
.
$attrs
.
strokeLinejoin
));
done
();
});
...
...
@@ -491,7 +491,7 @@ describe('svgPropsJsTest', function () {
expect
(
obj
.
$attrs
.
stroke
).
assertEqual
(
'
red
'
)
console
.
info
(
"
[svgProps] get inspector stroke value is:
"
+
JSON
.
stringify
(
obj
.
$attrs
.
stroke
));
expect
(
obj
.
$attrs
.
strokeLinejoin
).
assertEqual
(
'
round
'
)
console
.
info
(
"
[svgProps] get inspector
stroke-
linejoin value is:
"
+
JSON
.
stringify
(
obj
.
$attrs
.
strokeLinejoin
));
console
.
info
(
"
[svgProps] get inspector linejoin value is:
"
+
JSON
.
stringify
(
obj
.
$attrs
.
strokeLinejoin
));
done
();
});
...
...
@@ -519,7 +519,7 @@ describe('svgPropsJsTest', function () {
expect
(
obj
.
$attrs
.
stroke
).
assertEqual
(
'
red
'
)
console
.
info
(
"
[svgProps] get inspector stroke value is:
"
+
JSON
.
stringify
(
obj
.
$attrs
.
stroke
));
expect
(
obj
.
$attrs
.
strokeLineCap
).
assertEqual
(
'
butt
'
)
console
.
info
(
"
[svgProps] get inspector
stroke-
lineCap value is:
"
+
JSON
.
stringify
(
obj
.
$attrs
.
strokeLineCap
));
console
.
info
(
"
[svgProps] get inspector lineCap value is:
"
+
JSON
.
stringify
(
obj
.
$attrs
.
strokeLineCap
));
done
();
});
...
...
@@ -547,7 +547,7 @@ describe('svgPropsJsTest', function () {
expect
(
obj
.
$attrs
.
stroke
).
assertEqual
(
'
red
'
)
console
.
info
(
"
[svgProps] get inspector stroke value is:
"
+
JSON
.
stringify
(
obj
.
$attrs
.
stroke
));
expect
(
obj
.
$attrs
.
strokeLineCap
).
assertEqual
(
'
round
'
)
console
.
info
(
"
[svgProps] get inspector
stroke-
lineCap value is:
"
+
JSON
.
stringify
(
obj
.
$attrs
.
strokeLineCap
));
console
.
info
(
"
[svgProps] get inspector lineCap value is:
"
+
JSON
.
stringify
(
obj
.
$attrs
.
strokeLineCap
));
done
();
});
...
...
@@ -575,7 +575,7 @@ describe('svgPropsJsTest', function () {
expect
(
obj
.
$attrs
.
stroke
).
assertEqual
(
'
red
'
)
console
.
info
(
"
[svgProps] get inspector stroke value is:
"
+
JSON
.
stringify
(
obj
.
$attrs
.
stroke
));
expect
(
obj
.
$attrs
.
strokeLineCap
).
assertEqual
(
'
square
'
)
console
.
info
(
"
[svgProps] get inspector
stroke-
lineCap value is:
"
+
JSON
.
stringify
(
obj
.
$attrs
.
strokeLineCap
));
console
.
info
(
"
[svgProps] get inspector lineCap value is:
"
+
JSON
.
stringify
(
obj
.
$attrs
.
strokeLineCap
));
done
();
});
...
...
@@ -603,7 +603,7 @@ describe('svgPropsJsTest', function () {
expect
(
obj
.
$attrs
.
stroke
).
assertEqual
(
'
red
'
)
console
.
info
(
"
[svgProps] get inspector stroke value is:
"
+
JSON
.
stringify
(
obj
.
$attrs
.
stroke
));
expect
(
obj
.
$attrs
.
strokeMiterlimit
).
assertEqual
(
'
10
'
)
console
.
info
(
"
[svgProps] get inspector
stroke-
miterlimit value is:
"
+
JSON
.
stringify
(
obj
.
$attrs
.
strokeMiterlimit
));
console
.
info
(
"
[svgProps] get inspector miterlimit value is:
"
+
JSON
.
stringify
(
obj
.
$attrs
.
strokeMiterlimit
));
done
();
});
...
...
@@ -631,7 +631,7 @@ describe('svgPropsJsTest', function () {
expect
(
obj
.
$attrs
.
stroke
).
assertEqual
(
'
red
'
)
console
.
info
(
"
[svgProps] get inspector stroke value is:
"
+
JSON
.
stringify
(
obj
.
$attrs
.
stroke
));
expect
(
obj
.
$attrs
.
strokeOpacity
).
assertEqual
(
'
0.5
'
)
console
.
info
(
"
[svgProps] get inspector
stroke-
opacity value is:
"
+
JSON
.
stringify
(
obj
.
$attrs
.
strokeOpacity
));
console
.
info
(
"
[svgProps] get inspector opacity value is:
"
+
JSON
.
stringify
(
obj
.
$attrs
.
strokeOpacity
));
done
();
});
...
...
@@ -659,7 +659,7 @@ describe('svgPropsJsTest', function () {
expect
(
obj
.
$attrs
.
stroke
).
assertEqual
(
'
red
'
)
console
.
info
(
"
[svgProps] get inspector stroke value is:
"
+
JSON
.
stringify
(
obj
.
$attrs
.
stroke
));
expect
(
obj
.
$attrs
.
strokeOpacity
).
assertEqual
(
'
1
'
)
console
.
info
(
"
[svgProps] get inspector
stroke-
opacity value is:
"
+
JSON
.
stringify
(
obj
.
$attrs
.
strokeOpacity
));
console
.
info
(
"
[svgProps] get inspector opacity value is:
"
+
JSON
.
stringify
(
obj
.
$attrs
.
strokeOpacity
));
done
();
});
...
...
@@ -687,7 +687,7 @@ describe('svgPropsJsTest', function () {
expect
(
obj
.
$attrs
.
stroke
).
assertEqual
(
'
red
'
)
console
.
info
(
"
[svgProps] get inspector stroke value is:
"
+
JSON
.
stringify
(
obj
.
$attrs
.
stroke
));
expect
(
obj
.
$attrs
.
strokeOpacity
).
assertEqual
(
'
1.5
'
)
console
.
info
(
"
[svgProps] get inspector
stroke-
opacity value is:
"
+
JSON
.
stringify
(
obj
.
$attrs
.
strokeOpacity
));
console
.
info
(
"
[svgProps] get inspector opacity value is:
"
+
JSON
.
stringify
(
obj
.
$attrs
.
strokeOpacity
));
done
();
});
...
...
@@ -740,7 +740,7 @@ describe('svgPropsJsTest', function () {
console
.
info
(
"
[svgProps] get inspector width value is:
"
+
JSON
.
stringify
(
obj
.
$attrs
.
width
));
expect
(
obj
.
$attrs
.
height
).
assertEqual
(
'
20px
'
)
console
.
info
(
"
[svgProps] get inspector height value is:
"
+
JSON
.
stringify
(
obj
.
$attrs
.
height
));
expect
(
obj
.
$attrs
.
transform
).
assertEqual
(
'
translate(10,5)
scale(0.5 1.3) rotate(20 40 90) skewX(10)
skewY(-15)
'
)
expect
(
obj
.
$attrs
.
transform
).
assertEqual
(
'
translate(10,5)
scale(0.5 1.3)rotate(20 40 90)skewX(10)
skewY(-15)
'
)
console
.
info
(
"
[svgProps] get inspector transform value is:
"
+
JSON
.
stringify
(
obj
.
$attrs
.
transform
));
done
();
});
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录