#NEWLINE# def testChildNames( self ) : #NEWLINE# #INDENT# g = GafferScene . Grid ( ) #NEWLINE# self . assertEqual ( g [ 'out' ] . childNames ( '/' ) , IECore . InternedStringVectorData ( [ 'grid' ] ) ) #NEWLINE# self . assertEqual ( g [ 'out' ] . childNames ( '/grid' ) , IECore . InternedStringVectorData ( [ 'gridLines' , 'centerLines' , 'borderLines' ] ) ) #NEWLINE# cs = GafferTest . CapturingSlot ( g . plugDirtiedSignal ( ) ) #NEWLINE# g [ 'name' ] . setValue ( 'g' ) #NEWLINE# self . assertTrue ( ( g [ 'out' ] [ 'childNames' ] in [ x [ 0 ] for x in cs ] ) ) #NEWLINE# self . assertTrue ( g [ 'out' ] . childNames ( '/' ) , IECore . InternedStringVectorData ( [ 'g' ] ) )