未验证 提交 111282f7 编写于 作者: B bayanxing 提交者: Gitee

!23 add test cases

Merge pull request !23 from 郭友敬/xts_acts_dev
......@@ -77,6 +77,7 @@ export default {
softkeyboardenabledFalse : null,
softkeyboardenabledTrue : null,
},
onShow(){
this.getCommonPropValues();
this.getSpecificPropValues();
......@@ -182,31 +183,3 @@ export default {
this.softkeyboardenabledTrue = this.$element("softkeyboardenabledTrue").getInspector()
}
}
/*
* placeholderNone : null,
placeholder : null,
maxlength20 : null,
headericon : null,
headericonNone : null,
extendNone : null,
extendFalse : null,
extendTrue : null,
valueNone : null,
value : null,
showcounterNone : null,
showcounterFalse : null,
showcounterTrue : null,
menuoptionsNone : null,
menuoptions : null,
autofocusNone : null,
autofocusFalse : null,
autofocusTrue : null,
selectedstartNone : null,
selectedstart5: null,
selectedendNone : null,
selectedend5 : null,
softkeyboardenabledNone : null,
softkeyboardenabledFalse : null,
softkeyboardenabledTrue : null,
*/
\ No newline at end of file
......@@ -53,6 +53,5 @@ require('./selectProps.test.js')
require('./sliderProps.test.js')
require('./ratingProps.test.js')
require('./inputProps.test.js')
require('./marqueeProps.test.js')
require('./imageAnimatorProps.test.js')
require('./textareaProps.test.js')
/*
* Copyright (C) 2021 Huawei Device Co., Ltd.
/**
* Copyright (c) 2022 Shenzhen Kaihong Digital Industry Development Co., Ltd.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
......
/*
* Copyright (C) 2021 Huawei Device Co., Ltd.
/**
* Copyright (c) 2022 Shenzhen Kaihong Digital Industry Development Co., Ltd.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
......
/*
* Copyright (C) 2021 Huawei Device Co., Ltd.
/**
* Copyright (c) 2022 Shenzhen Kaihong Digital Industry Development Co., Ltd.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
......
/*
* Copyright (C) 2021 Huawei Device Co., Ltd.
/**
* Copyright (c) 2022 Shenzhen Kaihong Digital Industry Development Co., Ltd.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
......
/*
* Copyright (C) 2021 Huawei Device Co., Ltd.
/**
* Copyright (c) 2022 Shenzhen Kaihong Digital Industry Development Co., Ltd.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
......
/*
* Copyright (C) 2021 Huawei Device Co., Ltd.
/**
* Copyright (c) 2022 Shenzhen Kaihong Digital Industry Development Co., Ltd.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
......
/*
* Copyright (C) 2021 Huawei Device Co., Ltd.
/**
* Copyright (c) 2022 Shenzhen Kaihong Digital Industry Development Co., Ltd.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
......@@ -957,7 +957,7 @@ it('testtextAreaHeadericonPropNull', 0, async function (done) {
expect(obj.$type).assertEqual('textarea')
expect(obj.$attrs.id).assertEqual('softkeyboardenabledNone')
expect(obj.$attrs.softkeyboardenabled).assertEqual("true")
console.info("[textAreaProps] get softkeyboardenabled value is: " + JSON.stringify(obj.$attrs.softkeyboardenabled));
console.info("[textAreaProps] get softkey value is: " + JSON.stringify(obj.$attrs.softkey));
done();
});
......@@ -977,7 +977,7 @@ it('testtextAreaHeadericonPropNull', 0, async function (done) {
expect(obj.$type).assertEqual('textarea')
expect(obj.$attrs.id).assertEqual('softkeyboardenabledFalse')
expect(obj.$attrs.softkeyboardenabled).assertEqual("false")
console.info("[textAreaProps] get softkeyboardenabled value is: " + JSON.stringify(obj.$attrs.softkeyboardenabled));
console.info("[textAreaProps] get softkey value is: " + JSON.stringify(obj.$attrs.softkey));
done();
});
......@@ -997,7 +997,7 @@ it('testtextAreaHeadericonPropNull', 0, async function (done) {
expect(obj.$type).assertEqual('textarea')
expect(obj.$attrs.id).assertEqual('softkeyboardenabledTrue')
expect(obj.$attrs.softkeyboardenabled).assertEqual("true")
console.info("[textAreaProps] get softkeyboardenabled value is: " + JSON.stringify(obj.$attrs.softkeyboardenabled));
console.info("[textAreaProps] get softkey value is: " + JSON.stringify(obj.$attrs.softkey));
done();
});
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册