diff --git a/compileruntime/process_lib_standard/project/entry/src/main/js/default/app.js b/compileruntime/process_lib_standard/project/entry/src/main/js/default/app.js index aedcefe0054c6e16c40491f4d1abc20a4dc1c6ef..ef92b6e96e9db7d997b0be7c2068d560b1cab26d 100644 --- a/compileruntime/process_lib_standard/project/entry/src/main/js/default/app.js +++ b/compileruntime/process_lib_standard/project/entry/src/main/js/default/app.js @@ -1,3 +1,17 @@ +/* + * Copyright (C) 2021 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. + */ export default { onCreate() { console.info('AceApplication onCreate'); diff --git a/compileruntime/process_lib_standard/project/entry/src/ohosTest/js/default/app.js b/compileruntime/process_lib_standard/project/entry/src/ohosTest/js/default/app.js index 55b67e96deb821033f71d30b6fff05efdeb0d901..4952e62fd96d8dcf3eb348d293249c2a18176c85 100644 --- a/compileruntime/process_lib_standard/project/entry/src/ohosTest/js/default/app.js +++ b/compileruntime/process_lib_standard/project/entry/src/ohosTest/js/default/app.js @@ -1,3 +1,17 @@ +/* + * Copyright (C) 2021 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. + */ export default { onCreate() { console.info('TestApplication onCreate'); diff --git a/compileruntime/url_lib_standard/Test.json b/compileruntime/url_lib_standard/Test.json index 782b4805d52b020f9b588071f11fa969b7b63dd5..a5d217e9f346bca6fa09086e59995d4e48c808d9 100644 --- a/compileruntime/url_lib_standard/Test.json +++ b/compileruntime/url_lib_standard/Test.json @@ -2,9 +2,9 @@ "description": "Configuration for startup url js api Tests", "driver": { "type": "JSUnitTest", - "test-timeout": "21600000", + "test-timeout": "60000", "package": "com.example.url", - "shell-timeout": "21600000" + "shell-timeout": "60000" }, "kits": [ { diff --git a/compileruntime/url_lib_standard/project/entry/src/main/js/default/app.js b/compileruntime/url_lib_standard/project/entry/src/main/js/default/app.js index aedcefe0054c6e16c40491f4d1abc20a4dc1c6ef..ef92b6e96e9db7d997b0be7c2068d560b1cab26d 100644 --- a/compileruntime/url_lib_standard/project/entry/src/main/js/default/app.js +++ b/compileruntime/url_lib_standard/project/entry/src/main/js/default/app.js @@ -1,3 +1,17 @@ +/* + * Copyright (C) 2021 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. + */ export default { onCreate() { console.info('AceApplication onCreate'); diff --git a/compileruntime/url_lib_standard/project/entry/src/ohosTest/js/default/app.js b/compileruntime/url_lib_standard/project/entry/src/ohosTest/js/default/app.js index 55b67e96deb821033f71d30b6fff05efdeb0d901..4952e62fd96d8dcf3eb348d293249c2a18176c85 100644 --- a/compileruntime/url_lib_standard/project/entry/src/ohosTest/js/default/app.js +++ b/compileruntime/url_lib_standard/project/entry/src/ohosTest/js/default/app.js @@ -1,3 +1,17 @@ +/* + * Copyright (C) 2021 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. + */ export default { onCreate() { console.info('TestApplication onCreate'); diff --git a/compileruntime/url_lib_standard/project/entry/src/ohosTest/js/default/pages/index/index.js b/compileruntime/url_lib_standard/project/entry/src/ohosTest/js/default/pages/index/index.js index 8be2df2479a8da755ed800ad70d2b6247e21b8a2..1edd1fbaa7c4b9f6bedd478d85933d97c0f55f00 100644 --- a/compileruntime/url_lib_standard/project/entry/src/ohosTest/js/default/pages/index/index.js +++ b/compileruntime/url_lib_standard/project/entry/src/ohosTest/js/default/pages/index/index.js @@ -1,3 +1,17 @@ +/* + * Copyright (C) 2021 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 file from '@system.file' import app from '@system.app' import device from '@system.device' diff --git a/compileruntime/util_lib_standard/Test.json b/compileruntime/util_lib_standard/Test.json index 375f4eb701c633ee5a2f2ad75de3454e58f4d729..301ce904e31aba73552e3f6b6fff1d5abb80618d 100644 --- a/compileruntime/util_lib_standard/Test.json +++ b/compileruntime/util_lib_standard/Test.json @@ -2,9 +2,9 @@ "description": "Configuration for startup util js api Tests", "driver": { "type": "JSUnitTest", - "test-timeout": "21600000", + "test-timeout": "60000", "package": "com.example.childprocess", - "shell-timeout": "21600000" + "shell-timeout": "60000" }, "kits": [ { diff --git a/compileruntime/util_lib_standard/project/entry/src/main/js/default/app.js b/compileruntime/util_lib_standard/project/entry/src/main/js/default/app.js index aedcefe0054c6e16c40491f4d1abc20a4dc1c6ef..ef92b6e96e9db7d997b0be7c2068d560b1cab26d 100644 --- a/compileruntime/util_lib_standard/project/entry/src/main/js/default/app.js +++ b/compileruntime/util_lib_standard/project/entry/src/main/js/default/app.js @@ -1,3 +1,17 @@ +/* + * Copyright (C) 2021 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. + */ export default { onCreate() { console.info('AceApplication onCreate'); diff --git a/compileruntime/util_lib_standard/project/entry/src/ohosTest/js/default/app.js b/compileruntime/util_lib_standard/project/entry/src/ohosTest/js/default/app.js index 55b67e96deb821033f71d30b6fff05efdeb0d901..4952e62fd96d8dcf3eb348d293249c2a18176c85 100644 --- a/compileruntime/util_lib_standard/project/entry/src/ohosTest/js/default/app.js +++ b/compileruntime/util_lib_standard/project/entry/src/ohosTest/js/default/app.js @@ -1,3 +1,17 @@ +/* + * Copyright (C) 2021 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. + */ export default { onCreate() { console.info('TestApplication onCreate');