Skip to content

Commit

Permalink
chore: make debugging getterSetter tests easier (#2272)
Browse files Browse the repository at this point in the history
  • Loading branch information
mhamilton723 authored Aug 29, 2024
1 parent eb309fe commit 5c9d304
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 5c9d304

Please sign in to comment.