Lines Matching refs:dir

515 	// existing dir link
545 // dir
570 CPPUNIT_ASSERT_EQUAL(strcmp(buffer, "/tmp/existing-dir"), 0);
604 // existing absolute dir link
631 // existing relative dir link
681 BDirectory dir;
682 CPPUNIT_ASSERT( dir.SetTo("/boot") == B_OK);
683 CPPUNIT_ASSERT( equals(link.MakeLinkedPath(&dir, &path), B_BAD_ADDRESS,
687 dir.Unset();
688 // existing absolute dir link
691 CPPUNIT_ASSERT( dir.SetTo("/boot") == B_OK);
692 CPPUNIT_ASSERT( link.MakeLinkedPath(&dir, &path)
698 dir.Unset();
702 CPPUNIT_ASSERT( dir.SetTo("/boot") == B_OK);
703 CPPUNIT_ASSERT( link.MakeLinkedPath(&dir, &path)
709 dir.Unset();
713 CPPUNIT_ASSERT( dir.SetTo("/boot") == B_OK);
714 CPPUNIT_ASSERT( link.MakeLinkedPath(&dir, &path)
720 dir.Unset();
721 // existing relative dir link
726 CPPUNIT_ASSERT( dir.SetTo(existingSuperDir) == B_OK);
727 CPPUNIT_ASSERT( link.MakeLinkedPath(&dir, &path)
733 dir.Unset();
741 CPPUNIT_ASSERT( dir.SetTo(existingSuperFile) == B_OK);
742 CPPUNIT_ASSERT( link.MakeLinkedPath(&dir, &path)
748 dir.Unset();
751 // absolute link, uninitialized dir
754 CPPUNIT_ASSERT( dir.InitCheck() == B_NO_INIT);
755 CPPUNIT_ASSERT( link.MakeLinkedPath(&dir, &path)
759 // absolute link, badly initialized dir
762 CPPUNIT_ASSERT( dir.SetTo(nonExisting) == B_ENTRY_NOT_FOUND);
763 CPPUNIT_ASSERT( link.MakeLinkedPath(&dir, &path)
769 dir.Unset();
770 // relative link, uninitialized dir
773 CPPUNIT_ASSERT( dir.InitCheck() == B_NO_INIT);
774 CPPUNIT_ASSERT( equals(link.MakeLinkedPath(&dir, &path), B_NO_INIT,
777 // relative link, badly initialized dir
780 CPPUNIT_ASSERT( dir.SetTo(nonExisting) == B_ENTRY_NOT_FOUND);
781 CPPUNIT_ASSERT( equals(link.MakeLinkedPath(&dir, &path), B_NO_INIT,
785 dir.Unset();
789 CPPUNIT_ASSERT( dir.SetTo("/boot") == B_OK);
792 CPPUNIT_ASSERT( link.MakeLinkedPath(&dir, NULL) == B_BAD_VALUE );
804 dir.Unset();
822 // existing absolute dir link
837 // dir
865 // existing dir link
900 // existing dir link