Skip to content

server.tests: Regenerate Java TSP client and XY fix tests#254

Merged
bhufmann merged 1 commit intoeclipse-tracecompass-incubator:masterfrom
bhufmann:java-gen-tests-fixed-sampling
Oct 23, 2025
Merged

server.tests: Regenerate Java TSP client and XY fix tests#254
bhufmann merged 1 commit intoeclipse-tracecompass-incubator:masterfrom
bhufmann:java-gen-tests-fixed-sampling

Conversation

@bhufmann
Copy link
Contributor

@bhufmann bhufmann commented Oct 17, 2025

What it does

Fix for #236 required a regeneration of the Java TSP client and caused changes in the API that required the XY tests to be fixed.

Remove SamplingSerializer and SamplingSerializerTest because it's part of SeriesModelSerializer and SeriesModelSerializerTest respectively.

Set flag failOnUnknownProperties when generating Java TSP client which helps with detecting correct class for deserialization especially for oneOf cases, e.g. oneOf AxisDomainCategorical, AxisDomainRange.

Set hideGenerationTimestamp flag to true since generation timestamp can be derived from the git history.

How to test

Verify that updated tests in this PR run successfully (part of CI):

  • SeriesModelSerializerTest
  • GenericXYDataProviderServiceTest
  • XyDataProviderServiceTest

Follow-ups

N/A

Review checklist

  • As an author, I have thoroughly tested my changes and carefully followed the instructions in this template

@bhufmann bhufmann requested a review from PatrickTasse October 17, 2025 20:19
Fix for eclipse-tracecompass-incubator#236 required a regeneration of the Java TSP client and caused
changes in the API that required the XY tests to be fixed.

Remove SamplingSerializer and SamplingSerializerTest because it's part
of SeriesModelSerializer and SeriesModelSerializerTest respectively.

Set flag failOnUnknownProperties when generating Java TSP client which
helps with detecting correct class for deserialization especially for
oneOf cases, e.g. oneOf AxisDomainCategorical, AxisDomainRange.

Set hideGenerationTimestamp flag to true since generation timestamp can
be derived from the git history.

Signed-off-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
@bhufmann bhufmann force-pushed the java-gen-tests-fixed-sampling branch from 0d608ea to c09f438 Compare October 20, 2025 12:47
@bhufmann bhufmann merged commit 9e5ae20 into eclipse-tracecompass-incubator:master Oct 23, 2025
2 checks passed
@bhufmann bhufmann deleted the java-gen-tests-fixed-sampling branch October 23, 2025 20:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants