Skip to content
This repository has been archived by the owner on Jun 28, 2022. It is now read-only.

chore: add tests for complex resource IDs #3190

Merged
merged 5 commits into from Jun 12, 2020
Merged

Conversation

miraleung
Copy link
Contributor

Update tests and baseline protos to support non-slash resource name separators. That is, "-", "~", "_", ".". Tests will pass once this PR is submitted and a new release is cut.

Relevant issue here.

@googlebot googlebot added the cla: yes This human has signed the Contributor License Agreement. label May 6, 2020
@miraleung miraleung changed the title chore: add support for complex resource IDs chore: add tests for complex resource IDs Jun 4, 2020
@codecov
Copy link

codecov bot commented Jun 4, 2020

Codecov Report

Merging #3190 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff            @@
##             master    #3190   +/-   ##
=========================================
  Coverage     87.12%   87.12%           
  Complexity     6077     6077           
=========================================
  Files           494      494           
  Lines         24052    24052           
  Branches       2613     2613           
=========================================
  Hits          20956    20956           
  Misses         2234     2234           
  Partials        862      862           
Impacted Files Coverage Δ Complexity Δ
...e/api/codegen/transformer/InitCodeTransformer.java 94.97% <0.00%> (-0.19%) 119.00% <0.00%> (-1.00%)
.../java/com/google/api/codegen/discovery/Schema.java 84.84% <0.00%> (+0.50%) 43.00% <0.00%> (+1.00%)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 61532e5...91d8698. Read the comment docs.

@miraleung miraleung requested a review from noahdietz June 10, 2020 20:11
Copy link
Contributor

@noahdietz noahdietz left a comment

Choose a reason for hiding this comment

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

lgtm but the reformatting of the test data library.proto makes it really hard to see what actually changed in the PR. WDYT about move the formatting changes to another PR?

Copy link
Contributor

@chrisdunelm chrisdunelm left a comment

Choose a reason for hiding this comment

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

LGTM

@miraleung
Copy link
Contributor Author

Reverted proto formatting changes.

miraleung added a commit that referenced this pull request Jun 11, 2020
miraleung added a commit that referenced this pull request Jun 12, 2020
* chore: remove 2.7 from python showcase tests

It sounds like 2.7 is no longer supported, and it's currently breaking [tests](https://app.circleci.com/pipelines/github/googleapis/gapic-generator/255/workflows/b2063a3b-2ad2-4641-8952-0bc16673a242/jobs/47732/steps) for [this unrelated PR](#3190).

* fix: remove python 2.7 from .circleci/config.yml as well
@miraleung miraleung merged commit 30c0b3b into master Jun 12, 2020
@miraleung miraleung deleted the feat/resource_names branch June 12, 2020 00:32
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
cla: yes This human has signed the Contributor License Agreement.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants