helper function to check whether data is a concatenation of repeat_count upload_data_string strings . concode_field_sep String UPLOAD_DATA_STRING concode_elem_sep byte[] UPLOAD_DATA concode_elem_sep int REPEAT_COUNT concode_field_sep String getResponseAsString concode_elem_sep byte[] getLargeData
void function ( String arg0 ) { for ( int loc0 = 0 ; loc0 < REPEAT_COUNT ; loc0 ++ ) { Assert . assertEquals ( UPLOAD_DATA_STRING , arg0 . substring ( UPLOAD_DATA_STRING . length ( ) * loc0 , UPLOAD_DATA_STRING . length ( ) * ( loc0 + 1 ) ) ) ; } }