aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-ui-common/components/ui/update-center
diff options
context:
space:
mode:
authorPhilippe Perrin <philippe.perrin@sonarsource.com>2021-07-16 14:50:53 +0200
committersonartech <sonartech@sonarsource.com>2021-07-21 20:03:01 +0000
commit22e0696a0924aee4746155771412460085ccb0df (patch)
tree672a899f67c1df1cc8e582d9329a656c41e236d3 /server/sonar-ui-common/components/ui/update-center
parenta57b5dd4d8ba48dd55a80111f1c6db54cb36c63d (diff)
downloadsonarqube-22e0696a0924aee4746155771412460085ccb0df.tar.gz
sonarqube-22e0696a0924aee4746155771412460085ccb0df.zip
SONAR-14617 Target local sonar-ui-common project
Diffstat (limited to 'server/sonar-ui-common/components/ui/update-center')
-rw-r--r--server/sonar-ui-common/components/ui/update-center/MetaData.css5
-rw-r--r--server/sonar-ui-common/components/ui/update-center/MetaData.tsx5
-rw-r--r--server/sonar-ui-common/components/ui/update-center/MetaDataVersion.tsx5
-rw-r--r--server/sonar-ui-common/components/ui/update-center/MetaDataVersions.tsx5
-rw-r--r--server/sonar-ui-common/components/ui/update-center/__tests__/MetaData-test.tsx5
-rw-r--r--server/sonar-ui-common/components/ui/update-center/__tests__/MetaDataVersion-test.tsx5
-rw-r--r--server/sonar-ui-common/components/ui/update-center/__tests__/MetaDataVersions-test.tsx5
-rw-r--r--server/sonar-ui-common/components/ui/update-center/mocks/update-center-metadata.ts5
-rw-r--r--server/sonar-ui-common/components/ui/update-center/update-center-metadata.ts5
9 files changed, 18 insertions, 27 deletions
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;