Skip to content

Commit

Permalink
fix various style issues
Browse files Browse the repository at this point in the history
  • Loading branch information
CodingDepot committed Jul 3, 2024
1 parent 0649006 commit b4efb6b
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,18 +16,23 @@
package de.fraunhofer.aisec.codyze.plugins.compiled

import de.fraunhofer.aisec.codyze.plugins.PluginTest
import java.nio.file.Path
import kotlin.io.path.toPath
import kotlin.test.assertNotNull

abstract class CompiledPluginTest : PluginTest() {
override fun scanFiles() {
val libPath = PluginTest::class.java.classLoader.getResource("targets/libs/demo-cloud-service-1.0.0.jar")!!.toURI().toPath()
val libPath =
PluginTest::class.java.classLoader.getResource("targets/libs/demo-cloud-service-1.0.0.jar")!!
.toURI().toPath()
val contextPaths = listOf(
PluginTest::class.java.classLoader.getResource("targets/libs/bcpkix-jdk18on-1.75.jar")!!.toURI().toPath(),
PluginTest::class.java.classLoader.getResource("targets/libs/bcprov-jdk18on-1.75.jar")!!.toURI().toPath(),
PluginTest::class.java.classLoader.getResource("targets/libs/bctls-jdk18on-1.75.jar")!!.toURI().toPath(),
PluginTest::class.java.classLoader.getResource("targets/libs/bcutil-jdk18on-1.75.jar")!!.toURI().toPath()
PluginTest::class.java.classLoader.getResource("targets/libs/bcpkix-jdk18on-1.75.jar")!!
.toURI().toPath(),
PluginTest::class.java.classLoader.getResource("targets/libs/bcprov-jdk18on-1.75.jar")!!
.toURI().toPath(),
PluginTest::class.java.classLoader.getResource("targets/libs/bctls-jdk18on-1.75.jar")!!
.toURI().toPath(),
PluginTest::class.java.classLoader.getResource("targets/libs/bcutil-jdk18on-1.75.jar")!!
.toURI().toPath()
)
assertNotNull(libPath)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@
package de.fraunhofer.aisec.codyze.plugins.source

import de.fraunhofer.aisec.codyze.plugins.PluginTest
import java.nio.file.Path
import kotlin.io.path.toPath
import kotlin.test.assertNotNull

Expand Down

0 comments on commit b4efb6b

Please sign in to comment.