Minor: add Throws(Exception) to avoid override issues in java

Original commit: 18d50b930d
This commit is contained in:
Alexey Tsvetkov
2016-10-19 21:28:28 +03:00
parent 765f02f9ac
commit 7ed13b9ecd
@@ -19,12 +19,14 @@ package org.jetbrains.kotlin.jps.build
import org.jetbrains.jps.builders.JpsBuildTestCase
abstract class BaseKotlinJpsBuildTestCase : JpsBuildTestCase() {
@Throws(Exception::class)
override fun setUp() {
super.setUp()
JpsUtils.resetCaches()
System.setProperty("kotlin.jps.tests", "true")
}
@Throws(Exception::class)
override fun tearDown() {
JpsUtils.resetCaches()
System.clearProperty("kotlin.jps.tests")