Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
OpenHarmony
Xts Acts
提交
2d41ed7a
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,发现更多精彩内容 >>
未验证
提交
2d41ed7a
编写于
3月 16, 2022
作者:
O
openharmony_ci
提交者:
Gitee
3月 16, 2022
浏览文件
操作
浏览文件
下载
差异文件
!2420 xts对应字幕颜色变更的代码
Merge pull request !2420 from yichengzhao/master
上级
ca88c235
92fb6a92
变更
1
隐藏空白更改
内联
并排
Showing
1 changed file
with
16 addition
and
16 deletion
+16
-16
barrierfree/accessiblecaptionconfiguration/entry/src/main/js/test/AccessibleCaptionConfiguration.test.js
...y/src/main/js/test/AccessibleCaptionConfiguration.test.js
+16
-16
未找到文件。
barrierfree/accessiblecaptionconfiguration/entry/src/main/js/test/AccessibleCaptionConfiguration.test.js
浏览文件 @
2d41ed7a
...
...
@@ -39,7 +39,7 @@ describe('AccessibleCaptionConfiguration', function () {
fontColor
:
"
blue
"
,
fontEdgeType
:
"
none
"
,
backgroundColor
:
"
green
"
,
windowColor
:
"
pin
k
"
windowColor
:
"
blac
k
"
}
var
StyleTest
=
{
...
...
@@ -47,7 +47,7 @@ describe('AccessibleCaptionConfiguration', function () {
fontScale
:
99
,
fontColor
:
"
red
"
,
fontEdgeType
:
"
uniform
"
,
backgroundColor
:
"
pin
k
"
,
backgroundColor
:
"
blac
k
"
,
windowColor
:
"
green
"
}
...
...
@@ -172,7 +172,7 @@ describe('AccessibleCaptionConfiguration', function () {
expect
(
true
).
assertEqual
(
true
);
done
();
});
captionManager
.
style
.
fontColor
=
"
TmepfontColor
"
;
captionManager
.
style
.
fontColor
=
"
black
"
;
})
/*
...
...
@@ -212,7 +212,7 @@ describe('AccessibleCaptionConfiguration', function () {
expect
(
true
).
assertEqual
(
true
);
done
();
});
captionManager
.
style
.
backgroundColor
=
"
TmepbackgroundColor
"
;
captionManager
.
style
.
backgroundColor
=
"
black
"
;
})
/*
...
...
@@ -232,7 +232,7 @@ describe('AccessibleCaptionConfiguration', function () {
expect
(
true
).
assertEqual
(
true
);
done
();
});
captionManager
.
style
.
windowColor
=
"
TmepwindowColor
"
;
captionManager
.
style
.
windowColor
=
"
blue
"
;
})
...
...
@@ -628,7 +628,7 @@ describe('AccessibleCaptionConfiguration', function () {
it
(
'
CaptionConfiguration_0070
'
,
0
,
async
function
(
done
)
{
console
.
info
(
'
CaptionConfiguration_0070
'
);
let
captionManager
=
accessibility
.
getCaptionsManager
();
let
fontColor
=
"
TmepfontColor
"
;
let
fontColor
=
"
black
"
;
captionManager
.
style
.
fontColor
=
fontColor
;
let
value
=
captionManager
.
style
.
fontColor
;
expect
(
value
).
assertEqual
(
fontColor
);
...
...
@@ -646,7 +646,7 @@ describe('AccessibleCaptionConfiguration', function () {
it
(
'
CaptionConfiguration_0071
'
,
0
,
async
function
(
done
)
{
console
.
info
(
'
CaptionConfiguration_0071
'
);
let
captionManager
=
accessibility
.
getCaptionsManager
();
let
fontColor
=
"
none
"
;
let
fontColor
=
"
red
"
;
captionManager
.
style
.
fontColor
=
fontColor
;
let
value
=
captionManager
.
style
.
fontColor
;
expect
(
value
).
assertEqual
(
fontColor
);
...
...
@@ -664,7 +664,7 @@ describe('AccessibleCaptionConfiguration', function () {
it
(
'
CaptionConfiguration_0072
'
,
0
,
async
function
(
done
)
{
console
.
info
(
'
CaptionConfiguration_0072
'
);
let
captionManager
=
accessibility
.
getCaptionsManager
();
let
fontColor
=
""
;
let
fontColor
=
"
red
"
;
captionManager
.
style
.
fontColor
=
fontColor
;
let
value
=
captionManager
.
style
.
fontColor
;
expect
(
value
).
assertEqual
(
fontColor
);
...
...
@@ -790,7 +790,7 @@ describe('AccessibleCaptionConfiguration', function () {
it
(
'
CaptionConfiguration_0090
'
,
0
,
async
function
(
done
)
{
console
.
info
(
'
CaptionConfiguration_0090
'
);
let
captionManager
=
accessibility
.
getCaptionsManager
();
let
backgroundColor
=
"
TmepbackgroundColor
"
;
let
backgroundColor
=
"
#00FFAABB
"
;
captionManager
.
style
.
backgroundColor
=
backgroundColor
;
let
value
=
captionManager
.
style
.
backgroundColor
;
expect
(
value
).
assertEqual
(
backgroundColor
);
...
...
@@ -808,7 +808,7 @@ describe('AccessibleCaptionConfiguration', function () {
it
(
'
CaptionConfiguration_0091
'
,
0
,
async
function
(
done
)
{
console
.
info
(
'
CaptionConfiguration_0091
'
);
let
captionManager
=
accessibility
.
getCaptionsManager
();
let
backgroundColor
=
"
none
"
;
let
backgroundColor
=
"
red
"
;
captionManager
.
style
.
backgroundColor
=
backgroundColor
;
let
value
=
captionManager
.
style
.
backgroundColor
;
expect
(
value
).
assertEqual
(
backgroundColor
);
...
...
@@ -826,7 +826,7 @@ describe('AccessibleCaptionConfiguration', function () {
it
(
'
CaptionConfiguration_0092
'
,
0
,
async
function
(
done
)
{
console
.
info
(
'
CaptionConfiguration_0092
'
);
let
captionManager
=
accessibility
.
getCaptionsManager
();
let
backgroundColor
=
""
;
let
backgroundColor
=
"
#00FFAABB
"
;
captionManager
.
style
.
backgroundColor
=
backgroundColor
;
let
value
=
captionManager
.
style
.
backgroundColor
;
expect
(
value
).
assertEqual
(
backgroundColor
);
...
...
@@ -844,7 +844,7 @@ describe('AccessibleCaptionConfiguration', function () {
it
(
'
CaptionConfiguration_0100
'
,
0
,
async
function
(
done
)
{
console
.
info
(
'
CaptionConfiguration_0100
'
);
let
captionManager
=
accessibility
.
getCaptionsManager
();
let
windowColor
=
"
TmepwindowColor
"
;
let
windowColor
=
"
blue
"
;
captionManager
.
style
.
windowColor
=
windowColor
;
let
value
=
captionManager
.
style
.
windowColor
;
expect
(
value
).
assertEqual
(
windowColor
);
...
...
@@ -862,7 +862,7 @@ describe('AccessibleCaptionConfiguration', function () {
it
(
'
CaptionConfiguration_0101
'
,
0
,
async
function
(
done
)
{
console
.
info
(
'
CaptionConfiguration_0101
'
);
let
captionManager
=
accessibility
.
getCaptionsManager
();
let
windowColor
=
"
none
"
;
let
windowColor
=
"
red
"
;
captionManager
.
style
.
windowColor
=
windowColor
;
let
value
=
captionManager
.
style
.
windowColor
;
expect
(
value
).
assertEqual
(
windowColor
);
...
...
@@ -880,7 +880,7 @@ describe('AccessibleCaptionConfiguration', function () {
it
(
'
CaptionConfiguration_0102
'
,
0
,
async
function
(
done
)
{
console
.
info
(
'
CaptionConfiguration_0102
'
);
let
captionManager
=
accessibility
.
getCaptionsManager
();
let
windowColor
=
""
;
let
windowColor
=
"
red
"
;
captionManager
.
style
.
windowColor
=
windowColor
;
let
value
=
captionManager
.
style
.
windowColor
;
expect
(
value
).
assertEqual
(
windowColor
);
...
...
@@ -903,7 +903,7 @@ describe('AccessibleCaptionConfiguration', function () {
fontScale
:
99
,
fontColor
:
"
red
"
,
fontEdgeType
:
"
uniform
"
,
backgroundColor
:
"
pin
k
"
,
backgroundColor
:
"
blac
k
"
,
windowColor
:
"
green
"
};
captionManager
.
style
=
StyleTest
;
...
...
@@ -934,7 +934,7 @@ describe('AccessibleCaptionConfiguration', function () {
fontColor
:
"
blue
"
,
fontEdgeType
:
"
none
"
,
backgroundColor
:
"
green
"
,
windowColor
:
"
pin
k
"
windowColor
:
"
blac
k
"
};
captionManager
.
style
=
StyleTest
;
let
value
=
captionManager
.
style
;
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录