#NEWLINE# def testColorAccessors( self ) : #NEWLINE# #INDENT# s = GafferUI . StandardStyle ( ) #NEWLINE# i = 0 #NEWLINE# for n in GafferUI . StandardStyle . Color . names : #NEWLINE# #INDENT# if ( n == 'LastColor' ) : #NEWLINE# #INDENT# continue #NEWLINE# #UNINDENT# c = IECore . Color3f ( i ) #NEWLINE# v = getattr ( GafferUI . StandardStyle . Color , n ) #NEWLINE# s . setColor ( v , c ) #NEWLINE# self . assertEqual ( s . getColor ( v ) , c ) #NEWLINE# i += 1