From 1268176cef0a2bacb6ddc3affac91a1f866a39ed Mon Sep 17 00:00:00 2001 From: Mark Hamilton Date: Thu, 29 Aug 2024 17:05:35 -0400 Subject: [PATCH] chore: make debugging getterSetter tests easier --- .../microsoft/azure/synapse/ml/core/test/fuzzing/Fuzzing.scala | 1 + 1 file changed, 1 insertion(+) diff --git a/core/src/test/scala/com/microsoft/azure/synapse/ml/core/test/fuzzing/Fuzzing.scala b/core/src/test/scala/com/microsoft/azure/synapse/ml/core/test/fuzzing/Fuzzing.scala index 4888df2dc6..53f6f1a7a2 100644 --- a/core/src/test/scala/com/microsoft/azure/synapse/ml/core/test/fuzzing/Fuzzing.scala +++ b/core/src/test/scala/com/microsoft/azure/synapse/ml/core/test/fuzzing/Fuzzing.scala @@ -561,6 +561,7 @@ trait GetterSetterFuzzing[S <: PipelineStage with Params] extends TestBase with val pipelineStage = getterSetterTestObject().stage.copy(new ParamMap()).asInstanceOf[S] val methods = pipelineStage.getClass.getMethods pipelineStage.params.foreach { p => + println(s"Testing parameter ${p.name}") val getters = methods.filter(_.getName == s"get${p.name.capitalize}").toSeq val setters = methods.filter(_.getName == s"set${p.name.capitalize}").toSeq val defaultValue = getterSetterParamExample(pipelineStage, p)