From 9dfdd957bba99b7c09e17d7fd89bb3826b91a655 Mon Sep 17 00:00:00 2001 From: tianwenzhe Date: Tue, 3 Jan 2023 09:47:03 +0800 Subject: [PATCH] change Signed-off-by: tian-wenzhe411 --- .../src/main/ets/pages/ArkUI/ArkUI_index.ets | 23 ++++--------------- .../main/ets/pages/ArkUI/CanvasFillStyle.ets | 14 ----------- .../src/main/ets/pages/ArkUI/CanvasFont.ets | 14 ----------- .../ets/pages/ArkUI/CanvasGlobalAlpha.ets | 14 ----------- .../ArkUI/CanvasGlobalCompositeOperation.ets | 14 ----------- .../ArkUI/CanvasImageSmoothingEnabled.ets | 14 ----------- .../main/ets/pages/ArkUI/CanvasLineCap.ets | 14 ----------- .../ets/pages/ArkUI/CanvasLineDashOffset.ets | 14 ----------- .../main/ets/pages/ArkUI/CanvasLineJoin.ets | 14 ----------- .../main/ets/pages/ArkUI/CanvasLineWidth.ets | 14 ----------- .../main/ets/pages/ArkUI/CanvasMiterLimit.ets | 14 ----------- .../main/ets/pages/ArkUI/CanvasShadowBlur.ets | 14 ----------- .../ets/pages/ArkUI/CanvasShadowColor.ets | 14 ----------- .../ets/pages/ArkUI/CanvasShadowOffsetX.ets | 14 ----------- .../ets/pages/ArkUI/CanvasShadowOffsetY.ets | 14 ----------- .../ets/pages/ArkUI/CanvasStrokeStyle.ets | 14 ----------- .../main/ets/pages/ArkUI/CanvasTextAlign.ets | 14 ----------- .../ets/pages/ArkUI/CanvasTextBaseline.ets | 14 ----------- .../main/ets/pages/ArkUI/LongPressGesture.ets | 14 ----------- .../src/main/ets/pages/ArkUI/PanGesture.ets | 14 ----------- .../main/ets/pages/ArkUI/PinchGestureTest.ets | 14 ----------- .../ets/pages/ArkUI/RotationGestureTest.ets | 14 ----------- .../main/ets/pages/ArkUI/ScrollListTest.ets | 14 ----------- .../main/ets/pages/ArkUI/SwipeGestureTest.ets | 14 ----------- .../src/main/ets/pages/ArkUI/TapGesture.ets | 14 ----------- .../main/ets/pages/ArkUI/TouchMoveTest.ets | 22 +++++------------- .../pages/MediaLibrary/MediaLibrary_index.ets | 19 ++------------- .../startImagePreviewCallback1.ets | 14 ----------- .../startImagePreviewCallback2.ets | 14 ----------- .../startImagePreviewCallback3.ets | 14 ----------- .../startImagePreviewCallback4.ets | 14 ----------- .../startImagePreviewCallback5.ets | 14 ----------- .../startImagePreviewCallback6.ets | 14 ----------- .../startImagePreviewCallback7.ets | 14 ----------- .../startImagePreviewPromise1.ets | 14 ----------- .../startImagePreviewPromise2.ets | 14 ----------- .../startImagePreviewPromise3.ets | 14 ----------- .../startImagePreviewPromise4.ets | 14 ----------- .../startMediaSelectCallback1.ets | 14 ----------- .../startMediaSelectCallback2.ets | 14 ----------- .../startMediaSelectCallback3.ets | 14 ----------- .../startMediaSelectCallback4.ets | 14 ----------- .../MediaLibrary/startMediaSelectPromise1.ets | 14 ----------- .../MediaLibrary/startMediaSelectPromise2.ets | 14 ----------- .../MediaLibrary/startMediaSelectPromise3.ets | 14 ----------- .../MediaLibrary/startMediaSelectPromise4.ets | 14 ----------- .../MediaLibrary/storeMediaAssetCallback1.ets | 14 ----------- .../MediaLibrary/storeMediaAssetCallback2.ets | 14 ----------- .../MediaLibrary/storeMediaAssetCallback3.ets | 14 ----------- .../MediaLibrary/storeMediaAssetCallback4.ets | 14 ----------- .../MediaLibrary/storeMediaAssetPromise1.ets | 14 ----------- .../MediaLibrary/storeMediaAssetPromise2.ets | 14 ----------- .../MediaLibrary/storeMediaAssetPromise3.ets | 14 ----------- .../MediaLibrary/storeMediaAssetPromise4.ets | 14 ----------- .../MediaLibrary/storeMediaAssetPromise5.ets | 14 ----------- .../pages/common/CanvasCustomContainer1.ets | 22 ++++-------------- .../pages/common/CanvasCustomContainer2.ets | 18 ++------------- .../main/ets/pages/common/CustomContainer.ets | 18 ++------------- .../ets/pages/common/CustomContainer2.ets | 18 ++------------- .../ets/pages/common/CustomContainer3.ets | 18 ++------------- .../ets/pages/common/CustomContainer4.ets | 18 ++------------- .../ets/pages/common/CustomContainer5.ets | 18 ++------------- .../ets/pages/common/MediaCustomContainer.ets | 18 ++------------- .../src/main/ets/pages/index.ets | 14 ----------- .../src/main/ets/pages/model/FirstDialog.ets | 15 +----------- 65 files changed, 31 insertions(+), 938 deletions(-) diff --git a/validator/acts_validator/src/main/ets/pages/ArkUI/ArkUI_index.ets b/validator/acts_validator/src/main/ets/pages/ArkUI/ArkUI_index.ets index 02875b9c7..005269d91 100644 --- a/validator/acts_validator/src/main/ets/pages/ArkUI/ArkUI_index.ets +++ b/validator/acts_validator/src/main/ets/pages/ArkUI/ArkUI_index.ets @@ -1,17 +1,3 @@ -/* - * Copyright (c) 2022 Huawei Device 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 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ import prompt from '@ohos.prompt'; import router from '@ohos.router'; import fileio from '@ohos.fileio'; @@ -59,7 +45,7 @@ struct IndexPage { {title:'CanvasShadowOffsetX',uri:'pages/ArkUI/CanvasShadowOffsetX'}, {title:'CanvasShadowOffsetY',uri:'pages/ArkUI/CanvasShadowOffsetY'}, {title:'CanvasImageSmoothingEnabled',uri:'pages/ArkUI/CanvasImageSmoothingEnabled'}, - {title:'',uri:'',bgc:Color.Black}, +// {title:'',uri:'',bgc:Color.Black}, ] @State ColorObject : string[] = ['#ff808080','#ff808080','#ff808080','#ff808080','#ff808080','#ff808080', '#ff808080','#ff808080','#ff808080','#ff808080','#ff808080','#ff808080','#ff808080','#ff808080','#ff808080','#ff808080', @@ -72,11 +58,11 @@ struct IndexPage { let results = this.result; if (this.result === 'Pass'){ this.ColorObject[this.current] = '#ff008000'; - filewrite(name1,results,titles); + filewrite(name1,results,titles) } else if (this.result === 'Fail'){ this.ColorObject[this.current] = '#ffff0000'; - filewrite(name1,results,titles); + filewrite(name1,results,titles) } else if (this.result === 'None'){ this.ColorObject[this.current] = this.ColorObject[this.current] @@ -139,14 +125,13 @@ struct IndexPage { this.count = 1 this.ClearAll=false this.current = index - console.info('current:'+this.current+'当前背景色:'+this.TestCaseList[index].bgc+'Index:'+index) router.push({ url: item.uri, }) }) } },item => item.title) - }.width('100%') + }.width('100%').height('92%') }.width('100%').height('100%').backgroundColor(Color.Black) } ClearText(){ diff --git a/validator/acts_validator/src/main/ets/pages/ArkUI/CanvasFillStyle.ets b/validator/acts_validator/src/main/ets/pages/ArkUI/CanvasFillStyle.ets index b628b9ad3..ff37599cd 100644 --- a/validator/acts_validator/src/main/ets/pages/ArkUI/CanvasFillStyle.ets +++ b/validator/acts_validator/src/main/ets/pages/ArkUI/CanvasFillStyle.ets @@ -1,17 +1,3 @@ -/* - * Copyright (c) 2022 Huawei Device 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 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ import {CustomContainer} from '../common/CanvasCustomContainer1' import FirstDialog from '../model/FirstDialog' @Entry diff --git a/validator/acts_validator/src/main/ets/pages/ArkUI/CanvasFont.ets b/validator/acts_validator/src/main/ets/pages/ArkUI/CanvasFont.ets index 18a3b5d8f..433523724 100644 --- a/validator/acts_validator/src/main/ets/pages/ArkUI/CanvasFont.ets +++ b/validator/acts_validator/src/main/ets/pages/ArkUI/CanvasFont.ets @@ -1,17 +1,3 @@ -/* - * Copyright (c) 2022 Huawei Device 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 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ import {CustomContainer} from '../common/CanvasCustomContainer1' import FirstDialog from '../model/FirstDialog' @Entry diff --git a/validator/acts_validator/src/main/ets/pages/ArkUI/CanvasGlobalAlpha.ets b/validator/acts_validator/src/main/ets/pages/ArkUI/CanvasGlobalAlpha.ets index 682b53ac7..03f71b760 100644 --- a/validator/acts_validator/src/main/ets/pages/ArkUI/CanvasGlobalAlpha.ets +++ b/validator/acts_validator/src/main/ets/pages/ArkUI/CanvasGlobalAlpha.ets @@ -1,17 +1,3 @@ -/* - * Copyright (c) 2022 Huawei Device 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 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ import {CustomContainer} from '../common/CanvasCustomContainer2' import FirstDialog from '../model/FirstDialog' @Entry diff --git a/validator/acts_validator/src/main/ets/pages/ArkUI/CanvasGlobalCompositeOperation.ets b/validator/acts_validator/src/main/ets/pages/ArkUI/CanvasGlobalCompositeOperation.ets index e8bb2417f..0d4facd53 100644 --- a/validator/acts_validator/src/main/ets/pages/ArkUI/CanvasGlobalCompositeOperation.ets +++ b/validator/acts_validator/src/main/ets/pages/ArkUI/CanvasGlobalCompositeOperation.ets @@ -1,17 +1,3 @@ -/* - * Copyright (c) 2022 Huawei Device 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 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ import {CustomContainer} from '../common/CanvasCustomContainer1' import FirstDialog from '../model/FirstDialog' @Entry diff --git a/validator/acts_validator/src/main/ets/pages/ArkUI/CanvasImageSmoothingEnabled.ets b/validator/acts_validator/src/main/ets/pages/ArkUI/CanvasImageSmoothingEnabled.ets index 416873e8b..c46133ee9 100644 --- a/validator/acts_validator/src/main/ets/pages/ArkUI/CanvasImageSmoothingEnabled.ets +++ b/validator/acts_validator/src/main/ets/pages/ArkUI/CanvasImageSmoothingEnabled.ets @@ -1,17 +1,3 @@ -/* - * Copyright (c) 2022 Huawei Device 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 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ import {CustomContainer} from '../common/CanvasCustomContainer2' import FirstDialog from '../model/FirstDialog' @Entry diff --git a/validator/acts_validator/src/main/ets/pages/ArkUI/CanvasLineCap.ets b/validator/acts_validator/src/main/ets/pages/ArkUI/CanvasLineCap.ets index b609ca407..321373373 100644 --- a/validator/acts_validator/src/main/ets/pages/ArkUI/CanvasLineCap.ets +++ b/validator/acts_validator/src/main/ets/pages/ArkUI/CanvasLineCap.ets @@ -1,17 +1,3 @@ -/* - * Copyright (c) 2022 Huawei Device 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 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ import {CustomContainer} from '../common/CanvasCustomContainer1' import FirstDialog from '../model/FirstDialog' @Entry diff --git a/validator/acts_validator/src/main/ets/pages/ArkUI/CanvasLineDashOffset.ets b/validator/acts_validator/src/main/ets/pages/ArkUI/CanvasLineDashOffset.ets index 8332b047f..6b183f20a 100644 --- a/validator/acts_validator/src/main/ets/pages/ArkUI/CanvasLineDashOffset.ets +++ b/validator/acts_validator/src/main/ets/pages/ArkUI/CanvasLineDashOffset.ets @@ -1,17 +1,3 @@ -/* - * Copyright (c) 2022 Huawei Device 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 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ import {CustomContainer} from '../common/CanvasCustomContainer2' import FirstDialog from '../model/FirstDialog' @Entry diff --git a/validator/acts_validator/src/main/ets/pages/ArkUI/CanvasLineJoin.ets b/validator/acts_validator/src/main/ets/pages/ArkUI/CanvasLineJoin.ets index 4686530dc..ced8b2dc3 100644 --- a/validator/acts_validator/src/main/ets/pages/ArkUI/CanvasLineJoin.ets +++ b/validator/acts_validator/src/main/ets/pages/ArkUI/CanvasLineJoin.ets @@ -1,17 +1,3 @@ -/* - * Copyright (c) 2022 Huawei Device 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 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ import {CustomContainer} from '../common/CanvasCustomContainer1' import FirstDialog from '../model/FirstDialog' @Entry diff --git a/validator/acts_validator/src/main/ets/pages/ArkUI/CanvasLineWidth.ets b/validator/acts_validator/src/main/ets/pages/ArkUI/CanvasLineWidth.ets index 41e2da580..dd94624f1 100644 --- a/validator/acts_validator/src/main/ets/pages/ArkUI/CanvasLineWidth.ets +++ b/validator/acts_validator/src/main/ets/pages/ArkUI/CanvasLineWidth.ets @@ -1,17 +1,3 @@ -/* - * Copyright (c) 2022 Huawei Device 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 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ import {CustomContainer} from '../common/CanvasCustomContainer2' import FirstDialog from '../model/FirstDialog' @Entry diff --git a/validator/acts_validator/src/main/ets/pages/ArkUI/CanvasMiterLimit.ets b/validator/acts_validator/src/main/ets/pages/ArkUI/CanvasMiterLimit.ets index 75991a1db..71cd1aa89 100644 --- a/validator/acts_validator/src/main/ets/pages/ArkUI/CanvasMiterLimit.ets +++ b/validator/acts_validator/src/main/ets/pages/ArkUI/CanvasMiterLimit.ets @@ -1,17 +1,3 @@ -/* - * Copyright (c) 2022 Huawei Device 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 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ import {CustomContainer} from '../common/CanvasCustomContainer2' import FirstDialog from '../model/FirstDialog' @Entry diff --git a/validator/acts_validator/src/main/ets/pages/ArkUI/CanvasShadowBlur.ets b/validator/acts_validator/src/main/ets/pages/ArkUI/CanvasShadowBlur.ets index ca1afb7f2..5fec75c1e 100644 --- a/validator/acts_validator/src/main/ets/pages/ArkUI/CanvasShadowBlur.ets +++ b/validator/acts_validator/src/main/ets/pages/ArkUI/CanvasShadowBlur.ets @@ -1,17 +1,3 @@ -/* - * Copyright (c) 2022 Huawei Device 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 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ import {CustomContainer} from '../common/CanvasCustomContainer2' import FirstDialog from '../model/FirstDialog' @Entry diff --git a/validator/acts_validator/src/main/ets/pages/ArkUI/CanvasShadowColor.ets b/validator/acts_validator/src/main/ets/pages/ArkUI/CanvasShadowColor.ets index 7659f76d0..026a4c75b 100644 --- a/validator/acts_validator/src/main/ets/pages/ArkUI/CanvasShadowColor.ets +++ b/validator/acts_validator/src/main/ets/pages/ArkUI/CanvasShadowColor.ets @@ -1,17 +1,3 @@ -/* - * Copyright (c) 2022 Huawei Device 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 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ import {CustomContainer} from '../common/CanvasCustomContainer2' import FirstDialog from '../model/FirstDialog' @Entry diff --git a/validator/acts_validator/src/main/ets/pages/ArkUI/CanvasShadowOffsetX.ets b/validator/acts_validator/src/main/ets/pages/ArkUI/CanvasShadowOffsetX.ets index d8d505c5b..99cae5e1f 100644 --- a/validator/acts_validator/src/main/ets/pages/ArkUI/CanvasShadowOffsetX.ets +++ b/validator/acts_validator/src/main/ets/pages/ArkUI/CanvasShadowOffsetX.ets @@ -1,17 +1,3 @@ -/* - * Copyright (c) 2022 Huawei Device 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 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ import {CustomContainer} from '../common/CanvasCustomContainer2' import FirstDialog from '../model/FirstDialog' @Entry diff --git a/validator/acts_validator/src/main/ets/pages/ArkUI/CanvasShadowOffsetY.ets b/validator/acts_validator/src/main/ets/pages/ArkUI/CanvasShadowOffsetY.ets index 0c6b40084..10ce4bad8 100644 --- a/validator/acts_validator/src/main/ets/pages/ArkUI/CanvasShadowOffsetY.ets +++ b/validator/acts_validator/src/main/ets/pages/ArkUI/CanvasShadowOffsetY.ets @@ -1,17 +1,3 @@ -/* - * Copyright (c) 2022 Huawei Device 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 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ import {CustomContainer} from '../common/CanvasCustomContainer2' import FirstDialog from '../model/FirstDialog' @Entry diff --git a/validator/acts_validator/src/main/ets/pages/ArkUI/CanvasStrokeStyle.ets b/validator/acts_validator/src/main/ets/pages/ArkUI/CanvasStrokeStyle.ets index 558c8e662..c6940bdb1 100644 --- a/validator/acts_validator/src/main/ets/pages/ArkUI/CanvasStrokeStyle.ets +++ b/validator/acts_validator/src/main/ets/pages/ArkUI/CanvasStrokeStyle.ets @@ -1,17 +1,3 @@ -/* - * Copyright (c) 2022 Huawei Device 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 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ import {CustomContainer} from '../common/CanvasCustomContainer1' import FirstDialog from '../model/FirstDialog' @Entry diff --git a/validator/acts_validator/src/main/ets/pages/ArkUI/CanvasTextAlign.ets b/validator/acts_validator/src/main/ets/pages/ArkUI/CanvasTextAlign.ets index 6a1c3bb7a..0e8d58779 100644 --- a/validator/acts_validator/src/main/ets/pages/ArkUI/CanvasTextAlign.ets +++ b/validator/acts_validator/src/main/ets/pages/ArkUI/CanvasTextAlign.ets @@ -1,17 +1,3 @@ -/* - * Copyright (c) 2022 Huawei Device 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 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ import {CustomContainer} from '../common/CanvasCustomContainer1' import FirstDialog from '../model/FirstDialog' @Entry diff --git a/validator/acts_validator/src/main/ets/pages/ArkUI/CanvasTextBaseline.ets b/validator/acts_validator/src/main/ets/pages/ArkUI/CanvasTextBaseline.ets index 4cb947d91..4b0d3948d 100644 --- a/validator/acts_validator/src/main/ets/pages/ArkUI/CanvasTextBaseline.ets +++ b/validator/acts_validator/src/main/ets/pages/ArkUI/CanvasTextBaseline.ets @@ -1,17 +1,3 @@ -/* - * Copyright (c) 2022 Huawei Device 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 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ import {CustomContainer} from '../common/CanvasCustomContainer1' import FirstDialog from '../model/FirstDialog' @Entry diff --git a/validator/acts_validator/src/main/ets/pages/ArkUI/LongPressGesture.ets b/validator/acts_validator/src/main/ets/pages/ArkUI/LongPressGesture.ets index cde9eaddc..a40d82e81 100644 --- a/validator/acts_validator/src/main/ets/pages/ArkUI/LongPressGesture.ets +++ b/validator/acts_validator/src/main/ets/pages/ArkUI/LongPressGesture.ets @@ -1,17 +1,3 @@ -/* - * Copyright (c) 2022 Huawei Device 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 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ import {CustomContainer} from '../common/CustomContainer2'; import FirstDialog from '../model/FirstDialog'; @Entry diff --git a/validator/acts_validator/src/main/ets/pages/ArkUI/PanGesture.ets b/validator/acts_validator/src/main/ets/pages/ArkUI/PanGesture.ets index 9efeb0b37..1ec5e6751 100644 --- a/validator/acts_validator/src/main/ets/pages/ArkUI/PanGesture.ets +++ b/validator/acts_validator/src/main/ets/pages/ArkUI/PanGesture.ets @@ -1,17 +1,3 @@ -/* - * Copyright (c) 2022 Huawei Device 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 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ import {CustomContainer} from '../common/CustomContainer3'; import FirstDialog from '../model/FirstDialog'; @Entry diff --git a/validator/acts_validator/src/main/ets/pages/ArkUI/PinchGestureTest.ets b/validator/acts_validator/src/main/ets/pages/ArkUI/PinchGestureTest.ets index cfb4f0e58..398f2ba41 100644 --- a/validator/acts_validator/src/main/ets/pages/ArkUI/PinchGestureTest.ets +++ b/validator/acts_validator/src/main/ets/pages/ArkUI/PinchGestureTest.ets @@ -1,17 +1,3 @@ -/* - * Copyright (c) 2022 Huawei Device 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 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ import {CustomContainer} from '../common/CustomContainer2'; import FirstDialog from '../model/FirstDialog'; @Entry diff --git a/validator/acts_validator/src/main/ets/pages/ArkUI/RotationGestureTest.ets b/validator/acts_validator/src/main/ets/pages/ArkUI/RotationGestureTest.ets index c05cb7f07..98a126186 100644 --- a/validator/acts_validator/src/main/ets/pages/ArkUI/RotationGestureTest.ets +++ b/validator/acts_validator/src/main/ets/pages/ArkUI/RotationGestureTest.ets @@ -1,17 +1,3 @@ -/* - * Copyright (c) 2022 Huawei Device 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 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ import {CustomContainer} from '../common/CustomContainer2'; import FirstDialog from '../model/FirstDialog'; @Entry diff --git a/validator/acts_validator/src/main/ets/pages/ArkUI/ScrollListTest.ets b/validator/acts_validator/src/main/ets/pages/ArkUI/ScrollListTest.ets index 17499c401..95be7c5c5 100644 --- a/validator/acts_validator/src/main/ets/pages/ArkUI/ScrollListTest.ets +++ b/validator/acts_validator/src/main/ets/pages/ArkUI/ScrollListTest.ets @@ -1,17 +1,3 @@ -/* - * Copyright (c) 2022 Huawei Device 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 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ import {CustomContainer} from '../common/CustomContainer'; import FirstDialog from '../model/FirstDialog'; @Entry diff --git a/validator/acts_validator/src/main/ets/pages/ArkUI/SwipeGestureTest.ets b/validator/acts_validator/src/main/ets/pages/ArkUI/SwipeGestureTest.ets index 0745012a6..5b4b806b0 100644 --- a/validator/acts_validator/src/main/ets/pages/ArkUI/SwipeGestureTest.ets +++ b/validator/acts_validator/src/main/ets/pages/ArkUI/SwipeGestureTest.ets @@ -1,17 +1,3 @@ -/* - * Copyright (c) 2022 Huawei Device 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 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ import {CustomContainer} from '../common/CustomContainer3'; import FirstDialog from '../model/FirstDialog'; @Entry diff --git a/validator/acts_validator/src/main/ets/pages/ArkUI/TapGesture.ets b/validator/acts_validator/src/main/ets/pages/ArkUI/TapGesture.ets index d819f3df9..8306765c2 100644 --- a/validator/acts_validator/src/main/ets/pages/ArkUI/TapGesture.ets +++ b/validator/acts_validator/src/main/ets/pages/ArkUI/TapGesture.ets @@ -1,17 +1,3 @@ -/* - * Copyright (c) 2022 Huawei Device 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 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ import {CustomContainer} from '../common/CustomContainer4'; import FirstDialog from '../model/FirstDialog'; @Entry diff --git a/validator/acts_validator/src/main/ets/pages/ArkUI/TouchMoveTest.ets b/validator/acts_validator/src/main/ets/pages/ArkUI/TouchMoveTest.ets index 06d5f5adc..d345096a1 100644 --- a/validator/acts_validator/src/main/ets/pages/ArkUI/TouchMoveTest.ets +++ b/validator/acts_validator/src/main/ets/pages/ArkUI/TouchMoveTest.ets @@ -1,17 +1,3 @@ -/* - * Copyright (c) 2022 Huawei Device 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 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ import prompt from '@ohos.prompt'; import fileio from '@ohos.fileio'; import router from '@ohos.router'; @@ -36,7 +22,7 @@ struct CustomContainer1 { PassBtn(text: Resource, isFullScreen: boolean) { Button() { Image($r('app.media.ic_public_pass')).width('20vp').height('20vp') - }.width('30%').height('30vp').backgroundColor(Color.Grey) + }.width('30%').height('30vp').backgroundColor(Color.Grey) //Pass Button .onClick(()=>{ router.back({ url:this.Url, @@ -50,7 +36,7 @@ struct CustomContainer1 { FailBtn(text: Resource, isFullScreen: boolean) { Button(){ Image($r('app.media.ic_public_fail')).width('20vp').height('20vp') - }.width('30%').height('30vp').backgroundColor(Color.Grey) + }.width('30%').height('30vp').backgroundColor(Color.Grey) //Fail Button .onClick(()=>{ router.back({ url:this.Url, @@ -168,8 +154,12 @@ struct SetCircle { .width('20vp').height('20vp').position({ x: this.x, y: this.y }).visibility(this.isshow) .fill(Color.Red) }.onTouch((event: TouchEvent) => { + //console.info('11') + // x坐标 let x = event.touches[0].x + // y坐标 let y = event.touches[0].y + //console.info('this is ' + JSON.stringify(this)) if (event.type === TouchType.Down) { this.x = x this.y = y diff --git a/validator/acts_validator/src/main/ets/pages/MediaLibrary/MediaLibrary_index.ets b/validator/acts_validator/src/main/ets/pages/MediaLibrary/MediaLibrary_index.ets index 0f4d6efdf..9abfe4bd4 100644 --- a/validator/acts_validator/src/main/ets/pages/MediaLibrary/MediaLibrary_index.ets +++ b/validator/acts_validator/src/main/ets/pages/MediaLibrary/MediaLibrary_index.ets @@ -1,17 +1,3 @@ -/* - * Copyright (c) 2022 Huawei Device 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 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ import prompt from '@ohos.prompt'; import router from '@ohos.router'; import fileio from '@ohos.fileio'; @@ -72,14 +58,13 @@ struct IndexPage { let titles = router.getParams()['title']; let name1 = '刚刚点进了哪个用例:'+ titles; let results = this.result; - if (this.result === 'Pass'){ this.ColorObject[this.current] = '#ff008000'; - filewrite(name1,results,titles); + filewrite(name1,results,titles) } else if (this.result === 'Fail'){ this.ColorObject[this.current] = '#ffff0000'; - filewrite(name1,results,titles); + filewrite(name1,results,titles) } else if (this.result === 'None'){ this.ColorObject[this.current] = this.ColorObject[this.current] diff --git a/validator/acts_validator/src/main/ets/pages/MediaLibrary/startImagePreviewCallback1.ets b/validator/acts_validator/src/main/ets/pages/MediaLibrary/startImagePreviewCallback1.ets index 5fd2cca2e..a3f56cfb4 100644 --- a/validator/acts_validator/src/main/ets/pages/MediaLibrary/startImagePreviewCallback1.ets +++ b/validator/acts_validator/src/main/ets/pages/MediaLibrary/startImagePreviewCallback1.ets @@ -1,17 +1,3 @@ -/* - * Copyright (c) 2022 Huawei Device 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 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ import mediaLibrary from '@ohos.multimedia.mediaLibrary'; import {CustomContainer} from '../common/MediaCustomContainer'; import FirstDialog from '../model/FirstDialog'; diff --git a/validator/acts_validator/src/main/ets/pages/MediaLibrary/startImagePreviewCallback2.ets b/validator/acts_validator/src/main/ets/pages/MediaLibrary/startImagePreviewCallback2.ets index bd45eb0d8..8cf035fc3 100644 --- a/validator/acts_validator/src/main/ets/pages/MediaLibrary/startImagePreviewCallback2.ets +++ b/validator/acts_validator/src/main/ets/pages/MediaLibrary/startImagePreviewCallback2.ets @@ -1,17 +1,3 @@ -/* - * Copyright (c) 2022 Huawei Device 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 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ import mediaLibrary from '@ohos.multimedia.mediaLibrary'; import {CustomContainer} from '../common/MediaCustomContainer'; import FirstDialog from '../model/FirstDialog'; diff --git a/validator/acts_validator/src/main/ets/pages/MediaLibrary/startImagePreviewCallback3.ets b/validator/acts_validator/src/main/ets/pages/MediaLibrary/startImagePreviewCallback3.ets index 254d77fb6..13f56b74a 100644 --- a/validator/acts_validator/src/main/ets/pages/MediaLibrary/startImagePreviewCallback3.ets +++ b/validator/acts_validator/src/main/ets/pages/MediaLibrary/startImagePreviewCallback3.ets @@ -1,17 +1,3 @@ -/* - * Copyright (c) 2022 Huawei Device 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 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ import mediaLibrary from '@ohos.multimedia.mediaLibrary'; import {CustomContainer} from '../common/MediaCustomContainer'; import FirstDialog from '../model/FirstDialog'; diff --git a/validator/acts_validator/src/main/ets/pages/MediaLibrary/startImagePreviewCallback4.ets b/validator/acts_validator/src/main/ets/pages/MediaLibrary/startImagePreviewCallback4.ets index f87ea36cd..918123f8b 100644 --- a/validator/acts_validator/src/main/ets/pages/MediaLibrary/startImagePreviewCallback4.ets +++ b/validator/acts_validator/src/main/ets/pages/MediaLibrary/startImagePreviewCallback4.ets @@ -1,17 +1,3 @@ -/* - * Copyright (c) 2022 Huawei Device 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 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ import mediaLibrary from '@ohos.multimedia.mediaLibrary'; import {CustomContainer} from '../common/MediaCustomContainer'; import FirstDialog from '../model/FirstDialog'; diff --git a/validator/acts_validator/src/main/ets/pages/MediaLibrary/startImagePreviewCallback5.ets b/validator/acts_validator/src/main/ets/pages/MediaLibrary/startImagePreviewCallback5.ets index f30d86e1d..983247208 100644 --- a/validator/acts_validator/src/main/ets/pages/MediaLibrary/startImagePreviewCallback5.ets +++ b/validator/acts_validator/src/main/ets/pages/MediaLibrary/startImagePreviewCallback5.ets @@ -1,17 +1,3 @@ -/* - * Copyright (c) 2022 Huawei Device 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 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ import mediaLibrary from '@ohos.multimedia.mediaLibrary'; import {CustomContainer} from '../common/MediaCustomContainer'; import FirstDialog from '../model/FirstDialog'; diff --git a/validator/acts_validator/src/main/ets/pages/MediaLibrary/startImagePreviewCallback6.ets b/validator/acts_validator/src/main/ets/pages/MediaLibrary/startImagePreviewCallback6.ets index 4d5302439..6656dc44c 100644 --- a/validator/acts_validator/src/main/ets/pages/MediaLibrary/startImagePreviewCallback6.ets +++ b/validator/acts_validator/src/main/ets/pages/MediaLibrary/startImagePreviewCallback6.ets @@ -1,17 +1,3 @@ -/* - * Copyright (c) 2022 Huawei Device 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 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ import mediaLibrary from '@ohos.multimedia.mediaLibrary'; import {CustomContainer} from '../common/MediaCustomContainer'; import FirstDialog from '../model/FirstDialog'; diff --git a/validator/acts_validator/src/main/ets/pages/MediaLibrary/startImagePreviewCallback7.ets b/validator/acts_validator/src/main/ets/pages/MediaLibrary/startImagePreviewCallback7.ets index 8a5ab4f3e..9de781c18 100644 --- a/validator/acts_validator/src/main/ets/pages/MediaLibrary/startImagePreviewCallback7.ets +++ b/validator/acts_validator/src/main/ets/pages/MediaLibrary/startImagePreviewCallback7.ets @@ -1,17 +1,3 @@ -/* - * Copyright (c) 2022 Huawei Device 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 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ import mediaLibrary from '@ohos.multimedia.mediaLibrary'; import {CustomContainer} from '../common/MediaCustomContainer'; import FirstDialog from '../model/FirstDialog'; diff --git a/validator/acts_validator/src/main/ets/pages/MediaLibrary/startImagePreviewPromise1.ets b/validator/acts_validator/src/main/ets/pages/MediaLibrary/startImagePreviewPromise1.ets index 3c9a715ad..8f647561e 100644 --- a/validator/acts_validator/src/main/ets/pages/MediaLibrary/startImagePreviewPromise1.ets +++ b/validator/acts_validator/src/main/ets/pages/MediaLibrary/startImagePreviewPromise1.ets @@ -1,17 +1,3 @@ -/* - * Copyright (c) 2022 Huawei Device 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 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ import mediaLibrary from '@ohos.multimedia.mediaLibrary'; import {CustomContainer} from '../common/MediaCustomContainer'; import FirstDialog from '../model/FirstDialog'; diff --git a/validator/acts_validator/src/main/ets/pages/MediaLibrary/startImagePreviewPromise2.ets b/validator/acts_validator/src/main/ets/pages/MediaLibrary/startImagePreviewPromise2.ets index aad3c4c6b..a637e82da 100644 --- a/validator/acts_validator/src/main/ets/pages/MediaLibrary/startImagePreviewPromise2.ets +++ b/validator/acts_validator/src/main/ets/pages/MediaLibrary/startImagePreviewPromise2.ets @@ -1,17 +1,3 @@ -/* - * Copyright (c) 2022 Huawei Device 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 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ import mediaLibrary from '@ohos.multimedia.mediaLibrary'; import {CustomContainer} from '../common/MediaCustomContainer'; import FirstDialog from '../model/FirstDialog'; diff --git a/validator/acts_validator/src/main/ets/pages/MediaLibrary/startImagePreviewPromise3.ets b/validator/acts_validator/src/main/ets/pages/MediaLibrary/startImagePreviewPromise3.ets index 2e2de1f48..b12c6162b 100644 --- a/validator/acts_validator/src/main/ets/pages/MediaLibrary/startImagePreviewPromise3.ets +++ b/validator/acts_validator/src/main/ets/pages/MediaLibrary/startImagePreviewPromise3.ets @@ -1,17 +1,3 @@ -/* - * Copyright (c) 2022 Huawei Device 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 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ import mediaLibrary from '@ohos.multimedia.mediaLibrary'; import {CustomContainer} from '../common/MediaCustomContainer'; import FirstDialog from '../model/FirstDialog'; diff --git a/validator/acts_validator/src/main/ets/pages/MediaLibrary/startImagePreviewPromise4.ets b/validator/acts_validator/src/main/ets/pages/MediaLibrary/startImagePreviewPromise4.ets index 960e0ffa9..fab870c1f 100644 --- a/validator/acts_validator/src/main/ets/pages/MediaLibrary/startImagePreviewPromise4.ets +++ b/validator/acts_validator/src/main/ets/pages/MediaLibrary/startImagePreviewPromise4.ets @@ -1,17 +1,3 @@ -/* - * Copyright (c) 2022 Huawei Device 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 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ import mediaLibrary from '@ohos.multimedia.mediaLibrary'; import {CustomContainer} from '../common/MediaCustomContainer'; import FirstDialog from '../model/FirstDialog'; diff --git a/validator/acts_validator/src/main/ets/pages/MediaLibrary/startMediaSelectCallback1.ets b/validator/acts_validator/src/main/ets/pages/MediaLibrary/startMediaSelectCallback1.ets index 81b556919..df7849003 100644 --- a/validator/acts_validator/src/main/ets/pages/MediaLibrary/startMediaSelectCallback1.ets +++ b/validator/acts_validator/src/main/ets/pages/MediaLibrary/startMediaSelectCallback1.ets @@ -1,17 +1,3 @@ -/* - * Copyright (c) 2022 Huawei Device 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 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ import mediaLibrary from '@ohos.multimedia.mediaLibrary'; import {CustomContainer} from '../common/MediaCustomContainer'; import FirstDialog from '../model/FirstDialog'; diff --git a/validator/acts_validator/src/main/ets/pages/MediaLibrary/startMediaSelectCallback2.ets b/validator/acts_validator/src/main/ets/pages/MediaLibrary/startMediaSelectCallback2.ets index ec7582ccf..cfd49b95d 100644 --- a/validator/acts_validator/src/main/ets/pages/MediaLibrary/startMediaSelectCallback2.ets +++ b/validator/acts_validator/src/main/ets/pages/MediaLibrary/startMediaSelectCallback2.ets @@ -1,17 +1,3 @@ -/* - * Copyright (c) 2022 Huawei Device 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 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ import mediaLibrary from '@ohos.multimedia.mediaLibrary'; import {CustomContainer} from '../common/MediaCustomContainer'; import FirstDialog from '../model/FirstDialog'; diff --git a/validator/acts_validator/src/main/ets/pages/MediaLibrary/startMediaSelectCallback3.ets b/validator/acts_validator/src/main/ets/pages/MediaLibrary/startMediaSelectCallback3.ets index e67220024..0e72a896e 100644 --- a/validator/acts_validator/src/main/ets/pages/MediaLibrary/startMediaSelectCallback3.ets +++ b/validator/acts_validator/src/main/ets/pages/MediaLibrary/startMediaSelectCallback3.ets @@ -1,17 +1,3 @@ -/* - * Copyright (c) 2022 Huawei Device 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 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ import mediaLibrary from '@ohos.multimedia.mediaLibrary'; import {CustomContainer} from '../common/MediaCustomContainer'; import FirstDialog from '../model/FirstDialog'; diff --git a/validator/acts_validator/src/main/ets/pages/MediaLibrary/startMediaSelectCallback4.ets b/validator/acts_validator/src/main/ets/pages/MediaLibrary/startMediaSelectCallback4.ets index c470af1ae..d2a1a0066 100644 --- a/validator/acts_validator/src/main/ets/pages/MediaLibrary/startMediaSelectCallback4.ets +++ b/validator/acts_validator/src/main/ets/pages/MediaLibrary/startMediaSelectCallback4.ets @@ -1,17 +1,3 @@ -/* - * Copyright (c) 2022 Huawei Device 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 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ import mediaLibrary from '@ohos.multimedia.mediaLibrary'; import {CustomContainer} from '../common/MediaCustomContainer'; import FirstDialog from '../model/FirstDialog'; diff --git a/validator/acts_validator/src/main/ets/pages/MediaLibrary/startMediaSelectPromise1.ets b/validator/acts_validator/src/main/ets/pages/MediaLibrary/startMediaSelectPromise1.ets index 3f3cad21f..d3c2f5c64 100644 --- a/validator/acts_validator/src/main/ets/pages/MediaLibrary/startMediaSelectPromise1.ets +++ b/validator/acts_validator/src/main/ets/pages/MediaLibrary/startMediaSelectPromise1.ets @@ -1,17 +1,3 @@ -/* - * Copyright (c) 2022 Huawei Device 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 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ import mediaLibrary from '@ohos.multimedia.mediaLibrary'; import {CustomContainer} from '../common/MediaCustomContainer'; import FirstDialog from '../model/FirstDialog'; diff --git a/validator/acts_validator/src/main/ets/pages/MediaLibrary/startMediaSelectPromise2.ets b/validator/acts_validator/src/main/ets/pages/MediaLibrary/startMediaSelectPromise2.ets index 840c862bf..4d8028b55 100644 --- a/validator/acts_validator/src/main/ets/pages/MediaLibrary/startMediaSelectPromise2.ets +++ b/validator/acts_validator/src/main/ets/pages/MediaLibrary/startMediaSelectPromise2.ets @@ -1,17 +1,3 @@ -/* - * Copyright (c) 2022 Huawei Device 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 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ import mediaLibrary from '@ohos.multimedia.mediaLibrary'; import {CustomContainer} from '../common/MediaCustomContainer'; import FirstDialog from '../model/FirstDialog'; diff --git a/validator/acts_validator/src/main/ets/pages/MediaLibrary/startMediaSelectPromise3.ets b/validator/acts_validator/src/main/ets/pages/MediaLibrary/startMediaSelectPromise3.ets index 0c6652a56..b33a37b0b 100644 --- a/validator/acts_validator/src/main/ets/pages/MediaLibrary/startMediaSelectPromise3.ets +++ b/validator/acts_validator/src/main/ets/pages/MediaLibrary/startMediaSelectPromise3.ets @@ -1,17 +1,3 @@ -/* - * Copyright (c) 2022 Huawei Device 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 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ import mediaLibrary from '@ohos.multimedia.mediaLibrary'; import {CustomContainer} from '../common/MediaCustomContainer'; import FirstDialog from '../model/FirstDialog'; diff --git a/validator/acts_validator/src/main/ets/pages/MediaLibrary/startMediaSelectPromise4.ets b/validator/acts_validator/src/main/ets/pages/MediaLibrary/startMediaSelectPromise4.ets index 331347491..0ee116ee9 100644 --- a/validator/acts_validator/src/main/ets/pages/MediaLibrary/startMediaSelectPromise4.ets +++ b/validator/acts_validator/src/main/ets/pages/MediaLibrary/startMediaSelectPromise4.ets @@ -1,17 +1,3 @@ -/* - * Copyright (c) 2022 Huawei Device 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 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ import mediaLibrary from '@ohos.multimedia.mediaLibrary'; import {CustomContainer} from '../common/MediaCustomContainer'; import FirstDialog from '../model/FirstDialog'; diff --git a/validator/acts_validator/src/main/ets/pages/MediaLibrary/storeMediaAssetCallback1.ets b/validator/acts_validator/src/main/ets/pages/MediaLibrary/storeMediaAssetCallback1.ets index 3503af7b3..cbcb0aa28 100644 --- a/validator/acts_validator/src/main/ets/pages/MediaLibrary/storeMediaAssetCallback1.ets +++ b/validator/acts_validator/src/main/ets/pages/MediaLibrary/storeMediaAssetCallback1.ets @@ -1,17 +1,3 @@ -/* - * Copyright (c) 2022 Huawei Device 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 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ import fileio from '@ohos.fileio'; import featureAbility from '@ohos.ability.featureAbility'; import mediaLibrary from '@ohos.multimedia.mediaLibrary'; diff --git a/validator/acts_validator/src/main/ets/pages/MediaLibrary/storeMediaAssetCallback2.ets b/validator/acts_validator/src/main/ets/pages/MediaLibrary/storeMediaAssetCallback2.ets index 4a92bb0e8..5f051159f 100644 --- a/validator/acts_validator/src/main/ets/pages/MediaLibrary/storeMediaAssetCallback2.ets +++ b/validator/acts_validator/src/main/ets/pages/MediaLibrary/storeMediaAssetCallback2.ets @@ -1,17 +1,3 @@ -/* - * Copyright (c) 2022 Huawei Device 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 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ import fileio from '@ohos.fileio'; import featureAbility from '@ohos.ability.featureAbility'; import mediaLibrary from '@ohos.multimedia.mediaLibrary'; diff --git a/validator/acts_validator/src/main/ets/pages/MediaLibrary/storeMediaAssetCallback3.ets b/validator/acts_validator/src/main/ets/pages/MediaLibrary/storeMediaAssetCallback3.ets index 3ff3a886a..ab4b6702e 100644 --- a/validator/acts_validator/src/main/ets/pages/MediaLibrary/storeMediaAssetCallback3.ets +++ b/validator/acts_validator/src/main/ets/pages/MediaLibrary/storeMediaAssetCallback3.ets @@ -1,17 +1,3 @@ -/* - * Copyright (c) 2022 Huawei Device 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 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ import fileio from '@ohos.fileio'; import featureAbility from '@ohos.ability.featureAbility'; import mediaLibrary from '@ohos.multimedia.mediaLibrary'; diff --git a/validator/acts_validator/src/main/ets/pages/MediaLibrary/storeMediaAssetCallback4.ets b/validator/acts_validator/src/main/ets/pages/MediaLibrary/storeMediaAssetCallback4.ets index 5f50b5a6f..f29ff8554 100644 --- a/validator/acts_validator/src/main/ets/pages/MediaLibrary/storeMediaAssetCallback4.ets +++ b/validator/acts_validator/src/main/ets/pages/MediaLibrary/storeMediaAssetCallback4.ets @@ -1,17 +1,3 @@ -/* - * Copyright (c) 2022 Huawei Device 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 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ import fileio from '@ohos.fileio'; import featureAbility from '@ohos.ability.featureAbility'; import mediaLibrary from '@ohos.multimedia.mediaLibrary'; diff --git a/validator/acts_validator/src/main/ets/pages/MediaLibrary/storeMediaAssetPromise1.ets b/validator/acts_validator/src/main/ets/pages/MediaLibrary/storeMediaAssetPromise1.ets index 1e6790859..940664fab 100644 --- a/validator/acts_validator/src/main/ets/pages/MediaLibrary/storeMediaAssetPromise1.ets +++ b/validator/acts_validator/src/main/ets/pages/MediaLibrary/storeMediaAssetPromise1.ets @@ -1,17 +1,3 @@ -/* - * Copyright (c) 2022 Huawei Device 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 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ import mediaLibrary from '@ohos.multimedia.mediaLibrary'; import fileio from '@ohos.fileio'; import featureAbility from '@ohos.ability.featureAbility'; diff --git a/validator/acts_validator/src/main/ets/pages/MediaLibrary/storeMediaAssetPromise2.ets b/validator/acts_validator/src/main/ets/pages/MediaLibrary/storeMediaAssetPromise2.ets index 35821baca..2559efee1 100644 --- a/validator/acts_validator/src/main/ets/pages/MediaLibrary/storeMediaAssetPromise2.ets +++ b/validator/acts_validator/src/main/ets/pages/MediaLibrary/storeMediaAssetPromise2.ets @@ -1,17 +1,3 @@ -/* - * Copyright (c) 2022 Huawei Device 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 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ import mediaLibrary from '@ohos.multimedia.mediaLibrary'; import fileio from '@ohos.fileio'; import featureAbility from '@ohos.ability.featureAbility'; diff --git a/validator/acts_validator/src/main/ets/pages/MediaLibrary/storeMediaAssetPromise3.ets b/validator/acts_validator/src/main/ets/pages/MediaLibrary/storeMediaAssetPromise3.ets index b9286ae0c..ef23b11d3 100644 --- a/validator/acts_validator/src/main/ets/pages/MediaLibrary/storeMediaAssetPromise3.ets +++ b/validator/acts_validator/src/main/ets/pages/MediaLibrary/storeMediaAssetPromise3.ets @@ -1,17 +1,3 @@ -/* - * Copyright (c) 2022 Huawei Device 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 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ import mediaLibrary from '@ohos.multimedia.mediaLibrary'; import fileio from '@ohos.fileio'; import featureAbility from '@ohos.ability.featureAbility'; diff --git a/validator/acts_validator/src/main/ets/pages/MediaLibrary/storeMediaAssetPromise4.ets b/validator/acts_validator/src/main/ets/pages/MediaLibrary/storeMediaAssetPromise4.ets index f76e32e8b..5a28628b6 100644 --- a/validator/acts_validator/src/main/ets/pages/MediaLibrary/storeMediaAssetPromise4.ets +++ b/validator/acts_validator/src/main/ets/pages/MediaLibrary/storeMediaAssetPromise4.ets @@ -1,17 +1,3 @@ -/* - * Copyright (c) 2022 Huawei Device 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 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ import mediaLibrary from '@ohos.multimedia.mediaLibrary'; import fileio from '@ohos.fileio'; import featureAbility from '@ohos.ability.featureAbility'; diff --git a/validator/acts_validator/src/main/ets/pages/MediaLibrary/storeMediaAssetPromise5.ets b/validator/acts_validator/src/main/ets/pages/MediaLibrary/storeMediaAssetPromise5.ets index fb2537170..192175644 100644 --- a/validator/acts_validator/src/main/ets/pages/MediaLibrary/storeMediaAssetPromise5.ets +++ b/validator/acts_validator/src/main/ets/pages/MediaLibrary/storeMediaAssetPromise5.ets @@ -1,17 +1,3 @@ -/* - * Copyright (c) 2022 Huawei Device 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 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ import mediaLibrary from '@ohos.multimedia.mediaLibrary'; import fileio from '@ohos.fileio'; import featureAbility from '@ohos.ability.featureAbility'; diff --git a/validator/acts_validator/src/main/ets/pages/common/CanvasCustomContainer1.ets b/validator/acts_validator/src/main/ets/pages/common/CanvasCustomContainer1.ets index 67d00fc08..c4ce70458 100644 --- a/validator/acts_validator/src/main/ets/pages/common/CanvasCustomContainer1.ets +++ b/validator/acts_validator/src/main/ets/pages/common/CanvasCustomContainer1.ets @@ -1,24 +1,10 @@ -/* - * Copyright (c) 2022 Huawei Device 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 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ import fileio from '@ohos.fileio'; import prompt from '@ohos.prompt'; import router from '@ohos.router'; import screenshot from '@ohos.screenshot'; import image from '@ohos.multimedia.image'; -import Logger from '../model/Logger' -import mediaLibrary from '@ohos.multimedia.mediaLibrary' +import Logger from '../model/Logger'; +import mediaLibrary from '@ohos.multimedia.mediaLibrary'; let path = globalThis.dir const TAG = '[Screenshot]' @@ -69,7 +55,7 @@ export struct CustomContainer { .onClick(()=>{ router.back({ url:this.Url, - params: {result : 'None',title:this.name, } + params: {result : 'None', } }) }) Text(this.title).fontColor(Color.White).fontSize('18fp').margin({left:'-20vp'}) @@ -122,7 +108,7 @@ export struct CustomContainer { await fileio.close(fd) Logger.info(TAG, `write done`) prompt.showToast({ - message: '图片保存成功', duration: 1000 + message: '结果保存成功', duration: 1000 }) } getScreen = (isFullScreen: boolean) => { diff --git a/validator/acts_validator/src/main/ets/pages/common/CanvasCustomContainer2.ets b/validator/acts_validator/src/main/ets/pages/common/CanvasCustomContainer2.ets index c74c77121..fd31a9183 100644 --- a/validator/acts_validator/src/main/ets/pages/common/CanvasCustomContainer2.ets +++ b/validator/acts_validator/src/main/ets/pages/common/CanvasCustomContainer2.ets @@ -1,17 +1,3 @@ -/* - * Copyright (c) 2022 Huawei Device 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 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ import fileio from '@ohos.fileio'; import prompt from '@ohos.prompt'; import router from '@ohos.router'; @@ -71,7 +57,7 @@ export struct CustomContainer { .onClick(()=>{ router.back({ url:this.Url, - params: {result : 'None',title: this.name, } + params: {result : 'None',} }) }) Text(this.title).fontColor(Color.White).fontSize('18fp').margin({left:'-20vp'}) @@ -124,7 +110,7 @@ export struct CustomContainer { await fileio.close(fd) Logger.info(TAG, `write done`) prompt.showToast({ - message: '图片保存成功', duration: 1000 + message: '结果保存成功', duration: 1000 }) } getScreen = (isFullScreen: boolean) => { diff --git a/validator/acts_validator/src/main/ets/pages/common/CustomContainer.ets b/validator/acts_validator/src/main/ets/pages/common/CustomContainer.ets index 1327c77e0..b6eeec2dc 100644 --- a/validator/acts_validator/src/main/ets/pages/common/CustomContainer.ets +++ b/validator/acts_validator/src/main/ets/pages/common/CustomContainer.ets @@ -1,17 +1,3 @@ -/* - * Copyright (c) 2022 Huawei Device 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 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ import prompt from '@ohos.prompt'; import fileio from '@ohos.fileio'; import router from '@ohos.router'; @@ -67,7 +53,7 @@ export struct CustomContainer { .onClick(()=>{ router.back({ url:this.Url, - params: {result : 'None',title : this.name, } + params: {result : 'None',} }) }) Text(this.title).fontColor(Color.White).fontSize('18fp').margin({left:'-20vp'}) @@ -118,7 +104,7 @@ export struct CustomContainer { await fileio.close(fd) Logger.info(TAG, `write done`) prompt.showToast({ - message: '图片保存成功', duration: 1000 + message: '结果保存成功', duration: 1000 }) } getScreen = (isFullScreen: boolean) => { diff --git a/validator/acts_validator/src/main/ets/pages/common/CustomContainer2.ets b/validator/acts_validator/src/main/ets/pages/common/CustomContainer2.ets index e33bcdbda..c836f3088 100644 --- a/validator/acts_validator/src/main/ets/pages/common/CustomContainer2.ets +++ b/validator/acts_validator/src/main/ets/pages/common/CustomContainer2.ets @@ -1,17 +1,3 @@ -/* - * Copyright (c) 2022 Huawei Device 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 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ import fileio from '@ohos.fileio'; import prompt from '@ohos.prompt'; import router from '@ohos.router'; @@ -67,7 +53,7 @@ export struct CustomContainer { .onClick(()=>{ router.back({ url:this.Url, - params: {result : 'None',title : this.name, } + params: {result : 'None', } }) }) Text(this.title).fontColor(Color.White).fontSize('18fp').margin({left:'-20vp'}) @@ -120,7 +106,7 @@ export struct CustomContainer { await fileio.close(fd) Logger.info(TAG, `write done`) prompt.showToast({ - message: '图片保存成功', duration: 1000 + message: '结果保存成功', duration: 1000 }) } getScreen = (isFullScreen: boolean) => { diff --git a/validator/acts_validator/src/main/ets/pages/common/CustomContainer3.ets b/validator/acts_validator/src/main/ets/pages/common/CustomContainer3.ets index 1e9d86ed6..4ae30c9ad 100644 --- a/validator/acts_validator/src/main/ets/pages/common/CustomContainer3.ets +++ b/validator/acts_validator/src/main/ets/pages/common/CustomContainer3.ets @@ -1,17 +1,3 @@ -/* - * Copyright (c) 2022 Huawei Device 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 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ import fileio from '@ohos.fileio'; import prompt from '@ohos.prompt'; import router from '@ohos.router'; @@ -68,7 +54,7 @@ export struct CustomContainer { .onClick(()=>{ router.back({ url:this.Url, - params: {result : 'None',title : this.name, } + params: {result : 'None', } }) }) Text(this.title).fontColor(Color.White).fontSize('18fp').margin({left:'-20vp'}) @@ -121,7 +107,7 @@ export struct CustomContainer { await fileio.close(fd) Logger.info(TAG, `write done`) prompt.showToast({ - message: '图片保存成功', duration: 1000 + message: '结果保存成功', duration: 1000 }) } getScreen = (isFullScreen: boolean) => { diff --git a/validator/acts_validator/src/main/ets/pages/common/CustomContainer4.ets b/validator/acts_validator/src/main/ets/pages/common/CustomContainer4.ets index efef633db..fb90ecb5f 100644 --- a/validator/acts_validator/src/main/ets/pages/common/CustomContainer4.ets +++ b/validator/acts_validator/src/main/ets/pages/common/CustomContainer4.ets @@ -1,17 +1,3 @@ -/* - * Copyright (c) 2022 Huawei Device 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 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ import fileio from '@ohos.fileio'; import prompt from '@ohos.prompt'; import router from '@ohos.router'; @@ -67,7 +53,7 @@ export struct CustomContainer { .onClick(()=>{ router.back({ url:this.Url, - params: {result : 'None',title : this.name, } + params: {result : 'None', } }) }) Text(this.title).fontColor(Color.White).fontSize('18fp').margin({left:'-20vp'}) @@ -118,7 +104,7 @@ export struct CustomContainer { await fileio.close(fd) Logger.info(TAG, `write done`) prompt.showToast({ - message: '图片保存成功', duration: 1000 + message: '结果保存成功', duration: 1000 }) } getScreen = (isFullScreen: boolean) => { diff --git a/validator/acts_validator/src/main/ets/pages/common/CustomContainer5.ets b/validator/acts_validator/src/main/ets/pages/common/CustomContainer5.ets index 1652a2c77..96eca9ef9 100644 --- a/validator/acts_validator/src/main/ets/pages/common/CustomContainer5.ets +++ b/validator/acts_validator/src/main/ets/pages/common/CustomContainer5.ets @@ -1,17 +1,3 @@ -/* - * Copyright (c) 2022 Huawei Device 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 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ import fileio from '@ohos.fileio'; import prompt from '@ohos.prompt'; import router from '@ohos.router'; @@ -69,7 +55,7 @@ export struct CustomContainer { .onClick(()=>{ router.back({ url:this.Url, - params: {result : 'None',title : this.name, } + params: {result : 'None',} }) }) Text(this.title).fontColor(Color.White).fontSize('18fp').margin({left:'-20vp'}) @@ -122,7 +108,7 @@ export struct CustomContainer { await fileio.close(fd) Logger.info(TAG, `write done`) prompt.showToast({ - message: '图片保存成功', duration: 1000 + message: '结果保存成功', duration: 1000 }) } getScreen = (isFullScreen: boolean) => { diff --git a/validator/acts_validator/src/main/ets/pages/common/MediaCustomContainer.ets b/validator/acts_validator/src/main/ets/pages/common/MediaCustomContainer.ets index b34fd92be..836cbf598 100644 --- a/validator/acts_validator/src/main/ets/pages/common/MediaCustomContainer.ets +++ b/validator/acts_validator/src/main/ets/pages/common/MediaCustomContainer.ets @@ -1,17 +1,3 @@ -/* - * Copyright (c) 2022 Huawei Device 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 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ import fileio from '@ohos.fileio'; import prompt from '@ohos.prompt'; import router from '@ohos.router'; @@ -67,7 +53,7 @@ export struct CustomContainer { .onClick(()=>{ router.back({ url:this.Url, - params: {result : 'None',title : this.name, } + params: {result : 'None',} }) }) Text(this.title).fontColor(Color.White).fontSize('18fp').margin({left:'-20vp'}) @@ -120,7 +106,7 @@ export struct CustomContainer { await fileio.close(fd) Logger.info(TAG, `write done`) prompt.showToast({ - message: '图片保存成功', duration: 1000 + message: '结果保存成功', duration: 1000 }) } getScreen = (isFullScreen: boolean) => { diff --git a/validator/acts_validator/src/main/ets/pages/index.ets b/validator/acts_validator/src/main/ets/pages/index.ets index c468558ed..3b07ec991 100644 --- a/validator/acts_validator/src/main/ets/pages/index.ets +++ b/validator/acts_validator/src/main/ets/pages/index.ets @@ -1,17 +1,3 @@ -/* - * Copyright (c) 2022 Huawei Device 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 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ import prompt from '@ohos.prompt'; import router from '@ohos.router'; import fileio from '@ohos.fileio'; diff --git a/validator/acts_validator/src/main/ets/pages/model/FirstDialog.ets b/validator/acts_validator/src/main/ets/pages/model/FirstDialog.ets index 699e37a45..0e4e0e97b 100644 --- a/validator/acts_validator/src/main/ets/pages/model/FirstDialog.ets +++ b/validator/acts_validator/src/main/ets/pages/model/FirstDialog.ets @@ -1,19 +1,6 @@ -/* - * Copyright (c) 2022 Huawei Device 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 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ import data_preferences from '@ohos.data.preferences'; + export default class FirstDialog{ static ChooseDialog = async (StepTips:string,name: string)=>{ let Test = null; -- GitLab