Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1146)

Unified Diff: chrome/browser/cocoa/about_window_controller_unittest.mm

Issue 173606: Add background_tile_view for tiling an image as UI background (about box need... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 11 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/cocoa/about_window_controller.mm ('k') | chrome/browser/cocoa/background_tile_view.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/cocoa/about_window_controller_unittest.mm
===================================================================
--- chrome/browser/cocoa/about_window_controller_unittest.mm (revision 24730)
+++ chrome/browser/cocoa/about_window_controller_unittest.mm (working copy)
@@ -46,17 +46,16 @@
// Doesn't confirm correctness, but does confirm something happens.
TEST_F(AboutWindowControllerTest, TestCallbacks) {
- NSString *upToDate = [[about_window_controller_ upToDateTextField]
+ NSString *lastText = [[about_window_controller_ updateText]
stringValue];
[about_window_controller_ upToDateCheckCompleted:NO latestVersion:@"foo"];
- ASSERT_FALSE([upToDate isEqual:[[about_window_controller_ upToDateTextField]
+ ASSERT_FALSE([lastText isEqual:[[about_window_controller_ updateText]
stringValue]]);
- NSString *completed = [[about_window_controller_ updateCompletedTextField]
- stringValue];
+ lastText = [[about_window_controller_ updateText] stringValue];
[about_window_controller_ updateCompleted:NO installs:0];
- ASSERT_FALSE([completed isEqual:[[about_window_controller_
- updateCompletedTextField] stringValue]]);
+ ASSERT_FALSE([lastText isEqual:[[about_window_controller_
+ updateText] stringValue]]);
}
} // namespace
Property changes on: chrome/browser/cocoa/about_window_controller_unittest.mm
___________________________________________________________________
Name: svn:eol-style
+ LF
« no previous file with comments | « chrome/browser/cocoa/about_window_controller.mm ('k') | chrome/browser/cocoa/background_tile_view.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698