aboutsummaryrefslogtreecommitdiff
path: root/AppKit/GTMNSWorkspace+RunningTest.m
diff options
context:
space:
mode:
authorGravatar thomasvl@gmail.com <thomasvl@gmail.com@7dc7ac4e-7543-0410-b95c-c1676fc8e2a3>2009-02-26 01:38:00 +0000
committerGravatar thomasvl@gmail.com <thomasvl@gmail.com@7dc7ac4e-7543-0410-b95c-c1676fc8e2a3>2009-02-26 01:38:00 +0000
commit037f9b9e4216078b9a7b667c25c8b825bea23219 (patch)
treeb407e1491769875da80292de54f5cda1c91b8c51 /AppKit/GTMNSWorkspace+RunningTest.m
parent4c2218dc038a6cca3c972a153e3f73c5730fc876 (diff)
some updates for keys that aren't always there
Diffstat (limited to 'AppKit/GTMNSWorkspace+RunningTest.m')
-rw-r--r--AppKit/GTMNSWorkspace+RunningTest.m14
1 files changed, 7 insertions, 7 deletions
diff --git a/AppKit/GTMNSWorkspace+RunningTest.m b/AppKit/GTMNSWorkspace+RunningTest.m
index abd20a6..6e8ff33 100644
--- a/AppKit/GTMNSWorkspace+RunningTest.m
+++ b/AppKit/GTMNSWorkspace+RunningTest.m
@@ -57,16 +57,16 @@
processInfo = [ws gtm_processInfoDictionaryForActiveApp];
STAssertNotNil(processInfo, nil);
+ // Only check the keys that have to be there
NSString *const keys[] = {
- kGTMWorkspaceRunningPSN, kGTMWorkspaceRunningParentPSN,
+ kGTMWorkspaceRunningPSN,
kGTMWorkspaceRunningFlavor, kGTMWorkspaceRunningAttributes,
- kGTMWorkspaceRunningFileType, kGTMWorkspaceRunningFileCreator,
- kGTMWorkspaceRunningPID, kGTMWorkspaceRunningLSBackgroundOnly,
+ kGTMWorkspaceRunningLSBackgroundOnly,
kGTMWorkspaceRunningLSUIElement, kGTMWorkspaceRunningIsHidden,
- kGTMWorkspaceRunningCheckedIn, kGTMWorkspaceRunningBundleIdentifier,
- kGTMWorkspaceRunningBundleVersion, kGTMWorkspaceRunningBundleName,
- kGTMWorkspaceRunningLSUIPresentationMode, kGTMWorkspaceRunningBundlePath,
- kGTMWorkspaceRunningBundleExecutable
+ kGTMWorkspaceRunningCheckedIn,
+ kGTMWorkspaceRunningBundleVersion,
+ kGTMWorkspaceRunningLSUIPresentationMode,
+
};
for (size_t i = 0; i < sizeof(keys) / sizeof(NSString *); ++i) {
NSString *const key = keys[i];