diff options
author | Chad Austin <chad@imvu.com> | 2014-05-08 13:51:45 -0700 |
---|---|---|
committer | Bruce Mitchener <bruce.mitchener@gmail.com> | 2014-05-21 22:58:31 +0700 |
commit | 9759bdbc104d860e8eadbb0f35e0d3dedb48035d (patch) | |
tree | 28c2e59905ec25aceb98035aeb6e263d3b0327bd /tests/embind/embind.test.js | |
parent | 1f7d9ea73de5fccbedf642b68ff600a5b0285061 (diff) |
checkpoint returning JS instances out of embind
Diffstat (limited to 'tests/embind/embind.test.js')
-rw-r--r-- | tests/embind/embind.test.js | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/tests/embind/embind.test.js b/tests/embind/embind.test.js index 6f0c6860..2c274014 100644 --- a/tests/embind/embind.test.js +++ b/tests/embind/embind.test.js @@ -1767,6 +1767,21 @@ module({ assert.equal("hi", rv); }); + +/* does not pass yet + test("if JavaScript implementation of interface is returned, don't wrap in new handle", function() { + var parent = cm.HeldAbstractClass; + var C = parent.extend("C", { + method: function() { + } + }); + var impl = new C; + var rv = cm.passHeldAbstractClass(impl); + assert.equal(impl, rv); + + impl.delete(); + }); +*/ }); BaseFixture.extend("registration order", function() { |