void function ( ) { Mode loc0 = new Mode ( ( short ) 0777 ) ; Assert . assertTrue ( loc0 . equals ( Mode . defaults ( ) ) ) ; Mode loc1 = new Mode ( ( short ) 0000 ) ; Assert . assertTrue ( loc1 . equals ( Mode . createNoAccess ( ) ) ) ; Assert . assertFalse ( loc0 . equals ( loc1 ) ) ; }
tests the mode #equals object method . concode_field_sep ExpectedException mThrown concode_field_sep void umaskExceedLength concode_elem_sep void umask concode_elem_sep void toStringTest concode_elem_sep void setOtherBits concode_elem_sep void copyConstructor concode_elem_sep void umaskNotInteger concode_elem_sep void setOwnerBits concode_elem_sep void fromShort concode_elem_sep void defaults concode_elem_sep void setGroupBits concode_elem_sep void after concode_elem_sep void toShort concode_elem_sep void createNoAccess