[NU-1836] Move converters from CONV util to extension methods. Implement generic conversion extension methods: is, to and toOrNull. #15068
GitHub Actions / REPORT-BackendTests-2.13
failed
Oct 24, 2024 in 0s
2627 passed, 1 failed and 6 skipped
Annotations
github-actions / REPORT-BackendTests-2.13
pl.touk.nussknacker.ui.api.ExpressionSuggesterSpec ► should suggest parameters for casts methods
Failed test found in:
designer/server/target/test-reports/TEST-pl.touk.nussknacker.ui.api.ExpressionSuggesterSpec.xml
Error:
org.scalatest.exceptions.TestFailedException: List(ExpressionSuggestion("BigDecimal", TypedClass(class java.math.BigDecimal, List()), false, None, List()), ExpressionSuggestion("Boolean", TypedClass(class java.lang.Boolean, List()), false, None, List()), ExpressionSuggestion("Double", TypedClass(class java.lang.Double, List()), false, None, List()), ExpressionSuggestion("List", TypedClass(interface java.util.List, List(Unknown)), false, None, List()), ExpressionSuggestion("Long", TypedClass(class java.lang.Long, List()), false, None, List()), ExpressionSuggestion("Map", TypedClass(interface java.util.Map, List(Unknown, Unknown)), false, None, List()), ExpressionSuggestion("String", TypedClass(class java.lang.String, List()), false, None, List())) did not contain the same elements as List(ExpressionSuggestion("BigDecimal", TypedClass(class java.math.BigDecimal, List()), false, None, List()), ExpressionSuggestion("Boolean", TypedClass(class java.lang.Boolean, List()), false, None, List()), ExpressionSuggestion("Double", TypedClass(class java.lang.Double, List()), false, None, List()), ExpressionSuggestion("Long", TypedClass(class java.lang.Long, List()), false, None, List()))
Raw output
org.scalatest.exceptions.TestFailedException: List(ExpressionSuggestion("BigDecimal", TypedClass(class java.math.BigDecimal, List()), false, None, List()), ExpressionSuggestion("Boolean", TypedClass(class java.lang.Boolean, List()), false, None, List()), ExpressionSuggestion("Double", TypedClass(class java.lang.Double, List()), false, None, List()), ExpressionSuggestion("List", TypedClass(interface java.util.List, List(Unknown)), false, None, List()), ExpressionSuggestion("Long", TypedClass(class java.lang.Long, List()), false, None, List()), ExpressionSuggestion("Map", TypedClass(interface java.util.Map, List(Unknown, Unknown)), false, None, List()), ExpressionSuggestion("String", TypedClass(class java.lang.String, List()), false, None, List())) did not contain the same elements as List(ExpressionSuggestion("BigDecimal", TypedClass(class java.math.BigDecimal, List()), false, None, List()), ExpressionSuggestion("Boolean", TypedClass(class java.lang.Boolean, List()), false, None, List()), ExpressionSuggestion("Double", TypedClass(class java.lang.Double, List()), false, None, List()), ExpressionSuggestion("Long", TypedClass(class java.lang.Long, List()), false, None, List()))
at org.scalatest.matchers.MatchersHelper$.indicateFailure(MatchersHelper.scala:392)
at org.scalatest.matchers.dsl.ResultOfContainWord.theSameElementsAs(ResultOfContainWord.scala:205)
at pl.touk.nussknacker.ui.api.ExpressionSuggesterSpec.$anonfun$new$72(ExpressionSuggesterSpec.scala:783)
at org.scalatest.OutcomeOf.outcomeOf(OutcomeOf.scala:85)
at org.scalatest.OutcomeOf.outcomeOf$(OutcomeOf.scala:83)
at org.scalatest.OutcomeOf$.outcomeOf(OutcomeOf.scala:104)
at org.scalatest.Transformer.apply(Transformer.scala:22)
at org.scalatest.Transformer.apply(Transformer.scala:20)
at org.scalatest.funsuite.AnyFunSuiteLike$$anon$1.apply(AnyFunSuiteLike.scala:226)
at org.scalatest.TestSuite.withFixture(TestSuite.scala:196)
at org.scalatest.TestSuite.withFixture$(TestSuite.scala:195)
at org.scalatest.funsuite.AnyFunSuite.withFixture(AnyFunSuite.scala:1564)
at org.scalatest.funsuite.AnyFunSuiteLike.invokeWithFixture$1(AnyFunSuiteLike.scala:224)
at org.scalatest.funsuite.AnyFunSuiteLike.$anonfun$runTest$1(AnyFunSuiteLike.scala:236)
at org.scalatest.SuperEngine.runTestImpl(Engine.scala:306)
at org.scalatest.funsuite.AnyFunSuiteLike.runTest(AnyFunSuiteLike.scala:236)
at org.scalatest.funsuite.AnyFunSuiteLike.runTest$(AnyFunSuiteLike.scala:218)
at org.scalatest.funsuite.AnyFunSuite.runTest(AnyFunSuite.scala:1564)
at org.scalatest.funsuite.AnyFunSuiteLike.$anonfun$runTests$1(AnyFunSuiteLike.scala:269)
at org.scalatest.SuperEngine.$anonfun$runTestsInBranch$1(Engine.scala:413)
at scala.collection.immutable.List.foreach(List.scala:333)
at org.scalatest.SuperEngine.traverseSubNodes$1(Engine.scala:401)
at org.scalatest.SuperEngine.runTestsInBranch(Engine.scala:396)
at org.scalatest.SuperEngine.runTestsImpl(Engine.scala:475)
at org.scalatest.funsuite.AnyFunSuiteLike.runTests(AnyFunSuiteLike.scala:269)
at org.scalatest.funsuite.AnyFunSuiteLike.runTests$(AnyFunSuiteLike.scala:268)
at org.scalatest.funsuite.AnyFunSuite.runTests(AnyFunSuite.scala:1564)
at org.scalatest.Suite.run(Suite.scala:1114)
at org.scalatest.Suite.run$(Suite.scala:1096)
at org.scalatest.funsuite.AnyFunSuite.org$scalatest$funsuite$AnyFunSuiteLike$$super$run(AnyFunSuite.scala:1564)
at org.scalatest.funsuite.AnyFunSuiteLike.$anonfun$run$1(AnyFunSuiteLike.scala:273)
at org.scalatest.SuperEngine.runImpl(Engine.scala:535)
at org.scalatest.funsuite.AnyFunSuiteLike.run(AnyFunSuiteLike.scala:273)
at org.scalatest.funsuite.AnyFunSuiteLike.run$(AnyFunSuiteLike.scala:272)
at org.scalatest.funsuite.AnyFunSuite.run(AnyFunSuite.scala:1564)
at org.scalatest.tools.Framework.org$scalatest$tools$Framework$$runSuite(Framework.scala:321)
at org.scalatest.tools.Framework$ScalaTestTask.execute(Framework.scala:517)
at sbt.TestRunner.runTest$1(TestFramework.scala:153)
at sbt.TestRunner.run(TestFramework.scala:168)
at sbt.TestFramework$$anon$3$$anonfun$$lessinit$greater$1.$anonfun$apply$1(TestFramework.scala:336)
at sbt.TestFramework$.sbt$TestFramework$$withContextLoader(TestFramework.scala:296)
at sbt.TestFramework$$anon$3$$anonfun$$lessinit$greater$1.apply(TestFramework.scala:336)
at sbt.TestFramework$$anon$3$$anonfun$$lessinit$greater$1.apply(TestFramework.scala:336)
at sbt.TestFunction.apply(TestFramework.scala:348)
at sbt.Tests$.processRunnable$1(Tests.scala:475)
at sbt.Tests$.$anonfun$makeSerial$1(Tests.scala:481)
at sbt.std.Transform$$anon$3.$anonfun$apply$2(Transform.scala:47)
at sbt.std.Transform$$anon$4.work(Transform.scala:69)
at sbt.Execute.$anonfun$submit$2(Execute.scala:283)
at sbt.internal.util.ErrorHandling$.wideConvert(ErrorHandling.scala:24)
at sbt.Execute.work(Execute.scala:292)
at sbt.Execute.$anonfun$submit$1(Execute.scala:283)
at sbt.ConcurrentRestrictions$$anon$4.$anonfun$submitValid$1(ConcurrentRestrictions.scala:265)
at sbt.CompletionService$$anon$2.call(CompletionService.scala:65)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
at java.base/java.lang.Thread.run(Thread.java:829)
Loading