#NEWLINE# def test_get_target_type_info( self ) : #NEWLINE# #INDENT# class Target1 ( Target ) : #NEWLINE# #INDENT# 'Target1 docstring.' #NEWLINE# pass #NEWLINE# #UNINDENT# class Target2a ( Target ) : #NEWLINE# #INDENT# pass #NEWLINE# #UNINDENT# class Target2b ( Target ) : #NEWLINE# #INDENT# 'Target2 docstring.' #NEWLINE# pass #NEWLINE# #UNINDENT# class Target3 ( Target ) : #NEWLINE# #INDENT# 'Target3 docstring.' #NEWLINE# pass #NEWLINE# #UNINDENT# macro_factory = TargetMacro . Factory . wrap ( ( lambda ctx : None ) , Target2a , Target2b ) #NEWLINE# bfa = BuildFileAliases ( targets = { #NEWLINE# #INDENT# 'target1' : Target1 , #NEWLINE# 'target2' : extracter , #NEWLINE# 'target3' : Target3 , #NEWLINE# #UNINDENT# } , objects = { #NEWLINE# #INDENT# #NEWLINE# #UNINDENT# } , context_aware_object_factories = { #NEWLINE# #INDENT# #NEWLINE# #UNINDENT# } ) #NEWLINE# extracter = BuildDictionaryInfoExtracter ( bfa ) #NEWLINE# args = BuildDictionaryInfoExtracter . basic_target_args #NEWLINE# self . assertEquals ( [ BuildSymbolInfo ( 'target1' , 'Target1 docstring.' , [ ] , args ) , BuildSymbolInfo ( 'target2' , 'Target2 docstring.' , [ ] , args ) , BuildSymbolInfo ( 'target3' , 'Target3 docstring.' , [ ] , args ) ] , extracter . get_target_type_info ( ) )