Get rid of deprecated annotations and modifiers in stdlib (besides JS)

This commit is contained in:
Denis Zharkov
2015-09-14 16:35:30 +03:00
parent 9c4564a5a6
commit 5cecaa6f87
133 changed files with 1203 additions and 1085 deletions
@@ -107,16 +107,19 @@ class NoInternalVisibilityInStdLibTest {
}
}
Before fun setUp() {
@Before
fun setUp() {
disposable = Disposer.newDisposable()
}
After fun tearDown() {
@After
fun tearDown() {
Disposer.dispose(disposable!!)
disposable = null
}
Test fun testJvmStdlib() {
@Test
fun testJvmStdlib() {
doTest(ANALYZE_PACKAGE_ROOTS_FOR_JVM, ADDITIONALLY_REQUIRED_PACKAGES_FOR_JVM) {
val configuration = CompilerConfiguration()
configuration.addKotlinSourceRoot("../src/kotlin")
@@ -134,7 +137,8 @@ class NoInternalVisibilityInStdLibTest {
}
}
Test fun testJsStdlibJar() {
@Test
fun testJsStdlibJar() {
doTest(ANALYZE_PACKAGE_ROOTS_FOR_JS, ADDITIONALLY_REQUIRED_PACKAGES_FOR_JS) {
val configuration = CompilerConfiguration()
val environment = KotlinCoreEnvironment.createForProduction(disposable!!, configuration, EnvironmentConfigFiles.JS_CONFIG_FILES)