void function ( ) { assertEquals ( 1 , getLinkCount ( x1 ) ) ; assertEquals ( 1 , getLinkCount ( x2 ) ) ; assertEquals ( 1 , getLinkCount ( x3 ) ) ; }
sanity check the simplest case of hardlink.getlinkcount to make sure we get back `` 1 '' for ordinary single-linked files . tests with multiply-linked files are in later test cases . concode_field_sep File x2_mult concode_elem_sep File x1 concode_elem_sep File TEST_DIR concode_elem_sep String DIR concode_elem_sep File src concode_elem_sep File x3_one concode_elem_sep File x3 concode_elem_sep String str1 concode_elem_sep File x1_one concode_elem_sep File x2 concode_elem_sep File tgt_one concode_elem_sep File x11_one concode_elem_sep String str2 concode_elem_sep File tgt_mult concode_elem_sep File x1_mult concode_elem_sep String str3 concode_elem_sep String TEST_ROOT_DIR concode_elem_sep File y_one concode_elem_sep File x3_mult concode_field_sep void testCreateHardLinkMult concode_elem_sep void testCreateHardLinkMultEmptyList concode_elem_sep void testWindowsSyntax concode_elem_sep void validateTgtOne concode_elem_sep void testCreateHardLink concode_elem_sep void setupClean concode_elem_sep void validateSetup concode_elem_sep void tearDown concode_elem_sep void makeNonEmptyFile concode_elem_sep void validateTgtMult concode_elem_sep void appendToFile concode_elem_sep void setupDirs concode_elem_sep String fetchFileContents