#NEWLINE# def setUp( self ) : #NEWLINE# #INDENT# self . config = Config . Config ( ) #NEWLINE# self . config [ 'library' ] = 'testlib' #NEWLINE# self . library = Library . Library ( 'test' ) #NEWLINE# voidType = Library . Type ( 'void' ) #NEWLINE# intType = Library . Type ( 'int' ) #NEWLINE# f = Library . Function ( 'func1' , voidType ) #NEWLINE# p = Library . Parameter ( 'parameter' , intType ) #NEWLINE# f . parameters [ p . name ] = p #NEWLINE# self . library . functions [ f . name ] = f #NEWLINE# f = Library . Function ( 'func2' , intType ) #NEWLINE# p1 = Library . Parameter ( 'p1' , intType ) #NEWLINE# p2 = Library . Parameter ( 'p2' , intType ) #NEWLINE# f . parameters [ p1 . name ] = p1 #NEWLINE# f . parameters [ p2 . name ] = p2 #NEWLINE# self . library . functions [ f . name ] = f #NEWLINE# self . library . typeMap [ 'int' ] = 'int' #NEWLINE# self . library . typeMap [ 'void' ] = 'void' #NEWLINE# self . platform = SymbianPlatform ( self . config )