munit.internal.junitinterface.RunSettings.scala Maven / Gradle / Ivy
The newest version!
/*
* Adapted from https://github.com/scala-js/scala-js, see NOTICE.md.
*/
package munit.internal.junitinterface
import scala.util.Try
final class RunSettings(
val color: Boolean,
decodeScalaNames: Boolean,
val verbose: Boolean,
val logAssert: Boolean,
val notLogExceptionClass: Boolean,
val useSbtLoggers: Boolean,
val trimStackTraces: Boolean,
val tags: TagsFilter
) extends Settings {
def decodeName(name: String): String = {
if (decodeScalaNames)
Try(scala.reflect.NameTransformer.decode(name)).getOrElse(name)
else name
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy