diff --git a/compileruntime/worker_lib_standard/project/entry/src/main/js/default/app.js b/compileruntime/worker_lib_standard/project/entry/src/main/js/default/app.js index 6d060ffe5682c19fc83e2274a9e62cbc40a655f8..c67dd35e75bcc7d807a855dbe2ff49a07a9bc673 100644 --- a/compileruntime/worker_lib_standard/project/entry/src/main/js/default/app.js +++ b/compileruntime/worker_lib_standard/project/entry/src/main/js/default/app.js @@ -1,3 +1,18 @@ +/* + * 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("Application onCreate"); diff --git a/compileruntime/worker_lib_standard/project/entry/src/main/js/default/pages/index/index.js b/compileruntime/worker_lib_standard/project/entry/src/main/js/default/pages/index/index.js index bc97c9b9d6e261d66af32ed1d970474048f8947c..b641a66e74225b2b87d4afb0d5513ed742f2f789 100644 --- a/compileruntime/worker_lib_standard/project/entry/src/main/js/default/pages/index/index.js +++ b/compileruntime/worker_lib_standard/project/entry/src/main/js/default/pages/index/index.js @@ -1,3 +1,18 @@ +/* + * 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/worker_lib_standard/project/entry/src/main/js/default/pages/second/second.js b/compileruntime/worker_lib_standard/project/entry/src/main/js/default/pages/second/second.js index ac4f4f83da1d046e0dd8f5aa7d625092e99cc805..46f4e681c548f476f243bd6bb0375144486adc69 100644 --- a/compileruntime/worker_lib_standard/project/entry/src/main/js/default/pages/second/second.js +++ b/compileruntime/worker_lib_standard/project/entry/src/main/js/default/pages/second/second.js @@ -1,3 +1,18 @@ +/* + * 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 router from '@system.router' export default { diff --git a/compileruntime/worker_lib_standard/project/entry/src/main/js/default/workers/worker.js b/compileruntime/worker_lib_standard/project/entry/src/main/js/default/workers/worker.js index 47d1e32ebc4799cb04ac026ba09856e9ca2697ab..178918c03d37a06dcf723458797317dbfd6eaf7a 100644 --- a/compileruntime/worker_lib_standard/project/entry/src/main/js/default/workers/worker.js +++ b/compileruntime/worker_lib_standard/project/entry/src/main/js/default/workers/worker.js @@ -1,3 +1,18 @@ +/* + * 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. + */ + /******/ (() => { // webpackBootstrap var __webpack_exports__ = {}; /*!********************************************************************************************!*\ diff --git a/compileruntime/worker_lib_standard/project/entry/src/main/js/default/workers/worker_002.js b/compileruntime/worker_lib_standard/project/entry/src/main/js/default/workers/worker_002.js index c888a0016c0266537356ce3b804568c0497d0622..b4d4dac2e2ac99e900b398d720ed2621d82da6ce 100644 --- a/compileruntime/worker_lib_standard/project/entry/src/main/js/default/workers/worker_002.js +++ b/compileruntime/worker_lib_standard/project/entry/src/main/js/default/workers/worker_002.js @@ -1,3 +1,18 @@ +/* + * 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. + */ + /******/ (() => { // webpackBootstrap var __webpack_exports__ = {}; /*!********************************************************************************************!*\ diff --git a/compileruntime/worker_lib_standard/project/entry/src/main/js/default/workers/worker_003.js b/compileruntime/worker_lib_standard/project/entry/src/main/js/default/workers/worker_003.js index 40d5addc1439a63a448a292a61fc71841f558aab..4bd01e96b3a07d546e75448dc84286bb8ac5c9e9 100644 --- a/compileruntime/worker_lib_standard/project/entry/src/main/js/default/workers/worker_003.js +++ b/compileruntime/worker_lib_standard/project/entry/src/main/js/default/workers/worker_003.js @@ -1,3 +1,18 @@ +/* + * 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. + */ + /******/ (() => { // webpackBootstrap var __webpack_exports__ = {}; /*!********************************************************************************************!*\ diff --git a/compileruntime/worker_lib_standard/project/entry/src/main/js/default/workers/worker_004.js b/compileruntime/worker_lib_standard/project/entry/src/main/js/default/workers/worker_004.js index 592f411c5d2f5d5eb5e17548d3213e3797356368..de3fdc7608213ac7ba198f240c73af9da4bd32cb 100644 --- a/compileruntime/worker_lib_standard/project/entry/src/main/js/default/workers/worker_004.js +++ b/compileruntime/worker_lib_standard/project/entry/src/main/js/default/workers/worker_004.js @@ -1,3 +1,18 @@ +/* + * 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. + */ + /******/ (() => { // webpackBootstrap var __webpack_exports__ = {}; /*!********************************************************************************************!*\ diff --git a/compileruntime/worker_lib_standard/project/entry/src/main/js/default/workers/worker_005.js b/compileruntime/worker_lib_standard/project/entry/src/main/js/default/workers/worker_005.js index cb22e577ec0fc94446c2314762875f3ff2235541..d5414270ed04a612dd2a31a8ffd365ed80bcf65c 100644 --- a/compileruntime/worker_lib_standard/project/entry/src/main/js/default/workers/worker_005.js +++ b/compileruntime/worker_lib_standard/project/entry/src/main/js/default/workers/worker_005.js @@ -1,3 +1,18 @@ +/* + * 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. + */ + /******/ (() => { // webpackBootstrap var __webpack_exports__ = {}; /*!********************************************************************************************!*\ diff --git a/compileruntime/worker_lib_standard/project/entry/src/main/js/default/workers/worker_006.js b/compileruntime/worker_lib_standard/project/entry/src/main/js/default/workers/worker_006.js index 24da5bcc647d6f2a086a5999fcffc52c43a1cdb7..bc79a4796406bd3e124f027ba1e8c73a4fdaa8ee 100644 --- a/compileruntime/worker_lib_standard/project/entry/src/main/js/default/workers/worker_006.js +++ b/compileruntime/worker_lib_standard/project/entry/src/main/js/default/workers/worker_006.js @@ -1,3 +1,18 @@ +/* + * 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. + */ + /******/ (() => { // webpackBootstrap var __webpack_exports__ = {}; /*!********************************************************************************************!*\ diff --git a/compileruntime/worker_lib_standard/project/entry/src/main/js/default/workers/worker_007.js b/compileruntime/worker_lib_standard/project/entry/src/main/js/default/workers/worker_007.js index e533f061d80c10eed0f8aa92511e5a4493f63dae..f3163c5bde137f82dc2095689be83db34889cb36 100644 --- a/compileruntime/worker_lib_standard/project/entry/src/main/js/default/workers/worker_007.js +++ b/compileruntime/worker_lib_standard/project/entry/src/main/js/default/workers/worker_007.js @@ -1,3 +1,18 @@ +/* + * 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. + */ + /******/ (() => { // webpackBootstrap var __webpack_exports__ = {}; /*!********************************************************************************************!*\ diff --git a/compileruntime/worker_lib_standard/project/entry/src/main/js/default/workers/worker_008.js b/compileruntime/worker_lib_standard/project/entry/src/main/js/default/workers/worker_008.js index 0c502c63da6120cf9267184df27fb161b9aaa8eb..fa3ce5a3594a5da52fda6a0c5c6ee4731494a8fb 100644 --- a/compileruntime/worker_lib_standard/project/entry/src/main/js/default/workers/worker_008.js +++ b/compileruntime/worker_lib_standard/project/entry/src/main/js/default/workers/worker_008.js @@ -1,3 +1,18 @@ +/* + * 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. + */ + /******/ (() => { // webpackBootstrap var __webpack_exports__ = {}; /*!********************************************************************************************!*\ diff --git a/compileruntime/worker_lib_standard/project/entry/src/main/js/test/ExampleJsunit.test.js b/compileruntime/worker_lib_standard/project/entry/src/main/js/test/ExampleJsunit.test.js index 6f4b905965af8ede7db80ab9d055134bdf591261..d289d77a014adff89086f354807f6caac9c317b7 100644 --- a/compileruntime/worker_lib_standard/project/entry/src/main/js/test/ExampleJsunit.test.js +++ b/compileruntime/worker_lib_standard/project/entry/src/main/js/test/ExampleJsunit.test.js @@ -1,3 +1,18 @@ +/* + * 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 app from '@system.app' import {describe, beforeAll, beforeEach, afterEach, afterAll, it, expect} from 'deccjsunit/index' diff --git a/compileruntime/worker_lib_standard/project/entry/src/main/js/test/List.test.js b/compileruntime/worker_lib_standard/project/entry/src/main/js/test/List.test.js index e73cd60095eddacc48bf28f23640c6627782c973..2fbe075f96d534a05fae9f4a8b3a1d685a178ad5 100644 --- a/compileruntime/worker_lib_standard/project/entry/src/main/js/test/List.test.js +++ b/compileruntime/worker_lib_standard/project/entry/src/main/js/test/List.test.js @@ -1,2 +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. + */ + require('./ExampleJsunit.test.js') require("./Worker.test.js") \ No newline at end of file diff --git a/compileruntime/worker_lib_standard/project/entry/src/main/js/test/Worker.test.js b/compileruntime/worker_lib_standard/project/entry/src/main/js/test/Worker.test.js index fd2b02ee7567d992a79379b5b1441f89124fba2b..a878e9c51b6dce5fef3b29f419082b0503265883 100644 --- a/compileruntime/worker_lib_standard/project/entry/src/main/js/test/Worker.test.js +++ b/compileruntime/worker_lib_standard/project/entry/src/main/js/test/Worker.test.js @@ -1,3 +1,18 @@ +/* + * 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. + */ + // @ts-nocheck import app from '@system.app' import {describe, beforeAll, beforeEach, afterEach, afterAll, it, expect} from 'deccjsunit/index'