mirror of
https://github.com/gotson/komga.git
synced 2025-01-09 12:18:03 +08:00
test: don't run CodingRulesTest on test classes
This commit is contained in:
parent
a085e63567
commit
50a4638c55
@ -1,5 +1,6 @@
|
||||
package org.gotson.komga.architecture
|
||||
|
||||
import com.tngtech.archunit.core.importer.ImportOption
|
||||
import com.tngtech.archunit.junit.AnalyzeClasses
|
||||
import com.tngtech.archunit.junit.ArchTest
|
||||
import com.tngtech.archunit.library.GeneralCodingRules.NO_CLASSES_SHOULD_ACCESS_STANDARD_STREAMS
|
||||
@ -8,7 +9,7 @@ import com.tngtech.archunit.library.GeneralCodingRules.NO_CLASSES_SHOULD_USE_JAV
|
||||
import com.tngtech.archunit.library.GeneralCodingRules.NO_CLASSES_SHOULD_USE_JODATIME
|
||||
import org.gotson.komga.Application
|
||||
|
||||
@AnalyzeClasses(packagesOf = [Application::class])
|
||||
@AnalyzeClasses(packagesOf = [Application::class], importOptions = [ImportOption.DoNotIncludeTests::class])
|
||||
class CodingRulesTest {
|
||||
|
||||
@ArchTest
|
||||
|
Loading…
Reference in New Issue
Block a user