Lines Matching defs:file3

70 static TestEntry file3;
1543 RenameTestFile(&file2, &file3, false, false, B_OK);
1545 RenameTestFile(&file2, &file3, true, true, B_OK);
1547 RenameTestFile(&file2, &file3, true, false, B_FILE_EXISTS);
1554 RenameTestDir(&file2, &file3, false, false, B_OK);
1556 RenameTestDir(&file2, &file3, true, true, B_OK);
1558 RenameTestDir(&file2, &file3, true, false, B_FILE_EXISTS);
1565 RenameTestLink(&file2, &file3, false, false, B_OK);
1567 RenameTestLink(&file2, &file3, true, true, B_OK);
1569 RenameTestLink(&file2, &file3, true, false, B_FILE_EXISTS);
1573 CreateFile(file3.cpath);
1574 CPPUNIT_ASSERT( entry.SetTo(file3.cpath) == B_OK );
1577 CPPUNIT_ASSERT( PingFile(file3.cpath, &entry) );
1578 RemoveFile(file3.cpath);
1583 CreateFile(file3.cpath);
1584 CPPUNIT_ASSERT( entry.SetTo(file3.cpath) == B_OK );
1587 CPPUNIT_ASSERT( !PingFile(file3.cpath) );
1820 MoveToTestFile(&file2, file2.super, &file3, false, false, B_OK);
1822 MoveToTestFile(&file2, &dir2, &file3, false, false, B_OK);
1824 MoveToTestFile(&file2, &dir2, &file3, true, true, B_OK);
1826 MoveToTestFile(&file2, &dir2, &file3, true, false, B_FILE_EXISTS);
1833 MoveToTestDir(&file2, file2.super, &file3, false, false, B_OK);
1835 MoveToTestDir(&file2, &dir2, &file3, false, false, B_OK);
1837 MoveToTestDir(&file2, &dir2, &file3, true, true, B_OK);
1839 MoveToTestDir(&file2, &dir2, &file3, true, false, B_FILE_EXISTS);
1846 MoveToTestLink(&file2, file2.super, &file3, false, false, B_OK);
1848 MoveToTestLink(&file2, &dir2, &file3, false, false, B_OK);
1850 MoveToTestLink(&file2, &dir2, &file3, true, true, B_OK);
1852 MoveToTestLink(&file2, &dir2, &file3, true, false, B_FILE_EXISTS);
1855 CreateFile(file3.cpath);
1856 CPPUNIT_ASSERT( entry.SetTo(file3.cpath) == B_OK );
1861 CPPUNIT_ASSERT( PingFile(file3.cpath, &entry) );
1862 RemoveFile(file3.cpath);
1866 CreateFile(file3.cpath);
1867 CPPUNIT_ASSERT( entry.SetTo(file3.cpath) == B_OK );
1871 CPPUNIT_ASSERT( !PingFile(file3.cpath) );
1898 CPPUNIT_ASSERT( entry.MoveTo(NULL, file3.cpath) == B_BAD_VALUE );
1899 RemoveFile(file3.cpath);
1907 CPPUNIT_ASSERT( entry.MoveTo(&dir, file3.cpath) == B_BAD_VALUE );
1908 RemoveFile(file3.cpath);
2390 file3.init(dir2, "file3", ABSTRACT_ENTRY);