diff options
author | Evgeny Mandrikov <mandrikov@gmail.com> | 2011-03-25 02:56:46 +0300 |
---|---|---|
committer | Evgeny Mandrikov <mandrikov@gmail.com> | 2011-04-04 22:46:21 +0400 |
commit | d4bb3b72f9e188c93d0857d478a3ebc6f52365c1 (patch) | |
tree | 0109f7c074ad54661ff60d89bfab215ac3fa02a5 /plugins/sonar-findbugs-plugin/src/test | |
parent | 628bb6718fc76baba8f452691cfc983a000e1397 (diff) | |
download | sonarqube-d4bb3b72f9e188c93d0857d478a3ebc6f52365c1.tar.gz sonarqube-d4bb3b72f9e188c93d0857d478a3ebc6f52365c1.zip |
SONAR-1898 Introduce new entry point - SonarPlugin
Diffstat (limited to 'plugins/sonar-findbugs-plugin/src/test')
-rw-r--r-- | plugins/sonar-findbugs-plugin/src/test/java/org/sonar/plugins/findbugs/FindbugsPluginTest.java | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/plugins/sonar-findbugs-plugin/src/test/java/org/sonar/plugins/findbugs/FindbugsPluginTest.java b/plugins/sonar-findbugs-plugin/src/test/java/org/sonar/plugins/findbugs/FindbugsPluginTest.java new file mode 100644 index 00000000000..c70bbd1704b --- /dev/null +++ b/plugins/sonar-findbugs-plugin/src/test/java/org/sonar/plugins/findbugs/FindbugsPluginTest.java @@ -0,0 +1,34 @@ +/* + * Sonar, open source software quality management tool. + * Copyright (C) 2008-2011 SonarSource + * mailto:contact AT sonarsource DOT com + * + * Sonar 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. + * + * Sonar 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 Sonar; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02 + */ +package org.sonar.plugins.findbugs; + +import static org.hamcrest.Matchers.greaterThan; +import static org.junit.Assert.assertThat; + +import org.junit.Test; + +public class FindbugsPluginTest { + + @Test + public void testGetExtensions() { + assertThat(new FindbugsPlugin().getExtensions().size(), greaterThan(1)); + } + +} |