Lines Matching refs:entryName

1214 	string entryName("file1");
1215 execCommand(string("touch ") + dirPathName + entryName);
1216 testSet.add(entryName);
1217 entryName = ("file2");
1218 execCommand(string("touch ") + dirPathName + entryName);
1219 testSet.add(entryName);
1220 entryName = ("file3");
1221 execCommand(string("touch ") + dirPathName + entryName);
1222 testSet.add(entryName);
1223 entryName = ("dir1");
1224 execCommand(string("mkdir ") + dirPathName + entryName);
1225 testSet.add(entryName);
1226 entryName = ("dir2");
1227 execCommand(string("mkdir ") + dirPathName + entryName);
1228 testSet.add(entryName);
1229 entryName = ("dir3");
1230 execCommand(string("mkdir ") + dirPathName + entryName);
1231 testSet.add(entryName);
1232 entryName = ("link1");
1234 + dirPathName + entryName);
1235 testSet.add(entryName);
1236 entryName = ("link2");
1238 + dirPathName + entryName);
1239 testSet.add(entryName);
1240 entryName = ("link3");
1242 + dirPathName + entryName);
1243 testSet.add(entryName);
1350 entryName = ("link1");
1352 + dirPathName + entryName);
1384 string entryName("subdir1");
1385 CPPUNIT_ASSERT( dir.CreateDirectory(entryName.c_str(), &subdir) == B_OK );
1390 CPPUNIT_ASSERT( entry == BEntry((dirPathName + entryName).c_str()) );
1392 CPPUNIT_ASSERT( subdir.SetTo((dirPathName + entryName).c_str()) == B_OK );
1396 CPPUNIT_ASSERT( dir.CreateDirectory(entryName.c_str(), &subdir)
1404 entryName = "file1";
1405 CPPUNIT_ASSERT( dir.CreateFile(entryName.c_str(), &file, true) == B_OK );
1408 CPPUNIT_ASSERT( file.SetTo((dirPathName + entryName).c_str(),
1413 CPPUNIT_ASSERT( dir.CreateFile(entryName.c_str(), &file, false) == B_OK );
1416 CPPUNIT_ASSERT( file.SetTo((dirPathName + entryName).c_str(),
1421 CPPUNIT_ASSERT( dir.CreateFile(entryName.c_str(), &file, true)
1429 entryName = "link1";
1430 CPPUNIT_ASSERT( dir.CreateSymLink(entryName.c_str(), existingFile, &link)
1434 CPPUNIT_ASSERT( link.SetTo((dirPathName + entryName).c_str()) == B_OK );
1438 CPPUNIT_ASSERT( dir.CreateSymLink(entryName.c_str(), existingFile, &link)
1451 entryName = dirPathName + "subdir1";
1452 CPPUNIT_ASSERT( dir.CreateDirectory(entryName.c_str(), &subdir) == B_OK );
1456 CPPUNIT_ASSERT( entry == BEntry(entryName.c_str()) );
1458 CPPUNIT_ASSERT( subdir.SetTo(entryName.c_str()) == B_OK );
1462 CPPUNIT_ASSERT( dir.CreateDirectory(entryName.c_str(), &subdir)
1469 entryName = dirPathName + "file1";
1470 CPPUNIT_ASSERT( dir.CreateFile(entryName.c_str(), &file, true) == B_OK );
1473 CPPUNIT_ASSERT( file.SetTo(entryName.c_str(), B_READ_ONLY) == B_OK );
1477 CPPUNIT_ASSERT( dir.CreateFile(entryName.c_str(), &file, false) == B_OK );
1480 CPPUNIT_ASSERT( file.SetTo(entryName.c_str(), B_READ_ONLY) == B_OK );
1484 CPPUNIT_ASSERT( dir.CreateFile(entryName.c_str(), &file, true)
1491 entryName = dirPathName + "link1";
1492 CPPUNIT_ASSERT( dir.CreateSymLink(entryName.c_str(), existingFile, &link)
1496 CPPUNIT_ASSERT( link.SetTo(entryName.c_str()) == B_OK );
1500 CPPUNIT_ASSERT( dir.CreateSymLink(entryName.c_str(), existingFile, &link)
1513 entryName = dirPathName + "subdir1";
1514 CPPUNIT_ASSERT( dir.CreateDirectory(entryName.c_str(), &subdir) == B_OK );
1518 CPPUNIT_ASSERT( entry == BEntry(entryName.c_str()) );
1520 CPPUNIT_ASSERT( subdir.SetTo(entryName.c_str()) == B_OK );
1524 CPPUNIT_ASSERT( dir.CreateDirectory(entryName.c_str(), &subdir)
1531 entryName = dirPathName + "file1";
1532 CPPUNIT_ASSERT( dir.CreateFile(entryName.c_str(), &file, true) == B_OK );
1535 CPPUNIT_ASSERT( file.SetTo(entryName.c_str(), B_READ_ONLY) == B_OK );
1539 CPPUNIT_ASSERT( dir.CreateFile(entryName.c_str(), &file, false) == B_OK );
1542 CPPUNIT_ASSERT( file.SetTo(entryName.c_str(), B_READ_ONLY) == B_OK );
1546 CPPUNIT_ASSERT( dir.CreateFile(entryName.c_str(), &file, true)
1553 entryName = dirPathName + "link1";
1554 CPPUNIT_ASSERT( dir.CreateSymLink(entryName.c_str(), existingFile, &link)
1558 CPPUNIT_ASSERT( link.SetTo(entryName.c_str()) == B_OK );
1562 CPPUNIT_ASSERT( dir.CreateSymLink(entryName.c_str(), existingFile, &link)
1576 entryName = "subdir1";
1577 CPPUNIT_ASSERT( dir.CreateDirectory(entryName.c_str(), &subdir) == B_OK );
1581 CPPUNIT_ASSERT( entry == BEntry((dirPathName + entryName).c_str()) );
1583 CPPUNIT_ASSERT( subdir.SetTo((dirPathName + entryName).c_str()) == B_OK );
1587 CPPUNIT_ASSERT( dir.CreateDirectory(entryName.c_str(), &subdir)
1594 entryName = "file1";
1595 CPPUNIT_ASSERT( dir.CreateFile(entryName.c_str(), &file, true) == B_OK );
1598 CPPUNIT_ASSERT( file.SetTo((dirPathName + entryName).c_str(),
1603 CPPUNIT_ASSERT( dir.CreateFile(entryName.c_str(), &file, false) == B_OK );
1606 CPPUNIT_ASSERT( file.SetTo((dirPathName + entryName).c_str(),
1611 CPPUNIT_ASSERT( dir.CreateFile(entryName.c_str(), &file, true)
1618 entryName = "link1";
1619 CPPUNIT_ASSERT( dir.CreateSymLink(entryName.c_str(), existingFile, &link)
1623 CPPUNIT_ASSERT( link.SetTo((dirPathName + entryName).c_str()) == B_OK );
1627 CPPUNIT_ASSERT( dir.CreateSymLink(entryName.c_str(), existingFile, &link)
1640 entryName = "subdir1";
1649 entryName = "file1";
1656 entryName = "link1";
1660 CPPUNIT_ASSERT( equals(dir.CreateSymLink(entryName.c_str(), NULL, &link),
1673 entryName = dirPathName + "subdir1";
1674 CPPUNIT_ASSERT( dir.CreateDirectory(entryName.c_str(), NULL) == B_OK );
1675 CPPUNIT_ASSERT( subdir.SetTo(entryName.c_str()) == B_OK );
1679 CPPUNIT_ASSERT( dir.CreateDirectory(entryName.c_str(), NULL)
1685 entryName = dirPathName + "file1";
1686 CPPUNIT_ASSERT( dir.CreateFile(entryName.c_str(), NULL, true) == B_OK );
1687 CPPUNIT_ASSERT( file.SetTo(entryName.c_str(), B_READ_ONLY) == B_OK );
1691 CPPUNIT_ASSERT( dir.CreateFile(entryName.c_str(), NULL, false) == B_OK );
1692 CPPUNIT_ASSERT( file.SetTo(entryName.c_str(), B_READ_ONLY) == B_OK );
1696 CPPUNIT_ASSERT( dir.CreateFile(entryName.c_str(), NULL, true)
1701 entryName = dirPathName + "link1";
1702 CPPUNIT_ASSERT( dir.CreateSymLink(entryName.c_str(), existingFile, NULL)
1704 CPPUNIT_ASSERT( link.SetTo(entryName.c_str()) == B_OK );
1708 CPPUNIT_ASSERT( dir.CreateSymLink(entryName.c_str(), existingFile, NULL)
1780 string entryName(dirPathName + "subdir1/subdir1.1");
1781 CPPUNIT_ASSERT( create_directory(entryName.c_str(), 0x1ff) == B_OK );
1783 CPPUNIT_ASSERT( subdir.SetTo(entryName.c_str()) == B_OK );
1787 entryName = dirPathName + "subdir2";
1788 CPPUNIT_ASSERT( create_directory(entryName.c_str(), 0x1ff) == B_OK );
1789 CPPUNIT_ASSERT( subdir.SetTo(entryName.c_str()) == B_OK );
1793 entryName = dirPathName;
1794 CPPUNIT_ASSERT( create_directory(entryName.c_str(), 0x1ff) == B_OK );
1795 CPPUNIT_ASSERT( subdir.SetTo(entryName.c_str()) == B_OK );
1804 entryName = "subdir1/subdir1.1";
1805 CPPUNIT_ASSERT( create_directory(entryName.c_str(), 0x1ff) == B_OK );
1806 CPPUNIT_ASSERT( subdir.SetTo(entryName.c_str()) == B_OK );
1810 entryName = "subdir2";
1811 CPPUNIT_ASSERT( create_directory(entryName.c_str(), 0x1ff) == B_OK );
1812 CPPUNIT_ASSERT( subdir.SetTo(entryName.c_str()) == B_OK );
1816 entryName = ".";
1817 CPPUNIT_ASSERT( create_directory(entryName.c_str(), 0x1ff) == B_OK );
1818 CPPUNIT_ASSERT( subdir.SetTo(entryName.c_str()) == B_OK );