Lint
This commit is contained in:
@@ -9,8 +9,8 @@ import com.github.jasync.sql.db.postgresql.PostgreSQLConnectionBuilder
|
|||||||
import com.github.jasync.sql.db.util.length
|
import com.github.jasync.sql.db.util.length
|
||||||
import fr.postgresjson.serializer.Serializer
|
import fr.postgresjson.serializer.Serializer
|
||||||
import fr.postgresjson.utils.LoggerDelegate
|
import fr.postgresjson.utils.LoggerDelegate
|
||||||
import kotlin.jvm.Throws
|
|
||||||
import org.slf4j.Logger
|
import org.slf4j.Logger
|
||||||
|
import kotlin.jvm.Throws
|
||||||
import kotlin.random.Random
|
import kotlin.random.Random
|
||||||
import kotlin.reflect.full.hasAnnotation
|
import kotlin.reflect.full.hasAnnotation
|
||||||
|
|
||||||
|
|||||||
@@ -7,10 +7,10 @@ import fr.postgresjson.definition.Parameter.Direction.INOUT
|
|||||||
import fr.postgresjson.definition.Parameter.Direction.OUT
|
import fr.postgresjson.definition.Parameter.Direction.OUT
|
||||||
import fr.postgresjson.utils.searchSqlFiles
|
import fr.postgresjson.utils.searchSqlFiles
|
||||||
import fr.postgresjson.utils.toCamelCase
|
import fr.postgresjson.utils.toCamelCase
|
||||||
import java.io.File
|
|
||||||
import java.net.URI
|
|
||||||
import org.slf4j.Logger
|
import org.slf4j.Logger
|
||||||
import org.slf4j.LoggerFactory
|
import org.slf4j.LoggerFactory
|
||||||
|
import java.io.File
|
||||||
|
import java.net.URI
|
||||||
|
|
||||||
class FunctionGenerator(private val functionsDirectories: List<URI>) {
|
class FunctionGenerator(private val functionsDirectories: List<URI>) {
|
||||||
constructor(functionsDirectories: URI) : this(listOf(functionsDirectories))
|
constructor(functionsDirectories: URI) : this(listOf(functionsDirectories))
|
||||||
|
|||||||
@@ -8,6 +8,7 @@ import fr.postgresjson.serializer.deserialize
|
|||||||
import fr.postgresjson.serializer.toTypeReference
|
import fr.postgresjson.serializer.toTypeReference
|
||||||
import org.junit.jupiter.api.Test
|
import org.junit.jupiter.api.Test
|
||||||
import org.junit.jupiter.api.TestInstance
|
import org.junit.jupiter.api.TestInstance
|
||||||
|
import org.junit.jupiter.api.assertThrows
|
||||||
import java.util.UUID
|
import java.util.UUID
|
||||||
import kotlin.reflect.full.hasAnnotation
|
import kotlin.reflect.full.hasAnnotation
|
||||||
import kotlin.test.assertEquals
|
import kotlin.test.assertEquals
|
||||||
@@ -15,7 +16,6 @@ import kotlin.test.assertFalse
|
|||||||
import kotlin.test.assertNotNull
|
import kotlin.test.assertNotNull
|
||||||
import kotlin.test.assertNull
|
import kotlin.test.assertNull
|
||||||
import kotlin.test.assertTrue
|
import kotlin.test.assertTrue
|
||||||
import org.junit.jupiter.api.assertThrows
|
|
||||||
|
|
||||||
@TestInstance(TestInstance.Lifecycle.PER_CLASS)
|
@TestInstance(TestInstance.Lifecycle.PER_CLASS)
|
||||||
class ConnectionTest : TestAbstract() {
|
class ConnectionTest : TestAbstract() {
|
||||||
|
|||||||
Reference in New Issue
Block a user