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 02875b9c72c130dd87fcb3cfb00c30520834d3c9..005269d9108cd0a6cd2ef15dfc0a89ccc4bd6dc9 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 b628b9ad39f0b6bd4e2cff0f6fb35630747fac25..ff37599cd43fdf4d0cecf6899eb78f8a3f30408d 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 18a3b5d8fc46c02c808e8ad4497c8d62be140042..4335237246e4d0bb0cc303a75c1fff6c47d19152 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 682b53ac70bbd7fe5396874d1bb22f350ebf0237..03f71b760603b805cab0d4f636a49face77e05a6 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 e8bb2417ff05a214b2f64f31835a79e7414abb75..0d4facd5386dd49aea448b064957556512902f9e 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 416873e8b633110753a52926ce15839f3f4601e8..c46133ee9cafda45df9836c672ea331b0dfcf301 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 b609ca407d432e062067058035e12753f7879347..3213733730b3d657c0fb9358ae38cb5b16dc70be 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 8332b047f365a7c3b791d57a05555c7832dd07df..6b183f20a34f44eb7bacc252415322473fe0d092 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 4686530dc341ca634f1cb12e811e1cafb0cd54c3..ced8b2dc301067f0c21c7437cee77cdb2c7bf9b2 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 41e2da58014a76bc64f60bf8e445dc7bdac3f859..dd94624f1c191b479e4cb84a7cd4e491362b3cf0 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 75991a1dbdad665b6ac7798a5389c311f38e0a28..71cd1aa8938706f6f7930b5071f3a72a5a1da3ad 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 ca1afb7f24a3338c04791ca061fea55a9d6078c7..5fec75c1e6282d82eb3c1d715da67650cb5024e0 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 7659f76d047634c2f95cf834b0c2a889682569a7..026a4c75b5fd6e26cc9689714ad701cd541beff9 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 d8d505c5b6e4da1a96ebf3c7ce35a5e46dec55f5..99cae5e1f34e31cbfd62fcc1e30c29473aa8a639 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 0c6b400842a6446cd90f28c268affe8fe4edddb5..10ce4bad83c7e692bdd8a9b0f8a5f980db38df79 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 558c8e6622804bf7f340d33f258b93be7bd54e68..c6940bdb17a09633288b9119eb6483418f57d3af 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 6a1c3bb7aaf824a12149093fccb64a1bb20d04a4..0e8d5877987d1bfbdf6cb847e3a614f9c97935cf 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 4cb947d91396b5ade09c257f6c0065f09a22f7b4..4b0d3948df83a67f932a0c29dfab9b8944f7b9f4 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 cde9eaddca9bd870a492b5dc7290c5f2b2bf5913..a40d82e81788686da4b31f9b9b79f177cf7bcc4d 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 9efeb0b37ca05c52b78988b3a18053e5a282e994..1ec5e6751c52a2638d9a925067252e018eda6795 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 cfb4f0e580ed13d6235a5b92a597e0f62d72ac0b..398f2ba4185a6e68300c2a49ebe315473effb13d 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 c05cb7f0725469e960ee4b41ccb9116373e78cb9..98a126186358e0b5abef79a6bc8401bd721e751b 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 17499c401c249593495934e1de9e02aae370212f..95be7c5c5440a5169b87da11e1b4d14761c77b03 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 0745012a67fa45e76ff8c4ce176c3a59d0c1d8ad..5b4b806b081a36fb50eae8214eb828f6607e3698 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 d819f3df979d29d6f929f2b9a90ea341abf93aa7..8306765c2cf44aba105605d86428003e9550ad6e 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 06d5f5adc87fe463963290b86977b058021dc4a7..d345096a13cae8fa324b1c1bb678e663dc31d29a 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 0f4d6efdf3956c0bcd8e2801a8930ea4af9c5f24..9abfe4bd4360a48d807b4f34c60f944dd12de6f0 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 5fd2cca2ec5260b08a04ef52e4e271bf0a3d759a..a3f56cfb40f0773cdd468c032887256cc823ca9c 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 bd45eb0d877036597f29d3c2f382a87db238afc4..8cf035fc3a44b733bf1e3954a3d9f84468e8a298 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 254d77fb6e095397325c70a0122f4db6ecd14860..13f56b74a649d8b689bddcce977a19e93c219297 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 f87ea36cd6303d8a5fd5201405bc8b1572bc31ff..918123f8b0374c9bd3035d6aa5be9a2a33d9d4ff 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 f30d86e1de92cf10f8941cbb43ae18b2faa29b27..9832472084b456b2798057256a2187ac94a455e7 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 4d5302439fe24d730fa8155212a5e6a629a1c1b9..6656dc44c72a64593d0f6bd1264d45c70d3c9dac 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 8a5ab4f3ec1ea21a8808b2157951a2c5c4b331ca..9de781c184b170995754ce9e1e49d773cc2d2f5f 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 3c9a715ad96000b252c01eb74e8eda38f5be2964..8f647561e8955f299dbbef4dba028c19b3f512cd 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 aad3c4c6bb48ee8f641165b1fd9882c3f73d9b5a..a637e82daeca51366fb35fc9c6d1a95b6e547369 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 2e2de1f4883081e0e078c1bab2a45eb3395b1167..b12c6162b8cbdeee7c495e55a23eeed21d3fea4d 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 960e0ffa9bbd7184b508b3e316d95fdfc8c059b4..fab870c1f42c5d1c3df8e99dae6897aad198331b 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 81b556919d651f7b89e1543c998bed4069955216..df78490035840baa296783d6b92c173ffb0bbdde 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 ec7582ccfc8e59c32c5d4d430bc9eb3e5fc4978d..cfd49b95d40d14cd852124cfd64223cf5a2e0b35 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 e672200248b19c76686d75444070ff66609b1637..0e72a896e9a0e909b5d2abb619a73dab0247b992 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 c470af1ae73f4c8fa0745d91c6e9c03458b55c90..d2a1a00667255a0faab69b96e374107e1cf99b3b 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 3f3cad21f1c5e3353b4bc65d35c4e5e1eced3047..d3c2f5c6451bdcb2dfa4cb8ba514bd1d28894308 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 840c862bf5d85840a242fd7571c1fc3b83e4d233..4d8028b55fcb67505880dd44f75e3078b8103eb8 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 0c6652a561be1586653d4dbd4a8d8236b34a9d8b..b33a37b0b9bc4333d0597714d1d92bcf874fa0e7 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 3313474913face97d2160334c2422e597996f34f..0ee116ee935e5fbcffb368497b63b0410429098d 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 3503af7b3aefbe9129a40a17baf91e755dddecb7..cbcb0aa28891286d955bdd6d315e90770d789619 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 4a92bb0e8c7d596d8d65d5f0b2cad65502850425..5f051159fc4d23e8d36922facdd66ff9498420cc 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 3ff3a886af5e7b6369c361b7ccc2705db72d97fb..ab4b6702ee7b750fbded3556c3901dc30d0af5a9 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 5f50b5a6f76f416c2a10b9906e169a7705f1e0ca..f29ff85546aabf332bbd5c9f45d4322411bcf3ef 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 1e67908591ee61b2acf513ce3f0890a79152cf83..940664fabdf5b9a13280f57652e9256d95adc0c7 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 35821baca0d98c8106e52a25d77a1d4fa9b4aad0..2559efee1a6974a9125687cdd2fd423ceb77c31a 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 b9286ae0cb587456fe7c736e4afb0b9eeab36dfc..ef23b11d370f63fcf594eef159f4f5dad757e6ab 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 f76e32e8bd19f1c96ccef30ebcba9c0b611d050a..5a28628b63caa5224630051d441a73ff9f1c4dba 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 fb2537170978fcf65d8fd334c44f502ac742d432..192175644cedcbff240ef4a1ad3d697f2ebfc202 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 67d00fc082c8659932eb7afc85c70e71fb9bdc86..c4ce70458bf1bea709f9787532261e0fb0ebfee6 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 c74c77121dcfe4615bdf013b0b76b727afbdb7c7..fd31a918357906770454734fce6839a1f75862b9 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 1327c77e0bd2c7a4f97f49e1c7ec35b671b24560..b6eeec2dca9de8b39f49cb0314f8aac85bf15303 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 e33bcdbdaf1eb6cb1653ecfd5ec9f8b046d102e6..c836f3088e0e96cb6c678c53165df14bca6b7d3c 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 1e9d86ed685649b1a2250536d2481360f15f689b..4ae30c9ad72ababf81b712d632d3abc2c85e5e87 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 efef633dbfc05333f8f5776b9612abe9f44bbd0b..fb90ecb5fc3159a4a2eb0d85bec9fa93b6786d15 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 1652a2c778a3f8c6eb4c72a7f5efa4d29352aa55..96eca9ef91650994e4350da7b1072d55f984d3d6 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 b34fd92be9dd44843c5f92d6ac1c5a04bbbc0b42..836cbf5981ad048706cc8845b8754449e34aceb6 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 c468558edb02b95acef4184d1a616e48face7389..3b07ec991264f32dea8a9b99a1094ae5bc04381a 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 699e37a4573c4d2fb58b77e2e04df51c60b49acf..0e4e0e97b118c086bfa3e038091bf6bda2b3d1e6 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;