From 72ba8a738ea17617409b44f87105bf65062e8e86 Mon Sep 17 00:00:00 2001 From: Ingo Weinhold Date: Sun, 6 Oct 2002 23:00:17 +0000 Subject: [PATCH] Accounted a behavioral difference between R5 and our implementation. Comment fix. git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1418 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/tests/kits/app/broster/LaunchTester.cpp | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/tests/kits/app/broster/LaunchTester.cpp b/src/tests/kits/app/broster/LaunchTester.cpp index 0f4fc141a1..086dc1c6f5 100644 --- a/src/tests/kits/app/broster/LaunchTester.cpp +++ b/src/tests/kits/app/broster/LaunchTester.cpp @@ -541,7 +541,12 @@ CommonLaunchTest10(LaunchCaller &caller) entry_ref ref = ref_for_team(team); CHK(ref_for_path(appFile1) == ref); 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); +#else + check_app_type(appType2, appFile1); +#endif context.Terminate(); int32 cookie = 0; CHK(context.CheckNextMessage(caller, team, cookie, MSG_STARTED)); @@ -1221,7 +1226,7 @@ CommonLaunchTest25(LaunchCaller &caller) first: B_EXCLUSIVE_LAUNCH, second: B_EXCLUSIVE_LAUNCH | B_ARGV_ONLY => @results first app: {Message,Argv,Refs}Received()*, ReadyToRun(), - {Message,Argv,Refs}Received()*, QuitRequested() + QuitRequested() second app: Launch() fails with B_ALREADY_RUNNING */ static