Update of /cvsroot/pygccxml/source/pyplusplus/unittests
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv11530/pyplusplus/unittests
Added Files:
tnfox_bugs_tester.py
Log Message:
for code from file tnfox_bugs.hpp py++ generates code that could not be compiled
This will be fixed for next release
--- NEW FILE: tnfox_bugs_tester.py ---
# Copyright 2004 Roman Yakovenko.
# Distributed under the Boost Software License, Version 1.0. (See
# accompanying file LICENSE_1_0.txt or copy at
# http://www.boost.org/LICENSE_1_0.txt)
import os
import sys
import unittest
import fundamental_tester_base
#this is compilation test
class tester_t(fundamental_tester_base.fundamental_tester_base_t):
EXTENSION_NAME = 'tnfox_bugs'
def __init__( self, *args ):
fundamental_tester_base.fundamental_tester_base_t.__init__(
self
, tester_t.EXTENSION_NAME
, *args )
def run_tests(self, module):
pass
def create_suite():
suite = unittest.TestSuite()
suite.addTest( unittest.makeSuite(tester_t))
return suite
def run_suite():
unittest.TextTestRunner(verbosity=2).run( create_suite() )
if __name__ == "__main__":
run_suite()
|