Skip to content

Commit

Permalink
Merge branch 'refs/heads/v2-compose-1.6'
Browse files Browse the repository at this point in the history
  • Loading branch information
raamcosta committed Jul 20, 2024
2 parents 0c873f4 + adba1d4 commit d19a66a
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 d19a66a

Please sign in to comment.