From 22e0696a0924aee4746155771412460085ccb0df Mon Sep 17 00:00:00 2001 From: Philippe Perrin Date: Fri, 16 Jul 2021 14:50:53 +0200 Subject: SONAR-14617 Target local sonar-ui-common project --- server/sonar-ui-common/components/ui/update-center/MetaData.css | 5 ++--- server/sonar-ui-common/components/ui/update-center/MetaData.tsx | 5 ++--- .../sonar-ui-common/components/ui/update-center/MetaDataVersion.tsx | 5 ++--- .../sonar-ui-common/components/ui/update-center/MetaDataVersions.tsx | 5 ++--- .../components/ui/update-center/__tests__/MetaData-test.tsx | 5 ++--- .../components/ui/update-center/__tests__/MetaDataVersion-test.tsx | 5 ++--- .../components/ui/update-center/__tests__/MetaDataVersions-test.tsx | 5 ++--- .../components/ui/update-center/mocks/update-center-metadata.ts | 5 ++--- .../components/ui/update-center/update-center-metadata.ts | 5 ++--- 9 files changed, 18 insertions(+), 27 deletions(-) (limited to 'server/sonar-ui-common/components/ui/update-center') diff --git a/server/sonar-ui-common/components/ui/update-center/MetaData.css b/server/sonar-ui-common/components/ui/update-center/MetaData.css index 582d6633757..6bc5a632fb1 100644 --- a/server/sonar-ui-common/components/ui/update-center/MetaData.css +++ b/server/sonar-ui-common/components/ui/update-center/MetaData.css @@ -1,6 +1,6 @@ /* - * Sonar UI Common - * Copyright (C) 2019-2020 SonarSource SA + * SonarQube + * Copyright (C) 2009-2021 SonarSource SA * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or @@ -17,7 +17,6 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ - .update-center-meta-data { margin: 16px 0; padding: 16px 16px 8px 16px; diff --git a/server/sonar-ui-common/components/ui/update-center/MetaData.tsx b/server/sonar-ui-common/components/ui/update-center/MetaData.tsx index 568a7fba454..017527abcde 100644 --- a/server/sonar-ui-common/components/ui/update-center/MetaData.tsx +++ b/server/sonar-ui-common/components/ui/update-center/MetaData.tsx @@ -1,6 +1,6 @@ /* - * Sonar UI Common - * Copyright (C) 2019-2020 SonarSource SA + * SonarQube + * Copyright (C) 2009-2021 SonarSource SA * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or @@ -17,7 +17,6 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ - import * as React from 'react'; import './MetaData.css'; import MetaDataVersions from './MetaDataVersions'; diff --git a/server/sonar-ui-common/components/ui/update-center/MetaDataVersion.tsx b/server/sonar-ui-common/components/ui/update-center/MetaDataVersion.tsx index f9f2155179e..d91a1bd3bc6 100644 --- a/server/sonar-ui-common/components/ui/update-center/MetaDataVersion.tsx +++ b/server/sonar-ui-common/components/ui/update-center/MetaDataVersion.tsx @@ -1,6 +1,6 @@ /* - * Sonar UI Common - * Copyright (C) 2019-2020 SonarSource SA + * SonarQube + * Copyright (C) 2009-2021 SonarSource SA * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or @@ -17,7 +17,6 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ - import classNames from 'classnames'; import * as React from 'react'; import { AdvancedDownloadUrl, MetaDataVersionInformation } from './update-center-metadata'; diff --git a/server/sonar-ui-common/components/ui/update-center/MetaDataVersions.tsx b/server/sonar-ui-common/components/ui/update-center/MetaDataVersions.tsx index 59e3a2cf41b..f51e11e730a 100644 --- a/server/sonar-ui-common/components/ui/update-center/MetaDataVersions.tsx +++ b/server/sonar-ui-common/components/ui/update-center/MetaDataVersions.tsx @@ -1,6 +1,6 @@ /* - * Sonar UI Common - * Copyright (C) 2019-2020 SonarSource SA + * SonarQube + * Copyright (C) 2009-2021 SonarSource SA * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or @@ -17,7 +17,6 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ - import * as React from 'react'; import MetaDataVersion from './MetaDataVersion'; import { MetaDataVersionInformation } from './update-center-metadata'; diff --git a/server/sonar-ui-common/components/ui/update-center/__tests__/MetaData-test.tsx b/server/sonar-ui-common/components/ui/update-center/__tests__/MetaData-test.tsx index 574abcb130f..85c6ce0ac71 100644 --- a/server/sonar-ui-common/components/ui/update-center/__tests__/MetaData-test.tsx +++ b/server/sonar-ui-common/components/ui/update-center/__tests__/MetaData-test.tsx @@ -1,6 +1,6 @@ /* - * Sonar UI Common - * Copyright (C) 2019-2020 SonarSource SA + * SonarQube + * Copyright (C) 2009-2021 SonarSource SA * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or @@ -17,7 +17,6 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ - import { shallow } from 'enzyme'; import * as React from 'react'; import { waitAndUpdate } from '../../../../helpers/testUtils'; diff --git a/server/sonar-ui-common/components/ui/update-center/__tests__/MetaDataVersion-test.tsx b/server/sonar-ui-common/components/ui/update-center/__tests__/MetaDataVersion-test.tsx index eb21373830c..f1e5b947224 100644 --- a/server/sonar-ui-common/components/ui/update-center/__tests__/MetaDataVersion-test.tsx +++ b/server/sonar-ui-common/components/ui/update-center/__tests__/MetaDataVersion-test.tsx @@ -1,6 +1,6 @@ /* - * Sonar UI Common - * Copyright (C) 2019-2020 SonarSource SA + * SonarQube + * Copyright (C) 2009-2021 SonarSource SA * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or @@ -17,7 +17,6 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ - import { shallow } from 'enzyme'; import * as React from 'react'; import MetaDataVersion, { MetaDataVersionProps } from '../MetaDataVersion'; diff --git a/server/sonar-ui-common/components/ui/update-center/__tests__/MetaDataVersions-test.tsx b/server/sonar-ui-common/components/ui/update-center/__tests__/MetaDataVersions-test.tsx index 5a4fc20d4f1..0648c0fd59d 100644 --- a/server/sonar-ui-common/components/ui/update-center/__tests__/MetaDataVersions-test.tsx +++ b/server/sonar-ui-common/components/ui/update-center/__tests__/MetaDataVersions-test.tsx @@ -1,6 +1,6 @@ /* - * Sonar UI Common - * Copyright (C) 2019-2020 SonarSource SA + * SonarQube + * Copyright (C) 2009-2021 SonarSource SA * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or @@ -17,7 +17,6 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ - import { shallow } from 'enzyme'; import * as React from 'react'; import { click } from '../../../../helpers/testUtils'; diff --git a/server/sonar-ui-common/components/ui/update-center/mocks/update-center-metadata.ts b/server/sonar-ui-common/components/ui/update-center/mocks/update-center-metadata.ts index 0da8569994f..52e8c660d15 100644 --- a/server/sonar-ui-common/components/ui/update-center/mocks/update-center-metadata.ts +++ b/server/sonar-ui-common/components/ui/update-center/mocks/update-center-metadata.ts @@ -1,6 +1,6 @@ /* - * Sonar UI Common - * Copyright (C) 2019-2020 SonarSource SA + * SonarQube + * Copyright (C) 2009-2021 SonarSource SA * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or @@ -17,7 +17,6 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ - import { MetaDataInformation, MetaDataVersionInformation } from '../update-center-metadata'; export function mockMetaDataVersionInformation( diff --git a/server/sonar-ui-common/components/ui/update-center/update-center-metadata.ts b/server/sonar-ui-common/components/ui/update-center/update-center-metadata.ts index 00e1d969b40..a88b385c3b6 100644 --- a/server/sonar-ui-common/components/ui/update-center/update-center-metadata.ts +++ b/server/sonar-ui-common/components/ui/update-center/update-center-metadata.ts @@ -1,6 +1,6 @@ /* - * Sonar UI Common - * Copyright (C) 2019-2020 SonarSource SA + * SonarQube + * Copyright (C) 2009-2021 SonarSource SA * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or @@ -17,7 +17,6 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ - export interface MetaDataInformation { category?: string; isSonarSourceCommercial?: boolean; -- cgit v1.2.3