From adba1d4a289fbebed20df00ab28e7319579f695b Mon Sep 17 00:00:00 2001 From: Rafael Costa Date: Sun, 21 Jul 2024 00:47:06 +0100 Subject: [PATCH] tests fix --- .../ksp/commons/DefaultParameterValueReaderTest.kt | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/compose-destinations-ksp/src/test/kotlin/com/ramcosta/composedestinations/ksp/commons/DefaultParameterValueReaderTest.kt b/compose-destinations-ksp/src/test/kotlin/com/ramcosta/composedestinations/ksp/commons/DefaultParameterValueReaderTest.kt index 087e89ab..d1711993 100644 --- a/compose-destinations-ksp/src/test/kotlin/com/ramcosta/composedestinations/ksp/commons/DefaultParameterValueReaderTest.kt +++ b/compose-destinations-ksp/src/test/kotlin/com/ramcosta/composedestinations/ksp/commons/DefaultParameterValueReaderTest.kt @@ -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 @@ -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") }