[pygccxml-commit] SF.net SVN: pygccxml: [1268] pyplusplus_dev/unittests
Brought to you by:
mbaas,
roman_yakovenko
|
From: <rom...@us...> - 2008-03-01 19:48:26
|
Revision: 1268
http://pygccxml.svn.sourceforge.net/pygccxml/?rev=1268&view=rev
Author: roman_yakovenko
Date: 2008-03-01 11:48:27 -0800 (Sat, 01 Mar 2008)
Log Message:
-----------
adding new test case
Modified Paths:
--------------
pyplusplus_dev/unittests/data/override_bug_to_be_exported.hpp
pyplusplus_dev/unittests/override_bug_tester.py
pyplusplus_dev/unittests/particle_universe_generate_tester.py
Modified: pyplusplus_dev/unittests/data/override_bug_to_be_exported.hpp
===================================================================
--- pyplusplus_dev/unittests/data/override_bug_to_be_exported.hpp 2008-02-27 19:57:49 UTC (rev 1267)
+++ pyplusplus_dev/unittests/data/override_bug_to_be_exported.hpp 2008-03-01 19:48:27 UTC (rev 1268)
@@ -72,6 +72,16 @@
virtual void do_smth(int& i, int& j) const { i = j = 'b' ;}
};
+class XX
+{
+ virtual void do_smth(int& i, int& j) const = 0;
+};
+
+class YY : public XX{
+ public:
+ virtual int do_smth() {};
+};
+
}
#endif//__final_classes_to_be_exported_hpp__
Modified: pyplusplus_dev/unittests/override_bug_tester.py
===================================================================
--- pyplusplus_dev/unittests/override_bug_tester.py 2008-02-27 19:57:49 UTC (rev 1267)
+++ pyplusplus_dev/unittests/override_bug_tester.py 2008-03-01 19:48:27 UTC (rev 1268)
@@ -25,7 +25,8 @@
do_smth.add_transformation( FT.output(0), alias='do_smth_a' )
do_smth = mb.mem_fun( '::override_bug::BB::do_smth' )
do_smth.add_transformation( FT.output(0), FT.output(1), alias='do_smth_b' )
-
+ mb.class_( 'XX' ).mem_fun( 'do_smth' ).exclude()
+
def run_tests(self, module):
class C( module.B ):
def __init__( self ):
Modified: pyplusplus_dev/unittests/particle_universe_generate_tester.py
===================================================================
--- pyplusplus_dev/unittests/particle_universe_generate_tester.py 2008-02-27 19:57:49 UTC (rev 1267)
+++ pyplusplus_dev/unittests/particle_universe_generate_tester.py 2008-03-01 19:48:27 UTC (rev 1268)
@@ -33,6 +33,7 @@
mb.global_ns.exclude()
mb.namespace('ParticleUniverse').include()
mb.namespace('Ogre').include()
+ mb.namespace('Ogre').classes().already_exposed = True
target_dir = os.path.join( autoconfig.build_directory, 'particle_universe' )
#~ if os.path.exists( target_dir ):
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|