FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Integration test for InstanceAdmin::ListInstances. by coryan · Pull Request #371 · googleapis/google-cloud-cpp · GitHub

Integration test for InstanceAdmin::ListInstances. - #371

Merged
coryan merged 2 commits into
googleapis:masterfrom
coryan:instance-admin-integration
Mar 25, 2018
Merged

Integration test for InstanceAdmin::ListInstances.#371
coryan merged 2 commits into
googleapis:masterfrom
coryan:instance-admin-integration

Conversation

coryan commented Mar 24, 2018

Copy link
Copy Markdown
Contributor

This fixes #343.

googlebot added the cla: yes This human has signed the Contributor License Agreement. label Mar 24, 2018

mbrukman left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

LGTM

Minor changes suggested below.

if (argc != 2) {
std::string const cmd = argv[0];
auto last_slash = std::string(cmd).find_last_of('/');
// Show Usage if invalid no of arguments

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

s/no/number/

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

Done.


class InstanceAdminIntegrationTest : public testing::Test {
protected:
std::unique_ptr<bigtable::InstanceAdmin> instance_admin_;

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

Put member variables last, after methods?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

Done.


std::string InstanceTestEnvironment::project_id_;

class InstanceAdminIntegrationTest : public testing::Test {

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

s/testing::Test/::testing::Test/ ?

Above, ::testing::Environment uses absolute namespace reference.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

Done.

coryan merged commit 27da1c1 into googleapis:master Mar 25, 2018
coryan deleted the instance-admin-integration branch March 25, 2018 01:38
roopak-qlogic pushed a commit to roopak-qlogic/google-cloud-cpp that referenced this pull request Apr 1, 2018
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cla: yes This human has signed the Contributor License Agreement.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Create integration test for InstanceAdmin::ListInstances

3 participants


Back | FazBrowse Home | New Git URL