summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tests/embind/embind.test.js5
1 files changed, 4 insertions, 1 deletions
diff --git a/tests/embind/embind.test.js b/tests/embind/embind.test.js
index 513ab1d4..8b45ae56 100644
--- a/tests/embind/embind.test.js
+++ b/tests/embind/embind.test.js
@@ -1707,7 +1707,8 @@ module({
assert.equal("optional_123", result);
});
-/* ENABLE THESE AS THEY PASS
+/* How can I call the binding of a virtual function and get anything but the most-derived implementation?
+
test("can call parent implementation from within derived implementation", function() {
var parent = cm.AbstractClass;
var ExtendsOptionalMethod = parent.extend("ExtendsOptionalMethod", {
@@ -1722,6 +1723,8 @@ module({
});
*/
+ // TODO: deriving from classes with constructors?
+
test("instanceof", function() {
var instance = new Empty;
assert.instanceof(instance, Empty);