Skip to content

Merge pull request #62 from driessamyn/coroutines-docs #53

Merge pull request #62 from driessamyn/coroutines-docs

Merge pull request #62 from driessamyn/coroutines-docs #53

GitHub Actions / Test Results succeeded Jan 29, 2025 in 0s

All 198 tests pass in 25s

 28 files  +6   28 suites  +6   25s ⏱️ ±0s
198 tests +7  198 ✅ +7  0 💤 ±0  0 ❌ ±0 
250 runs  +7  250 ✅ +7  0 💤 ±0  0 ❌ ±0 

Results for commit ccd84f0. ± Comparison against earlier commit ee3347b.

Annotations

Check notice on line 0 in .github

See this annotation in the file changed.

@github-actions github-actions / Test Results

198 tests found

There are 198 tests, see "Raw output" for the full list of tests.
Raw output
net.samyn.kapper.AutoConverterTest ‑ when converters available call()
net.samyn.kapper.AutoConverterTest ‑ when converters not available throw()
net.samyn.kapper.AutoConverterTest$DefaultConverters ‑ supports Instant()
net.samyn.kapper.AutoConverterTest$DefaultConverters ‑ supports LocalDate()
net.samyn.kapper.AutoConverterTest$DefaultConverters ‑ supports LocalDateTime()
net.samyn.kapper.AutoConverterTest$DefaultConverters ‑ supports LocalTime()
net.samyn.kapper.AutoConverterTest$DefaultConverters ‑ supports UUID()
net.samyn.kapper.AutoConverterTest$DefaultConverters ‑ when invalid target type throw()
net.samyn.kapper.ConverterTest$InstantConverter ‑ convert LocalTime at midnight to Instant()
net.samyn.kapper.ConverterTest$InstantConverter ‑ convert valid LocalDateTime to Instant()
net.samyn.kapper.ConverterTest$InstantConverter ‑ convert valid LocalTime to Instant()
net.samyn.kapper.ConverterTest$InstantConverter ‑ throw exception when invalid type is converted to Instant()
net.samyn.kapper.ConverterTest$LocalDateConverter ‑ convert valid Date to LocalDate()
net.samyn.kapper.ConverterTest$LocalDateConverter ‑ throw exception when invalid type is converted to LocalDate()
net.samyn.kapper.ConverterTest$LocalDateTimeConverter ‑ convert valid Instant to LocalDateTime()
net.samyn.kapper.ConverterTest$LocalDateTimeConverter ‑ throw exception when invalid type is converted to LocalDateTime()
net.samyn.kapper.ConverterTest$LocalTimeConverter ‑ convert valid Instant to LocalTime()
net.samyn.kapper.ConverterTest$LocalTimeConverter ‑ throw exception when invalid type is converted to LocalTime()
net.samyn.kapper.ConverterTest$UUIDConverter ‑ [1] 
net.samyn.kapper.ConverterTest$UUIDConverter ‑ [2] 123e4567-e89b-12d3-a456-426614ZZZZZZ
net.samyn.kapper.ConverterTest$UUIDConverter ‑ when binary UUID convert()
net.samyn.kapper.ConverterTest$UUIDConverter ‑ when int cannot convert to UUID()
net.samyn.kapper.ConverterTest$UUIDConverter ‑ when string UUID convert()
net.samyn.kapper.ExecuteTests ‑ [1] PostgreSQL
net.samyn.kapper.ExecuteTests ‑ [2] MySQL
net.samyn.kapper.KapperApiTest ‑ getInstance should return a Kapper instance()
net.samyn.kapper.KapperApiTest$ExecuteTests ‑ execute with hashmap()
net.samyn.kapper.KapperApiTest$ExecuteTests ‑ execute with kotlin extension function()
net.samyn.kapper.KapperApiTest$ExecuteTests ‑ execute with kotlin map()
net.samyn.kapper.KapperApiTest$QuerySingleTests ‑ query with hashmap and custom mapper()
net.samyn.kapper.KapperApiTest$QuerySingleTests ‑ query with hashmap()
net.samyn.kapper.KapperApiTest$QuerySingleTests ‑ query with kotlin extension function and clazz()
net.samyn.kapper.KapperApiTest$QuerySingleTests ‑ query with kotlin extension function and custom mapper and clazz()
net.samyn.kapper.KapperApiTest$QuerySingleTests ‑ query with kotlin extension function and custom mapper()
net.samyn.kapper.KapperApiTest$QuerySingleTests ‑ query with kotlin extension function()
net.samyn.kapper.KapperApiTest$QuerySingleTests ‑ query with kotlin map and custom mapper()
net.samyn.kapper.KapperApiTest$QuerySingleTests ‑ query with kotlin map()
net.samyn.kapper.KapperApiTest$QueryTests ‑ query with hashmap and custom mapper()
net.samyn.kapper.KapperApiTest$QueryTests ‑ query with hashmap()
net.samyn.kapper.KapperApiTest$QueryTests ‑ query with kotlin extension function and clazz()
net.samyn.kapper.KapperApiTest$QueryTests ‑ query with kotlin extension function and custom mapper and clazz()
net.samyn.kapper.KapperApiTest$QueryTests ‑ query with kotlin extension function and custom mapper()
net.samyn.kapper.KapperApiTest$QueryTests ‑ query with kotlin extension function()
net.samyn.kapper.KapperApiTest$QueryTests ‑ query with kotlin map and custom mapper()
net.samyn.kapper.KapperApiTest$QueryTests ‑ query with kotlin map()
net.samyn.kapper.KapperImplTest$ExecuteTest ‑ executes statement()
net.samyn.kapper.KapperImplTest$ExecuteTest ‑ processes SQL template()
net.samyn.kapper.KapperImplTest$ExecuteTest ‑ sets parameters()
net.samyn.kapper.KapperImplTest$ExecuteTest ‑ throws when token not found()
net.samyn.kapper.KapperImplTest$QuerySingleTest ‑ executes statement()
net.samyn.kapper.KapperImplTest$QuerySingleTest ‑ maps results()
net.samyn.kapper.KapperImplTest$QuerySingleTest ‑ processes SQL template()
net.samyn.kapper.KapperImplTest$QuerySingleTest ‑ returns null when no results()
net.samyn.kapper.KapperImplTest$QuerySingleTest ‑ sets parameters()
net.samyn.kapper.KapperImplTest$QuerySingleTest ‑ throw when multiple results()
net.samyn.kapper.KapperImplTest$QuerySingleTest ‑ throws when token not found()
net.samyn.kapper.KapperImplTest$QueryTest ‑ executes statement()
net.samyn.kapper.KapperImplTest$QueryTest ‑ maps results()
net.samyn.kapper.KapperImplTest$QueryTest ‑ processes SQL template()
net.samyn.kapper.KapperImplTest$QueryTest ‑ sets parameters()
net.samyn.kapper.KapperImplTest$QueryTest ‑ throws when token not found()
net.samyn.kapper.KapperJavaApiTest ‑ testGetInstance()
net.samyn.kapper.KapperJavaApiTest$ExecuteTests ‑ testExecuteWithMap()
net.samyn.kapper.KapperJavaApiTest$QuerySingleTests ‑ testQuerySingleWithCustomMapper()
net.samyn.kapper.KapperJavaApiTest$QueryTests ‑ testQueryWithCustomMapper()
net.samyn.kapper.MapperTest ‑ [1] email
net.samyn.kapper.MapperTest ‑ [2] EMAIL
net.samyn.kapper.MapperTest ‑ [3] eMail
net.samyn.kapper.MapperTest ‑ should convert when type not known()
net.samyn.kapper.MapperTest ‑ should map to super hero respecting defaults()
net.samyn.kapper.MapperTest ‑ should set to null when value null()
net.samyn.kapper.MapperTest ‑ should throw when no primary constructor()
net.samyn.kapper.MapperTest ‑ should throw when no property found()
net.samyn.kapper.MapperTest ‑ should throw when non-optional are missing()
net.samyn.kapper.MapperTest ‑ should throw when too many columns()
net.samyn.kapper.MetadataTest ‑ when extractFields create Map()
net.samyn.kapper.QueryParserTest ‑ [10] +
net.samyn.kapper.QueryParserTest ‑ [11] =
net.samyn.kapper.QueryParserTest ‑ [12] {
net.samyn.kapper.QueryParserTest ‑ [13] }
net.samyn.kapper.QueryParserTest ‑ [14] [
net.samyn.kapper.QueryParserTest ‑ [15] ]
net.samyn.kapper.QueryParserTest ‑ [16] :
net.samyn.kapper.QueryParserTest ‑ [17] '
net.samyn.kapper.QueryParserTest ‑ [18] "
net.samyn.kapper.QueryParserTest ‑ [19] <
net.samyn.kapper.QueryParserTest ‑ [1]  
net.samyn.kapper.QueryParserTest ‑ [1] !
net.samyn.kapper.QueryParserTest ‑ [1] SELECT * FROM super_hero WHERE id = :id, SELECT * FROM super_hero WHERE id = ?, {id=[1]}
net.samyn.kapper.QueryParserTest ‑ [1] a
net.samyn.kapper.QueryParserTest ‑ [20] >
net.samyn.kapper.QueryParserTest ‑ [21] .
net.samyn.kapper.QueryParserTest ‑ [22] ?
net.samyn.kapper.QueryParserTest ‑ [23] /
net.samyn.kapper.QueryParserTest ‑ [24] \
net.samyn.kapper.QueryParserTest ‑ [25] |
net.samyn.kapper.QueryParserTest ‑ [26] ~
net.samyn.kapper.QueryParserTest ‑ [27] `
net.samyn.kapper.QueryParserTest ‑ [2] ,
net.samyn.kapper.QueryParserTest ‑ [2] @
net.samyn.kapper.QueryParserTest ‑ [2] B
net.samyn.kapper.QueryParserTest ‑ [2] SELECT * FROM super_hero WHERE id = @id, SELECT * FROM super_hero WHERE id = ?, {id=[1]}
net.samyn.kapper.QueryParserTest ‑ [3] #
net.samyn.kapper.QueryParserTest ‑ [3] )
net.samyn.kapper.QueryParserTest ‑ [3] 1
net.samyn.kapper.QueryParserTest ‑ [3] INSERT INTO super_hero(id, name) VALUES (:id, :name) RETURNING *, INSERT INTO super_hero(id, name) VALUES (?, ?) RETURNING *, {id=[1], name=[2]}
net.samyn.kapper.QueryParserTest ‑ [4] $
net.samyn.kapper.QueryParserTest ‑ [4] -
net.samyn.kapper.QueryParserTest ‑ [4] ;
net.samyn.kapper.QueryParserTest ‑ [4] UPDATE super_hero SET name = :name WHERE id = :id, UPDATE super_hero SET name = ? WHERE id = ?, {name=[1], id=[2]}
net.samyn.kapper.QueryParserTest ‑ [5] 

net.samyn.kapper.QueryParserTest ‑ [5] %
net.samyn.kapper.QueryParserTest ‑ [5] UPDATE super_hero SET name = :name WHERE id = :id;, UPDATE super_hero SET name = ? WHERE id = ?;, {name=[1], id=[2]}
net.samyn.kapper.QueryParserTest ‑ [5] _
net.samyn.kapper.QueryParserTest ‑ [6] 	
net.samyn.kapper.QueryParserTest ‑ [6] ^
net.samyn.kapper.QueryParserTest ‑ [7] 
net.samyn.kapper.QueryParserTest ‑ [7] &
net.samyn.kapper.QueryParserTest ‑ [8] *
net.samyn.kapper.QueryParserTest ‑ [9] (
net.samyn.kapper.QueryParserTest ‑ when no tokens return empty map()
net.samyn.kapper.QueryParserTest ‑ when query is very large()
net.samyn.kapper.QueryParserTest ‑ when token contains numbers()
net.samyn.kapper.QueryParserTest ‑ when token is at the beginning of the query()
net.samyn.kapper.QueryParserTest ‑ when token start at end of query, ignore()
net.samyn.kapper.QueryParserTest ‑ when token start but no name, ignore()
net.samyn.kapper.QueryParserTest ‑ when tokens are repeated()
net.samyn.kapper.QuerySingleTests ‑ [1] PostgreSQL
net.samyn.kapper.QuerySingleTests ‑ [2] MySQL
net.samyn.kapper.QueryTests ‑ [1] PostgreSQL
net.samyn.kapper.QueryTests ‑ [2] MySQL
net.samyn.kapper.SQLTypesConverterTest ‑ [10] BOOLEAN, fun java.sql.PreparedStatement.setBoolean(kotlin.Int, kotlin.Boolean): kotlin.Unit
net.samyn.kapper.SQLTypesConverterTest ‑ [10] LONGNVARCHAR, LONGNVARCHAR, net.samyn.kapper.SQLTypesConverterTest$Companion$$Lambda$676/0x00007ff30445ab20@1ad24f01
net.samyn.kapper.SQLTypesConverterTest ‑ [11] INSTANT, net.samyn.kapper.SQLTypesConverterTest$Companion$$Lambda$775/0x00007ff3044d58a8@19dfcc79
net.samyn.kapper.SQLTypesConverterTest ‑ [11] LONGVARCHAR, LONGVARCHAR, net.samyn.kapper.SQLTypesConverterTest$Companion$$Lambda$677/0x00007ff30445ad48@1a00594c
net.samyn.kapper.SQLTypesConverterTest ‑ [12] DATE, net.samyn.kapper.SQLTypesConverterTest$Companion$$Lambda$776/0x00007ff3044d5ad0@68157622
net.samyn.kapper.SQLTypesConverterTest ‑ [12] NCHAR, NCHAR, net.samyn.kapper.SQLTypesConverterTest$Companion$$Lambda$678/0x00007ff30445af70@4030da3e
net.samyn.kapper.SQLTypesConverterTest ‑ [13] NCLOB, NCLOB, net.samyn.kapper.SQLTypesConverterTest$Companion$$Lambda$679/0x00007ff30445b198@ff4580b
net.samyn.kapper.SQLTypesConverterTest ‑ [14] NVARCHAR, NVARCHAR, net.samyn.kapper.SQLTypesConverterTest$Companion$$Lambda$680/0x00007ff30445b3c0@10eb073c
net.samyn.kapper.SQLTypesConverterTest ‑ [15] ROWID, ROWID, net.samyn.kapper.SQLTypesConverterTest$Companion$$Lambda$681/0x00007ff30445fc00@1fbaa48d
net.samyn.kapper.SQLTypesConverterTest ‑ [16] SQLXML, SQLXML, net.samyn.kapper.SQLTypesConverterTest$Companion$$Lambda$682/0x00007ff304460000@67eba260
net.samyn.kapper.SQLTypesConverterTest ‑ [17] VARCHAR, VARCHAR, net.samyn.kapper.SQLTypesConverterTest$Companion$$Lambda$683/0x00007ff304460228@7261e401
net.samyn.kapper.SQLTypesConverterTest ‑ [18] DATE, DATE, net.samyn.kapper.SQLTypesConverterTest$Companion$$Lambda$684/0x00007ff304460450@5afd5e72
net.samyn.kapper.SQLTypesConverterTest ‑ [19] DECIMAL, DECIMAL, net.samyn.kapper.SQLTypesConverterTest$Companion$$Lambda$685/0x00007ff304460678@26c6b81f
net.samyn.kapper.SQLTypesConverterTest ‑ [1] ARRAY, ARRAY, net.samyn.kapper.SQLTypesConverterTest$Companion$$Lambda$667/0x00007ff304459148@7f225773
net.samyn.kapper.SQLTypesConverterTest ‑ [1] BYTE, fun java.sql.PreparedStatement.setByte(kotlin.Int, kotlin.Byte): kotlin.Unit
net.samyn.kapper.SQLTypesConverterTest ‑ [1] OTHER
net.samyn.kapper.SQLTypesConverterTest ‑ [1] UUID, net.samyn.kapper.SQLTypesConverterTest$Companion$$Lambda$753/0x00007ff3044c7af8@38c9c9c8, 6e27afe1-bfa8-44bf-a28b-fc94cd1178f4, POSTGRESQL
net.samyn.kapper.SQLTypesConverterTest ‑ [20] FLOAT, FLOAT, net.samyn.kapper.SQLTypesConverterTest$Companion$$Lambda$686/0x00007ff3044608a0@629887a0
net.samyn.kapper.SQLTypesConverterTest ‑ [21] NUMERIC, NUMERIC, net.samyn.kapper.SQLTypesConverterTest$Companion$$Lambda$687/0x00007ff304460ee0@241e7a8f
net.samyn.kapper.SQLTypesConverterTest ‑ [22] REAL, REAL, net.samyn.kapper.SQLTypesConverterTest$Companion$$Lambda$688/0x00007ff304461108@75641ffe
net.samyn.kapper.SQLTypesConverterTest ‑ [23] DOUBLE, DOUBLE, net.samyn.kapper.SQLTypesConverterTest$Companion$$Lambda$689/0x00007ff304461568@33f94258
net.samyn.kapper.SQLTypesConverterTest ‑ [24] INTEGER, INTEGER, net.samyn.kapper.SQLTypesConverterTest$Companion$$Lambda$690/0x00007ff304461790@54195ada
net.samyn.kapper.SQLTypesConverterTest ‑ [25] SMALLINT, SMALLINT, net.samyn.kapper.SQLTypesConverterTest$Companion$$Lambda$691/0x00007ff3044619b8@14ed8dde
net.samyn.kapper.SQLTypesConverterTest ‑ [26] TINYINT, TINYINT, net.samyn.kapper.SQLTypesConverterTest$Companion$$Lambda$692/0x00007ff304461be0@2739235
net.samyn.kapper.SQLTypesConverterTest ‑ [27] JAVA_OBJECT, JAVA_OBJECT, net.samyn.kapper.SQLTypesConverterTest$Companion$$Lambda$693/0x00007ff304461e08@2279e764
net.samyn.kapper.SQLTypesConverterTest ‑ [28] TIME, TIME, net.samyn.kapper.SQLTypesConverterTest$Companion$$Lambda$694/0x00007ff304462030@f7c8f7c
net.samyn.kapper.SQLTypesConverterTest ‑ [29] TIME_WITH_TIMEZONE, TIME_WITH_TIMEZONE, net.samyn.kapper.SQLTypesConverterTest$Companion$$Lambda$695/0x00007ff304462258@3bc266ba
net.samyn.kapper.SQLTypesConverterTest ‑ [2] BIGINT, BIGINT, net.samyn.kapper.SQLTypesConverterTest$Companion$$Lambda$668/0x00007ff304459370@5cbc9329
net.samyn.kapper.SQLTypesConverterTest ‑ [2] DATALINK
net.samyn.kapper.SQLTypesConverterTest ‑ [2] SHORT, fun java.sql.PreparedStatement.setShort(kotlin.Int, kotlin.Short): kotlin.Unit
net.samyn.kapper.SQLTypesConverterTest ‑ [2] UUID, fun java.sql.PreparedStatement.setString(kotlin.Int, kotlin.String!): kotlin.Unit, 6e27afe1-bfa8-44bf-a28b-fc94cd1178f4, MYSQL
net.samyn.kapper.SQLTypesConverterTest ‑ [30] TIMESTAMP, TIMESTAMP, net.samyn.kapper.SQLTypesConverterTest$Companion$$Lambda$696/0x00007ff304462900@291be3c9
net.samyn.kapper.SQLTypesConverterTest ‑ [31] TIMESTAMP_WITH_TIMEZONE, TIMESTAMP_WITH_TIMEZONE, net.samyn.kapper.SQLTypesConverterTest$Companion$$Lambda$697/0x00007ff304462b28@3b251ad5
net.samyn.kapper.SQLTypesConverterTest ‑ [3] BINARY, BINARY, net.samyn.kapper.SQLTypesConverterTest$Companion$$Lambda$669/0x00007ff304459598@4f219009
net.samyn.kapper.SQLTypesConverterTest ‑ [3] DISTINCT
net.samyn.kapper.SQLTypesConverterTest ‑ [3] INT, fun java.sql.PreparedStatement.setInt(kotlin.Int, kotlin.Int): kotlin.Unit
net.samyn.kapper.SQLTypesConverterTest ‑ [4] BLOB, BLOB, net.samyn.kapper.SQLTypesConverterTest$Companion$$Lambda$670/0x00007ff3044597c0@30189e0a
net.samyn.kapper.SQLTypesConverterTest ‑ [4] LONG, fun java.sql.PreparedStatement.setLong(kotlin.Int, kotlin.Long): kotlin.Unit
net.samyn.kapper.SQLTypesConverterTest ‑ [4] REF
net.samyn.kapper.SQLTypesConverterTest ‑ [5] FLOAT, fun java.sql.PreparedStatement.setFloat(kotlin.Int, kotlin.Float): kotlin.Unit
net.samyn.kapper.SQLTypesConverterTest ‑ [5] LONGVARBINARY, LONGVARBINARY, net.samyn.kapper.SQLTypesConverterTest$Companion$$Lambda$671/0x00007ff3044599e8@7225d143
net.samyn.kapper.SQLTypesConverterTest ‑ [5] REF_CURSOR
net.samyn.kapper.SQLTypesConverterTest ‑ [6] DOUBLE, fun java.sql.PreparedStatement.setDouble(kotlin.Int, kotlin.Double): kotlin.Unit
net.samyn.kapper.SQLTypesConverterTest ‑ [6] STRUCT
net.samyn.kapper.SQLTypesConverterTest ‑ [6] VARBINARY, VARBINARY, net.samyn.kapper.SQLTypesConverterTest$Companion$$Lambda$672/0x00007ff30445a280@6f5bdb3a
net.samyn.kapper.SQLTypesConverterTest ‑ [7] BIT, BIT, net.samyn.kapper.SQLTypesConverterTest$Companion$$Lambda$673/0x00007ff30445a4a8@499eff8c
net.samyn.kapper.SQLTypesConverterTest ‑ [7] CHAR, net.samyn.kapper.SQLTypesConverterTest$Companion$$Lambda$774/0x00007ff3044d4b40@5a2ca3f2
net.samyn.kapper.SQLTypesConverterTest ‑ [7] NULL
net.samyn.kapper.SQLTypesConverterTest ‑ [8] BOOLEAN, BOOLEAN, net.samyn.kapper.SQLTypesConverterTest$Companion$$Lambda$674/0x00007ff30445a6d0@e9ad9f3
net.samyn.kapper.SQLTypesConverterTest ‑ [8] STRING, fun java.sql.PreparedStatement.setString(kotlin.Int, kotlin.String!): kotlin.Unit
net.samyn.kapper.SQLTypesConverterTest ‑ [9] BYTE-ARRAY, fun java.sql.PreparedStatement.setBytes(kotlin.Int, kotlin.ByteArray!): kotlin.Unit
net.samyn.kapper.SQLTypesConverterTest ‑ [9] CLOB, CLOB, net.samyn.kapper.SQLTypesConverterTest$Companion$$Lambda$675/0x00007ff30445a8f8@1e3f8340
net.samyn.kapper.SQLTypesConverterTest ‑ char needs truncating()
net.samyn.kapper.SQLTypesConverterTest ‑ time needs converting()
net.samyn.kapper.SQLTypesConverterTest ‑ time with zone needs converting()
net.samyn.kapper.SQLTypesConverterTest ‑ timestamp needs converting()
net.samyn.kapper.SQLTypesConverterTest ‑ timestamp with zone needs converting()
net.samyn.kapper.SQLTypesConverterTest ‑ uuid needs parsing()
net.samyn.kapper.TypesTest ‑ [1] PostgreSQL
net.samyn.kapper.TypesTest ‑ [2] MySQL
net.samyn.kapper.coroutines.DatasourceWithConnectionDbTest ‑ execute tx on IO dispatcher()
net.samyn.kapper.coroutines.DatasourceWithConnectionDbTest ‑ slow query on IO dispatcher()
net.samyn.kapper.coroutines.DatasourceWithConnectionTest ‑ can continue while block executes()
net.samyn.kapper.coroutines.DatasourceWithConnectionTest ‑ close connection when exception thrown()
net.samyn.kapper.coroutines.DatasourceWithConnectionTest ‑ create connection on IO dispatcher()
net.samyn.kapper.coroutines.DatasourceWithConnectionTest ‑ create connection on given dispatcher()
net.samyn.kapper.coroutines.DatasourceWithConnectionTest ‑ create connection()