mirror of
https://github.com/corda/corda.git
synced 2025-06-18 15:18:16 +00:00
TM-23 Fail build on compiler warnings (#5453)
* java compile respects compilation.allWarningsAsErrors * suppress or cleanup warnings * suppress warning * use non-deprecated kotlin dependency * rename property * handle property existence check * Deal with warnings
This commit is contained in:
@ -4,8 +4,6 @@ import com.nhaarman.mockito_kotlin.mock
|
||||
import org.assertj.core.api.Assertions.assertThat
|
||||
import org.assertj.core.api.Assertions.assertThatThrownBy
|
||||
import org.junit.Test
|
||||
import java.lang.IllegalArgumentException
|
||||
import java.lang.RuntimeException
|
||||
|
||||
class ClassLoadingUtilsTest {
|
||||
|
||||
@ -33,7 +31,7 @@ class ClassLoadingUtilsTest {
|
||||
|
||||
@Test(expected = IllegalArgumentException::class)
|
||||
fun throwsExceptionWhenClassDoesNotContainProperConstructors() {
|
||||
val classes = createInstancesOfClassesImplementing(BaseInterface::class.java.classLoader, BaseInterface2::class.java)
|
||||
createInstancesOfClassesImplementing(BaseInterface::class.java.classLoader, BaseInterface2::class.java)
|
||||
}
|
||||
|
||||
@Test
|
||||
|
Reference in New Issue
Block a user