Lines Matching refs:file
108 BFile file;
109 CHK(file.SetTo(filename, B_READ_WRITE) == B_OK);
111 CHK(appFileInfo.SetTo(&file) == B_OK);
130 BFile file;
131 CHK(file.SetTo(filename, B_READ_WRITE) == B_OK);
133 CHK(nodeInfo.SetTo(&file) == B_OK);
177 BFile file;
178 CHK(file.SetTo(filename, B_READ_WRITE) == B_OK);
180 CHK(appFileInfo.SetTo(&file) == B_OK);
676 @case 3 ref is valid, file has type and preferred app, preferred
691 @case 4 ref is valid, file has type and preferred app, app type is
693 @results Should return B_OK and set the ref to refer to the file's
694 (not the file type's) preferred application's executable.
712 @case 5 ref is valid, file has no type, but preferred app,
731 @case 6 ref is valid, file has type and app hint, the type's
734 @results Should return B_OK and set the ref to refer to the file
753 @case 7 ref is valid, file has type, the type's preferred app
755 file is executable
756 @results Should return B_OK and set the ref to refer to the file.
757 Should not set the app hint on the app or file type (Why?).
775 @case 8 ref is valid and refers to a link to a file, file has type,
778 @results Should return B_OK and set the ref to refer to the file
809 @case 9 ref is valid, file has no type, sniffing results in a type,
810 type is set on file,
840 @case 10 ref is valid, file has no type, sniffing results in a type,
841 type is set on file,