Skip to content
This repository was archived by the owner on Apr 3, 2024. It is now read-only.

Add Debugger API to test/ and changed E2E tests to use them#208

Merged
kjin merged 6 commits intogoogleapis:masterfrom
kjin:debug-api
Dec 23, 2016
Merged

Add Debugger API to test/ and changed E2E tests to use them#208
kjin merged 6 commits intogoogleapis:masterfrom
kjin:debug-api

Conversation

@kjin
Copy link
Copy Markdown
Contributor

@kjin kjin commented Dec 22, 2016

  • test/debugger.js has an interface that makes calls to the Cloud Debugger API.
  • test/e2e/test-breakpoints.js and test/e2e/test-log-throttling.js use this file.

@googlebot googlebot added the cla: yes This human has signed the Contributor License Agreement. label Dec 22, 2016
test/debugger.js Outdated
*/
function Debugger() {
common.ServiceObject.call(this, {
parent: new Debug({}),

This comment was marked as spam.

This comment was marked as spam.

test/debugger.js Outdated
/** @private {string} */
this.nextWaitToken_ = null;

this.clientVersion_ = pjson.name + '/default/v' + pjson.version;

This comment was marked as spam.

This comment was marked as spam.


/**
* Gets a list of breakpoints in a given debuggee.
* @param {string} debuggeeId - The ID of the debuggee whose breakpoints should

This comment was marked as spam.

This comment was marked as spam.

This comment was marked as spam.

This comment was marked as spam.

This comment was marked as spam.

test/debugger.js Outdated
* Gets a list of breakpoints in a given debuggee.
* @param {string} debuggeeId - The ID of the debuggee whose breakpoints should
* be listed.
* @param {Object} options - An object containing options on the list of

This comment was marked as spam.

This comment was marked as spam.

test/debugger.js Outdated
if (err) {
callback(err);
} else if (!response) {
callback(err || new Error('unknown error - request response missing'));

This comment was marked as spam.

This comment was marked as spam.

test/debugger.js Outdated
if (err) {
callback(err);
} else if (!response) {
callback(err || new Error('unknown error - request response missing'));

This comment was marked as spam.

This comment was marked as spam.

});
};

module.exports = Debugger;

This comment was marked as spam.

This comment was marked as spam.

test/debugger.js Outdated
if (err) {
callback(err);
} else if (!response) {
callback(err || new Error('unknown error - request response missing'));

This comment was marked as spam.

This comment was marked as spam.

"lodash": "^3.9.3",
"semver": "^5.3.0"
"semver": "^5.3.0",
"thenify-all": "^1.6.0"

This comment was marked as spam.

@kjin kjin merged commit cebcb69 into googleapis:master Dec 23, 2016
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.

4 participants