Fresco/Fresco-Test/syunit syn2cc.py,1.5,1.6

Tobias Hunger <[email protected]> Thu, 13 May 2004 19:03:16 +0000
Newsgroups gmane.comp.video.fresco.cvs
Message-ID <[email protected]>
Update of /cvs/fresco/Fresco/Fresco-Test/syunit
In directory frida:/tmp/cvs-serv22045

Modified Files:
	syn2cc.py 
Log Message:
Only consider public methods for the tests.


Index: syn2cc.py
===================================================================
RCS file: /cvs/fresco/Fresco/Fresco-Test/syunit/syn2cc.py,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -d -r1.5 -r1.6
--- syn2cc.py	13 May 2004 16:03:13 -0000	1.5
+++ syn2cc.py	13 May 2004 19:03:13 -0000	1.6
@@ -131,6 +131,8 @@
             return
         if node.realname()[-1] in ignore_methods:
             return
+        if node.accessibility() != AST.PUBLIC:
+            return
         method = ParsedTestMethod(node.realname()[-1],
                                   node.realname()[-1],
                                   "Description goes here")