Skip to content

Enable QueryTests dollar-sign test for http-client-java - #11307

Merged
weidongxu-microsoft merged 2 commits into
microsoft:mainfrom
weidongxu-microsoft:http-client-java_enable-query-dollarsign
Jul 20, 2026
Merged

Enable QueryTests dollar-sign test for http-client-java#11307
weidongxu-microsoft merged 2 commits into
microsoft:mainfrom
weidongxu-microsoft:http-client-java_enable-query-dollarsign

Conversation

@weidongxu-microsoft

Copy link
Copy Markdown
Contributor

Summary

The parameters.query.QueryTests#testDollarSign test in http-client-generator-clientcore-test was disabled pending the @typespec/http-specs dollar-sign route fix. That fix is now published (http-specs 0.1.0-alpha.38), and the already-generated SpecialCharClient.dollarSign code matches the current spec (route /parameters/query/special-char/dollar-sign, @QueryParam("$filter")).

This PR removes the @Disabled annotation (and its now-unused import) to enable the test.

Validation

mvn test -Dtest=parameters.query.QueryTests against the spector mock server: 2 run, 0 failures, 0 skipped.

The @typespec/http-specs dollar-sign route fix is now published (0.1.0-alpha.38),
so testDollarSign passes against the mock server. Remove the @disabled annotation.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot-Session: a10e9989-905e-4380-a221-01c04f4da1f7
@microsoft-github-policy-service microsoft-github-policy-service Bot added the emitter:client:java Issue for the Java client emitter: @typespec/http-client-java label Jul 20, 2026
@github-actions

github-actions Bot commented Jul 20, 2026

Copy link
Copy Markdown
Contributor

All changed packages have been documented.

  • @typespec/http-client-java
Show changes

@typespec/http-client-java - internal ✏️

Enable the parameters.query.QueryTests dollar-sign test in the clientcore test module now that the @typespec/http-specs dollar-sign route fix is published.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot-Session: a10e9989-905e-4380-a221-01c04f4da1f7
@weidongxu-microsoft
weidongxu-microsoft marked this pull request as ready for review July 20, 2026 08:31
@azure-sdk-automation

azure-sdk-automation Bot commented Jul 20, 2026

Copy link
Copy Markdown

You can try these changes here

🛝 Playground 🌐 Website 🛝 VSCode Extension

@weidongxu-microsoft
weidongxu-microsoft added this pull request to the merge queue Jul 20, 2026
Merged via the queue into microsoft:main with commit c6c1393 Jul 20, 2026
35 checks passed
@weidongxu-microsoft
weidongxu-microsoft deleted the http-client-java_enable-query-dollarsign branch July 20, 2026 09:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

emitter:client:java Issue for the Java client emitter: @typespec/http-client-java

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants