Skip to content

test: add coverage for napi_property_descriptor - #13510

Closed
mhdawson wants to merge 2 commits into
nodejs:masterfrom
mhdawson:napi-cov11
Closed

test: add coverage for napi_property_descriptor#13510
mhdawson wants to merge 2 commits into
nodejs:masterfrom
mhdawson:napi-cov11

Conversation

@mhdawson

Copy link
Copy Markdown
Member

We did not have test coverage for using a napi_value
pointing to a string or symbol for the name when
creating a property. Add that coverage.

Checklist
  • make -j4 test (UNIX), or vcbuild test (Windows) passes
  • tests and/or benchmarks are included
  • commit message follows [commit guidelines]
Affected core subsystem(s)

test, n-api

We did not have test coverage for using a napi_value
pointing to a string or symbol for the name when
creating a property. Add that coverage.
@nodejs-github-botnodejs-github-bot added node-api Issues and PRs related to the Node-API. test Issues and PRs related to the tests. labels Jun 6, 2017
@jasongin

Copy link
Copy Markdown
Member

Should we also have a test case that uses a symbol as a property name?

@mhdawson

Copy link
Copy Markdown
MemberAuthor

@jasongin added commit to add test for creating property with a symbol.

@mhdawson

Copy link
Copy Markdown
MemberAuthor

@refack

refack commented Jun 9, 2017

Copy link
Copy Markdown
Contributor

@mhdawson

Copy link
Copy Markdown
MemberAuthor

I had accidentally kicked off 2 CI runs, the the link to the one posted in this PR passed, so issue is likely not related to PR.

@mhdawson

Copy link
Copy Markdown
MemberAuthor

Failure looks infra related as it did not get to the point of running tests.

@mhdawson

Copy link
Copy Markdown
MemberAuthor

Landed as 01f4d9a

@mhdawsonmhdawson closed this Jun 9, 2017
mhdawson added a commit that referenced this pull request Jun 9, 2017
We did not have test coverage for using a napi_value
pointing to a string or symbol for the name when
creating a property. Add that coverage.
PR-URL: #13510
Reviewed-By: Jason Ginchereau <jasongin@microsoft.com>
addaleax pushed a commit that referenced this pull request Jun 10, 2017
We did not have test coverage for using a napi_value
pointing to a string or symbol for the name when
creating a property. Add that coverage.
PR-URL: #13510
Reviewed-By: Jason Ginchereau <jasongin@microsoft.com>
@addaleaxaddaleax mentioned this pull request Jun 10, 2017
@gibfahngibfahn mentioned this pull request Jun 15, 2017
3 tasks
@mhdawson
mhdawson deleted the napi-cov11 branch June 28, 2017 19:23
gabrielschulhof pushed a commit to gabrielschulhof/node that referenced this pull request Apr 10, 2018
We did not have test coverage for using a napi_value
pointing to a string or symbol for the name when
creating a property. Add that coverage.
PR-URL: nodejs#13510
Reviewed-By: Jason Ginchereau <jasongin@microsoft.com>
MylesBorins pushed a commit that referenced this pull request Apr 16, 2018
We did not have test coverage for using a napi_value
pointing to a string or symbol for the name when
creating a property. Add that coverage.
Backport-PR-URL: #19447
PR-URL: #13510
Reviewed-By: Jason Ginchereau <jasongin@microsoft.com>
@MylesBorinsMylesBorins mentioned this pull request Apr 16, 2018
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

node-apiIssues and PRs related to the Node-API.testIssues and PRs related to the tests.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants

@mhdawson@jasongin@refack@gibfahn@nodejs-github-bot