WIP: Compiled SQL function #33

Draft
flecomte wants to merge 37 commits from compiled_sql_function into master
Showing only changes of commit bd473daa6c - Show all commits

View File

@@ -90,9 +90,11 @@ class ConnectionTest : TestAbstract() {
@Test @Test
fun `test call request return nothing`() { fun `test call request return nothing`() {
assertThrows<DataNotFoundException> { val e = assertThrows<DataNotFoundException> {
connection.execute("select * from test where false;", object : TypeReference<ObjTest>() {}) connection.execute("select * from test where false;", object : TypeReference<ObjTest>() {})
} }
assertEquals("No data return for the query", e.message)
assertEquals("select * from test where false;", e.queryExecuted)
} }
@Test @Test