From 2e20aeab6e86670a66ff99a7b79120c4004b4d22 Mon Sep 17 00:00:00 2001 From: Shaheed Haque Date: Fri, 3 Feb 2017 20:22:52 +0000 Subject: Automatically mark classes with pure virtual functions as /Abstract/. --- tests/GenerateSipBindings/testscript.py | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'tests/GenerateSipBindings/testscript.py') diff --git a/tests/GenerateSipBindings/testscript.py b/tests/GenerateSipBindings/testscript.py index b388841f..f1bef91e 100644 --- a/tests/GenerateSipBindings/testscript.py +++ b/tests/GenerateSipBindings/testscript.py @@ -135,3 +135,8 @@ try: assert False except AttributeError as e: assert str(e) == "module 'PyTest.CppLib' has no attribute 'Invisible'" + +concrete = PyTest.CppLib.Concrete() + +assert(concrete.callableMultiply(2, 3) == 6) +assert(concrete.callableAdd(2, 3) == 5) -- cgit v1.2.1