Update of /cvsroot/pygccxml/source/pygccxml/unittests
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv14922/pygccxml/unittests
Modified Files:
templates_tester.py
Log Message:
fixing 2 bugs:
templates parser now correctly reports about is_instantiation
improving default call policies for operator[]
Index: templates_tester.py
===================================================================
RCS file: /cvsroot/pygccxml/source/pygccxml/unittests/templates_tester.py,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -d -r1.5 -r1.6
*** templates_tester.py 14 Nov 2005 12:00:55 -0000 1.5
--- templates_tester.py 30 Mar 2006 08:09:42 -0000 1.6
***************
*** 57,60 ****
--- 57,63 ----
== declarations.templates.join("vector", ( "int", "std::allocator<int>" ) ) )
+ def test_bug_is_tmpl_inst(self):
+ self.failUnless( False == declarations.templates.is_instantiation( "::FX::QMemArray<unsigned char>::setRawData" ) )
+
def create_suite():
suite = unittest.TestSuite()
|