def testAllocObjStrategy(self): project = TestCompilation.build_easy_prj.getProject() compilation = BaseCompilation(project) tmpDir = tempfile.mkdtemp() ex = None try: compilation.compile(StoreCallsWillExecutor()) except Exception, e: ex = e
def __init__( self, projectSearcher = None, libsRegOffice = None ): BaseCompilation.__init__( self, projectSearcher, libsRegOffice ) ecr2bStrat = self.getEmptyCompileResult2builderStrategy() ecr2bStrat.registerBuilder( ExecutableCompilationResult, ExecutableBuilder() ) ecr2bStrat.registerBuilder( ObjectsCompilationResult, ObjectsBuilder() ) ecr2bStrat.registerBuilder( StaticLibCompilationResult, StaticLibBuilder() )