diff options
author | Chad Austin <chad@imvu.com> | 2014-05-02 14:56:45 -0700 |
---|---|---|
committer | Bruce Mitchener <bruce.mitchener@gmail.com> | 2014-05-21 22:55:45 +0700 |
commit | a30b438d002a389a523350e2bb0f66b0cf92711d (patch) | |
tree | f3f41012eca9acb1cfa32584e3609381b8c38799 /tests | |
parent | a2487b69b6d5e0fc81ef67f062f61764fad5af00 (diff) |
properties set in constructor persist to methods
Diffstat (limited to 'tests')
-rw-r--r-- | tests/embind/embind.test.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/embind/embind.test.js b/tests/embind/embind.test.js index 17abccbf..49c70c6d 100644 --- a/tests/embind/embind.test.js +++ b/tests/embind/embind.test.js @@ -1648,8 +1648,6 @@ module({ instance.delete(); }); -/* ENABLE THESE AS THEY PASS - test("properties set in constructor are externally visible", function() { var HasProperty = cm.AbstractClass.extend("AbstractClass", { initialize: function(x) { @@ -1657,10 +1655,12 @@ module({ } }); var instance = new HasProperty(10); - assert.equal(10, instance.set_property); + assert.equal(10, instance.property); instance.delete(); }); +/* ENABLE THESE AS THEY PASS + test("pass derived object to c++", function() { var Implementation = cm.AbstractClass.extend("AbstractClass", { abstractMethod: function() { |