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

This commit is contained in:
Alexey Tsvetkov
2016-10-19 21:28:28 +03:00
parent ea93ec3eec
commit 18d50b930d
@@ -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")