Minor: add Throws(Exception) to avoid override issues in java
Original commit: 18d50b930d
This commit is contained in:
+2
@@ -19,12 +19,14 @@ package org.jetbrains.kotlin.jps.build
|
|||||||
import org.jetbrains.jps.builders.JpsBuildTestCase
|
import org.jetbrains.jps.builders.JpsBuildTestCase
|
||||||
|
|
||||||
abstract class BaseKotlinJpsBuildTestCase : JpsBuildTestCase() {
|
abstract class BaseKotlinJpsBuildTestCase : JpsBuildTestCase() {
|
||||||
|
@Throws(Exception::class)
|
||||||
override fun setUp() {
|
override fun setUp() {
|
||||||
super.setUp()
|
super.setUp()
|
||||||
JpsUtils.resetCaches()
|
JpsUtils.resetCaches()
|
||||||
System.setProperty("kotlin.jps.tests", "true")
|
System.setProperty("kotlin.jps.tests", "true")
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Throws(Exception::class)
|
||||||
override fun tearDown() {
|
override fun tearDown() {
|
||||||
JpsUtils.resetCaches()
|
JpsUtils.resetCaches()
|
||||||
System.clearProperty("kotlin.jps.tests")
|
System.clearProperty("kotlin.jps.tests")
|
||||||
|
|||||||
Reference in New Issue
Block a user