[Test] Reformat MockLibraryUtil according to code style
This commit is contained in:
committed by
TeamCityServer
parent
e287742842
commit
eadec08937
@@ -53,8 +53,16 @@ object MockLibraryUtil {
|
|||||||
useJava9: Boolean = false
|
useJava9: Boolean = false
|
||||||
): File {
|
): File {
|
||||||
return compileLibraryToJar(
|
return compileLibraryToJar(
|
||||||
sourcesPath, KtTestUtil.tmpDirForReusableFolder("testLibrary-" + jarName), jarName, addSources, allowKotlinSources, extraOptions, extraClasspath
|
sourcesPath,
|
||||||
, useJava9)}
|
KtTestUtil.tmpDirForReusableFolder("testLibrary-" + jarName),
|
||||||
|
jarName,
|
||||||
|
addSources,
|
||||||
|
allowKotlinSources,
|
||||||
|
extraOptions,
|
||||||
|
extraClasspath,
|
||||||
|
useJava9
|
||||||
|
)
|
||||||
|
}
|
||||||
|
|
||||||
@JvmStatic
|
@JvmStatic
|
||||||
@JvmOverloads
|
@JvmOverloads
|
||||||
@@ -103,8 +111,7 @@ object MockLibraryUtil {
|
|||||||
// Probably no kotlin files were present, so dir might not have been created after kotlin compiler
|
// Probably no kotlin files were present, so dir might not have been created after kotlin compiler
|
||||||
if (classesDir.exists()) {
|
if (classesDir.exists()) {
|
||||||
classpath += classesDir.path
|
classpath += classesDir.path
|
||||||
}
|
} else {
|
||||||
else {
|
|
||||||
FileUtil.createDirectory(classesDir)
|
FileUtil.createDirectory(classesDir)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user