Accounted a behavioral difference between R5 and our implementation.

git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1417 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Ingo Weinhold 2002-10-06 22:58:37 +00:00
parent 4000397895
commit 07823f007c

View File

@ -417,7 +417,12 @@ CommonFindAppTest10(FindAppCaller &caller)
CHK(caller(fileType1, &ref) == B_OK); CHK(caller(fileType1, &ref) == B_OK);
CHK(ref_for_path(appFile1) == ref); CHK(ref_for_path(appFile1) == ref);
CHK(BMimeType(appType1).GetAppHint(&appHint) == B_ENTRY_NOT_FOUND); CHK(BMimeType(appType1).GetAppHint(&appHint) == B_ENTRY_NOT_FOUND);
// OBOS: We set the app hint for app type 2. There's no reason not to do it.
#ifdef TEST_R5
CHK(BMimeType(appType2).IsInstalled() == false); CHK(BMimeType(appType2).IsInstalled() == false);
#else
check_app_type(appType2, appFile1);
#endif
} }
/* /*