#NEWLINE# def test_check_marks_all_as_invalid_by_default( self ) : #NEWLINE# #INDENT# a = self . make_target ( ':a' , dependencies = [ ] ) #NEWLINE# b = self . make_target ( ':b' , dependencies = [ a ] ) #NEWLINE# c = self . make_target ( ':c' , dependencies = [ b ] ) #NEWLINE# d = self . make_target ( ':d' , dependencies = [ e , a ] ) #NEWLINE# e = self . make_target ( ':e' , dependencies = [ d ] ) #NEWLINE# targets = [ a , b , c , d , e ] #NEWLINE# ic = self . cache_manager . check ( targets ) #NEWLINE# all_vts = ic . all_vts #NEWLINE# invalid_vts = ic . invalid_vts #NEWLINE# self . assertEquals ( 5 , len ( invalid_vts ) ) #NEWLINE# self . assertEquals ( 5 , len ( all_vts ) ) #NEWLINE# vts_targets = [ vt . targets [ 0 ] for vt in all_vts ] #NEWLINE# self . assertEquals ( set ( targets ) , set ( vts_targets ) )