#NEWLINE# def testAttributeListWithTypeAndSubTypes( self ) : #NEWLINE# #INDENT# ai = parseAttributeType ( 'files' , ( ( ( 'File(' + 'Archive, EJBJarFile, WARFile, EARFile, ApplicationClientFile, ' ) + 'ModuleFile, Container, ReadOnlyDirectory, RARFile' ) + ')*' ) ) #NEWLINE# self . assertEquals ( self . name , 'files' ) #NEWLINE# self . assertEquals ( ai . type , 'File' ) #NEWLINE# self . assertEquals ( ai . list , 1 ) #NEWLINE# self . assertEquals ( ai . enumValues , None ) #NEWLINE# self . assertEquals ( ai . reference , 0 ) #NEWLINE# self . assertEquals ( ai . subTypes , [ 'Archive' , 'EJBJarFile' , 'WARFile' , 'EARFile' , 'ApplicationClientFile' , 'ModuleFile' , 'Container' , 'ReadOnlyDirectory' , 'RARFile' ] )