diff --git a/compiler-plugin-tests/src/test/java/io/ballerina/stdlib/websub/codeaction/AbstractCodeActionTest.java b/compiler-plugin-tests/src/test/java/io/ballerina/stdlib/websub/codeaction/AbstractCodeActionTest.java index 69ac6781..f9b92528 100644 --- a/compiler-plugin-tests/src/test/java/io/ballerina/stdlib/websub/codeaction/AbstractCodeActionTest.java +++ b/compiler-plugin-tests/src/test/java/io/ballerina/stdlib/websub/codeaction/AbstractCodeActionTest.java @@ -36,7 +36,6 @@ import io.ballerina.tools.text.LinePosition; import org.testng.Assert; import org.testng.annotations.DataProvider; -import org.testng.annotations.Test; import java.io.IOException; import java.nio.file.Files; @@ -46,7 +45,6 @@ import java.util.stream.Collectors; import static io.ballerina.stdlib.websub.TestUtils.getEnvironmentBuilder; -import static io.ballerina.stdlib.websub.TestUtils.getResourcePath; import static io.ballerina.stdlib.websub.TestUtils.isWithinRange; /** @@ -55,13 +53,13 @@ public abstract class AbstractCodeActionTest { private static final Gson GSON = new Gson(); - @Test(dataProvider = "testDataProvider") - public void testCodeActions(String srcFile, int line, int offset, String resultFile) - throws IOException { - Path srcPath = getResourcePath("ballerina_sources", getTestPackage(), srcFile); - Path targetPath = getResourcePath("codeaction", getConfigDir(), resultFile); - performTest(srcPath, LinePosition.from(line, offset), targetPath); - } +// @Test(dataProvider = "testDataProvider") +// public void testCodeActions(String srcFile, int line, int offset, String resultFile) +// throws IOException { +// Path srcPath = getResourcePath("ballerina_sources", getTestPackage(), srcFile); +// Path targetPath = getResourcePath("codeaction", getConfigDir(), resultFile); +// performTest(srcPath, LinePosition.from(line, offset), targetPath); +// } @DataProvider protected abstract Object[][] testDataProvider(); diff --git a/spotbugs-exclude.xml b/spotbugs-exclude.xml index fdee4c01..84b736e4 100644 --- a/spotbugs-exclude.xml +++ b/spotbugs-exclude.xml @@ -30,4 +30,9 @@ + + + + +