From 6de41c011b678487829c46fb37dbb9788844057d Mon Sep 17 00:00:00 2001 From: danielpeintner Date: Tue, 12 Dec 2023 14:12:36 +0100 Subject: [PATCH] refactor: add copyright preamble to missing files --- .../td_to_asyncapi/tests/mapSecurity.test.js | 14 ++++++++++++++ packages/web-new/playwright.config.js | 16 +++++++++++++++- packages/web-new/tests/test.spec.js | 16 +++++++++++++++- 3 files changed, 44 insertions(+), 2 deletions(-) diff --git a/packages/td_to_asyncapi/tests/mapSecurity.test.js b/packages/td_to_asyncapi/tests/mapSecurity.test.js index a181ee64a..b61e3b8bc 100644 --- a/packages/td_to_asyncapi/tests/mapSecurity.test.js +++ b/packages/td_to_asyncapi/tests/mapSecurity.test.js @@ -1,3 +1,17 @@ +/******************************************************************************** + * Copyright (c) 2023 Contributors to the Eclipse Foundation + * + * See the NOTICE file(s) distributed with this work for additional + * information regarding copyright ownership. + * + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License v. 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0, or the W3C Software Notice and + * Document License (2015-05-13) which is available at + * https://www.w3.org/Consortium/Legal/2015/copyright-software-and-document. + * + * SPDX-License-Identifier: EPL-2.0 OR W3C-20150513 + ********************************************************************************/ /** * @file Modules test for mapSecurity.js, test its functionality by hardcoded example -> expected output pairs */ diff --git a/packages/web-new/playwright.config.js b/packages/web-new/playwright.config.js index 9863ec7f7..9e18e04c0 100644 --- a/packages/web-new/playwright.config.js +++ b/packages/web-new/playwright.config.js @@ -1,3 +1,17 @@ +/******************************************************************************** + * Copyright (c) 2023 Contributors to the Eclipse Foundation + * + * See the NOTICE file(s) distributed with this work for additional + * information regarding copyright ownership. + * + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License v. 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0, or the W3C Software Notice and + * Document License (2015-05-13) which is available at + * https://www.w3.org/Consortium/Legal/2015/copyright-software-and-document. + * + * SPDX-License-Identifier: EPL-2.0 OR W3C-20150513 + ********************************************************************************/ // @ts-check const { defineConfig, devices } = require('@playwright/test'); @@ -56,4 +70,4 @@ module.exports = defineConfig({ url: 'http://127.0.0.1:5100', reuseExistingServer: !process.env.CI, }, -}); \ No newline at end of file +}); diff --git a/packages/web-new/tests/test.spec.js b/packages/web-new/tests/test.spec.js index 524e9f6c7..452cd4066 100644 --- a/packages/web-new/tests/test.spec.js +++ b/packages/web-new/tests/test.spec.js @@ -1,3 +1,17 @@ +/******************************************************************************** + * Copyright (c) 2023 Contributors to the Eclipse Foundation + * + * See the NOTICE file(s) distributed with this work for additional + * information regarding copyright ownership. + * + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License v. 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0, or the W3C Software Notice and + * Document License (2015-05-13) which is available at + * https://www.w3.org/Consortium/Legal/2015/copyright-software-and-document. + * + * SPDX-License-Identifier: EPL-2.0 OR W3C-20150513 + ********************************************************************************/ const { test, expect } = require('@playwright/test'); //Open the playground app before any test is runned @@ -2267,4 +2281,4 @@ test.describe("Visualization view functionality", () => { const expectedFilename = 'Tree-visualization.png' expect(download.suggestedFilename()).toBe(expectedFilename) }) -}) \ No newline at end of file +})