Example #1
0
	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
Example #2
0
	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()
			)