diff --git a/.travis.yml b/.travis.yml
index 6a2491c..38d2c59 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -27,6 +27,8 @@ env:
- UTPLSQL_VERSION="v3.0.2"
- UTPLSQL_VERSION="v3.0.3"
- UTPLSQL_VERSION="v3.0.4"
+ - UTPLSQL_VERSION="v3.1.0"
+ - UTPLSQL_VERSION="v3.1.1"
- UTPLSQL_VERSION="develop"
UTPLSQL_FILE="utPLSQL"
diff --git a/pom.xml b/pom.xml
index 2da6cef..8a7ab9d 100644
--- a/pom.xml
+++ b/pom.xml
@@ -4,7 +4,7 @@
org.utplsql
java-api
- 3.1.0-SNAPSHOT
+ 3.1.1-SNAPSHOT
jar
utPLSQL-java-api
@@ -17,7 +17,7 @@
1.0.3
5.0.3
${basedir}/src/main/resources/CoverageHTMLReporter
- 1.0.0
+ 1.0.1
utPLSQL-coverage-html-${coverage.resources.version}
${coverage.resources.zip.directory}.zip
diff --git a/src/test/java/org/utplsql/api/OutputBufferIT.java b/src/test/java/org/utplsql/api/OutputBufferIT.java
index a0c0032..d7b7ba0 100644
--- a/src/test/java/org/utplsql/api/OutputBufferIT.java
+++ b/src/test/java/org/utplsql/api/OutputBufferIT.java
@@ -1,6 +1,8 @@
package org.utplsql.api;
import org.junit.jupiter.api.Test;
+import org.utplsql.api.reporter.CoreReporters;
+import org.utplsql.api.reporter.DefaultReporter;
import org.utplsql.api.reporter.DocumentationReporter;
import org.utplsql.api.reporter.Reporter;
@@ -103,4 +105,18 @@ public void fetchAllLines() throws SQLException {
assertTrue(outputLines.size() > 0);
}
+ @Test
+ public void getOutputFromSonarReporter() throws SQLException {
+ Reporter reporter = new DefaultReporter(CoreReporters.UT_SONAR_TEST_REPORTER.name(), null).init(newConnection());
+
+ new TestRunner()
+ .addPath(getUser())
+ .addReporter(reporter)
+ .run(getConnection());
+
+ List outputLines = reporter.getOutputBuffer().fetchAll(getConnection());
+
+ assertTrue(outputLines.size() > 0);
+ }
+
}