Skip to content
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

More Service Client and Queue Client Tests #19958

Merged
merged 22 commits into from
Feb 10, 2023

Conversation

tasherif-msft
Copy link
Contributor

@tasherif-msft tasherif-msft commented Feb 7, 2023

Added:

  • more service client tests
  • more queue client tests (primarily message(s) related APIs)

@ghost ghost added the Storage Storage Service (Queues, Blobs, Files) label Feb 7, 2023
@tasherif-msft tasherif-msft changed the title Added more tests More Service Client and Queue Client Tests Feb 7, 2023
@tasherif-msft tasherif-msft marked this pull request as ready for review February 9, 2023 19:44
Base automatically changed from azqueue-live-pipeline to feature/azqueue February 9, 2023 20:50
@@ -369,10 +387,13 @@ type UpdateMessageOptions struct {
}

func (o *UpdateMessageOptions) format() *generated.MessageIDClientUpdateOptions {
defaultVT := to.Ptr(int32(0))
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

setting it to just 'nil' won't work?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

no :(

@tasherif-msft tasherif-msft merged commit 36f14b7 into feature/azqueue Feb 10, 2023
@tasherif-msft tasherif-msft deleted the more-queue-tests branch February 10, 2023 18:47
jhendrixMSFT added a commit that referenced this pull request Feb 15, 2023
* Generate Code for AzQueue (#19729)

* first generation

* removed queuename from url param

* fixed georep

* removed pagination

* move to internal

* last generation

* [Feature] Queue Service Client + Key Credential Authentication (#19732)

* first generation

* removed queuename from url param

* fixed georep

* removed pagination

* added basic methods

* added basic models

* regenrated and added pager

* regenrated and added pager

* autorest comment change

* comments

* comments

* comments

* version change

* marker

* rename to queue

* further cleanup

* rename service client

* add license

* Enable CI for azqueue (#19835)

* Update to latest code generator for azqueue (#19837)

* Update to latest code generator for azqueue

Add build.go and format generated code.

* add changelog

* [Feature] SAS Support + Test Framework (#19756)

* first generation

* removed queuename from url param

* fixed georep

* removed pagination

* added basic methods

* added basic models

* regenrated and added pager

* regenrated and added pager

* autorest comment change

* comments

* comments

* comments

* added sas perms and basic tests

* spell check

* cleanup

* version change

* added sas method for service client

* uncomment test

* cleanup

* cleanup

* sas test

* cleanup

* new test framework

* update internal module to support test assets

* set code coverage floor

* fixed linter

Co-authored-by: Joel Hendrix <[email protected]>

* Queue Client + More Tests (#19852)

* added basic queue client

* added create and delete queue

* added tests to service client for queues

* added test to ensure pagination behaves correctly

* updated tests

* added TODOs

* more tests

* assets

* lint

* added more queue methods

* more methods

* added tests

* export

* export

* export

* added more tests

* cleanup

* address comments

* removed message id from composite

* removed account services and cleaned up

* renamed cors

* renamed cors

* fixed cors test failure

* lint

* Queues Live Pipeline + APIViews Feedback (#19955)

* removed item suffix

* test resources file

* lint fix

* renamed queues list

* fix

* More Service Client and Queue Client Tests (#19958)

* removed item suffix

* test resources file

* lint fix

* added more service client tests

* added more service client tests

* fix tests

* fix tests

* added more message related tests

* added peek message tests

* cleaup

* added tests for clear and delete

* added update tests

* more code coverage

* cleanup

* added stats test

* added one more test

* removed test

* added client tests

* more sas tests

* more tests

* AzQueue Public Preview APIVIew Feedback (#20003)

* Resolve APIView feedback for Public Preview

* test

* More api view comments

* expose GRS

* constants

* tests

* cleanup

* Changelog Entry + doc.go File + Basic Samples (#20004)

* added basic doc

* added a doc.go file

* sample todos

* added readme file

* readme update

* cleanup

* cleanup

* added samples

* go update

* go update

* link fix

---------

Co-authored-by: Joel Hendrix <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
AzQueue Storage Storage Service (Queues, Blobs, Files)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants