private String footprint ( Test test ) { StringBuilder sb = new StringBuilder ( ) ; sb . append ( test . getCategory ( ) ) . append ( test . getName ( ) ) . append ( test . getFlags ( ) ) ; for ( String tag : test . getTags ( ) ) { sb . append ( tag ) ; } for ( String ticket : test . getTickets ( ) ) { sb . append ( ticket ) ; } for ( Map . Entry < String , String > entry : test . getData ( ) . entrySet ( ) ) { sb . append ( entry . getKey ( ) ) . append ( entry . getValue ( ) ) ; } return FootprintGenerator . footprint ( sb . toString ( ) ) ; }
Compute the footprint for a test