diff options
author | Chad Austin <chad@imvu.com> | 2013-04-16 02:13:41 -0700 |
---|---|---|
committer | Jukka Jylänki <jujjyl@gmail.com> | 2013-04-18 20:08:17 +0300 |
commit | d990cb17d8c43913a733c28601f4319fce90c27a (patch) | |
tree | 1f390315942770b08df008899032d053ccd58f67 /tests/embind/embind.test.js | |
parent | c2bc8d4f1ed4fe5e7477e4dc5d3f32ca5f1e6a56 (diff) |
Finally! JSInterface is dead
Diffstat (limited to 'tests/embind/embind.test.js')
-rwxr-xr-x | tests/embind/embind.test.js | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/tests/embind/embind.test.js b/tests/embind/embind.test.js index 82029de4..5af15be9 100755 --- a/tests/embind/embind.test.js +++ b/tests/embind/embind.test.js @@ -1478,24 +1478,6 @@ module({ }); }); - BaseFixture.extend("JavaScript interface", function() { - this.setUp(function() { - this.testobj = { - "method1": function() { return 111; }, - "method2": function() { return 222; } - }; - }); - - test("pass js object to c++ and call its method", function() { - var obj = new cm.JSInterfaceHolder(this.testobj); - assert.equal(111, obj.callMethod("method1")); - assert.equal(222, obj.callMethod("method2")); - assert.equal(111, obj.callMethodUsingSharedPtr("method1")); - assert.equal(222, obj.callMethodUsingSharedPtr("method2")); - obj.delete(); - }); - }); - BaseFixture.extend("abstract methods", function() { test("can call abstract methods", function() { var obj = cm.getAbstractClass(); |