Lines Matching refs:SetTo

438 	CPPUNIT_ASSERT( node.SetTo(fileLink) == B_OK );
442 CPPUNIT_ASSERT( node.SetTo(nonExisting) == B_ENTRY_NOT_FOUND );
446 CPPUNIT_ASSERT( equals(node.SetTo((const char *)NULL), B_BAD_VALUE,
451 CPPUNIT_ASSERT( node.SetTo("") == B_ENTRY_NOT_FOUND );
455 CPPUNIT_ASSERT( node.SetTo(existingFile) == B_OK );
459 CPPUNIT_ASSERT( node.SetTo(existingDir) == B_OK );
463 CPPUNIT_ASSERT( node.SetTo(tooLongEntryname) == B_NAME_TOO_LONG );
470 CPPUNIT_ASSERT( node.SetTo(&entry) == B_OK );
474 CPPUNIT_ASSERT( entry.SetTo(nonExisting) == B_OK );
475 CPPUNIT_ASSERT( node.SetTo(&entry) == B_ENTRY_NOT_FOUND );
479 CPPUNIT_ASSERT( node.SetTo((BEntry *)NULL) == B_BAD_VALUE );
485 CPPUNIT_ASSERT( equals(node.SetTo(&entry), B_BAD_ADDRESS, B_BAD_VALUE) );
489 CPPUNIT_ASSERT( entry.SetTo(existingFile) == B_OK );
490 CPPUNIT_ASSERT( node.SetTo(&entry) == B_OK );
494 CPPUNIT_ASSERT( entry.SetTo(existingDir) == B_OK );
495 CPPUNIT_ASSERT( node.SetTo(&entry) == B_OK );
500 CPPUNIT_ASSERT( equals(entry.SetTo(tooLongEntryname), E2BIG, B_NAME_TOO_LONG) );
501 CPPUNIT_ASSERT( equals(node.SetTo(&entry), B_BAD_ADDRESS, B_BAD_VALUE) );
506 CPPUNIT_ASSERT( entry.SetTo(dirLink) == B_OK );
509 CPPUNIT_ASSERT( node.SetTo(&ref) == B_OK );
513 CPPUNIT_ASSERT( entry.SetTo(nonExisting) == B_OK );
515 CPPUNIT_ASSERT( node.SetTo(&ref) == B_ENTRY_NOT_FOUND );
519 CPPUNIT_ASSERT( node.SetTo((entry_ref *)NULL) == B_BAD_VALUE );
523 CPPUNIT_ASSERT( entry.SetTo(existingFile) == B_OK );
525 CPPUNIT_ASSERT( node.SetTo(&ref) == B_OK );
529 CPPUNIT_ASSERT( entry.SetTo(existingDir) == B_OK );
531 CPPUNIT_ASSERT( node.SetTo(&ref) == B_OK );
538 CPPUNIT_ASSERT( node.SetTo(&pathDir, dirRelLink) == B_OK );
542 CPPUNIT_ASSERT( pathDir.SetTo(dirSuperLink) == B_OK );
543 CPPUNIT_ASSERT( node.SetTo(&pathDir, dirLink) == B_BAD_VALUE );
547 CPPUNIT_ASSERT( pathDir.SetTo(nonExistingSuper) == B_OK );
548 CPPUNIT_ASSERT( node.SetTo(&pathDir, nonExistingRel) == B_ENTRY_NOT_FOUND );
552 CPPUNIT_ASSERT( node.SetTo((BDirectory *)NULL, (const char *)NULL)
557 CPPUNIT_ASSERT( node.SetTo((BDirectory *)NULL, dirLink) == B_BAD_VALUE );
561 CPPUNIT_ASSERT( pathDir.SetTo(dirSuperLink) == B_OK );
562 CPPUNIT_ASSERT( node.SetTo(&pathDir, (const char *)NULL) == B_BAD_VALUE );
566 CPPUNIT_ASSERT( pathDir.SetTo(dirSuperLink) == B_OK );
567 CPPUNIT_ASSERT(node.SetTo(&pathDir, "") == B_ENTRY_NOT_FOUND);
571 CPPUNIT_ASSERT( pathDir.SetTo(existingSuperFile) == B_OK );
572 CPPUNIT_ASSERT( node.SetTo(&pathDir, existingRelFile) == B_OK );
576 CPPUNIT_ASSERT( pathDir.SetTo(existingSuperDir) == B_OK );
577 CPPUNIT_ASSERT( node.SetTo(&pathDir, existingRelDir) == B_OK );
581 CPPUNIT_ASSERT( pathDir.SetTo(tooLongSuperEntryname) == B_OK );
582 CPPUNIT_ASSERT( node.SetTo(&pathDir, tooLongRelEntryname) == B_NAME_TOO_LONG );
586 CPPUNIT_ASSERT( pathDir.SetTo(fileSuperDirname) == B_OK );
587 CPPUNIT_ASSERT( node.SetTo(&pathDir, fileRelDirname) == B_ENTRY_NOT_FOUND );
800 CPPUNIT_ASSERT( node.SetTo("./") == B_OK );
1181 CPPUNIT_ASSERT( node2.SetTo(entryName) == B_OK );