Lines Matching defs:ref
83 bool IsRunning(entry_ref *ref) const
84 @case 1 ref is NULL
89 // R5: crashes when passing a NULL ref
97 bool IsRunning(entry_ref *ref) const
98 @case 2 ref is not NULL, but no app with this ref is running
104 entry_ref ref;
105 CHK(find_test_app("AppRunTestApp1", &ref) == B_OK);
106 CHK(roster.IsRunning(&ref) == false);
110 bool IsRunning(entry_ref *ref) const
111 @case 3 ref is not NULL and an (two) app(s) with this ref is (are)
117 entry_ref ref;
118 CHK(find_test_app("AppRunTestApp1", &ref) == B_OK);
126 CHK(roster.IsRunning(&ref) == true);
129 CHK(roster.IsRunning(&ref) == true);
132 CHK(roster.IsRunning(&ref) == false);