You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sis.apache.org by am...@apache.org on 2020/01/21 15:34:59 UTC
[sis] 03/04: chore(SQLStore): add basic testing on H2.
This is an automated email from the ASF dual-hosted git repository.
amanin pushed a commit to branch fix/fast-envelope
in repository https://gitbox.apache.org/repos/asf/sis.git
commit 125b08b10adc5d8081baebe68b9916e2dbe8e287
Author: Alexis Manin <am...@apache.org>
AuthorDate: Tue Jan 21 16:33:32 2020 +0100
chore(SQLStore): add basic testing on H2.
---
.../src/test/java/org/apache/sis/storage/sql/SQLStoreTest.java | 10 ++++++++++
1 file changed, 10 insertions(+)
diff --git a/storage/sis-sqlstore/src/test/java/org/apache/sis/storage/sql/SQLStoreTest.java b/storage/sis-sqlstore/src/test/java/org/apache/sis/storage/sql/SQLStoreTest.java
index d1bcd97..10a9348 100644
--- a/storage/sis-sqlstore/src/test/java/org/apache/sis/storage/sql/SQLStoreTest.java
+++ b/storage/sis-sqlstore/src/test/java/org/apache/sis/storage/sql/SQLStoreTest.java
@@ -123,6 +123,16 @@ public final strictfp class SQLStoreTest extends TestCase {
}
/**
+ * Tests on H2.
+ *
+ * @throws Exception if an error occurred while testing the database.
+ */
+ @Test
+ public void testOnH2() throws Exception {
+ test(TestDatabase.createOnH2("SQLStore", true), true);
+ }
+
+ /**
* Tests on PostgreSQL.
*
* @throws Exception if an error occurred while testing the database.