Lines Matching refs:Rename
225 suite->addTest( new TC("BEntry::Rename Test", &EntryTest::RenameTest) );
1443 status_t result = entry.Rename(newName.c_str(), clobber);
1445 printf("`%s'.Rename(`%s', %d): ", pathname.c_str(), newName.c_str(), clobber);
1575 CPPUNIT_ASSERT( entry.Rename(dir1.cpath, true) == B_DIRECTORY_NOT_EMPTY );
1585 CPPUNIT_ASSERT( entry.Rename(subDir1.cpath, true) == B_OK );
1594 CPPUNIT_ASSERT( entry.Rename(file4.cname) == B_ENTRY_NOT_FOUND );
1600 CPPUNIT_ASSERT( entry.Rename(file4.cpath) == B_NO_INIT );
1606 CPPUNIT_ASSERT( entry.Rename(file4.cpath) == B_NO_INIT );
1612 CPPUNIT_ASSERT( root.Rename("/", false) == B_FILE_EXISTS );
1613 CPPUNIT_ASSERT( root.Rename("/", true) == B_NOT_ALLOWED );
1619 CPPUNIT_ASSERT( abstract.Rename("/boot/DoesntMatter") == B_ENTRY_NOT_FOUND );
1620 CPPUNIT_ASSERT( abstract.Rename("/boot/DontMatter", true) == B_ENTRY_NOT_FOUND );
1621 CPPUNIT_ASSERT( abstract.Rename("/DoesntMatter") == B_CROSS_DEVICE_LINK );
1622 CPPUNIT_ASSERT( abstract.Rename("/DontMatter", true) == B_CROSS_DEVICE_LINK );
1626 CPPUNIT_ASSERT( equals(entry.Rename(NULL, false), B_FILE_EXISTS,
1628 CPPUNIT_ASSERT( equals(entry.Rename(NULL, true), B_NOT_ALLOWED,