aboutsummaryrefslogtreecommitdiff
path: root/AppKit/GTMThemeTest.m
diff options
context:
space:
mode:
Diffstat (limited to 'AppKit/GTMThemeTest.m')
-rw-r--r--AppKit/GTMThemeTest.m6
1 files changed, 5 insertions, 1 deletions
diff --git a/AppKit/GTMThemeTest.m b/AppKit/GTMThemeTest.m
index e58e95f..0f5c996 100644
--- a/AppKit/GTMThemeTest.m
+++ b/AppKit/GTMThemeTest.m
@@ -33,7 +33,7 @@
// When there are no values, use window default colors
STAssertEqualObjects([theme backgroundColor],
- [NSColor colorWithCalibratedWhite:0.667 alpha:1.0], nil);
+ [NSColor colorWithCalibratedWhite:0.5 alpha:1.0], nil);
STAssertNil([theme backgroundImageForStyle:GTMThemeStyleWindow
state:GTMThemeStateActiveWindow],
nil);
@@ -44,6 +44,10 @@
NSUserDefaults *defaults = [NSUserDefaults standardUserDefaults];
[defaults setObject:colorData forKey:kGTMThemeBackgroundColorKey];
+ STAssertNotNil([theme textColorForStyle:GTMThemeStyleToolBar
+ state:GTMThemeStateActiveWindow], nil);
+ STAssertNotNil([theme backgroundColorForStyle:GTMThemeStyleToolBar
+ state:GTMThemeStateActiveWindow], nil);
STAssertNotNil([theme backgroundPatternColorForStyle:GTMThemeStyleToolBar
state:GTMThemeStateActiveWindow], nil);
STAssertNotNil([theme strokeColorForStyle:GTMThemeStyleToolBar