Skip to content

Commit

Permalink
tests fix
Browse files Browse the repository at this point in the history
  • Loading branch information
raamcosta committed Jul 20, 2024
1 parent b137b95 commit adba1d4
Showing 1 changed file with 8 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
package com.ramcosta.composedestinations.ksp.commons

import com.ramcosta.composedestinations.codegen.facades.Logger
import com.ramcosta.composedestinations.codegen.facades.PPrinter
import com.ramcosta.composedestinations.codegen.model.DefaultValue
import org.junit.Test

Expand Down Expand Up @@ -359,6 +360,13 @@ class DefaultParameterValueReaderTest {

private fun addLogger() {
Logger.instance = object : Logger {
override val debugMode: Boolean
get() = false
override val debugModeOutputPath: String?
get() = null
override val prettyPrinter: PPrinter
get() = kotlin.error("")

override fun logging(message: String) {
println("logging - $message")
}
Expand Down

0 comments on commit adba1d4

Please sign in to comment.