aboutsummaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
authorGodin <mandrikov@gmail.com>2010-10-18 23:29:04 +0000
committerGodin <mandrikov@gmail.com>2010-10-18 23:29:04 +0000
commit887e326f9716bf95a87de395450b9ce9214a76e4 (patch)
tree5dd92856dcd58b13562f7f116ea3b5ee83043953 /plugins
parent3116fb2315d23b9c4c5b88c6f5f17601e43eeccc (diff)
downloadsonarqube-887e326f9716bf95a87de395450b9ce9214a76e4.tar.gz
sonarqube-887e326f9716bf95a87de395450b9ce9214a76e4.zip
SONAR-1772: Add FindbugsVersionTest
Diffstat (limited to 'plugins')
-rw-r--r--plugins/sonar-findbugs-plugin/src/test/java/org/sonar/plugins/findbugs/FindbugsVersionTest.java15
1 files changed, 15 insertions, 0 deletions
diff --git a/plugins/sonar-findbugs-plugin/src/test/java/org/sonar/plugins/findbugs/FindbugsVersionTest.java b/plugins/sonar-findbugs-plugin/src/test/java/org/sonar/plugins/findbugs/FindbugsVersionTest.java
new file mode 100644
index 00000000000..ddd02c39e95
--- /dev/null
+++ b/plugins/sonar-findbugs-plugin/src/test/java/org/sonar/plugins/findbugs/FindbugsVersionTest.java
@@ -0,0 +1,15 @@
+package org.sonar.plugins.findbugs;
+
+import static org.hamcrest.MatcherAssert.assertThat;
+import static org.hamcrest.Matchers.greaterThan;
+
+import org.junit.Test;
+
+public class FindbugsVersionTest {
+
+ @Test
+ public void getFindbugsVersion() {
+ assertThat(FindbugsVersion.getVersion().length(), greaterThan(1));
+ }
+
+}