apidocs / com.srv4pos.server.api.infrastructure / DiagnosticsUtil

DiagnosticsUtil

class DiagnosticsUtil

Utility calls for compatibility for future versions of java and 3rd party libraries. for com.srv4pos.server.api.Diagnostics

User: Kirill, Date: 10.09.13 8:53

Types

Indexer

interface Indexer<K : Any!, V : Any!>

Functions

assertExceptionThrown

static fun assertExceptionThrown(message: String!, exceptionType: Class<out Throwable!>!, method: Runnable!): Unit

Assert that expected exception has been thrown.

assertPicture

static fun assertPicture(message: String!, actual: InputStream!, expected: InputStream!): Unit

index

static fun <K : Any!, V : Any!> index(src: MutableCollection<V>!, indexer: DiagnosticsUtil.Indexer<K, V>!): MutableMap<K, V>!

newArrayList

static fun <V : Any!> newArrayList(vararg c: V): MutableList<V>!