提交 c6edaac4 编写于 作者: B bayanxing

modify testcase

Signed-off-by: Nbayanxing <bayanxing@kaihongdigi.com>
上级 d138775d
/** /**
* Copyright (c) 2022 Shenzhen Kaihong Digital Industry Development Co., Ltd. * Copyright (c) 2022 Shenzhen kaiHong Digital Industry Development Co., Ltd.
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
* You may obtain a copy of the License at * You may obtain a copy of the License at
......
/** /**
* Copyright (c) 2022 Shenzhen Kaihong Digital Industry Development Co., Ltd. * Copyright (c) 2022 Shenzhen kaiHong Digital Industry Development Co., Ltd.
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
* You may obtain a copy of the License at * You may obtain a copy of the License at
......
/** /**
* Copyright (c) 2022 Shenzhen Kaihong Digital Industry Development Co., Ltd. * Copyright (c) 2022 Shenzhen kaiHong Digital Industry Development Co., Ltd.
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
* You may obtain a copy of the License at * You may obtain a copy of the License at
......
/** /**
* Copyright (c) 2022 Shenzhen Kaihong Digital Industry Development Co., Ltd. * Copyright (c) 2022 Shenzhen kaiHong Digital Industry Development Co., Ltd.
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
* You may obtain a copy of the License at * You may obtain a copy of the License at
......
/** /**
* Copyright (c) 2022 Shenzhen Kaihong Digital Industry Development Co., Ltd. * Copyright (c) 2022 Shenzhen kaiHong Digital Industry Development Co., Ltd.
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
* You may obtain a copy of the License at * You may obtain a copy of the License at
......
/** /**
* Copyright (c) 2022 Shenzhen Kaihong Digital Industry Development Co., Ltd. * Copyright (c) 2022 Shenzhen kaiHong Digital Industry Development Co., Ltd.
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
* You may obtain a copy of the License at * You may obtain a copy of the License at
......
/** /**
* Copyright (c) 2022 Shenzhen Kaihong Digital Industry Development Co., Ltd. * Copyright (c) 2022 Shenzhen kaiHong Digital Industry Development Co., Ltd.
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
* You may obtain a copy of the License at * You may obtain a copy of the License at
......
...@@ -575,7 +575,4 @@ export default { ...@@ -575,7 +575,4 @@ export default {
multitextoncancel() { multitextoncancel() {
prompt.showToast({ message:"multitextoncancel" }) prompt.showToast({ message:"multitextoncancel" })
}, },
popup_picker() {
this.$element("picker_text").show();
},
} }
/** /**
* Copyright (c) 2022 Shenzhen Kaihong Digital Industry Development Co., Ltd. * Copyright (c) 2022 Shenzhen kaiHong Digital Industry Development Co., Ltd.
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
* You may obtain a copy of the License at * You may obtain a copy of the License at
......
/** /**
* Copyright (c) 2022 Shenzhen Kaihong Digital Industry Development Co., Ltd. * Copyright (c) 2022 Shenzhen kaiHong Digital Industry Development Co., Ltd.
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
* You may obtain a copy of the License at * You may obtain a copy of the License at
......
/** /**
* Copyright (c) 2022 Shenzhen Kaihong Digital Industry Development Co., Ltd. * Copyright (c) 2022 Shenzhen kaiHong Digital Industry Development Co., Ltd.
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
* You may obtain a copy of the License at * You may obtain a copy of the License at
......
/** /**
* Copyright (c) 2022 Shenzhen Kaihong Digital Industry Development Co., Ltd. * Copyright (c) 2022 Shenzhen kaiHong Digital Industry Development Co., Ltd.
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
* You may obtain a copy of the License at * You may obtain a copy of the License at
......
/** /**
* Copyright (c) 2022 Shenzhen Kaihong Digital Industry Development Co., Ltd. * Copyright (c) 2022 Shenzhen kaiHong Digital Industry Development Co., Ltd.
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
* You may obtain a copy of the License at * You may obtain a copy of the License at
......
...@@ -589,6 +589,7 @@ describe('dividerPropsJsTest', function () { ...@@ -589,6 +589,7 @@ describe('dividerPropsJsTest', function () {
console.info("[dividerProps] get vertical value is: " + JSON.stringify(obj.$attrs.vertical)); console.info("[dividerProps] get vertical value is: " + JSON.stringify(obj.$attrs.vertical));
done(); done();
}); });
/** /**
* @tc.number SUB_ACE_BASIC_COMPONENT_JS_API_0100 * @tc.number SUB_ACE_BASIC_COMPONENT_JS_API_0100
* @tc.name testDividerVerticalFalse * @tc.name testDividerVerticalFalse
......
...@@ -684,6 +684,7 @@ describe('labelPropsJsTest', function () { ...@@ -684,6 +684,7 @@ describe('labelPropsJsTest', function () {
console.info("[labelProps] get show value is: " + JSON.stringify(obj.$attrs.show)); console.info("[labelProps] get show value is: " + JSON.stringify(obj.$attrs.show));
done(); done();
}); });
/** /**
* @tc.number SUB_ACE_BASIC_COMPONENT_JS_API_0100 * @tc.number SUB_ACE_BASIC_COMPONENT_JS_API_0100
* @tc.name testLabelLabelTarget * @tc.name testLabelLabelTarget
......
...@@ -684,6 +684,7 @@ describe('optionPropsJsTest', function () { ...@@ -684,6 +684,7 @@ describe('optionPropsJsTest', function () {
console.info("[optionProps] get show value is: " + JSON.stringify(obj.$attrs.show)); console.info("[optionProps] get show value is: " + JSON.stringify(obj.$attrs.show));
done(); done();
}); });
/** /**
* @tc.number SUB_ACE_BASIC_COMPONENT_JS_API_0100 * @tc.number SUB_ACE_BASIC_COMPONENT_JS_API_0100
* @tc.name testOptionSelectedTrue * @tc.name testOptionSelectedTrue
...@@ -703,6 +704,7 @@ describe('optionPropsJsTest', function () { ...@@ -703,6 +704,7 @@ describe('optionPropsJsTest', function () {
console.info("[optionProps] get selected value is: " + JSON.stringify(obj.$attrs.selected)); console.info("[optionProps] get selected value is: " + JSON.stringify(obj.$attrs.selected));
done(); done();
}); });
/** /**
* @tc.number SUB_ACE_BASIC_COMPONENT_JS_API_0100 * @tc.number SUB_ACE_BASIC_COMPONENT_JS_API_0100
* @tc.name testOptionSelectedFalse * @tc.name testOptionSelectedFalse
...@@ -722,6 +724,7 @@ describe('optionPropsJsTest', function () { ...@@ -722,6 +724,7 @@ describe('optionPropsJsTest', function () {
console.info("[optionProps] get selected value is: " + JSON.stringify(obj.$attrs.selected)); console.info("[optionProps] get selected value is: " + JSON.stringify(obj.$attrs.selected));
done(); done();
}); });
/** /**
* @tc.number SUB_ACE_BASIC_COMPONENT_JS_API_0100 * @tc.number SUB_ACE_BASIC_COMPONENT_JS_API_0100
* @tc.name testOptionOptionValue * @tc.name testOptionOptionValue
...@@ -741,6 +744,7 @@ describe('optionPropsJsTest', function () { ...@@ -741,6 +744,7 @@ describe('optionPropsJsTest', function () {
console.info("[optionProps] get value value is: " + JSON.stringify(obj.$attrs.value)); console.info("[optionProps] get value value is: " + JSON.stringify(obj.$attrs.value));
done(); done();
}); });
/** /**
* @tc.number SUB_ACE_BASIC_COMPONENT_JS_API_0100 * @tc.number SUB_ACE_BASIC_COMPONENT_JS_API_0100
* @tc.name testOptionOptionIcon * @tc.name testOptionOptionIcon
......
...@@ -684,6 +684,7 @@ describe('pickerPropsJsTest', function () { ...@@ -684,6 +684,7 @@ describe('pickerPropsJsTest', function () {
console.info("[pickerProps] get show value is: " + JSON.stringify(obj.$attrs.show)); console.info("[pickerProps] get show value is: " + JSON.stringify(obj.$attrs.show));
done(); done();
}); });
/** /**
* @tc.number SUB_ACE_BASIC_COMPONENT_JS_API_0100 * @tc.number SUB_ACE_BASIC_COMPONENT_JS_API_0100
* @tc.name testPickerPickerText * @tc.name testPickerPickerText
...@@ -703,6 +704,7 @@ describe('pickerPropsJsTest', function () { ...@@ -703,6 +704,7 @@ describe('pickerPropsJsTest', function () {
console.info("[pickerProps] get type value is: " + JSON.stringify(obj.$attrs.type)); console.info("[pickerProps] get type value is: " + JSON.stringify(obj.$attrs.type));
done(); done();
}); });
/** /**
* @tc.number SUB_ACE_BASIC_COMPONENT_JS_API_0100 * @tc.number SUB_ACE_BASIC_COMPONENT_JS_API_0100
* @tc.name testPickerPickerTime * @tc.name testPickerPickerTime
...@@ -721,7 +723,9 @@ describe('pickerPropsJsTest', function () { ...@@ -721,7 +723,9 @@ describe('pickerPropsJsTest', function () {
expect(obj.$attrs.type).assertEqual('time') expect(obj.$attrs.type).assertEqual('time')
console.info("[pickerProps] get type value is: " + JSON.stringify(obj.$attrs.type)); console.info("[pickerProps] get type value is: " + JSON.stringify(obj.$attrs.type));
done(); done();
});/** });
/**
* @tc.number SUB_ACE_BASIC_COMPONENT_JS_API_0100 * @tc.number SUB_ACE_BASIC_COMPONENT_JS_API_0100
* @tc.name testPickerPickerDate * @tc.name testPickerPickerDate
* @tc.desc ACE * @tc.desc ACE
...@@ -739,7 +743,9 @@ describe('pickerPropsJsTest', function () { ...@@ -739,7 +743,9 @@ describe('pickerPropsJsTest', function () {
expect(obj.$attrs.type).assertEqual('date') expect(obj.$attrs.type).assertEqual('date')
console.info("[pickerProps] get type value is: " + JSON.stringify(obj.$attrs.type)); console.info("[pickerProps] get type value is: " + JSON.stringify(obj.$attrs.type));
done(); done();
});/** });
/**
* @tc.number SUB_ACE_BASIC_COMPONENT_JS_API_0100 * @tc.number SUB_ACE_BASIC_COMPONENT_JS_API_0100
* @tc.name testPickerPickerDatetime * @tc.name testPickerPickerDatetime
* @tc.desc ACE * @tc.desc ACE
...@@ -757,7 +763,9 @@ describe('pickerPropsJsTest', function () { ...@@ -757,7 +763,9 @@ describe('pickerPropsJsTest', function () {
expect(obj.$attrs.type).assertEqual('datetime') expect(obj.$attrs.type).assertEqual('datetime')
console.info("[pickerProps] get type value is: " + JSON.stringify(obj.$attrs.type)); console.info("[pickerProps] get type value is: " + JSON.stringify(obj.$attrs.type));
done(); done();
});/** });
/**
* @tc.number SUB_ACE_BASIC_COMPONENT_JS_API_0100 * @tc.number SUB_ACE_BASIC_COMPONENT_JS_API_0100
* @tc.name testPickerPickerMultiText * @tc.name testPickerPickerMultiText
* @tc.desc ACE * @tc.desc ACE
......
...@@ -684,6 +684,7 @@ describe('pickerViewPropsJsTest', function () { ...@@ -684,6 +684,7 @@ describe('pickerViewPropsJsTest', function () {
console.info("[pickerViewProps] get show value is: " + JSON.stringify(obj.$attrs.show)); console.info("[pickerViewProps] get show value is: " + JSON.stringify(obj.$attrs.show));
done(); done();
}); });
/** /**
* @tc.number SUB_ACE_BASIC_COMPONENT_JS_API_0100 * @tc.number SUB_ACE_BASIC_COMPONENT_JS_API_0100
* @tc.name testPickerViewPickerViewText * @tc.name testPickerViewPickerViewText
...@@ -703,6 +704,7 @@ describe('pickerViewPropsJsTest', function () { ...@@ -703,6 +704,7 @@ describe('pickerViewPropsJsTest', function () {
console.info("[pickerViewProps] get type value is: " + JSON.stringify(obj.$attrs.type)); console.info("[pickerViewProps] get type value is: " + JSON.stringify(obj.$attrs.type));
done(); done();
}); });
/** /**
* @tc.number SUB_ACE_BASIC_COMPONENT_JS_API_0100 * @tc.number SUB_ACE_BASIC_COMPONENT_JS_API_0100
* @tc.name testPickerViewPickerViewTime * @tc.name testPickerViewPickerViewTime
...@@ -721,7 +723,9 @@ describe('pickerViewPropsJsTest', function () { ...@@ -721,7 +723,9 @@ describe('pickerViewPropsJsTest', function () {
expect(obj.$attrs.type).assertEqual('time') expect(obj.$attrs.type).assertEqual('time')
console.info("[pickerViewProps] get type value is: " + JSON.stringify(obj.$attrs.type)); console.info("[pickerViewProps] get type value is: " + JSON.stringify(obj.$attrs.type));
done(); done();
});/** });
/**
* @tc.number SUB_ACE_BASIC_COMPONENT_JS_API_0100 * @tc.number SUB_ACE_BASIC_COMPONENT_JS_API_0100
* @tc.name testPickerViewPickerViewDate * @tc.name testPickerViewPickerViewDate
* @tc.desc ACE * @tc.desc ACE
...@@ -739,7 +743,9 @@ describe('pickerViewPropsJsTest', function () { ...@@ -739,7 +743,9 @@ describe('pickerViewPropsJsTest', function () {
expect(obj.$attrs.type).assertEqual('date') expect(obj.$attrs.type).assertEqual('date')
console.info("[pickerViewProps] get type value is: " + JSON.stringify(obj.$attrs.type)); console.info("[pickerViewProps] get type value is: " + JSON.stringify(obj.$attrs.type));
done(); done();
});/** });
/**
* @tc.number SUB_ACE_BASIC_COMPONENT_JS_API_0100 * @tc.number SUB_ACE_BASIC_COMPONENT_JS_API_0100
* @tc.name testPickerViewPickerViewDatetime * @tc.name testPickerViewPickerViewDatetime
* @tc.desc ACE * @tc.desc ACE
...@@ -757,7 +763,9 @@ describe('pickerViewPropsJsTest', function () { ...@@ -757,7 +763,9 @@ describe('pickerViewPropsJsTest', function () {
expect(obj.$attrs.type).assertEqual('datetime') expect(obj.$attrs.type).assertEqual('datetime')
console.info("[pickerViewProps] get type value is: " + JSON.stringify(obj.$attrs.type)); console.info("[pickerViewProps] get type value is: " + JSON.stringify(obj.$attrs.type));
done(); done();
});/** });
/**
* @tc.number SUB_ACE_BASIC_COMPONENT_JS_API_0100 * @tc.number SUB_ACE_BASIC_COMPONENT_JS_API_0100
* @tc.name testPickerViewPickerViewMultiText * @tc.name testPickerViewPickerViewMultiText
* @tc.desc ACE * @tc.desc ACE
......
...@@ -684,6 +684,7 @@ describe('progressPropsJsTest', function () { ...@@ -684,6 +684,7 @@ describe('progressPropsJsTest', function () {
console.info("[progressProps] get show value is: " + JSON.stringify(obj.$attrs.show)); console.info("[progressProps] get show value is: " + JSON.stringify(obj.$attrs.show));
done(); done();
}); });
/** /**
* @tc.number SUB_ACE_BASIC_COMPONENT_JS_API_0100 * @tc.number SUB_ACE_BASIC_COMPONENT_JS_API_0100
* @tc.name testProgressTypeHorizontal * @tc.name testProgressTypeHorizontal
...@@ -703,6 +704,7 @@ describe('progressPropsJsTest', function () { ...@@ -703,6 +704,7 @@ describe('progressPropsJsTest', function () {
console.info("[progressProps] get type value is: " + JSON.stringify(obj.$attrs.type)); console.info("[progressProps] get type value is: " + JSON.stringify(obj.$attrs.type));
done(); done();
}); });
/** /**
* @tc.number SUB_ACE_BASIC_COMPONENT_JS_API_0100 * @tc.number SUB_ACE_BASIC_COMPONENT_JS_API_0100
* @tc.name testProgressTypeCircular * @tc.name testProgressTypeCircular
...@@ -722,6 +724,7 @@ describe('progressPropsJsTest', function () { ...@@ -722,6 +724,7 @@ describe('progressPropsJsTest', function () {
console.info("[progressProps] get type value is: " + JSON.stringify(obj.$attrs.type)); console.info("[progressProps] get type value is: " + JSON.stringify(obj.$attrs.type));
done(); done();
}); });
/** /**
* @tc.number SUB_ACE_BASIC_COMPONENT_JS_API_0100 * @tc.number SUB_ACE_BASIC_COMPONENT_JS_API_0100
* @tc.name testProgressTypeRing * @tc.name testProgressTypeRing
...@@ -741,6 +744,7 @@ describe('progressPropsJsTest', function () { ...@@ -741,6 +744,7 @@ describe('progressPropsJsTest', function () {
console.info("[progressProps] get type value is: " + JSON.stringify(obj.$attrs.type)); console.info("[progressProps] get type value is: " + JSON.stringify(obj.$attrs.type));
done(); done();
}); });
/** /**
* @tc.number SUB_ACE_BASIC_COMPONENT_JS_API_0100 * @tc.number SUB_ACE_BASIC_COMPONENT_JS_API_0100
* @tc.name testProgressTypeScaleRing * @tc.name testProgressTypeScaleRing
...@@ -760,6 +764,7 @@ describe('progressPropsJsTest', function () { ...@@ -760,6 +764,7 @@ describe('progressPropsJsTest', function () {
console.info("[progressProps] get type value is: " + JSON.stringify(obj.$attrs.type)); console.info("[progressProps] get type value is: " + JSON.stringify(obj.$attrs.type));
done(); done();
}); });
/** /**
* @tc.number SUB_ACE_BASIC_COMPONENT_JS_API_0100 * @tc.number SUB_ACE_BASIC_COMPONENT_JS_API_0100
* @tc.name testProgressTypeArc * @tc.name testProgressTypeArc
...@@ -779,6 +784,7 @@ describe('progressPropsJsTest', function () { ...@@ -779,6 +784,7 @@ describe('progressPropsJsTest', function () {
console.info("[progressProps] get type value is: " + JSON.stringify(obj.$attrs.type)); console.info("[progressProps] get type value is: " + JSON.stringify(obj.$attrs.type));
done(); done();
}); });
/** /**
* @tc.number SUB_ACE_BASIC_COMPONENT_JS_API_0100 * @tc.number SUB_ACE_BASIC_COMPONENT_JS_API_0100
* @tc.name testProgressTypeEclipse * @tc.name testProgressTypeEclipse
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册