"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "jps-plugin/jps-tests/test/org/jetbrains/kotlin/jps/build/KotlinJpsBuildTest.kt" between
kotlin-1.3.20.tar.gz and kotlin-1.3.21.tar.gz

About: Kotlin is a Java like statically typed programming language for the JVM, Android and the browser. Source code.

KotlinJpsBuildTest.kt  (kotlin-1.3.20):KotlinJpsBuildTest.kt  (kotlin-1.3.21)
skipping to change at line 102 skipping to change at line 102
private val JDK_NAME = "IDEA_JDK" private val JDK_NAME = "IDEA_JDK"
private val EXCLUDE_FILES = arrayOf("Excluded.class", "YetAnotherExclude d.class") private val EXCLUDE_FILES = arrayOf("Excluded.class", "YetAnotherExclude d.class")
private val NOTHING = arrayOf<String>() private val NOTHING = arrayOf<String>()
private val KOTLIN_JS_LIBRARY = "jslib-example" private val KOTLIN_JS_LIBRARY = "jslib-example"
private val PATH_TO_KOTLIN_JS_LIBRARY = AbstractKotlinJpsBuildTestCase.T EST_DATA_PATH + "general/KotlinJavaScriptProjectWithDirectoryAsLibrary/" + KOTLI N_JS_LIBRARY private val PATH_TO_KOTLIN_JS_LIBRARY = AbstractKotlinJpsBuildTestCase.T EST_DATA_PATH + "general/KotlinJavaScriptProjectWithDirectoryAsLibrary/" + KOTLI N_JS_LIBRARY
private val KOTLIN_JS_LIBRARY_JAR = "$KOTLIN_JS_LIBRARY.jar" private val KOTLIN_JS_LIBRARY_JAR = "$KOTLIN_JS_LIBRARY.jar"
private fun getMethodsOfClass(classFile: File): Set<String> { private fun getMethodsOfClass(classFile: File): Set<String> {
val result = TreeSet<String>() val result = TreeSet<String>()
ClassReader(FileUtil.loadFileBytes(classFile)).accept(object : Class Visitor(Opcodes.ASM5) { ClassReader(FileUtil.loadFileBytes(classFile)).accept(object : Class Visitor(Opcodes.API_VERSION) {
override fun visitMethod(access: Int, name: String, desc: String , signature: String?, exceptions: Array<String>?): MethodVisitor? { override fun visitMethod(access: Int, name: String, desc: String , signature: String?, exceptions: Array<String>?): MethodVisitor? {
result.add(name) result.add(name)
return null return null
} }
}, 0) }, 0)
return result return result
} }
@JvmStatic @JvmStatic
protected fun assertFilesExistInOutput(module: JpsModule, vararg relativ ePaths: String) { protected fun assertFilesExistInOutput(module: JpsModule, vararg relativ ePaths: String) {
 End of changes. 1 change blocks. 
1 lines changed or deleted 1 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)