From 574e6b9e2c0bb2294e1afe63da6f0d252d365d0f Mon Sep 17 00:00:00 2001 From: Bruno da Silva de Oliveira Date: Wed, 19 Mar 2003 05:55:28 +0000 Subject: [PATCH] - Updated to reflect changes in declarations.py [SVN r17997] --- pyste/tests/GCCXMLParserUT.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pyste/tests/GCCXMLParserUT.py b/pyste/tests/GCCXMLParserUT.py index c0a17b33..3e4d0c0c 100644 --- a/pyste/tests/GCCXMLParserUT.py +++ b/pyste/tests/GCCXMLParserUT.py @@ -72,7 +72,7 @@ class ClassBaseTest(Tester): self.TestType(param, FundamentalType, 'int', 'int', False) self.assertEqual(foo.namespace, None) self.assertEqual( - foo.PointerDeclaration(), '(void (test::Base::*)(int) )test::Base::foo') + foo.PointerDeclaration(), '(void (test::Base::*)(int) )&test::Base::foo') def testX(self): 'test the member x in class Base' @@ -109,7 +109,7 @@ class ClassBaseTest(Tester): self.TestType(simple.result, FundamentalType, 'bool', 'bool', False) self.assertEqual( simple.PointerDeclaration(), - '(bool (test::Base::*)(const std::string &) )test::Base::simple') + '(bool (test::Base::*)(const std::string &) )&test::Base::simple') def testZ(self): @@ -181,7 +181,7 @@ class FreeFuncTest(Tester): self.assertEqual(self.func.namespace, 'test') self.assertEqual( self.func.PointerDeclaration(), - '(const test::Base & (*)(const std::string &, int))test::FreeFunc') + '(const test::Base & (*)(const std::string &, int))&test::FreeFunc') def testResult(self):