-
Notifications
You must be signed in to change notification settings - Fork 230
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
http-client-java, e2e test, use clientcore #5437
base: main
Are you sure you want to change the base?
http-client-java, e2e test, use clientcore #5437
Conversation
No changes needing a change description found. |
f84cc08
to
ff96a9d
Compare
packages/http-client-java/generator/http-client-generator-standard-test/Generate.ps1
Outdated
Show resolved
Hide resolved
You can try these changes here
|
Fix unbranded emitter, write test cases
bdc469c
to
cdcec31
Compare
ee6429d
to
38a23eb
Compare
This reverts commit 6139301.
# ServiceVersion not in core | ||
Remove-Item ./specs/versioning -Recurse -Force | ||
Remove-Item ./specs/server/path -Recurse -Force | ||
Remove-Item ./specs/server/versions -Recurse -Force | ||
# TokenCredential not in core | ||
Remove-Item ./specs/authentication/oauth2 -Recurse -Force | ||
Remove-Item ./specs/authentication/union -Recurse -Force | ||
# Base64Url not in core | ||
Remove-Item ./specs/encode/bytes -Recurse -Force | ||
# DateTimeRfc1123 is private in beta.1, should now be public in main | ||
Remove-Item ./specs/encode/datetime -Recurse -Force | ||
Remove-Item ./specs/special-headers -Recurse -Force | ||
# JacksonAdapter not in core | ||
Remove-Item ./specs/encode/duration -Recurse -Force |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
At present, lots of tests is skipped, due to class/feature not available in clientcore (compile failure).
Some tests are also disabled (runtime failure).
We will later make a summary on these, and discuss what need to be fixed in clientcore, what need to be handled differently in emitter.
After clientcore beta.2 we likely can enable more test (I think I can see DateTimeRfc1123
be public in current code)
@@ -52,7 +64,7 @@ try { | |||
if (!(Test-Path $coverageReportDir)) { | |||
New-Item -ItemType Directory -Path $coverageReportDir | |||
|
|||
$sourceFile = Join-Path $packageRoot 'generator/http-client-generator-test/tsp-spector-coverage-java-standard.json' | |||
$sourceFile = Join-Path $packageRoot 'generator/http-client-generator-clientcore-test/tsp-spector-coverage-java-standard.json' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Now we can finally take the report of unbranded e2e.
fix Azure/autorest.java#3000
fix Azure/autorest.java#3002
fix Azure/autorest.java#2986
Cases that generated code cannot compile is currently skipped.
Cases that not able to pass is disabled.
Current result https://specdashboard.z5.web.core.windows.net/