diff --git a/its/plugin/src/integrationTest/java/org/sonarsource/slang/MockSonarLintRpcClientDelegate.java b/its/plugin/src/integrationTest/java/org/sonarsource/slang/MockSonarLintRpcClientDelegate.java index 001c7c6..806ed56 100644 --- a/its/plugin/src/integrationTest/java/org/sonarsource/slang/MockSonarLintRpcClientDelegate.java +++ b/its/plugin/src/integrationTest/java/org/sonarsource/slang/MockSonarLintRpcClientDelegate.java @@ -1,7 +1,18 @@ -/** - * Copyright (C) 2021-2024 SonarSource SA - * All rights reserved +/* + * SonarSource Go + * Copyright (C) 2018-2024 SonarSource SA * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. + * + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonarsource.slang; diff --git a/its/plugin/src/integrationTest/java/org/sonarsource/slang/SonarLintTest.java b/its/plugin/src/integrationTest/java/org/sonarsource/slang/SonarLintTest.java index 6abdba7..b6b8ced 100644 --- a/its/plugin/src/integrationTest/java/org/sonarsource/slang/SonarLintTest.java +++ b/its/plugin/src/integrationTest/java/org/sonarsource/slang/SonarLintTest.java @@ -101,12 +101,13 @@ public static void prepare() throws Exception { DISABLE_TELEMETRY, CAN_NOT_OPEN_FIX_SUGGESTION); backend.initialize( - new InitializeParams(IT_CLIENT_INFO, IT_TELEMETRY_ATTRIBUTES, HttpConfigurationDto.defaultConfig(), null, featureFlags, - sonarUserHome.resolve("storage"), - sonarUserHome.resolve("work"), - Set.of(GO_PLUGIN_LOCATION.getFile().toPath()), Collections.emptyMap(), - Set.of(org.sonarsource.sonarlint.core.rpc.protocol.common.Language.GO), Collections.emptySet(), Collections.emptySet(), Collections.emptyList(), Collections.emptyList(), sonarUserHome.toString(), Map.of(), - false, null, false, null)) + new InitializeParams(IT_CLIENT_INFO, IT_TELEMETRY_ATTRIBUTES, HttpConfigurationDto.defaultConfig(), null, featureFlags, + sonarUserHome.resolve("storage"), + sonarUserHome.resolve("work"), + Set.of(GO_PLUGIN_LOCATION.getFile().toPath()), Collections.emptyMap(), + Set.of(org.sonarsource.sonarlint.core.rpc.protocol.common.Language.GO), Collections.emptySet(), Collections.emptySet(), Collections.emptyList(), Collections.emptyList(), + sonarUserHome.toString(), Map.of(), + false, null, false, null)) .get(); }