Lines Matching refs:ref
47 // get port and ref
49 entry_ref ref;
50 runner.GetRef(&ref);
59 //printf(" ref: (%ld, %lld, `%s') vs (%ld, %lld, `%s')\n",
60 //info.ref.device, info.ref.directory, info.ref.name,
61 //ref.device, ref.directory, ref.name);
63 && info.flags == flags && info.ref == ref
136 status_t GetAppInfo(entry_ref *ref, app_info *info) const
137 @case 1 ref is NULL or info is NULL
143 entry_ref ref;
144 CHK(find_test_app("AppRunTestApp1", &ref) == B_OK);
150 CHK(roster.GetAppInfo(&ref, NULL) == B_BAD_VALUE);
155 status_t GetAppInfo(entry_ref *ref, app_info *info) const
156 @case 2 ref/info are not NULL, but no app with this ref is running
162 entry_ref ref;
163 CHK(find_test_app("AppRunTestApp1", &ref) == B_OK);
165 CHK(roster.GetAppInfo(&ref, &info) == B_ERROR);
169 status_t GetAppInfo(entry_ref *ref, app_info *info) const
170 @case 3 ref/info are not NULL and an (two) app(s) with this ref
183 entry_ref ref;
184 CHK(find_test_app("AppRunTestApp1", &ref) == B_OK);
193 CHK(roster.GetAppInfo(&ref, &info1) == B_OK);
199 CHK(roster.GetAppInfo(&ref, &info2) == B_OK);
203 CHK(roster.GetAppInfo(&ref, &info1) == B_ERROR);