diff options
author | Julien HENRY <henryju@yahoo.fr> | 2016-06-14 17:32:54 +0200 |
---|---|---|
committer | Julien HENRY <henryju@yahoo.fr> | 2016-07-05 14:00:16 +0200 |
commit | 79b89035c9e0e4772cf3371f1ca120f301e7ecdf (patch) | |
tree | 9f30442c8543629aa40780de83358a655b3e2a2a /sonar-plugin-api/src/test | |
parent | a8608d8d77ec640968c308459bba9aef61d12ab2 (diff) | |
download | sonarqube-79b89035c9e0e4772cf3371f1ca120f301e7ecdf.tar.gz sonarqube-79b89035c9e0e4772cf3371f1ca120f301e7ecdf.zip |
SONAR-7727 Remove SquidUtils and deprecated methods on old SensorContext
Diffstat (limited to 'sonar-plugin-api/src/test')
-rw-r--r-- | sonar-plugin-api/src/test/java/org/sonar/api/batch/SquidUtilsTest.java | 41 |
1 files changed, 0 insertions, 41 deletions
diff --git a/sonar-plugin-api/src/test/java/org/sonar/api/batch/SquidUtilsTest.java b/sonar-plugin-api/src/test/java/org/sonar/api/batch/SquidUtilsTest.java deleted file mode 100644 index 199a8f74bd8..00000000000 --- a/sonar-plugin-api/src/test/java/org/sonar/api/batch/SquidUtilsTest.java +++ /dev/null @@ -1,41 +0,0 @@ -/* - * SonarQube - * Copyright (C) 2009-2016 SonarSource SA - * mailto:contact AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. - * - * 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 GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - */ -package org.sonar.api.batch; - -import org.junit.Test; -import org.sonar.api.resources.JavaFile; - -public class SquidUtilsTest { - - @Test(expected = UnsupportedOperationException.class) - public void convertJavaFileKeyFromSquidFormat() { - SquidUtils.convertJavaFileKeyFromSquidFormat("java/lang/String"); - } - - @Test(expected = UnsupportedOperationException.class) - public void shouldConvertJavaPackageKeyFromSquidFormat() { - SquidUtils.convertJavaPackageKeyFromSquidFormat("java/lang"); - } - - @Test(expected = UnsupportedOperationException.class) - public void shouldConvertToSquidKeyFormat() { - SquidUtils.convertToSquidKeyFormat(new JavaFile("com.foo.Bar")); - } -} |