aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorChad Austin <chad@imvu.com>2014-05-02 17:27:42 -0700
committerBruce Mitchener <bruce.mitchener@gmail.com>2014-05-21 22:57:56 +0700
commitaf90778f0b3748fd54c854c1a9ff4b0edeb9872d (patch)
tree320c4e58e296726e85a785eee898b626ab405161 /tests
parent592a59f23ae0354c831323fc93f803c9b22f1e13 (diff)
some notes for future functionality.
Diffstat (limited to 'tests')
-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);