Tobias Hunger
2004-05-18 13:09:41 UTC
Update of /cvs/fresco/Fresco/Fresco-Test/syunit
In directory frida:/tmp/cvs-serv14406
Modified Files:
syn2cc.py
Log Message:
Ignore Con-/Destructors.
Index: syn2cc.py
===================================================================
RCS file: /cvs/fresco/Fresco/Fresco-Test/syunit/syn2cc.py,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -d -r1.6 -r1.7
--- syn2cc.py 13 May 2004 19:03:13 -0000 1.6
+++ syn2cc.py 18 May 2004 13:09:36 -0000 1.7
@@ -133,6 +133,9 @@
return
if node.accessibility() != AST.PUBLIC:
return
+ # Constructors/Destruktor
+ if not node.returnType():
+ return
method = ParsedTestMethod(node.realname()[-1],
node.realname()[-1],
"Description goes here")
In directory frida:/tmp/cvs-serv14406
Modified Files:
syn2cc.py
Log Message:
Ignore Con-/Destructors.
Index: syn2cc.py
===================================================================
RCS file: /cvs/fresco/Fresco/Fresco-Test/syunit/syn2cc.py,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -d -r1.6 -r1.7
--- syn2cc.py 13 May 2004 19:03:13 -0000 1.6
+++ syn2cc.py 18 May 2004 13:09:36 -0000 1.7
@@ -133,6 +133,9 @@
return
if node.accessibility() != AST.PUBLIC:
return
+ # Constructors/Destruktor
+ if not node.returnType():
+ return
method = ParsedTestMethod(node.realname()[-1],
node.realname()[-1],
"Description goes here")